Commit 2e71cb0c authored by Ivan Tyagov's avatar Ivan Tyagov

Use smaller value for exported images in HTML export filter.

By default it is 800px but as we normally use exported content in root ERP5 web sites smaller defaults is usually better (still it's an ugly hack).
parent 43f8ba25
...@@ -99,6 +99,7 @@ class UnoConverter(object): ...@@ -99,6 +99,7 @@ class UnoConverter(object):
property = PropertyValue('FilterData', 0, property = PropertyValue('FilterData', 0,
uno.Any('[]com.sun.star.beans.PropertyValue', uno.Any('[]com.sun.star.beans.PropertyValue',
(PropertyValue('IsExportNotes', 0, True, 0), (PropertyValue('IsExportNotes', 0, True, 0),
PropertyValue('Width', 0, 640, 0),
PropertyValue('Format', 0, 2, 0),),), 0) PropertyValue('Format', 0, 2, 0),),), 0)
elif filter_name == "impress_pdf_Export": elif filter_name == "impress_pdf_Export":
property = PropertyValue('FilterData', 0, property = PropertyValue('FilterData', 0,
......
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