aboutsummaryrefslogtreecommitdiffstats
path: root/docs/examples/fo/normal.fo
diff options
context:
space:
mode:
authorfotis <fotis@unknown>2000-08-11 17:42:54 +0000
committerfotis <fotis@unknown>2000-08-11 17:42:54 +0000
commit339e76ee8cd8e39ffe695b982138b56bf65010bd (patch)
tree880be82089543aaeec18503439f990476b2a6e54 /docs/examples/fo/normal.fo
parent5b0e5901c16b6ffb5e2db77d10ad0fe235ab132d (diff)
downloadxmlgraphics-fop-339e76ee8cd8e39ffe695b982138b56bf65010bd.tar.gz
xmlgraphics-fop-339e76ee8cd8e39ffe695b982138b56bf65010bd.zip
updated to conform to xsl dtd as provided by N. Grigoriev
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193642 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/examples/fo/normal.fo')
-rw-r--r--docs/examples/fo/normal.fo9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/examples/fo/normal.fo b/docs/examples/fo/normal.fo
index 5b51f9bd4..c17f4ebc2 100644
--- a/docs/examples/fo/normal.fo
+++ b/docs/examples/fo/normal.fo
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
+
<!-- example for a simple fo file. At the beginning the page layout is set.
Below fo:root there is always
- a single fo:layout-master-set which defines one or more page layouts
@@ -27,21 +28,21 @@ Below fo:root there is always
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
- <fo:region-before extent="3cm"/>
<fo:region-body margin-top="3cm"/>
+ <fo:region-before extent="3cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
<!-- layout for the other pages -->
<fo:simple-page-master master-name="rest"
- height="29.7cm"
- width="21cm"
+ page-height="29.7cm"
+ page-width="21cm"
margin-top="1cm"
margin-bottom="2cm"
margin-left="2.5cm"
margin-right="2.5cm">
- <fo:region-before extent="2.5cm"/>
<fo:region-body margin-top="2.5cm"/>
+ <fo:region-before extent="2.5cm"/>
<fo:region-after extent="1.5cm"/>
</fo:simple-page-master>