[Erp5-report] r18940 - /erp5/trunk/products/ERP5Form/Extensions/

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 31 12:16:33 CET 2008


Author: fabien
Date: Thu Jan 31 12:16:33 2008
New Revision: 18940

URL: http://svn.erp5.org?rev=18940&view=rev
Log:
- reverse x, y and width and height because it was not in correct order
- remove actual_width and actual_height parameters because they were not
  used/usefull

Modified:
    erp5/trunk/products/ERP5Form/Extensions/ERP5Site_createModuleScribus.py

Modified: erp5/trunk/products/ERP5Form/Extensions/ERP5Site_createModuleScribus.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Form/Extensions/ERP5Site_createModuleScribus.py?rev=18940&r1=18939&r2=18940&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/Extensions/ERP5Site_createModuleScribus.py (original)
+++ erp5/trunk/products/ERP5Form/Extensions/ERP5Site_createModuleScribus.py Thu Jan 31 12:16:33 2008
@@ -168,7 +168,7 @@
           object_names,skin_folder,desired_height,desired_width,resolution,
           background_format)
       
-      page_height, page_width = image_size
+      page_width, page_height = image_size
       
       print "   height = " + str(page_height)
       print "   width = " + str(page_width)
@@ -206,7 +206,7 @@
         width_groups,height_groups = ManageFiles.getPageattributes(
                                               global_properties,
                                               import_pdf_file)
-        properties_css_dict, properties_page, actual_width, actual_height = \
+        properties_css_dict, properties_page = \
             ManageCSS.setPageProperties( properties_css_dict,
                                          page_iterator,
                                          page_id,
@@ -235,9 +235,7 @@
                                             page_iterator,
                                             page_gap,
                                             keep_page,
-                                            properties_page,
-                                            actual_width,
-                                            actual_height)
+                                            properties_page)
 
 
           # recover useful page_object attributes from scribus dict




More information about the Erp5-report mailing list