aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2000-12-02 22:04:06 +0000
committerfotis <fotis@unknown>2000-12-02 22:04:06 +0000
commit68d9473ba8b5673a05ca055101c6024c31d93469 (patch)
treea1f90bb0042401a021fa9e53e0cd0495c8077793 /docs
parent8ff24e6035b168d5e9553a254dc1946481e6f6d6 (diff)
downloadxmlgraphics-fop-68d9473ba8b5673a05ca055101c6024c31d93469.tar.gz
xmlgraphics-fop-68d9473ba8b5673a05ca055101c6024c31d93469.zip
oops: added further files for rule-style
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193856 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs')
-rw-r--r--docs/bugtests/build.xml1
-rw-r--r--docs/examples/fo/leader.fo55
2 files changed, 44 insertions, 12 deletions
diff --git a/docs/bugtests/build.xml b/docs/bugtests/build.xml
index 9307e1ab7..806569520 100644
--- a/docs/bugtests/build.xml
+++ b/docs/bugtests/build.xml
@@ -72,6 +72,7 @@
<fop fofile="${foDir}/word-spacing.fo" pdffile="${testDir}/word-spacing.pdf"/>
<fop fofile="${foDir}/wrap.fo" pdffile="${testDir}/wrap.pdf"/>
<fop fofile="${foDir}/image.fo" pdffile="${testDir}/image.pdf"/>
+ <fop fofile="${foDir}/space-before.fo" pdffile="${testDir}/space-before.pdf"/>
</target>
diff --git a/docs/examples/fo/leader.fo b/docs/examples/fo/leader.fo
index 2ba7ff964..1e147f9b9 100644
--- a/docs/examples/fo/leader.fo
+++ b/docs/examples/fo/leader.fo
@@ -375,37 +375,68 @@
space-before.optimum="5pt"
space-after.optimum="3pt"
text-align="start">
- Here are 3 fo:leader with the property rule and no text
+ Here are some fo:leader with the property rule and different rule styles
+ (solid, dashed, dotted, double, groove, ridge the last one with colored backgrounds
+ to the effect)
</fo:block>
<!-- Inserts a leader (rule). Because leader is an inline fo you have
to wrap it into a block element -->
- <fo:block text-align="start"
+ <fo:block text-align="center"
space-before.optimum="12pt"
space-after.optimum="12pt">
<fo:leader leader-pattern="rule"
- rule-thickness="3.0pt"
+ rule-thickness="1pt"
leader-length="6cm"/>
</fo:block>
- <!-- Inserts a leader (rule). Because leader is an inline fo you have
- to wrap it into a block element -->
<fo:block text-align="center"
space-before.optimum="12pt"
space-after.optimum="12pt">
+
<fo:leader leader-pattern="rule"
- rule-thickness="3.0pt"
- leader-length="6cm"/>
+ leader-length="6cm"
+ rule-thickness="1pt"
+ rule-style="dashed"/>
</fo:block>
- <!-- Inserts a leader (rule). Because leader is an inline fo you have
- to wrap it into a block element -->
- <fo:block text-align="end"
+
+ <fo:block text-align="center"
space-before.optimum="12pt"
space-after.optimum="12pt">
<fo:leader leader-pattern="rule"
- rule-thickness="3.0pt"
- leader-length="6cm"/>
+ leader-length="6cm"
+ rule-style="dotted"
+ rule-thickness="1pt"/>
+ </fo:block>
+
+ <fo:block text-align="center"
+ space-before.optimum="12pt"
+ space-after.optimum="12pt">
+ <fo:leader leader-pattern="rule"
+ leader-length="6cm"
+ rule-thickness="2pt"
+ rule-style="double"/>
+ </fo:block>
+
+ <fo:block text-align="center" background-color="silver"
+ space-before.optimum="12pt"
+ space-after.optimum="12pt">
+ <fo:leader leader-pattern="rule"
+ leader-length="6cm"
+ rule-thickness="1pt"
+ rule-style="groove"
+ color="black" />
+ </fo:block>
+
+ <fo:block text-align="center" background-color="silver"
+ space-before.optimum="12pt"
+ space-after.optimum="12pt">
+ <fo:leader leader-pattern="rule"
+ leader-length="6cm"
+ rule-thickness="1pt"
+ rule-style="ridge"
+ color="black" />
</fo:block>
<!-- Normal text -->