[Erp5-report] r35193 daniele - /erp5/trunk/products/ERP5/Document/Document.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed May 12 12:00:41 CEST 2010


Author: daniele
Date: Wed May 12 12:00:35 2010
New Revision: 35193

URL: http://svn.erp5.org?rev=35193&view=rev
Log:
Apply the arguments inserted in URL during called of
index_html method for a proxied PDFDocument 

Modified:
    erp5/trunk/products/ERP5/Document/Document.py

Modified: erp5/trunk/products/ERP5/Document/Document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Document.py?rev=35193&r1=35192&r2=35193&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Document.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Document.py [utf8] Wed May 12 12:00:35 2010
@@ -237,9 +237,12 @@
 
   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' )




More information about the Erp5-report mailing list