<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?> 
<!DOCTYPE document SYSTEM "rml_1_0.dtd"> 
<document filename="test_024_indents.pdf"> 


<template pageSize="(595, 842)" leftMargin="72" showBoundary="1">
    <pageTemplate id="main">
    <pageGraphics>
        <setFont name="Times-BoldItalic" size="18"/>
        <drawRightString x="523" y="800">RML2PDF Test Suite - Test #24</drawRightString>
    </pageGraphics>
    <frame id="first" x1="1in" y1="5.845in" width="3in" height="4.645in"/>
    <frame id="second" x1="4.27in" y1="5.845in" width="3in" height="4.645in"/>
    <frame id="third" x1="1in" y1="1in" width="3in" height="4.645in"/>
    <frame id="fourth" x1="4.27in" y1="1in" width="3in" height="4.645in"/>
    </pageTemplate>
</template>

<stylesheet>
    <initialize>
    <alias id="style.normal" value="style.Normal"/>
    </initialize>

    <paraStyle
    name="h1"
    fontName="Times-BoldItalic"
    fontSize="20"
    leading="36"
    />
    
    <paraStyle
    name="normal"
    fontName="Times-Roman"
    fontSize="10"
    leading="12"
	bulletFontName="Times-Roman"
	bulletFontSize="10"
	leftIndent="0"
	firstLineIndent="0"
    />

    <paraStyle
    name="space below"
    fontName="Times-Roman"
    fontSize="10"
    leading="12"
    spaceAfter="10"
    />

    <paraStyle name="bugReport"
    parent="h1"
    spaceBefore = "0"
    textColor = "red"
    />
        
</stylesheet>


<story>
<para style="h1">This is frame 1</para>
<para style="space below"><b>This page tests to see that multiple frames display on one page and that the indent tag works.</b></para>
<para style="normal">
This text should be unindented ie it is at the standard frame size.
This text should be unindented ie it is at the standard frame size.
This text should be unindented ie it is at the standard frame size.
This text should be unindented ie it is at the standard frame size.
</para>
<indent left="1cm">
<para style="normal">
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
</para>
</indent>
<para style="normal">
This text should be unindented again.
This text should be unindented again.
This text should be unindented again.
</para>
<nextFrame/>

<para style="normal">
This text should be unindented ie it is at the standard frame size and has not been affected by the switch to this frame which was done using &lt;nextFrame/&gt;.
</para>
<indent left="1cm">
<para style="normal">
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
</para>
<para style="normal">
This text should be still be indented an extra 1cm on the left even though we switched frames automatically.
This text should be still be indented an extra 1cm on the left even though we switched frames automatically.
This text should be still be indented an extra 1cm on the left even though we switched frames automatically.
This text should be still be indented an extra 1cm on the left even though we switched frames automatically.
</para>
</indent>

<nextFrame/>
<para style="normal">
This text should be unindented ie it is at the standard frame size and has not been affected by the switch to this frame which was done using &lt;nextFrame/&gt;.
</para>
<indent left="1cm">
<para style="normal">
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
This text should be indented an extra 1cm on the left.
</para>
<nextFrame/>
<para style="normal">
This text should be still be indented an extra 1cm on the left even though we switched frames using &lt;nextFrame&gt;.
This text should be still be indented an extra 1cm on the left even though we switched frames using &lt;nextFrame&gt;.
This text should be still be indented an extra 1cm on the left even though we switched frames using &lt;nextFrame&gt;.
This text should be still be indented an extra 1cm on the left even though we switched frames using &lt;nextFrame&gt;.
This text should be still be indented an extra 1cm on the left even though we switched frames using &lt;nextFrame&gt;.
</para>
</indent>
<nextFrame/>
<para style="normal">
This text should be unindented.
This text should be unindented.
This text should be unindented.
This text should be unindented.
This text should be unindented.
This text should be unindented.
This text should be unindented.
This text should be unindented.
This text should be unindented.
This text should be unindented.
</para>
<indent right="1cm">
<para style="normal">
	This text should be indented an extra 1cm on the right &lt;indent right="1cm"&gt;.
	This text should be indented an extra 1cm on the right &lt;indent right="1cm"&gt;.
	This text should be indented an extra 1cm on the right &lt;indent right="1cm"&gt;.
	This text should be indented an extra 1cm on the right &lt;indent right="1cm"&gt;.
	This text should be indented an extra 1cm on the right &lt;indent right="1cm"&gt;.
	This text should be indented an extra 1cm on the right &lt;indent right="1cm"&gt;.
</para>
<indent left="1cm">
<para style="normal">
We did an &lt;indent left="1cm"&gt; tag inside the original one.
We did an &lt;indent left="1cm"&gt; tag inside the original one.
We did an &lt;indent left="1cm"&gt; tag inside the original one.
We did an &lt;indent left="1cm"&gt; tag inside the original one.
We did an &lt;indent left="1cm"&gt; tag inside the original one.
We did an &lt;indent left="1cm"&gt; tag inside the original one.
</para>
</indent>
<para style="normal">
We closed one of the indent tags.
We closed one of the indent tags.
We closed one of the indent tags.
We closed one of the indent tags.
We closed one of the indent tags.
</para>
</indent>
<para style="normal">
Now we closed the other indent tag.
Now we closed the other indent tag.
Now we closed the other indent tag.
Now we closed the other indent tag.
Now we closed the other indent tag.
</para>
<nextFrame/>
<fixedSize><para style="normal"><seqReset id="seq_1"/></para></fixedSize>
<indent left="1cm">
<para style="normal" leftIndent="0"><bullet bulletColor="green" bulletIndent="-1cm"><seq id="seq_1"/>)</bullet>Item 1 of outer list.
Item 1 of outer list.
Item 1 of outer list.
Item 1 of outer list.
Item 1 of outer list.
Item 1 of outer list.
</para>
</indent>
<indent left="1cm">
<para style="normal"><bullet bulletColor="green" bulletIndent="-1cm"><seq id="seq_1"/>)</bullet>
Item 2 of outer list.
Item 2 of outer list.
Item 2 of outer list.
Item 2 of outer list.
</para>
<fixedSize><para style="normal"><seqReset id="seq_2"/></para></fixedSize>
<indent left="1cm" right="1cm">
<para style="normal"><bullet bulletColor="pink" bulletIndent="-1cm"><seq id="seq_2"/>)</bullet>Item 1 of inner list.
Item 1 of inner list.
Item 1 of inner list.
Item 1 of inner list.
Item 1 of inner list.
Item 1 of inner list.
</para>
</indent>
<indent left="1cm" right="1cm">
<para style="normal"><bullet bulletColor="pink" bulletIndent="-1cm"><seq id="seq_2"/>)</bullet>Item 2 of inner list.
Item 2 of inner list.
Item 2 of inner list.
</para>
</indent>
</indent>
<indent left="1cm">
<para style="normal"><bullet bulletColor="green" bulletIndent="-1cm"><seq id="seq_1"/>)</bullet>Item 3 of outer list.
Item 3 of outer list.
Item 3 of outer list.
Item 3 of outer list.
</para>
</indent>

<fixedSize><!--we just use this to hide the contents-->
	<para>
	<seqChain order="seq_0 seq_1 seq_2 seq_3 seq_4"/>
	<seqReset id="seq_0"/><seqFormat id="seq_0" value="1"/>
	<seqFormat id="seq_1" value="a"/><seqFormat id="seq_2" value="i"/>
	<seqFormat id="seq_3" value="A"/>
	<seqFormat id="seq_4" value="I"/>
	</para>
</fixedSize>
<nextFrame/>
<para style="space below">Now order lists with seqChain/Format</para>
<indent left="1cm">
	<para style="normal"><bullet bulletIndent="-1cm"><seq id="seq_0"/>)</bullet>Item 1 of outer list.</para>
	<para style="normal"><bullet bulletIndent="-1cm"><seq id="seq_0"/>)</bullet>Item 2 of outer list.</para>
	<indent left="1cm">
		<para style="normal"><bullet bulletColor="green" bulletIndent="-1cm"><seq id="seq_1"/>)</bullet>Item 1 of first level list.</para>
		<para style="normal"><bullet bulletColor="green" bulletIndent="-1cm"><seq id="seq_1"/>)</bullet>Item 2 of first level list.</para>
		<indent left="1cm">
			<para style="normal"><bullet bulletColor="pink" bulletIndent="-1cm"><seq id="seq_2"/>)</bullet>Item 1 of second level list.</para>
			<para style="normal"><bullet bulletColor="pink" bulletIndent="-1cm"><seq id="seq_2"/>)</bullet>Item 2 of second level list.</para>
		</indent>
		<para style="normal"><bullet bulletColor="green" bulletIndent="-1cm"><seq id="seq_1"/>)</bullet>Item 3 of first level list.</para>
		<indent left="1cm">
			<para style="normal"><bullet bulletColor="pink" bulletIndent="-1cm"><seq id="seq_2"/>)</bullet>Item 1 of second second level list.</para>
			<para style="normal"><bullet bulletColor="pink" bulletIndent="-1cm"><seq id="seq_2"/>)</bullet>Item 2 of second second level list.</para>
			<indent left="0.5cm">
				<para style="normal"><bullet bulletColor="pink" bulletFontName="ZapfDingbats" bulletIndent="-0.5cm">&#110;</bullet>Item 1 of third level list.</para>
				<para style="normal"><bullet bulletColor="limegreen" bulletFontName="ZapfDingbats" bulletIndent="-0.5cm">&#109;</bullet>Item 2 of third level list.</para>
			</indent>
		</indent>
	</indent>
	<para style="normal"><bullet bulletIndent="-1cm"><seq id="seq_0"/>)</bullet>Item 3 of outer list.</para>
</indent>
</story>

</document>
