aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKaren Lease <klease@apache.org>2001-02-01 21:38:11 +0000
committerKaren Lease <klease@apache.org>2001-02-01 21:38:11 +0000
commit6e8ca8d59734101b63cf933f2d12f482f5ae371b (patch)
tree6354d5a37b21d8786031df4825abbb709a8386e0 /docs
parente6e8945040db1c9bcff0aea35775190c3944b718 (diff)
downloadxmlgraphics-fop-6e8ca8d59734101b63cf933f2d12f482f5ae371b.tar.gz
xmlgraphics-fop-6e8ca8d59734101b63cf933f2d12f482f5ae371b.zip
Commit more text decoration support from Christain Geisert (finally)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194007 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/fo/textdeko.fo95
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>&#x2022;</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>&#x2022;</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>&#x2022;</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>&#x2022;</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>