Commit 5b82c7fd authored by Jérome Perrin's avatar Jérome Perrin

define different style macro for axis and legend, and use smaller font for axis

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24929 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aa28e8a7
No related merge requests found
......@@ -133,7 +133,7 @@
\n
<style:style style:name="chart_legend" style:family="chart">\n
<style:graphic-properties draw:fill="none"/>\n
<tal:block metal:use-macro="here/OOoChart_macroLibrary/macros/text_style_properties" />\n
<tal:block metal:use-macro="here/OOoChart_macroLibrary/macros/legend_text_style_properties" />\n
</style:style>\n
\n
<style:style style:name="chart_picture" style:family="chart">\n
......
......@@ -71,7 +71,7 @@
xmlns:metal=\'http://xml.zope.org/namespaces/metal\'\n
office:version=\'1.0\'>\n
\n
<tal:block metal:define-macro="text_style_properties">\n
<tal:block metal:define-macro="legend_text_style_properties">\n
<style:text-properties fo:font-family="\'DejaVu Sans\'"\n
style:font-family-generic="swiss"\n
style:font-pitch="variable"\n
......@@ -85,6 +85,21 @@
style:font-pitch-complex="variable"\n
style:font-size-complex="18pt"/>\n
</tal:block>\n
\n
<tal:block metal:define-macro="text_style_properties">\n
<style:text-properties fo:font-family="\'DejaVu Sans\'"\n
style:font-family-generic="swiss"\n
style:font-pitch="variable"\n
fo:font-size="10pt"\n
style:font-family-asian="\'DejaVu Sans\'"\n
style:font-family-generic-asian="system"\n
style:font-pitch-asian="variable"\n
style:font-size-asian="10pt"\n
style:font-family-complex="Tahoma"\n
style:font-family-generic-complex="system"\n
style:font-pitch-complex="variable"\n
style:font-size-complex="10pt"/>\n
</tal:block>\n
\n
<tal:block metal:define-macro="line_style_properties">\n
<style:style tal:attributes="style:name string:${style_prefix}${column_id}"\n
......
1048
\ No newline at end of file
1049
\ No newline at end of file
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