<!DOCTYPE document SYSTEM "../rml.dtd"> 
<document filename="test_000_catchforms.pdf" invariant="1">
	<docinit>
		<registerTTFont faceName="Vera" fileName="Vera.ttf"/>
	</docinit>



<template pageSize="a4" leftMargin="72" showBoundary="1">
 <pageTemplate id="main" pageSize="a4 portrait">
		<pageGraphics>
		    <setFont name="Helvetica-Bold" size="18"/>
		    <drawString x="35" y="783">RML Example 0: Catchforms</drawString>
			<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" />
		</pageGraphics>
		
		
		<frame id="second" x1="35" y1="45" width="525" height="590"/>
	</pageTemplate>
    
	<pageTemplate id="main2" pageSize="a4 portrait">
		<pageGraphics>
		  <setFont name="Helvetica-Bold" size="18"/>
		    <drawString x="35" y="783">RML Example 0: Catchforms</drawString>
			<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" />  
		</pageGraphics>
		
		<frame id="second" x1="35" y1="45" width="525" height="685"/>
	</pageTemplate>
	<pageTemplate id="main3" pageSize="a4 portrait">
		<pageGraphics>
		    <setFont name="Helvetica-Bold" size="18"/>
		    <drawString x="35" y="783">RML Example 0: Catchforms</drawString>
			<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" />
			<stroke color="red" width="0.5"/>
			<lines>67 600 77 600 72 595 72 605    167 550 177 550 172 545 172 555    267 500 277 500 272 495 272 505</lines>
			<lines>67 450 77 450 72 445 72 455    167 400 177 400 172 395 172 405    267 350 277 350 272 345 272 355</lines>
		</pageGraphics>
		<frame id="second" x1="35" y1="45" width="525" height="685"/>
	</pageTemplate>
	<pageTemplate id="main3b" pageSize="a4 portrait">
		<frame id="second" x1="35" y1="45" width="525" height="685"/>
	</pageTemplate>
</template>

<stylesheet>
	<initialize>
	<alias id="style.normal" value="style.Normal"/>
	</initialize>
	<paraStyle name="h1" fontName="Helvetica-BoldOblique" fontSize="14" leading="36" spaceBefore="12"/>
	<paraStyle name="normal" fontName="Helvetica" fontSize="10" leading="10" />
	<paraStyle name="spaced" fontName="Helvetica" fontSize="10" leading="12" spaceBefore="12" spaceAfter="12"/>
	<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>




<setNextTemplate name="main"/>

  

   
	<para style="normal"><br/>Hello World.  This is a normal paragraph. Blah <font color="red">IPO</font> blah blah blah blah growth forecast blah blah blah forecast blah.Blah blah blah blah blah blah blah blah blah blah blah profit blah blah blah blah blah blah blah blah blah blah IPO.Blah blah blah blah blah blah blah reengineering blah growth blah blah blah proactive direction strategic blah blah blah forward-thinking blah.Blah blah doubletalk blah blah blah blah blah profit blah blah growth blah blah blah blah blah profit.Blah blah blah blah venture capital blah blah blah blah blah forward-thinking blah. 
	</para>
<setNextTemplate name="main2"/>	
<nextPage/>
<storyPlace x="0" y="0" width="0" height="0" origin="page">
	<illustration width="0" height="0">
		<catchForms pdfFile="chart.pdf" pfx="CHART"/>
		<saveState/>
		<translate dx="2in" dy="-5in"/>
		<doForm name="CHART0"/>
		<restoreState/>
	</illustration>
</storyPlace>

<nextPage/>
	<para style="normal">This is another normal paragraph. Blah IPO blah blah blah blah growth forecast blah
blah blah forecast blah.Blah blah blah blah blah blah blah blah blah blah blah profit blah blah blah blah blah
blah blah blah blah blah IPO.Blah blah blah blah blah blah blah reengineering blah growth blah blah blah
proactive direction strategic blah blah blah forward-thinking blah.Blah blah doubletalk blah blah blah blah
blah profit blah blah growth blah blah blah blah blah profit.Blah blah blah blah venture capital blah blah blah
blah blah forward-thinking blah.
	</para>
<nextPage/>
<storyPlace x="0" y="0" width="0" height="0" origin="page">
	<illustration width="0" height="0">
		<!--catchForms pdfFile="chart.pdf" pfx="CHART"/-->
		<saveState/>
		<translate dx="4in" dy="-3in"/>
		<scale sx="0.9" sy="0.9"/>
		<doForm name="CHART0"/>
		<restoreState/>
	</illustration>
</storyPlace>
<storyPlace x="0" y="0" width="0" height="0" origin="page">
	<illustration width="0" height="0">
		<!--catchForms pdfFile="chart.pdf" pfx="CHART"/-->
		<saveState/>
		<translate dx="3in" dy="-3in"/>
		<scale sx="0.5" sy="0.5"/>
		<doForm name="CHART0"/>
		<restoreState/>
	</illustration>
</storyPlace>
<nextPage/>
	<para style="normal">Hello World.  This is a normal paragraph. Blah IPO blah blah blah blah growth forecast blah
blah blah forecast blah.Blah blah blah blah blah blah blah blah blah blah blah profit blah blah blah blah blah
blah blah blah blah blah IPO.Blah blah blah blah blah blah blah reengineering blah growth blah blah blah
proactive direction strategic blah blah blah forward-thinking blah.Blah blah doubletalk blah blah blah blah
blah profit blah blah growth blah blah blah blah blah profit.Blah blah blah blah venture capital blah blah blah
blah blah forward-thinking blah.
	</para>
	<setNextTemplate name="main3"/>
	<nextPage/>
	<placeString x="72" y="600" origin="page">placeString</placeString>
	<placeRightString x="172" y="550" origin="page">placeRightString</placeRightString>
	<placeCentredString x="272" y="500" origin="page">placeCentredString</placeCentredString>
	<placeString x="72" y="450" origin="page" charSpace="1">placeString</placeString>
	<placeRightString x="172" y="400" origin="page" charSpace="1">placeRightString</placeRightString>
	<placeCentredString x="272" y="350" origin="page" charSpace="1">placeCentredString</placeCentredString>
	<nextPage/>
	<illustration height="0" width="0">
		<setFont name="Helvetica-BoldOblique" size="18"/>
		<drawRightString x="523" y="800">RML2PDF Test Suite</drawRightString>
		<stroke color="red" width="0.5"/>
		<lines>67 790 77 790 72 785 72 795    167 690 177 690 172 685 172 695    267 590 277 590 272 585 272 595</lines>
	</illustration>
	<illustration height="0" width="0">
		<setFont name="Helvetica-BoldOblique" size="18"/>
		<drawRightString x="523" y="800">RML2PDF Test Suite</drawRightString>
		<stroke color="red" width="0.5"/>
		<lines>67 790 77 790 72 785 72 795    167 690 177 690 172 685 172 695    267 590 277 590 272 585 272 595</lines>
	</illustration>
	<placePara x="72" y="600" width="400" anchor="sw" origin="page">placePara  x="72" y="72" width="200" anchor="sw" origin="page"</placePara>
	<placePara x="400" y="550" width="400" anchor="se" origin="page" alignment="right">placePara  x="72" y="72" width="200" anchor="s" origin="page" alignment="right"</placePara>
	<placePara x="272" y="500" width="400" anchor="s" origin="page" alignment="center">placePara  x="72" y="72" width="200" anchor="se" origin="page" alignment="center"</placePara>
	<setNextTemplate name="main3b"/>
	<nextPage/>
	<graphicsMode origin="page">
		<setFont name="Helvetica-Bold" size="18"/>
		<drawString x="35" y="783">RML Example 0: Catchforms</drawString>
		<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" />
		<stroke color="red" width="0.5"/>
		<fill color="green"/>
		<lines>67 600 77 600 72 595 72 605    167 550 177 550 172 545 172 555    267 500 277 500 272 495 272 505</lines>
		<lines>67 450 77 450 72 445 72 455    167 400 177 400 172 395 172 405    267 350 277 350 272 345 272 355</lines>
		<drawString x="72" y="600">drawString</drawString>
		<drawRightString x="172" y="550">drawRightString</drawRightString>
		<drawCentredString x="272" y="500">drawCentredString</drawCentredString>
		<drawString x="72" y="450" charSpace="2">drawString</drawString>
		<drawRightString x="172" y="400" charSpace="2" mode="2">drawRightString</drawRightString>
		<drawCentredString x="272" y="350" charSpace="2">drawCentredString</drawCentredString>

		<lines>67 300 77 300 72 295 72 305    167 280 177 280 172 275 172 285    267 260 277 260 272 255 272 265</lines>
		<lines>67 240 77 240 72 235 72 245    167 220 177 220 172 215 172 225    267 200 277 200 272 195 272 205</lines>
		<setFont name="Vera" size="12"/>
		<drawString x="72" y="300" direction='RTL'>&#x05d4;&#x05e0;&#x05d3;&#x05e1;&#x05ea; &#x05d0;&#x05d9;&#x05e0;&#x05d8;&#x05e8;&#x05e0;&#x05d8; &#x05e2;&#x05dc; &#x05e9;&#x05de;&#x05d5;.</drawString>
		<drawRightString x="172" y="280" direction='RTL'>&#x05d4;&#x05e0;&#x05d3;&#x05e1;&#x05ea; &#x05d0;&#x05d9;&#x05e0;&#x05d8;&#x05e8;&#x05e0;&#x05d8; &#x05e2;&#x05dc; &#x05e9;&#x05de;&#x05d5;.</drawRightString>
		<drawCentredString x="272" y="260" direction='RTL'>&#x05d4;&#x05e0;&#x05d3;&#x05e1;&#x05ea; &#x05d0;&#x05d9;&#x05e0;&#x05d8;&#x05e8;&#x05e0;&#x05d8; &#x05e2;&#x05dc; &#x05e9;&#x05de;&#x05d5;.</drawCentredString>
		<drawString x="72" y="240" charSpace="2" direction='RTL'>&#x05d4;&#x05e0;&#x05d3;&#x05e1;&#x05ea; &#x05d0;&#x05d9;&#x05e0;&#x05d8;&#x05e8;&#x05e0;&#x05d8; &#x05e2;&#x05dc; &#x05e9;&#x05de;&#x05d5;.</drawString>
		<drawRightString x="172" y="220" charSpace="2" mode="2" direction='RTL'>&#x05d4;&#x05e0;&#x05d3;&#x05e1;&#x05ea; &#x05d0;&#x05d9;&#x05e0;&#x05d8;&#x05e8;&#x05e0;&#x05d8; &#x05e2;&#x05dc; &#x05e9;&#x05de;&#x05d5;.</drawRightString>
		<drawCentredString x="272" y="200" charSpace="2" direction='RTL'>&#x05d4;&#x05e0;&#x05d3;&#x05e1;&#x05ea; &#x05d0;&#x05d9;&#x05e0;&#x05d8;&#x05e8;&#x05e0;&#x05d8; &#x05e2;&#x05dc; &#x05e9;&#x05de;&#x05d5;.</drawCentredString>
	</graphicsMode>
</story>

</document>
