aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/fo.xml
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2003-05-15 16:40:05 +0000
committerJeremias Maerki <jeremias@apache.org>2003-05-15 16:40:05 +0000
commit68d31e4d2126971d683da552208733048df1379b (patch)
treee5689e520f006e8c6030521e7131074868ee7086 /src/documentation/content/xdocs/fo.xml
parent62ed4c975dbee463a774f84c3f18621a65b7b817 (diff)
downloadxmlgraphics-fop-68d31e4d2126971d683da552208733048df1379b.tar.gz
xmlgraphics-fop-68d31e4d2126971d683da552208733048df1379b.zip
Add section about landscape pages.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196436 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/fo.xml')
-rw-r--r--src/documentation/content/xdocs/fo.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/documentation/content/xdocs/fo.xml b/src/documentation/content/xdocs/fo.xml
index b0a8fdbd6..30af578c2 100644
--- a/src/documentation/content/xdocs/fo.xml
+++ b/src/documentation/content/xdocs/fo.xml
@@ -421,6 +421,20 @@ This document can be used either to validate against the FO standard, or against
See the notes near the beginning of the document for instructions on how to use it.
</p>
</section>
+ <section id="landscape">
+ <title>Producing landscape pages</title>
+ <p>
+ Pages in landscape format can easily be produced by exchanging the page-height and page-width values of a simple-page-master element.
+ </p>
+ <source><![CDATA[<fo:layout-master-set>
+ <fo:simple-page-master master-name="A4-portrait" page-height="29.7cm" page-width="21cm" [..]>
+ <fo:region-body/>
+ </fo:simple-page-master>
+ <fo:simple-page-master master-name="A4-landscape" page-height="21cm" page-width="29.7cm" [..]>
+ <fo:region-body/>
+ </fo:simple-page-master>
+</fo:layout-master-set>]]></source>
+ </section>
</section>
</body>
</document>