1
<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
2
<!DOCTYPE document SYSTEM "rml_1_0.dtd">
3
<document filename="test_004_templates.pdf">
6
<template pageSize="(595, 842)" leftMargin="72" showBoundary="1">
7
<pageTemplate id="main">
9
<setFont name="Helvetica-BoldOblique" size="18"/>
10
<drawRightString x="523" y="800">RML2PDF Test Suite - Test #4</drawRightString>
11
<setFont name="Helvetica-BoldOblique" size="36"/>
12
<drawCentredString x="297.5" y="755">Test #4: PAGE ONE</drawCentredString>
13
<setFont name="Helvetica-Bold" size="144"/>
15
<drawCentredString x="297.5" y="539">1</drawCentredString>
17
<frame id="first" x1="1in" y1="1in" width="6.27in" height="4.645in"/>
19
<pageTemplate id="secondary">
21
<setFont name="Helvetica-BoldOblique" size="18"/>
22
<drawRightString x="523" y="800">RML2PDF Test Suite - Test #4</drawRightString>
23
<setFont name="Helvetica-BoldOblique" size="36"/>
24
<drawCentredString x="297.5" y="755">Test #4: PAGE TWO</drawCentredString>
25
<setFont name="Helvetica-Bold" size="144"/>
26
<fill color="deepskyblue"/>
27
<drawCentredString x="297.5" y="539">2</drawCentredString>
29
<frame id="p2-first" x1="1in" y1="1in" width="3in" height="4.645in"/>
30
<frame id="p2-second" x1="4.27in" y1="1in" width="3in" height="4.645in"/>
36
<alias id="style.normal" value="style.Normal"/>
41
fontName="Helvetica-BoldOblique"
61
<paraStyle name="bugReport"
71
<para style="h1">This is page 1 - frame 1</para>
72
<para style="space below"><b>This test spans two pages (this should be on page 1). It checks to see that using two separate templates works OK. It also tests to see that the "setNextTemplate" tag correctly splits the pages and displays them with the correct template.</b></para>
73
<para style="space below"><b>Description of page:</b> This page should have a single frame at the bottom of the page displaying this text, a big teal-coloured number "1" above it, and some header information above that.</para>
74
<para style="normal">This is the text for frame 1. This is the text for frame one.
75
This is the text for frame 1. This is the text for frame one.
76
This is the text for frame 1. This is the text for frame one. This is the text for frame one.
77
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.
78
This is the text for frame 1. This is the text for frame one.
79
This is the text for frame 1. This is the text for frame one. This is the text for frame one.
80
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.
81
This is the text for frame 1. This is the text for frame one.
82
This is the text for frame 1. This is the text for frame one. This is the text for frame one.
84
<setNextTemplate name="secondary"/>
89
<para style="h1">This is page2 - frame1</para>
90
<para style="space below"><b>This test spans two pages (this should be on page 2). It checks to see that using two separate templates works OK. It also tests to see that the "setNextTemplate" tag correctly splits the pages and displays them with the correct template.</b></para>
91
<para style="space below"><b>Description of page:</b> This page should have two different frames at the bottom of the page displaying text, a big deepskyblue-coloured number "2" above it, and some header information above that.</para>
92
<para style="normal">This is the text for frame 2. This is the text for frame two.
93
This is the text for frame 2. This is the text for frame two.
94
This is the text for frame 2. This is the text for frame two. This is the text for frame two.
95
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.
96
This is the text for frame 2. This is the text for frame two.
97
This is the text for frame 2. This is the text for frame two.
98
This is the text for frame 2. This is the text for frame two. This is the text for frame two.
102
<para style="h1">This is page2 - frame2</para>
103
<para style="space below"><b>This test spans two pages (this should be on page 2). It checks to see that using two separate templates works OK. It also tests to see that the "setNextTemplate" tag correctly splits the pages and displays them with the correct template.</b></para>
104
<para style="space below"><b>Description of page:</b> This page should have two different frames at the bottom of the page displaying text, a big deepskyblue-coloured number "2" above it, and some header information above that.</para>
105
<para style="normal">This is the text for frame 3. This is the text for frame three.
106
This is the text for frame 3. This is the text for frame three.
107
This is the text for frame 3. This is the text for frame three. This is the text for frame three.
108
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.
109
This is the text for frame 3. This is the text for frame three.
110
This is the text for frame 3. This is the text for frame three. This is the text for frame three.