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

Bertrand Delacretaz <[email protected]> Tue, 24 Sep 2002 04:39:35 -0700
Newsgroups gmane.text.xml.jfor.cvs
Message-ID <[email protected]>
Update of /cvsroot/jfor/jfor/samples/cocoon/tests/simple-tests
In directory usw-pr-cvs1:/tmp/cvs-serv10479/samples/cocoon/tests/simple-tests

Added Files:
	text-sequencing.fo.xml 
Log Message:
test document for text sequencing problems added

--- NEW FILE: text-sequencing.fo.xml ---
<?xml version="1.0" encoding="iso-8859-1"?>

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

<!-- Test the problem where nested block/inlines are output in wrong sequence -->

<!-- 
$Id: text-sequencing.fo.xml,v 1.1 2002/09/24 11:39:33 bdelacretaz Exp $
$Log: text-sequencing.fo.xml,v $
Revision 1.1  2002/09/24 11:39:33  bdelacretaz
test document for text sequencing problems added

--> 

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <fo:layout-master-set>
        <fo:simple-page-master master-name="simple"
                  page-height="29.7cm" 
                  page-width="21cm"
                  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-reference="simple">
        <fo:flow flow-name="xsl-region-body">
            <fo:block font-size="16pt" font-weight="bold">
                jfor 0.7.2 text sequencing problem.
            </fo:block>
            <fo:block>
                The next blocks must contain the words 'one two three four' in uppercase, in this order, in various
                colors, 'one' in its own block and 'two three four' in a second block.
                Test fails with jfor 0.7.2dev-e.
            </fo:block>
            <fo:block>
                <fo:inline color="blue" font-weight="bold">
                    <fo:block color="red">ONE</fo:block>
                    TWO 
                    <fo:inline color="black">
                        THREE
                    </fo:inline>
                    FOUR
                </fo:inline>
            </fo:block>
        </fo:flow>
    </fo:page-sequence>
</fo:root>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf