Browse Source

fixed small problem work with latest leader changes


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_20_2-maintain@196698 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_20_5
Christian Geisert 21 years ago
parent
commit
ad2489b3a3
1 changed files with 13 additions and 2 deletions
  1. 13
    2
      examples/fo/basic/extensive.fo

+ 13
- 2
examples/fo/basic/extensive.fo View File

@@ -82,9 +82,20 @@
</fo:list-block>
<fo:block break-before="page" font-size="24pt" line-height="28pt" space-before.optimum="12pt" space-after.optimum="12pt">Next Stage</fo:block>
<fo:block>Right, now we are ready to try some newly implemented things like rules. What follows is a display rule of default thickness 1pt and a space-before and space-after of 12pt.</fo:block>
<fo:block><fo:leader leader-pattern="rule" space-before.optimum="12pt" space-after.optimum="12pt"/></fo:block>
<fo:block>
<fo:leader leader-pattern="rule"
space-before.optimum="12pt"
space-after.optimum="12pt"
leader-length="100%"/>
</fo:block>
<fo:block>Now what follows is a leader of thickness 5pt with start-indent of 100pt (same space-before/after as before).</fo:block>
<fo:block><fo:leader leader-pattern="rule" space-before.optimum="12pt" space-after.optimum="12pt" rule-thickness="5pt" start-indent="100pt"/></fo:block>
<fo:block start-indent="100pt">
<fo:leader leader-pattern="rule"
space-before.optimum="12pt"
space-after.optimum="12pt"
rule-thickness="5pt"
leader-length="100%"/>
</fo:block>
<fo:block font-size="24pt" line-height="28pt" space-before.optimum="12pt" space-after.optimum="12pt"
><fo:inline color="#500">C</fo:inline
><fo:inline color="#700">o</fo:inline

Loading…
Cancel
Save