diff options
author | Manuel Mall <manuel@apache.org> | 2005-11-13 10:50:21 +0000 |
---|---|---|
committer | Manuel Mall <manuel@apache.org> | 2005-11-13 10:50:21 +0000 |
commit | cfa816ba541e4cfdb86835142aeaf9b220e8c8d4 (patch) | |
tree | aef2876d8ac500f2d6c2d4fc246e584eed81b320 /examples/fo | |
parent | 4ee4fd513a439608e2c20903c0ae4ce90a86720c (diff) | |
download | xmlgraphics-fop-cfa816ba541e4cfdb86835142aeaf9b220e8c8d4.tar.gz xmlgraphics-fop-cfa816ba541e4cfdb86835142aeaf9b220e8c8d4.zip |
Updated examples in examples/basic/fo to match 0.90 and to reduce warnings when they are built using the examples ant target
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332960 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples/fo')
-rw-r--r-- | examples/fo/basic/blockcontainer.fo | 14 | ||||
-rw-r--r-- | examples/fo/basic/border.fo | 2 | ||||
-rw-r--r-- | examples/fo/basic/hyphen.fo | 2 | ||||
-rw-r--r-- | examples/fo/basic/leader.fo | 79 | ||||
-rw-r--r-- | examples/fo/basic/newlinktest.fo | 2 | ||||
-rw-r--r-- | examples/fo/basic/pdfoutline.fo | 2 | ||||
-rw-r--r-- | examples/fo/basic/readme.fo | 32 | ||||
-rw-r--r-- | examples/fo/basic/table.fo | 22 | ||||
-rw-r--r-- | examples/fo/basic/tableunits.fo | 37 | ||||
-rw-r--r-- | examples/fo/basic/textdeko.fo | 44 |
10 files changed, 119 insertions, 117 deletions
diff --git a/examples/fo/basic/blockcontainer.fo b/examples/fo/basic/blockcontainer.fo index 2abe4d329..2ac47a256 100644 --- a/examples/fo/basic/blockcontainer.fo +++ b/examples/fo/basic/blockcontainer.fo @@ -1,11 +1,11 @@ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:svg="http://www.w3.org/2000/svg"> -<fo:layout-master-set> - <fo:simple-page-master master-name="one"> - <fo:region-body margin-top="25pt" margin-bottom="25pt" margin-left="50pt" margin-right="50pt" /> - </fo:simple-page-master> -</fo:layout-master-set> -<fo:page-sequence master-reference="one"> -<fo:flow flow-name="xsl-region-body"> + <fo:layout-master-set> + <fo:simple-page-master master-name="one"> + <fo:region-body margin-top="25pt" margin-bottom="25pt" margin-left="50pt" margin-right="50pt" /> + </fo:simple-page-master> + </fo:layout-master-set> + <fo:page-sequence master-reference="one"> + <fo:flow flow-name="xsl-region-body"> <fo:block text-align="center" font-size="16pt" font-weight="bold"> Block Containers </fo:block> diff --git a/examples/fo/basic/border.fo b/examples/fo/basic/border.fo index 0aa110de5..6d126de4c 100644 --- a/examples/fo/basic/border.fo +++ b/examples/fo/basic/border.fo @@ -119,7 +119,7 @@ <fo:block-container height="17cm" width="19cm" top="9.4cm" left="0cm" position="absolute"> - <fo:table border-collapse="separate" border-color="yellow" border-style="solid" border-width=".6mm" height="17cm"> + <fo:table border-collapse="separate" height="17cm" border-color="yellow" border-style="solid" border-width=".6mm" table-layout="fixed" width="100%"> <fo:table-column column-width="2.5cm"/> <fo:table-column column-width="11.5cm"/> <fo:table-column column-width="2.5cm"/> diff --git a/examples/fo/basic/hyphen.fo b/examples/fo/basic/hyphen.fo index bd5d426ee..8dfb87157 100644 --- a/examples/fo/basic/hyphen.fo +++ b/examples/fo/basic/hyphen.fo @@ -330,7 +330,7 @@ <!-- this defines a title --> <fo:block font-size="12pt" - font-family="Palatino" + font-family="sans-serif" line-height="12pt" background-color="blue" color="white" diff --git a/examples/fo/basic/leader.fo b/examples/fo/basic/leader.fo index 9d39738c4..26ac49005 100644 --- a/examples/fo/basic/leader.fo +++ b/examples/fo/basic/leader.fo @@ -305,8 +305,8 @@ </fo:block> </fo:list-item-body> </fo:list-item> - </fo:list-block> - <!-- list end --> + </fo:list-block> + <!-- list end --> <fo:block font-size="12pt" font-family="sans-serif" @@ -318,48 +318,48 @@ </fo:block> - <!-- table start --> - <fo:table> - <fo:table-column column-width="20mm"/> - <fo:table-column column-width="60mm"/> - <fo:table-column column-width="50mm"/> - <fo:table-body> - <fo:table-row> - <fo:table-cell ><fo:block>Entry 1</fo:block></fo:table-cell> - <fo:table-cell > + <!-- table start --> + <fo:table table-layout="fixed" width="100%" border-collapse="separate"> + <fo:table-column column-width="20mm"/> + <fo:table-column column-width="60mm"/> + <fo:table-column column-width="50mm"/> + <fo:table-body> + <fo:table-row> + <fo:table-cell ><fo:block>Entry 1</fo:block></fo:table-cell> + <fo:table-cell > <fo:block text-align="start"> <fo:leader leader-pattern="dots" leader-pattern-width="8pt" leader-length="6cm"/> </fo:block> - </fo:table-cell> - <fo:table-cell ><fo:block>p. 12</fo:block></fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell ><fo:block>Entry 2 </fo:block></fo:table-cell> - <fo:table-cell > + </fo:table-cell> + <fo:table-cell ><fo:block>p. 12</fo:block></fo:table-cell> + </fo:table-row> + <fo:table-row> + <fo:table-cell ><fo:block>Entry 2 </fo:block></fo:table-cell> + <fo:table-cell > <fo:block text-align="start"> <fo:leader leader-pattern="dots" leader-pattern-width="8pt" leader-length="6cm"/> </fo:block> - </fo:table-cell> - <fo:table-cell ><fo:block>p. 24</fo:block></fo:table-cell> - </fo:table-row> - <fo:table-row> - <fo:table-cell ><fo:block>Entry 3 </fo:block></fo:table-cell> - <fo:table-cell > + </fo:table-cell> + <fo:table-cell ><fo:block>p. 24</fo:block></fo:table-cell> + </fo:table-row> + <fo:table-row> + <fo:table-cell ><fo:block>Entry 3 </fo:block></fo:table-cell> + <fo:table-cell > <fo:block text-align="start"> <fo:leader leader-pattern="dots" leader-pattern-width="8pt" leader-length="6cm"/> </fo:block> - </fo:table-cell> - <fo:table-cell ><fo:block>p. 36</fo:block></fo:table-cell> - </fo:table-row> - </fo:table-body> - </fo:table> - <!-- table end --> + </fo:table-cell> + <fo:table-cell ><fo:block>p. 36</fo:block></fo:table-cell> + </fo:table-row> + </fo:table-body> + </fo:table> + <!-- table end --> @@ -367,23 +367,23 @@ font-size="15pt" space-before.optimum="16pt" space-after.optimum="12pt"> - Table of Content + Table of Content </fo:block> <fo:block text-align="start" font-size="10pt" space-after.optimum="12pt"> - shows the use of leader properties in combination to build a table of content. - Following values are used for the leader: - leader-pattern="dots" - leader-pattern-width="8pt" - leader-alignment="reference-area" - no leader-length is specified, so the default values are used (min: 0, opt: 12pt, max: 100%) + shows the use of leader properties in combination to build a table of content. + Following values are used for the leader: + leader-pattern="dots" + leader-pattern-width="8pt" + leader-alignment="reference-area" + no leader-length is specified, so the default values are used (min: 0, opt: 12pt, max: 100%) </fo:block> <!-- Here starts the table --> - <fo:table> + <fo:table table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="1cm"/> <fo:table-column column-width="14.2cm"/> <fo:table-column column-width="0.3cm"/> @@ -438,11 +438,6 @@ </fo:table-body> </fo:table> - - - - - <fo:block font-size="14pt" font-family="sans-serif" line-height="17pt" diff --git a/examples/fo/basic/newlinktest.fo b/examples/fo/basic/newlinktest.fo index 6fa0588d5..09e9a8769 100644 --- a/examples/fo/basic/newlinktest.fo +++ b/examples/fo/basic/newlinktest.fo @@ -91,7 +91,7 @@ align="justify" </fo:block> <!-- table start --> - <fo:table> + <fo:table table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> diff --git a/examples/fo/basic/pdfoutline.fo b/examples/fo/basic/pdfoutline.fo index e09020b2f..ca87b8fe6 100644 --- a/examples/fo/basic/pdfoutline.fo +++ b/examples/fo/basic/pdfoutline.fo @@ -1255,7 +1255,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. <fo:p <fo:block font-size="14pt" font-family="sans-serif" line-height="10pt" space-after.optimum="15pt" font-weight="bold" start-indent="15pt" break-before="page"> Content </fo:block> -<fo:table> +<fo:table table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="1cm"/> <fo:table-column column-width="12cm"/> <fo:table-column column-width="1cm"/> diff --git a/examples/fo/basic/readme.fo b/examples/fo/basic/readme.fo index fd9e58c61..530a1dbf7 100644 --- a/examples/fo/basic/readme.fo +++ b/examples/fo/basic/readme.fo @@ -41,28 +41,28 @@ This files shows next to the trivial usage of fo:block and fo:inline examples of <fo:region-after extent="1.5cm"/> </fo:simple-page-master> -<fo:page-sequence-master master-name="basicPSM" > - <fo:repeatable-page-master-alternatives> - <fo:conditional-page-master-reference master-reference="first" - page-position="first" /> - <fo:conditional-page-master-reference master-reference="rest" - page-position="rest" /> - <!-- recommended fallback procedure --> - <fo:conditional-page-master-reference master-reference="rest" /> - </fo:repeatable-page-master-alternatives> -</fo:page-sequence-master> + <fo:page-sequence-master master-name="basicPSM" > + <fo:repeatable-page-master-alternatives> + <fo:conditional-page-master-reference master-reference="first" + page-position="first" /> + <fo:conditional-page-master-reference master-reference="rest" + page-position="rest" /> + <!-- recommended fallback procedure --> + <fo:conditional-page-master-reference master-reference="rest" /> + </fo:repeatable-page-master-alternatives> + </fo:page-sequence-master> </fo:layout-master-set> <!-- end: defines page layout --> - <!-- actual layout --> - <fo:page-sequence master-reference="basicPSM"> +<!-- actual layout --> +<fo:page-sequence master-reference="basicPSM"> <fo:static-content flow-name="xsl-region-before"> -<fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt" color="red" > -This is not the latest Fop documentation, but just an fo example. FOP - p. <fo:page-number/> -</fo:block> + <fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt" color="red" > + This is not the latest Fop documentation, but just an fo example. FOP - p. <fo:page-number/> + </fo:block> </fo:static-content> @@ -1194,7 +1194,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. <fo:p <fo:block font-size="14pt" font-family="sans-serif" line-height="10pt" space-after.optimum="15pt" font-weight="bold" start-indent="15pt" break-before="page"> Content </fo:block> -<fo:table> +<fo:table table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="1cm"/> <fo:table-column column-width="12cm"/> <fo:table-column column-width="1cm"/> diff --git a/examples/fo/basic/table.fo b/examples/fo/basic/table.fo index 0f5d7cf1c..f3b37702b 100644 --- a/examples/fo/basic/table.fo +++ b/examples/fo/basic/table.fo @@ -49,7 +49,7 @@ </fo:block> <!-- table start --> - <fo:table> + <fo:table table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> @@ -102,7 +102,7 @@ <!-- table start --> - <fo:table border-width="0.5mm" border-style="solid" background-color="yellow"> + <fo:table border-width="0.5mm" border-style="solid" background-color="yellow" table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> @@ -156,7 +156,7 @@ <!-- table start --> - <fo:table border-width="3mm" border-style="solid" background-color="yellow"> + <fo:table border-width="3mm" border-style="solid" background-color="yellow" table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> @@ -210,7 +210,7 @@ <!-- table start --> - <fo:table border-collapse="separate"> + <fo:table table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> @@ -263,7 +263,7 @@ <!-- table start --> - <fo:table border-collapse="separate"> + <fo:table table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> @@ -298,7 +298,7 @@ </fo:block> <!-- table start --> - <fo:table border-collapse="separate"> + <fo:table table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> <fo:table-column column-width="50mm"/> @@ -350,7 +350,7 @@ </fo:block> - <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)"> + <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)" table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="150mm"/> <fo:table-body> <fo:table-row> @@ -360,7 +360,7 @@ </fo:table> - <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)" > + <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)" table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="150mm"/> <fo:table-body> <fo:table-row> @@ -370,7 +370,7 @@ </fo:table> - <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)" > + <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)" table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="150mm"/> <fo:table-body> <fo:table-row> @@ -379,7 +379,7 @@ </fo:table-body> </fo:table> - <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)"> + <fo:table border-width="1.5mm" border-style="solid" background-color="rgb(100,210,250)" table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="150mm"/> <fo:table-body> <fo:table-row> @@ -405,7 +405,7 @@ </fo:block> <!-- Here starts the table --> - <fo:table> + <fo:table table-layout="fixed" width="100%" border-collapse="separate"> <fo:table-column column-width="1cm"/> <fo:table-column column-width="15cm"/> <fo:table-body font-size="10pt" font-family="sans-serif"> diff --git a/examples/fo/basic/tableunits.fo b/examples/fo/basic/tableunits.fo index cfc672d67..63833aff3 100644 --- a/examples/fo/basic/tableunits.fo +++ b/examples/fo/basic/tableunits.fo @@ -26,7 +26,7 @@ <!-- normal text --> <fo:block space-after="1cm" text-align="start" padding="0.4in" border="thick solid red">Table unit tests</fo:block> - <fo:table border-collapse="collapse" width="6in"> + <fo:table border-collapse="separate" table-layout="fixed" width="6in"> <fo:table-column column-width="(4.5in - 2cm) div 3 +1in" background-color="yellow"/> <fo:table-column column-width="(4.5in - 2cm) div 3 + 0.5in" background-color="blue"/> <fo:table-column column-width="(4.5in - 2cm) div 3 + 2.0cm" background-color="green"/> @@ -39,7 +39,7 @@ </fo:table-body> </fo:table> <!-- table start --> - <fo:table border-collapse="collapse" width="6in"> + <fo:table border-collapse="separate" table-layout="fixed" width="6in"> <fo:table-column column-width="1in + proportional-column-width(1)" background-color="yellow"/> <fo:table-column column-width="2 * (proportional-column-width(1) + .5in) div 2" background-color="blue"/> <fo:table-column column-width="proportional-column-width(1) + 2.0cm" background-color="green"/> @@ -68,7 +68,7 @@ of 3cm on the row </fo:block></fo:table-cell> The next table has width=100% on the table no column widths specified on the table-column element. </fo:block> <!-- table start --> - <fo:table border-collapse="collapse" width="100%"> + <fo:table border-collapse="separate" table-layout="fixed" width="100%"> <fo:table-column background-color="yellow"/> <fo:table-column background-color="blue"/> <fo:table-column background-color="green"/> @@ -86,8 +86,11 @@ deeper than the others to check out the aliignment properties.</fo:block></fo:ta The next table has fixed column widths=13cm, ipd.optimum=12cm and ipd.max = 100%. </fo:block> <!-- table start --> - <fo:table border-collapse="collapse" inline-progression-dimension="12cm" - inline-progression-dimension.maximum="100%"> + <fo:table border-collapse="separate" + table-layout="fixed" + inline-progression-dimension="12cm" + inline-progression-dimension.maximum="100%" + > <fo:table-column column-width="8cm" background-color="yellow"/> <fo:table-column column-width="proportional-column-width(2)" background-color="blue"/> <fo:table-column column-width="5cm" background-color="green"/> @@ -103,8 +106,9 @@ deeper than the others to check out the aliignment properties.</fo:block></fo:ta The next table has fixed column widths=16.5cm, ipd.optimum=14cm and ipd.max = 100% (16cm). </fo:block> <!-- table start --> - <fo:table border-collapse="collapse" inline-progression-dimension="14cm" - inline-progression-dimension.maximum="100%"> + <fo:table border-collapse="separate" table-layout="fixed" + inline-progression-dimension="14cm" + inline-progression-dimension.maximum="100%"> <fo:table-column column-width="8.5cm" background-color="yellow"/> <fo:table-column column-width="proportional-column-width(2)" background-color="blue"/> <fo:table-column column-width="8cm" background-color="green"/> @@ -122,7 +126,7 @@ The next table has width="70% + 1cm" and fixed lengths and the first table-colum has column-width="from-parent('width') div 3". </fo:block> <!-- table start --> - <fo:table border-collapse="collapse" width="70% + 1cm"> + <fo:table border-collapse="separate" table-layout="fixed" width="70% + 1cm"> <fo:table-column column-width="from-parent('width') div 3" background-color="yellow"/> <fo:table-column background-color="blue"/> <fo:table-column background-color="green"/> @@ -141,8 +145,9 @@ The next table specifies inline-progression-dimension="15cm" instead of width. T middle column has a fixed width; the other two have default width. </fo:block> <!-- table start --> - <fo:table border-collapse="collapse" - inline-progression-dimension="15cm"> + <fo:table border-collapse="separate" + table-layout="fixed" + inline-progression-dimension="15cm"> <fo:table-column background-color="yellow"/> <fo:table-column column-width="3cm" background-color="blue"/> <fo:table-column background-color="green"/> @@ -160,7 +165,7 @@ deeper than the others to check out the aliignment properties.</fo:block></fo:ta The next table specifies neither width nor inline-progression-dimenion. </fo:block> <!-- table start --> - <fo:table table-layout="fixed" border-collapse="collapse"> + <fo:table table-layout="fixed" border-collapse="separate"> <fo:table-column background-color="yellow"/> <fo:table-column column-width="3cm" background-color="blue"/> <fo:table-column background-color="green"/> @@ -179,8 +184,8 @@ The next table specifies inline-progression-dimenion.minimum="10cm" and specifies a column width of 5cm on the middle column only.. </fo:block> <!-- table start --> - <fo:table table-layout="fixed" border-collapse="collapse" - inline-progression-dimension.minimum="10cm"> + <fo:table table-layout="fixed" border-collapse="separate" + inline-progression-dimension.minimum="10cm"> <fo:table-column background-color="yellow"/> <fo:table-column column-width="5cm" background-color="blue"/> <fo:table-column background-color="green"/> @@ -199,9 +204,9 @@ inline-progression-dimension.maximum="17cm and specifies a column width of 5cm on the middle column only.. </fo:block> <!-- table start --> - <fo:table table-layout="fixed" border-collapse="collapse" - inline-progression-dimension.minimum="10cm" - inline-progression-dimension.maximum="17cm"> + <fo:table table-layout="fixed" border-collapse="separate" + inline-progression-dimension.minimum="10cm" + inline-progression-dimension.maximum="17cm"> <fo:table-column background-color="yellow"/> <fo:table-column column-width="5cm" background-color="blue"/> <fo:table-column background-color="green"/> diff --git a/examples/fo/basic/textdeko.fo b/examples/fo/basic/textdeko.fo index 01bbe4293..eda30e49e 100644 --- a/examples/fo/basic/textdeko.fo +++ b/examples/fo/basic/textdeko.fo @@ -32,16 +32,16 @@ <fo:region-after extent="1.5cm"/> </fo:simple-page-master> -<fo:page-sequence-master master-name="basicPSM" > - <fo:repeatable-page-master-alternatives> - <fo:conditional-page-master-reference master-reference="first" - page-position="first" /> - <fo:conditional-page-master-reference master-reference="rest" - page-position="rest" /> - <!-- recommended fallback procedure --> - <fo:conditional-page-master-reference master-reference="rest" /> - </fo:repeatable-page-master-alternatives> -</fo:page-sequence-master> + <fo:page-sequence-master master-name="basicPSM" > + <fo:repeatable-page-master-alternatives> + <fo:conditional-page-master-reference master-reference="first" + page-position="first" /> + <fo:conditional-page-master-reference master-reference="rest" + page-position="rest" /> + <!-- recommended fallback procedure --> + <fo:conditional-page-master-reference master-reference="rest" /> + </fo:repeatable-page-master-alternatives> + </fo:page-sequence-master> </fo:layout-master-set> <!-- end: defines page layout --> @@ -59,7 +59,7 @@ <fo:block font-size="12pt" font-family="sans-serif" line-height="15pt" text-align="justify" space-after.optimum="10pt"> The "text-decoration"-property describes decorations that are added to the text of an element. If the property is specified for a block-level element, it should affect all inline-level descendants - of the element (does not work yet!). + of the element . If it is specified for (or affects) an inline-level element, it affects all boxes generated by the element. </fo:block> @@ -68,6 +68,10 @@ Example: <fo:inline text-decoration="underline">underline</fo:inline> </fo:block> + <fo:block font-size="12pt" font-family="sans-serif" line-height="15pt" space-after.optimum="13pt" text-decoration="underline"> + Block level example: underline + </fo:block> + <fo:block font-size="12pt" font-family="sans-serif" line-height="15pt" space-after.optimum="10pt"> <fo:inline font-family="monospace"><![CDATA[<fo:inline text-decoration="underline">underline</fo:inline>]]></fo:inline> </fo:block> @@ -77,7 +81,7 @@ line-height="15pt" space-after.optimum="10pt" text-align="start"> - This is simple test of the text-decoration<fo:inline text-decoration="underline">underline</fo:inline>. + This is simple test of the text-decoration <fo:inline text-decoration="underline">underline</fo:inline>. </fo:block> <fo:block font-size="22pt" font-family="sans-serif" @@ -204,7 +208,7 @@ <fo:block font-size="12pt" space-after.optimum="3pt"> <fo:inline text-decoration="underline overline">Combination</fo:inline> of property - values should also be possible, but does not work in FOP at the moment. + values should also be possible. </fo:block> <fo:block font-size="12pt" space-after.optimum="13pt"> @@ -217,19 +221,17 @@ And now <fo:inline text-decoration="underline">more than a word...</fo:inline> </fo:block> - <fo:block space-after.optimum="13pt" font-size="14pt" > - <fo:inline text-decoration="underline"> - This is a whole block wrapped in fo:inline with the property text-decoration="underline". + <fo:block space-after.optimum="13pt" font-size="14pt" text-decoration="underline"> + This is a whole block with the property text-decoration="underline". Some more Text to get at least two lines. - </fo:inline> </fo:block> - <fo:block font-size="22pt" + <fo:block font-family="sans-serif" - line-height="22pt" space-after.optimum="10pt" - text-align="start"> - This is simple test with a <fo:inline text-decoration="overline">bigger font-size</fo:inline>. + text-align="start" + text-decoration="underline"> + This is a whole block with the property text-decoration="underline" and an inline with text-decoration="overline" <fo:inline font-size="22pt" text-decoration="overline">bigger font-size</fo:inline>. </fo:block> <fo:block font-size="15pt" font-family="monospace" |