Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexander Emmerich
erp5
Commits
0d77a6d1
Commit
0d77a6d1
authored
Dec 29, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ods_style: define explicit style names for listbox header, data & stat rows
parent
161247d3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
+15
-4
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_line_ods_macro.xml
...em/portal_skins/erp5_ods_style/listbox_line_ods_macro.xml
+1
-1
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml
...ateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml
+3
-3
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/style_macros.xml
...TemplateItem/portal_skins/erp5_ods_style/style_macros.xml
+11
-0
No files found.
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_line_ods_macro.xml
View file @
0d77a6d1
...
...
@@ -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
...
...
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml
View file @
0d77a6d1
...
...
@@ -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
...
...
bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/style_macros.xml
View file @
0d77a6d1
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment