diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/fo/textdeko.fo | 95 |
1 files changed, 92 insertions, 3 deletions
diff --git a/docs/examples/fo/textdeko.fo b/docs/examples/fo/textdeko.fo index 24f55132f..f12fc3333 100644 --- a/docs/examples/fo/textdeko.fo +++ b/docs/examples/fo/textdeko.fo @@ -64,7 +64,7 @@ element, it affects all boxes generated by the element. </fo:block> - <fo:block font-size="12pt" font-family="sans-serif" line-height="15pt" space-after.optimum="3pt"> + <fo:block font-size="12pt" font-family="sans-serif" line-height="15pt" space-after.optimum="13pt"> Example: <fo:inline text-decoration="underline">underline</fo:inline> </fo:block> @@ -96,10 +96,10 @@ </fo:block> <fo:block font-size="12pt" font-family="sans-serif" line-height="15pt" text-align="justify" space-after.optimum="3pt"> - The following text decorations are defined in the WD: + The following text decorations are defined in the CR: </fo:block> - <fo:list-block> + <fo:list-block space-after.optimum="13pt"> <fo:list-item> <fo:list-item-label> @@ -156,8 +156,97 @@ </fo:list-item-body> </fo:list-item> + <fo:list-item> + <fo:list-item-label> + <fo:block>•</fo:block> + </fo:list-item-label> + <fo:list-item-body> + <fo:block> + <fo:inline text-decoration="no-underline">no-underline</fo:inline> + </fo:block> + </fo:list-item-body> + </fo:list-item> + + <fo:list-item> + <fo:list-item-label> + <fo:block>•</fo:block> + </fo:list-item-label> + <fo:list-item-body> + <fo:block> + <fo:inline text-decoration="no-overline">no-overline</fo:inline> + </fo:block> + </fo:list-item-body> + </fo:list-item> + + <fo:list-item> + <fo:list-item-label> + <fo:block>•</fo:block> + </fo:list-item-label> + <fo:list-item-body> + <fo:block> + <fo:inline text-decoration="no-line-through">no-line-through</fo:inline> + </fo:block> + </fo:list-item-body> + </fo:list-item> + + <fo:list-item> + <fo:list-item-label> + <fo:block>•</fo:block> + </fo:list-item-label> + <fo:list-item-body> + <fo:block> + <fo:inline text-decoration="no-blink">no-blink</fo:inline> + </fo:block> + </fo:list-item-body> + </fo:list-item> + </fo:list-block> + <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. + </fo:block> + + <fo:block font-size="12pt" space-after.optimum="13pt"> + <fo:inline font-family="monospace"><![CDATA[<fo:inline text-decoration="underline overline"> + Combination</fo:inline>]]></fo:inline> + </fo:block> + + + <fo:block space-after.optimum="13pt"> + 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". + Some more Text to get at least two lines. + </fo:inline> + </fo:block> + + <fo:block font-size="22pt" + 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>. + </fo:block> + <fo:block font-size="15pt" + font-family="monospace" + line-height="15pt" + space-after.optimum="10pt" + text-align="start"> + This is simple test with a <fo:inline text-decoration="line-through">monospaced font</fo:inline>. + </fo:block> + + <fo:block font-size="15pt" + line-height="15pt" + space-after.optimum="10pt" + text-align="start"> + What about underlining of whitespace only<fo:inline text-decoration="underline"> </fo:inline>? + </fo:block> + + </fo:flow> </fo:page-sequence> </fo:root> |