diff options
author | Glen Mazza <gmazza@apache.org> | 2004-03-21 17:31:29 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-03-21 17:31:29 +0000 |
commit | ed8ef9c3e3ca71e5a25d4abe6196413259ce7b50 (patch) | |
tree | addb07ef1f42bac9449e0638c3012258ec7bb104 /examples | |
parent | 2e9f66f684d857e38a8d2ea5dd987936b79ba454 (diff) | |
download | xmlgraphics-fop-ed8ef9c3e3ca71e5a25d4abe6196413259ce7b50.tar.gz xmlgraphics-fop-ed8ef9c3e3ca71e5a25d4abe6196413259ce7b50.zip |
Fix to get use-content option of fo:leader working again. leader.fo now
runs without error.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197468 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples')
-rw-r--r-- | examples/fo/basic/leader.fo | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/fo/basic/leader.fo b/examples/fo/basic/leader.fo index cc378b31a..9d39738c4 100644 --- a/examples/fo/basic/leader.fo +++ b/examples/fo/basic/leader.fo @@ -725,7 +725,7 @@ <fo:block space-before.optimum="8pt" font-size="12pt"> The following examples show Leader with "use-content". The inline areas from the context of the leader are - repeated until the lenght of the leader. The + repeated until the length of the leader. The "leader-pattern-width" can be used to set the width of each repeated pattern element. <fo:inline font-style="italic"> If this width is less than the inline areas then the width @@ -733,17 +733,17 @@ </fo:block> <fo:block space-before.optimum="5pt" text-align="start">Characters: - <fo:leader leader-pattern="use-content">abcd</fo:leader> + <fo:leader leader-pattern="use-content">abcd</fo:leader>End </fo:block> <fo:block space-before.optimum="5pt" text-align="start">Set width: <fo:leader leader-pattern="use-content" - leader-pattern-width="50pt">abcd</fo:leader> + leader-pattern-width="50pt">abcd</fo:leader>End </fo:block> <fo:block space-before.optimum="5pt" text-align="start">Small Width: <fo:leader leader-pattern="use-content" - leader-pattern-width="2pt">abcd</fo:leader> + leader-pattern-width="2pt">abcd</fo:leader>End </fo:block> <fo:block space-before.optimum="5pt" text-align="start">SVG: @@ -754,7 +754,7 @@ <rect x="5" y="5" width="5" height="5" style="fill:black"/> </svg> </fo:instream-foreign-object> - </fo:leader> + </fo:leader>End </fo:block> <fo:block space-before.optimum="5pt" text-align="start">Mixed: @@ -766,7 +766,7 @@ abc <rect x="5" y="5" width="5" height="5" style="fill:black"/> </svg> </fo:instream-foreign-object> - </fo:leader> + </fo:leader>End </fo:block> <fo:block space-before.optimum="5pt" text-align="start">Mixed: @@ -779,7 +779,7 @@ abc </svg> </fo:instream-foreign-object> def - </fo:leader> + </fo:leader>End </fo:block> </fo:flow> </fo:page-sequence> |