<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?> 
<!DOCTYPE document SYSTEM "rml_1_0.dtd"> 
<document filename="test_003_frames.pdf"> 


<template pageSize="(595, 842)" leftMargin="72" showBoundary="1">
	<pageTemplate id="main">
	<pageGraphics>
		<setFont name="Helvetica-Bold" size="18"/>
    	    <drawString x="35" y="783">RML Example 7: Frames</drawString>
            <setFont name="Helvetica-Oblique" size="12" />
    		<image file="logo_no_bar.png" preserveAspectRatio="1" x="488" y="749" width="72" height="72"/>
    		<image file="strapline.png" preserveAspectRatio="1" x="35" y="0" width="525" />
		<setFont name="Helvetica-BoldOblique" size="18"/>
		
		<setFont name="Helvetica" size="10"/>
	</pageGraphics>
	<frame id="first" x1="1in" y1="4.845in" width="3in" height="3.645in"/>
	<frame id="second" x1="4.27in" y1="4.845in" width="3in" height="3.645in"/>
	<frame id="third" x1="1in" y1="1in" width="3in" height="3.645in"/>
	<frame id="fourth" x1="4.27in" y1="1in" width="3in" height="3.645in"/>
	</pageTemplate>
</template>

<stylesheet>
	<initialize>
	<alias id="style.normal" value="style.Normal"/>
	</initialize>

	<paraStyle
	name="h1"
	fontName="Helvetica-BoldOblique"
	fontSize="10"
	leading="36"
	/>
	
	<paraStyle
	name="normal"
	fontName="Helvetica"
	fontSize="8"
	leading="12"
	/>

	<paraStyle
	name="space below"
	fontName="Helvetica"
	fontSize="8"
	leading="12"
	spaceAfter="10"
	/>

	<paraStyle name="bugReport"
	parent="h1"
	spaceBefore = "0"
	textColor = "red"
	/>
	<paraStyle name="intro"  fontName="Helvetica" fontSize="12" leading="12" spaceAfter="12"/>
		
</stylesheet>


<story>
<storyPlace x="35" y="660" width="525" height="73" origin="page">
<para style="intro">RML (Report Markup Language) is ReportLab's own language for specifying the appearance of a printed page, which is converted into PDF by the utility rml2pdf.</para>
<hr color="white" thickness="8pt"/>
<para style="intro">These RML samples showcase techniques and features for generating various types of ouput and are distributed within our commercial package as test cases. Each should be self explanatory and stand alone.</para>
<illustration height="3" width="525" align="center">
<fill color= "(0,0.99,0.97,0.0)" />
<rect x="0" y = "-12" width="525" height="3" round="1" fill="1" stroke = "Yes" />
</illustration>
</storyPlace>
<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. It also checks to see that the "nextFrame" tag works correctly to split the text in the story correctly between those frames.</b></para>
<para style="normal">This is the text for frame 1. This is the text for frame one.
This is the text for frame 1. This is the text for frame one.
This is the text for frame 1. This is the text for frame one. This is the text for frame one.
This is the text for frame 1. This is the text for frame one. This is the text for frame one.. This is the text for frame one. This is the text for frame one.
This is the text for frame 1. This is the text for frame one.
This is the text for frame 1. This is the text for frame one. This is the text for frame one.
This is the text for frame 1. This is the text for frame one. This is the text for frame one. This is the text for frame one. This is the text for frame one.
This is the text for frame 1. This is the text for frame one.
This is the text for frame 1. This is the text for frame one. This is the text for frame one.
</para>
<nextFrame/>

<para style="h1">This is frame 2</para>
<para style="space below"><b>This page tests to see that multiple frames display on one page. It also checks to see that the "nextFrame" tag works correctly to split the text in the story correctly between those frames.</b></para>
<para style="normal">This is the text for frame 2. This is the text for frame two.
This is the text for frame 2. This is the text for frame two.
This is the text for frame 2. This is the text for frame two. This is the text for frame two.
This is the text for frame 2. This is the text for frame two. This is the text for frame two. This is the text for frame two. This is the text for frame two.
This is the text for frame 2. This is the text for frame two.
This is the text for frame 2. This is the text for frame two. This is the text for frame two.
This is the text for frame 2. This is the text for frame two. This is the text for frame two. This is the text for frame two. This is the text for frame two.
This is the text for frame 2. This is the text for frame two.
This is the text for frame 2. This is the text for frame two. This is the text for frame two.
</para>
<nextFrame/>

<para style="h1">This is frame 3</para>
<para style="space below"><b>This page tests to see that multiple frames display on one page. It also checks to see that the "nextFrame" tag works correctly to split the text in the story correctly between those frames.</b></para>
<para style="normal">This is the text for frame 3. This is the text for frame three.
This is the text for frame 3. This is the text for frame three.
This is the text for frame 3. This is the text for frame three. This is the text for frame three.
This is the text for frame 3. This is the text for frame three. This is the text for frame three. This is the text for frame three. This is the text for frame three.
This is the text for frame 3. This is the text for frame three.
This is the text for frame 3. This is the text for frame three. This is the text for frame three.
This is the text for frame 3. This is the text for frame three. This is the text for frame three. This is the text for frame three. This is the text for frame three.
This is the text for frame 3. This is the text for frame three.
This is the text for frame 3. This is the text for frame three. This is the text for frame three.
</para>
<nextFrame/>

<para style="h1">This is frame 4</para>
<para style="space below"><b>This page tests to see that multiple frames display on one page. It also checks to see that the "nextFrame" tag works correctly to split the text in the story correctly between those frames.</b></para>
<para style="normal">This is the text for frame 4. This is the text for frame four.
This is the text for frame 4. This is the text for frame four.
This is the text for frame 4. This is the text for frame four. This is the text for frame four.
This is the text for frame 4. This is the text for frame four. This is the text for frame four. This is the text for frame four. This is the text for frame four.
This is the text for frame 4. This is the text for frame four.
This is the text for frame 4. This is the text for frame four. This is the text for frame four.
This is the text for frame 4. This is the text for frame four. This is the text for frame four. This is the text for frame four. This is the text for frame four.
This is the text for frame 4. This is the text for frame four.
This is the text for frame 4. This is the text for frame four. This is the text for frame four.
</para>

</story>

</document>
