diff --git a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_line_ods_macro.xml b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_line_ods_macro.xml index d600dd1caa55ae35213f8896b3fb1d8a7b6e09a5..8917514d55b56391917e91aad8edef8d118449ba 100644 --- a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_line_ods_macro.xml +++ b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_line_ods_macro.xml @@ -54,7 +54,7 @@ \n <!-- title line itself is rendered in listbox_ods_macro --> \n <tal:block tal:condition="not:listboxline/isTitleLine">\n - <table:table-row>\n + <table:table-row tal:attributes="table:style-name python: listboxline.isStatLine() and \'listbox_stat_row\' or \'listbox_data_row\'">\n <tal:block tal:condition="python: listboxline.isDataLine()">\n <tal:block tal:repeat="empty_index python: xrange(0, max_section_depth)">\n <table:table-cell table:style-name=\'report-column-title\'\n diff --git a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml index d4a7e71bf77031f4644be4b2ea5556dd36222a75..963682cd44520dc9f163273a78e3c1d85ecb9f55 100644 --- a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml +++ b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml @@ -74,11 +74,11 @@ </tal:block> \n \n <table:table-header-rows>\n - <table:table-row table:style-name=\'ro4\'>\n + <table:table-row table:style-name=\'listbox_header_row\'>\n <tal:block tal:condition="python: is_report_tree_mode">\n <table:table-cell table:style-name=\'report-column-title\' table:number-columns-spanned=\'1\' office:value-type=\'string\' >\n <tal:block tal:condition="listboxline/getSectionName">\n - <text:p tal:content="python: here.Localizer.erp5_ui.gettext(listboxline.getSectionName()).encode(\'utf-8\')"/>\n + <text:p tal:content="python: here.Localizer.erp5_ui.gettext(listboxline.getSectionName()).encode(\'utf-8\')"/>\n </tal:block>\n </table:table-cell>\n </tal:block>\n @@ -105,7 +105,7 @@ </tal:block>\n \n <tal:block tal:condition="not:display_header">\n - <table:table-row table:style-name=\'ro4\'>\n + <table:table-row table:style-name=\'listbox_header_row\'>\n <tal:block tal:repeat="empty_index python: xrange(0, max_section_depth)">\n <table:table-cell table:style-name=\'report-column-title\'\n table:number-columns-spanned=\'1\'\n diff --git a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/style_macros.xml b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/style_macros.xml index b6c1a523a961e9640c5fc2cae9f79c4dba260786..580d8c4736e7001448ccff4bbd79d593e3ac8569 100644 --- a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/style_macros.xml +++ b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/style_macros.xml @@ -61,6 +61,17 @@ <style:style style:family=\'table-column\' style:name=\'co4\'>\n <style:table-column-properties fo:break-before=\'auto\' style:column-width=\'2.267cm\'/>\n </style:style>\n + \n + <style:style style:family=\'table-row\' style:name=\'listbox_header_row\'>\n + <style:table-row-properties fo:break-before=\'auto\' style:use-optimal-row-height=\'true\' style:row-height=\'1.5cm\'/>\n + </style:style>\n + <style:style style:family=\'table-row\' style:name=\'listbox_data_row\'>\n + <style:table-row-properties fo:break-before=\'auto\' style:use-optimal-row-height=\'true\' style:row-height=\'1.0cm\'/>\n + </style:style>\n + <style:style style:family=\'table-row\' style:name=\'listbox_stat_row\'>\n + <style:table-row-properties fo:break-before=\'auto\' style:use-optimal-row-height=\'true\' style:row-height=\'0.5cm\'/>\n + </style:style>\n + \n <style:style style:family=\'table-row\' style:name=\'ro1\'>\n <style:table-row-properties fo:break-before=\'auto\' style:use-optimal-row-height=\'true\' style:row-height=\'2.91cm\'/>\n </style:style>\n