Apply the arguments inserted in URL during called of

index_html method for a proxied PDFDocument 


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35193 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 01877b9b
......@@ -237,9 +237,12 @@ class DocumentProxyMixin:
security.declareProtected(Permissions.AccessContentsInformation,
'index_html' )
def index_html(self, REQUEST, RESPONSE, **kw):
def index_html(self, REQUEST, RESPONSE, display=None, format='', quality=75,
resolution=None, frame=0, **kw):
""" Only a proxy method """
return self.getProxiedDocument().index_html(REQUEST, RESPONSE, **kw)
return self.getProxiedDocument().index_html(REQUEST, RESPONSE,
display=display, format=format, quality=quality, resolution=resolution,
frame=frame, **kw)
security.declareProtected(Permissions.AccessContentsInformation,
'getProxiedDocument' )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment