Commit aae502c4 authored by Fabien Morin's avatar Fabien Morin

- 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


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18940 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7044884b
......@@ -168,7 +168,7 @@ def ERP5Site_createModuleScribus(self,
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 @@ def ERP5Site_createModuleScribus(self,
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 @@ def ERP5Site_createModuleScribus(self,
page_iterator,
page_gap,
keep_page,
properties_page,
actual_width,
actual_height)
properties_page)
# recover useful page_object attributes from scribus dict
......
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