From cfa816ba541e4cfdb86835142aeaf9b220e8c8d4 Mon Sep 17 00:00:00 2001 From: Manuel Mall Date: Sun, 13 Nov 2005 10:50:21 +0000 Subject: [PATCH] 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 --- examples/fo/basic/blockcontainer.fo | 14 ++--- examples/fo/basic/border.fo | 2 +- examples/fo/basic/hyphen.fo | 2 +- examples/fo/basic/leader.fo | 79 ++++++++++++++--------------- examples/fo/basic/newlinktest.fo | 2 +- examples/fo/basic/pdfoutline.fo | 2 +- examples/fo/basic/readme.fo | 32 ++++++------ examples/fo/basic/table.fo | 22 ++++---- examples/fo/basic/tableunits.fo | 37 ++++++++------ 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 @@ - - - - - - - + + + + + + + Block Containers 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 @@ - + 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 @@ - - + + - - - - - - - - Entry 1 - + + + + + + + + Entry 1 + - - p. 12 - - - Entry 2 - + + p. 12 + + + Entry 2 + - - p. 24 - - - Entry 3 - + + p. 24 + + + Entry 3 + - - p. 36 - - - - + + p. 36 + + + + @@ -367,23 +367,23 @@ font-size="15pt" space-before.optimum="16pt" space-after.optimum="12pt"> - Table of Content + Table of Content - 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%) - + @@ -438,11 +438,6 @@ - - - - - - + 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. Content - + 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 - - - - - - - - + + + + + + + + - - + + - -This is not the latest Fop documentation, but just an fo example. FOP - p. - + + This is not the latest Fop documentation, but just an fo example. FOP - p. + @@ -1194,7 +1194,7 @@ This is not the latest Fop documentation, but just an fo example. FOP - p. Content - + 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 @@ - + @@ -102,7 +102,7 @@ - + @@ -156,7 +156,7 @@ - + @@ -210,7 +210,7 @@ - + @@ -263,7 +263,7 @@ - + @@ -298,7 +298,7 @@ - + @@ -350,7 +350,7 @@ - + @@ -360,7 +360,7 @@ - + @@ -370,7 +370,7 @@ - + @@ -379,7 +379,7 @@ - + @@ -405,7 +405,7 @@ - + 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 @@ Table unit tests - + @@ -39,7 +39,7 @@ - + @@ -68,7 +68,7 @@ of 3cm on the row The next table has width=100% on the table no column widths specified on the table-column element. - + @@ -86,8 +86,11 @@ deeper than the others to check out the aliignment properties. - + @@ -103,8 +106,9 @@ deeper than the others to check out the aliignment properties. - + @@ -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". - + @@ -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. - + @@ -160,7 +165,7 @@ deeper than the others to check out the aliignment properties. - + @@ -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.. - + @@ -199,9 +204,9 @@ inline-progression-dimension.maximum="17cm and specifies a column width of 5cm on the middle column only.. - + 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 @@ - - - - - - - - + + + + + + + + @@ -59,7 +59,7 @@ 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. @@ -68,6 +68,10 @@ Example: underline + + Block level example: underline + + underline]]> @@ -77,7 +81,7 @@ line-height="15pt" space-after.optimum="10pt" text-align="start"> - This is simple test of the text-decorationunderline. + This is simple test of the text-decoration underline. Combination of property - values should also be possible, but does not work in FOP at the moment. + values should also be possible. @@ -217,19 +221,17 @@ And now more than a word... - - - This is a whole block wrapped in fo:inline with the property text-decoration="underline". + + This is a whole block with the property text-decoration="underline". Some more Text to get at least two lines. - - - This is simple test with a bigger font-size. + text-align="start" + text-decoration="underline"> + This is a whole block with the property text-decoration="underline" and an inline with text-decoration="overline" bigger font-size.