[Erp5-report] r18951 - /erp5/trunk/products/ERP5Form/Extensions/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jan 31 17:40:59 CET 2008
Author: fabien
Date: Thu Jan 31 17:40:59 2008
New Revision: 18951
URL: http://svn.erp5.org?rev=18951&view=rev
Log:
add a space_between_pages attribute that's permit to change easyly the space
between two pages
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=18951&r1=18950&r2=18951&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Form/Extensions/ERP5Site_createModuleScribus.py (original)
+++ erp5/trunk/products/ERP5Form/Extensions/ERP5Site_createModuleScribus.py Thu Jan 31 17:40:59 2008
@@ -52,7 +52,8 @@
desired_height = desired_height
desired_width = desired_width
resolution = 300 # JPS-XXX - hardcoded
- background_format = 'jpg' # Fabien - XXX - hardcoded
+ background_format = 'jpg' # XXX - hardcoded
+ space_between_pages = 20 # XXX - hardcoded
option_html = option_html
# DECLARING NAMES
@@ -235,7 +236,8 @@
page_iterator,
page_gap,
keep_page,
- properties_page)
+ properties_page,
+ space_between_pages)
# recover useful page_object attributes from scribus dict
@@ -252,7 +254,8 @@
# add last properties to css dict, including implementation
# of a n+1 page to prevent bug when rendering under Konqueror
- ManageCSS.setFinalProperties(properties_css_dict,page_height)
+ ManageCSS.setFinalProperties(properties_css_dict,page_height,
+ space_between_pages)
# generate output string from dict
form_css_content = ManageCSS.generateOutputContent(properties_css_dict)
More information about the Erp5-report
mailing list