aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/fo
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2000-08-02 22:48:07 +0000
committerfotis <fotis@unknown>2000-08-02 22:48:07 +0000
commit66853764c647d54386d487e413e4242a36d601b4 (patch)
tree818de8fe012e975d21c8128be0a7bbc73853d89a /docs/examples/fo
parent505b25d0e15adb2d8510f70c8d80d81996306cb6 (diff)
downloadxmlgraphics-fop-66853764c647d54386d487e413e4242a36d601b4.tar.gz
xmlgraphics-fop-66853764c647d54386d487e413e4242a36d601b4.zip
updates examples to conform to new allowed values for flow-name
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193583 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/examples/fo')
-rw-r--r--docs/examples/fo/border.fo2
-rw-r--r--docs/examples/fo/extensive.fo2
-rw-r--r--docs/examples/fo/fonts.fo2
-rw-r--r--docs/examples/fo/images.fo14
-rw-r--r--docs/examples/fo/link.fo2
-rw-r--r--docs/examples/fo/list.fo4
-rw-r--r--docs/examples/fo/normal.fo4
-rw-r--r--docs/examples/fo/readme.fo4
-rw-r--r--docs/examples/fo/table.fo4
9 files changed, 22 insertions, 16 deletions
diff --git a/docs/examples/fo/border.fo b/docs/examples/fo/border.fo
index 6e77e537c..5456b9bb5 100644
--- a/docs/examples/fo/border.fo
+++ b/docs/examples/fo/border.fo
@@ -25,7 +25,7 @@
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-name="psmA">
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<fo:block-container height="4cm" width="12cm" top="0cm" left="0cm" position="absolute">
<fo:block text-align="start" line-height="18pt" font-family="sans-serif" font-weight="bold" font-size="14pt">
PX7.net
diff --git a/docs/examples/fo/extensive.fo b/docs/examples/fo/extensive.fo
index 6b858ab62..c4f06c2b4 100644
--- a/docs/examples/fo/extensive.fo
+++ b/docs/examples/fo/extensive.fo
@@ -5,7 +5,7 @@
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="one">
-<fo:flow>
+<fo:flow flow-name="xsl-region-body">
<fo:block>A Block</fo:block>
<fo:block text-align="end">An End Aligned Block</fo:block>
<fo:block text-align="center">A Centered Block</fo:block>
diff --git a/docs/examples/fo/fonts.fo b/docs/examples/fo/fonts.fo
index fbdf78ee6..cda97fd27 100644
--- a/docs/examples/fo/fonts.fo
+++ b/docs/examples/fo/fonts.fo
@@ -24,7 +24,7 @@
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-name="firstAndRest">
-<fo:flow flow-name="xsl-body">
+<fo:flow flow-name="xsl-region-body">
<fo:block font-family="Helvetica" font-size="14pt">
Helvetica
diff --git a/docs/examples/fo/images.fo b/docs/examples/fo/images.fo
index c7c210526..5bb458276 100644
--- a/docs/examples/fo/images.fo
+++ b/docs/examples/fo/images.fo
@@ -31,13 +31,13 @@
<fo:page-sequence id="N2528" master-name="psmOddEven">
-<fo:static-content flow-name="xsl-after">
+<fo:static-content flow-name="xsl-region-after">
<fo:block text-align-last="center" font-size="10pt">
<fo:page-number/>
</fo:block>
</fo:static-content>
-<fo:flow>
+<fo:flow flow-name="xsl-region-body">
<fo:block font-size="18pt" font-weight="bold">1. FOP test for images</fo:block><fo:block id="N2531">
<fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A GIF image in FOP</fo:block><fo:block><fo:external-graphic src="file:../graphics/xml_feather.gif"/>
</fo:block></fo:block><fo:block id="N2545"><fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em">A JPEG image in FOP</fo:block><fo:block><fo:external-graphic src="file:../graphics/fop.jpg"/></fo:block></fo:block><fo:block id="N2559"><fo:block font-size="16pt" font-weight="bold" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em"/>
@@ -47,6 +47,12 @@
</fo:page-sequence>
<fo:page-sequence id="N2561" master-name="psmOddEven">
-<fo:static-content flow-name="xsl-after">
-<fo:block text-align-last="center" font-size="10pt"><fo:page-number/></fo:block></fo:static-content><fo:flow><fo:block font-size="18pt" font-weight="bold">A. Appendix</fo:block></fo:flow></fo:page-sequence></fo:root>
+<fo:static-content flow-name="xsl-region-after">
+<fo:block text-align-last="center" font-size="10pt">
+<fo:page-number/></fo:block>
+</fo:static-content>
+<fo:flow flow-name="xsl-region-body">
+<fo:block font-size="18pt" font-weight="bold">A. Appendix</fo:block></fo:flow>
+</fo:page-sequence>
+</fo:root>
diff --git a/docs/examples/fo/link.fo b/docs/examples/fo/link.fo
index 2c74a8a92..2e449d87c 100644
--- a/docs/examples/fo/link.fo
+++ b/docs/examples/fo/link.fo
@@ -21,7 +21,7 @@
<fo:page-sequence master-name="first">
<!-- text body -->
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- Normal text -->
<fo:block text-align="center">0. Normal text without link
diff --git a/docs/examples/fo/list.fo b/docs/examples/fo/list.fo
index 774695c1e..1b8d65d49 100644
--- a/docs/examples/fo/list.fo
+++ b/docs/examples/fo/list.fo
@@ -19,13 +19,13 @@
<fo:page-sequence master-name="first">
<!-- Inserts a header with the page number -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt">
XSL-FO Example: simple list - p. <fo:page-number/>
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- title -->
<fo:block font-size="14pt"
diff --git a/docs/examples/fo/normal.fo b/docs/examples/fo/normal.fo
index 5facd2807..5b51f9bd4 100644
--- a/docs/examples/fo/normal.fo
+++ b/docs/examples/fo/normal.fo
@@ -63,7 +63,7 @@ Below fo:root there is always
<fo:page-sequence master-name="basicPSM">
<!-- header -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end"
font-size="10pt"
font-family="serif"
@@ -72,7 +72,7 @@ Below fo:root there is always
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<!-- defines text title level 1-->
<fo:block font-size="18pt"
diff --git a/docs/examples/fo/readme.fo b/docs/examples/fo/readme.fo
index 823e33129..5fb932b74 100644
--- a/docs/examples/fo/readme.fo
+++ b/docs/examples/fo/readme.fo
@@ -58,14 +58,14 @@ This files shows next to the trivial usage of fo:block and fo:inline-sequence ex
<fo:page-sequence master-name="basicPSM">
-<fo:static-content flow-name="xsl-before">
+<fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt" color="red" >
This is not the latest Fop documentation, but just an fo example. FOP - p. <fo:page-number/>
</fo:block>
</fo:static-content>
-<fo:flow flow-name="xsl-body">
+<fo:flow flow-name="xsl-region-body">
<fo:block font-size="18pt" font-family="sans-serif" line-height="24pt" space-after.optimum="15pt" background-color="blue" color="white" text-align="center" padding-top="3pt">FOP: An Open-Source XSL Formatter and Renderer</fo:block>
<fo:block id="sec1" font-size="18pt" font-family="serif" line-height="20pt" space-before.optimum="20pt" space-after.optimum="14pt" >A)
What is FOP?</fo:block>
diff --git a/docs/examples/fo/table.fo b/docs/examples/fo/table.fo
index 338c220e4..9d2643304 100644
--- a/docs/examples/fo/table.fo
+++ b/docs/examples/fo/table.fo
@@ -21,13 +21,13 @@
<fo:page-sequence master-name="first">
<!-- Inserts a header with the page number -->
- <fo:static-content flow-name="xsl-before">
+ <fo:static-content flow-name="xsl-region-before">
<fo:block text-align="end" font-size="10pt" font-family="serif" line-height="14pt">
FOP - p. <fo:page-number/>
</fo:block>
</fo:static-content>
- <fo:flow flow-name="xsl-body">
+ <fo:flow flow-name="xsl-region-body">
<fo:block font-size="10pt" font-family="sans-serif" line-height="10pt" space-after.optimum="3pt" font-weight="bold" start-indent="15pt">
Content