CVS: jfor/samples/cocoon/tests/simple-tests landscape.fo.xml,NONE,1.1

Bertrand Delacretaz <[email protected]> Mon, 16 Jun 2003 09:00:07 -0700
Newsgroups gmane.text.xml.jfor.cvs
Message-ID <[email protected]>
Update of /cvsroot/jfor/jfor/samples/cocoon/tests/simple-tests
In directory sc8-pr-cvs1:/tmp/cvs-serv10664/samples/cocoon/tests/simple-tests

Added Files:
	landscape.fo.xml 
Log Message:
V0.7.2dev-g, landscape.fo.xml sample added and tested

--- NEW FILE: landscape.fo.xml ---
<?xml version="1.0" encoding="utf-8"?>

<!-- tell cocoon 1 to use jfor to convert this to RTF format -->
<?cocoon-format type="xslfo/rtf"?>

<!-- simple example using landscape page format -->

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
        <fo:simple-page-master master-name="simple"
                  page-height="21cm" 
                  page-width="29.7cm"
                  margin-top="1cm" 
                  margin-bottom="2cm" 
                  margin-left="2.5cm" 
                  margin-right="2.5cm">
            <fo:region-body margin-top="3cm"/>
            <fo:region-before extent="3cm"/>
            <fo:region-after extent="1.5cm"/>
        </fo:simple-page-master>
    </fo:layout-master-set>


    <fo:page-sequence master-name="simple">
        <fo:flow flow-name="xsl-region-body">
            <fo:block>
		This document should come out in landscape format, as its height is set smaller
		than its width in the simple-page-master.
            </fo:block>
        </fo:flow>
    </fo:page-sequence>
</fo:root>



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5