<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document SYSTEM "..\..\rml2pdf\rml.dtd">
<document filename="demo2.pdf">
	<template leftMargin="0" rightMargin="0" showBoundary="1">
		
		<pageTemplate id="main">
			<pageGraphics>
				<fill color="#FDFDFB"/>
				<rect x="0" y="0" width="595" height="842" fill="yes"/>
				<fill color="black"/>
				<drawString x="250" y="770">Travel Arrangements</drawString>
			</pageGraphics>
			<frame id="first" x1="50" y1="50" width="495" height="742"/>
		</pageTemplate>
	
	</template>
	<stylesheet>
		<paraStyle name="h1" fontName="Helvetica" fontSize="16"/>
		<paraStyle name="roomTableDetails" fontName="Helvetica-Bold" fontSize="9"/>
	<blockTableStyle id="red">
		<lineStyle kind="GRID" colorName="red"/>
		<blockLeftPadding length="0" start="0,0" stop="-1,-1"/>
		<blockRightPadding length="0" start="0,0" stop="-1,-1"/>
		<blockTopPadding length="0" start="0,0"	stop="-1,-1"/>
		<blockBottomPadding length="0" start="0,0" stop="-1,-1"/>
	</blockTableStyle>
	<blockTableStyle id="blue" parent="red">
		<lineStyle kind="GRID" colorName="blue"/>
	</blockTableStyle>
	<blockTableStyle id="black" parent="red">
		<lineStyle kind="GRID" colorName="black"/>
	</blockTableStyle>
	
	<blockTableStyle id="blackSpan" parent="red">
		<lineStyle kind="GRID" colorName="black"/>
		<blockSpan start="0,0" stop="1,0"/>
	</blockTableStyle>
	
	</stylesheet>
	<story>
		<spacer length="30"/>
		
		
		<blockTable style="red" colWidths="10%,90%" rowHeights="25,250">
			<tr>
				<td vAlign="top">
					<illustration height="15" width="15">
						<image file="rsrc/airplane.gif" x="0" y="0"/>
					</illustration>
				</td>
				<td vAlign="top"><para fontName="Helvetica" fontSize="14"><u><b>Flight Details:</b></u></para></td>
			</tr>
			<tr>
				<td vAlign="top"><para>Outbound</para></td>
				<td vAlign="top">
					<blockTable style="blue" colWidths="23%, 23%, 15%, 15%, 10%,16%">
						<tr>
							<td background="#DBDBDB"><para>Itinerary</para></td> 
							<td background="#DBDBDB"></td>
							<td background="#DBDBDB"></td>
							<td background="#DBDBDB"></td>
							<td background="#DBDBDB"></td>
							<td background="#DBDBDB"></td>
						</tr>
						<tr>
							<td align="center">From</td>
							<td align="center">To</td>
							<td align="center">Depart</td>
							<td align="center">Arrive</td>
							<td align="center">Duration</td>
							<td><para alignment="center">Airline &amp; Flight</para></td>
						</tr>
						<tr>
							<td vAlign="top"><para>London(LHR)</para><para>Heathrow Airport</para><para>Terminal 2</para></td>
							<td vAlign="top"><para>Paris(CDG)</para><para>Charles de Gaulle Airport</para><para>Terminal 2</para></td>
							<td vAlign="top"><para>Fri 05 May 06</para><para>15:34</para></td>
							<td vAlign="top"><para>Fri 05 May 06</para><para>17:28</para></td>
							<td vAlign="top"><para>01:29</para></td>
							<td vAlign="top"><para>British Airways</para><para>BA 3378</para></td>
						</tr>
						<tr>
							<td></td> 
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
						</tr>
						<tr>							
							<td vAlign="top"><para>Paris(CDG)</para><para>Charles de Gaulle Airport</para><para>Terminal 2</para></td>
							<td vAlign="top"><para>London(LHR)</para><para>Heathrow Airport</para><para>Terminal 2</para></td>
							<td vAlign="top"><para>Fri 15 May 06</para><para>19:57</para></td>
							<td vAlign="top"><para>Fri 15 May 06</para><para>22:01</para></td>
							<td vAlign="top"><para>01:35</para></td>
							<td vAlign="top"><para>Air France</para><para>AF 1290</para></td>
						</tr>
						<tr><td>Baggage Allowance: 30 Kg</td><td></td><td></td><td></td><td></td><td></td></tr>
					</blockTable>
					<spacer length="20"/>
					<blockTable style="blue" colWidths="23%, 23%, 15%, 15%, 10%,16%">
						<tr>
							<td background="#DBDBDB"><para>Price</para></td> 
							<td background="#DBDBDB"></td>
							<td background="#DBDBDB"></td>
							<td background="#DBDBDB"></td>
							<td background="#DBDBDB"></td>
							<td background="#DBDBDB"></td>
						</tr>
						<tr>
							<td align="center">Fare per Adult</td>
							<td align="center">Taxes</td>
							<td align="center"></td>
							<td align="center"></td>
							<td align="center">Costs</td>
							<td>Costs:</td>
						</tr>
						<tr>
							<td vAlign="top"><para alignment="center">£55.89</para></td>
							<td vAlign="top"><para alignment="center">£13.27</para></td>
							<td vAlign="top"></td>
							<td vAlign="top"><para>x 2(Adult)</para></td>
							<td vAlign="top"></td>
							<td vAlign="top">£138.32</td>
						</tr>
						<tr>
							<td></td> 
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
						</tr>
						<tr>							
							<td vAlign="top"></td>
							<td vAlign="top"></td>
							<td vAlign="top"></td>
							<td vAlign="top"></td>
							<td vAlign="top"></td>
							<td vAlign="top"></td>
						</tr>
						<tr><td></td><td></td><td></td><td></td><td></td><td>Price: £209.59</td></tr>
					</blockTable>
				</td>
			</tr>
		</blockTable>
		<spacer length="240"/>
		
		<!-- Hotel stuff -->
		<blockTable colWidths="100%" rowHeights="75, 110, 120, 110, 100, 110">
			<tr>
				<td vAlign="top"></td>
			</tr>
			<tr>
				
				<td>
					<blockTable style="blackSpan" colWidths="22%, 78%">
						<tr><td><para fontName="Helvetica" fontSize="14"><u><b>About your hotel:</b></u></para><spacer length="10"/></td><td></td></tr>
						<tr>
							<td vAlign="top">
								<illustration height="81" width="101">
									<image file="rsrc/golf_rosny.jpg" x="0" y="0" height="80" width="100"/>
								</illustration>
							</td>
							<td vAlign="top">
								<para fontSize="10" fontName="Helvetica">Quality Golf Rosny </para>
								<para>Rue de ROME 4,  Rosny sous Bois, 93110</para>
								<para>Tel: 33 4856 3456</para>
								<spacer length="3"/>
								<para>This 3-storey hotel underwent extensive renovation work in 2004 and comprises a 
									  total of 97 rooms of which 6 are suites. ings and room and laundry services to round off 
									  the offerings.
									  This 3-storey hotel underwent extensive renovation work in 2004 and comprises a 
									  total of 97 rooms of which 6 are suites. ings and room and laundry services to round off 
									  the offerings.
								</para>
							</td> 
						</tr>
						<tr>
							<td vAlign="top">								
								<illustration height="81" width="101">
									<image file="rsrc/bedroom.jpg" x="0" y="0" height="80" width="100"/>
								</illustration>
							</td>
							<td vAlign="top"><para>Your room blah blah each one a masterpiece of elegance, have
								furnishings and decor inspired by the great artists of the 1930s, while at
								the same time incorporating the latest technological innovations.
								</para>
								<spacer length="5"/>
								<para>Facilities in rooms: Satellite Channels, Internet Connection, PlayStation, TV, Radio, etc...</para>
							</td>
						</tr>
						<tr>
							<td vAlign="top">
								<illustration height="81" width="101">
									<image file="rsrc/pool.jpg" x="0" y="0" height="80" width="100"/>
								</illustration>
							</td>
							<td vAlign="top">
								<para>Services &amp; Amenities</para>
								<para>Fintness rooms, swimming pool, Bicycle Rental, massages  
								</para>
							</td>
						</tr>
						
						
						<tr>
							<td vAlign="top">
								<illustration height="81" width="101">
									<image file="rsrc/hotel_map.jpg" x="0" y="0" height="80" width="100"/>
								</illustration>
							</td>
							<td vAlign="top">
								<para>The hotel has an outstanding location, in the heart of Paris, a few
										steps from the Champs Élysées. The hotel is only 30 minutes
										from Roissy Charles de Gaulle Airport and 40 minutes from Orly
										Airport. It has excellent access to public transport; the nearest
										metro station is 3 minutes' walk.
								</para>
							</td>
						</tr>
					</blockTable>
				</td>
			</tr>
			<tr><td></td></tr>
			<tr>
				<td>

				</td>
			</tr>
			<tr><td></td></tr>
			<tr>
				<td>
				</td>
			</tr>
		</blockTable>
		

	</story>
</document>
