aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-08-23 14:36:37 +0000
committerKeiron Liddle <keiron@apache.org>2002-08-23 14:36:37 +0000
commit0e6a2b065f051cc8467f6327bb8085cc03c5aa94 (patch)
treec0e81c130fb71919bf4a40d3fde731f7a68d3535 /docs
parent581ab9256f0f1c9841d5f85baa9ba340c4e3da51 (diff)
downloadxmlgraphics-fop-0e6a2b065f051cc8467f6327bb8085cc03c5aa94.tar.gz
xmlgraphics-fop-0e6a2b065f051cc8467f6327bb8085cc03c5aa94.zip
added some use-content examples
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195116 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/fo/leader.fo23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/examples/fo/leader.fo b/docs/examples/fo/leader.fo
index 486386ad9..987451fba 100644
--- a/docs/examples/fo/leader.fo
+++ b/docs/examples/fo/leader.fo
@@ -719,7 +719,30 @@
</fo:block>
+ <fo:block text-align="start">Characters:
+ <fo:leader leader-pattern="use-content">abcd</fo:leader>
+ </fo:block>
+
+ <fo:block text-align="start">Set width:
+ <fo:leader leader-pattern="use-content"
+ leader-pattern-width="50pt">abcd</fo:leader>
+ </fo:block>
+ <fo:block text-align="start">Small Width:
+ <fo:leader leader-pattern="use-content"
+ leader-pattern-width="2pt">abcd</fo:leader>
+ </fo:block>
+
+ <fo:block text-align="start">SVG:
+ <fo:leader leader-pattern="use-content">
+<fo:instream-foreign-object>
+<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10">
+<rect x="0" y="0" width="5" height="5" style="fill:red"/>
+<rect x="5" y="5" width="5" height="5" style="fill:black"/>
+</svg>
+</fo:instream-foreign-object>
+ </fo:leader>
+ </fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>