<?xml version="1.0" encoding="utf-8" standalone="no" ?> 
<!DOCTYPE document SYSTEM "rml_1_0.dtd"> 
<document filename="test_017_outlines.pdf"> 


<template pageSize="(595, 842)" leftMargin="72" showBoundary="0">
<pageTemplate id="main">
		<pageGraphics>
			<setFont name="Helvetica-Bold" size="18"/>
		    <drawString x="35" y="783">RML Example 18: Outlines</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">
		<pageGraphics>
			<setFont name="Helvetica-Bold" size="18"/>
		    <drawString x="35" y="783">RML Example 18: Outlines</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>
</template>

<stylesheet>
	<initialize>
	</initialize>
	<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="main2"/>
<outlineAdd>TOP Level</outlineAdd>
<para style="h1">Top Level Outline</para>
<nextFrame/>

<setNextTemplate name="main2"/>
<outlineAdd level="1">Level 1</outlineAdd>
<para style="h1">Level 1 Outline</para>
<nextFrame/>

<setNextTemplate name="main2"/>
<outlineAdd level="2">Level 2</outlineAdd>
<para style="h1">Level 2 Outline</para>
<nextFrame/>

<setNextTemplate name="main2"/>
<outlineAdd level="1">Level 1 Again</outlineAdd>
<para style="h1">Level 1 Again</para>
<outlineAdd level="1">Ampersand (&amp;) and Japanese (またはご希望のホテルを1つ選択してください) Test</outlineAdd>
<para>Check that the ampersand (&amp;) appears correctly in the outline/bookmark list.</para>
<nextFrame/>

</story>
</document>
