<!DOCTYPE document SYSTEM "rml_1_0.dtd"> 
<document filename="test_001_imagereflect.pdf" invariant="1">
<docinit useCropMarks="1">
	<cropMarks borderWidth="10" markWidth="1" markColor="black" markLength="5" markLast="True" bleedWidth="0"/>
</docinit>

<template pageSize="596,842" leftMargin="72" showBoundary="1">
	<pageTemplate id="main" pageSize="596,842">
	<pageGraphics>
	<setFont name="Helvetica-Bold" size="18"/>
    	    
		<image file="a4.gif" x="0" y="0" width="596" height="842" anchor="sw"/>
		<saveState/><scale sx="-1" sy="1"/><image file="a4.gif" x="0" y="0" width="596" height="842" anchor="sw"/><restoreState/>
		<saveState/><translate dx="596" dy="0" /><scale sx="-1" sy="1"/><image file="a4.gif" x="-596" y="0" width="596" height="842" anchor="sw"/><restoreState/>
		<saveState/><scale sx="1" sy="-1"/><image file="a4.gif" x="0" y="0" width="596" height="842" anchor="sw"/><restoreState/>
		<saveState/><translate dx="0" dy="842" /><scale sx="1" sy="-1"/><image file="a4.gif" x="0" y="-842" width="596" height="842" anchor="sw"/><restoreState/>
		<drawString x="35" y="783">RML Example 4: Image Reflect</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" />
	</pageGraphics>
	<frame id="1" x1="35" y1="45" width="525" height="575"/>
	</pageTemplate>
</template>

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

<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"/>
</illustration>
</storyPlace>
	<para style="normal">This example shows how you can reflect
a background image in your page templates so that printers
will be able to slice of the edges and not create obvious artifacts.
	</para>
	
</story>

</document>
