<jasperReport name="HorizontalListReport" language="java" pageWidth="595" pageHeight="842" columnWidth="515" leftMargin="40" rightMargin="40" topMargin="50" bottomMargin="50" uuid="f287a3c3-3d7f-4f7c-964e-d7be86d21c1d">
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="Sample DB"/>
	<style name="Sans_Normal" default="true" fontName="DejaVu Sans" fontSize="12.0" bold="false" italic="false" underline="false" strikeThrough="false"/>
	<style name="Sans_Bold" fontName="DejaVu Sans" fontSize="12.0" bold="true" italic="false" underline="false" strikeThrough="false"/>
	<style name="Sans_Italic" fontName="DejaVu Sans" fontSize="12.0" bold="false" italic="true" underline="false" strikeThrough="false"/>
	<style name="Sans_Small" fontName="DejaVu Sans" fontSize="10.0" bold="false" italic="false" underline="false" strikeThrough="false"/>
	<style name="Sans_SmallBold" fontName="DejaVu Sans" fontSize="10.0" bold="true" italic="false" underline="false" strikeThrough="false"/>
	<style name="ListCell" mode="Opaque" backcolor="#FBF1DA"/>
	<dataset name="Addresses" uuid="892be1ef-970f-42c8-ab80-82c91a904605">
		<parameter name="City" class="java.lang.String"/>
		<query language="sql"><![CDATA[SELECT * FROM Address WHERE City = $P{City} ORDER BY LastName, FirstName]]></query>
		<field name="Id" class="java.lang.Integer"/>
		<field name="FirstName" class="java.lang.String"/>
		<field name="LastName" class="java.lang.String"/>
		<field name="Street" class="java.lang.String"/>
		<field name="City" class="java.lang.String"/>
	</dataset>
	<query language="sql"><![CDATA[SELECT City FROM Address GROUP BY City ORDER BY City]]></query>
	<field name="City" class="java.lang.String"/>
	<title height="40">
		<element kind="line" uuid="e5a65d7a-f538-4acd-820f-96e3e5751e36" x="0" y="0" width="515" height="1"/>
		<element kind="staticText" uuid="d4fd8df3-1b29-429d-b231-7840524979a5" x="0" y="10" width="515" height="30" fontSize="22.0" hTextAlign="Center" style="Sans_Normal">
			<text><![CDATA[Addresses Report]]></text>
		</element>
	</title>
	<pageHeader height="21">
		<element kind="staticText" uuid="9d616507-cc82-40ad-8ede-6baf184bfa0c" mode="Opaque" x="0" y="5" width="515" height="15" forecolor="#FFFFFF" backcolor="#333333" style="Sans_Bold">
			<text><![CDATA[Addresses List]]></text>
		</element>
	</pageHeader>
	<detail>
		<band height="65">
			<element kind="textField" uuid="32f64269-615d-43d9-8620-6bcf827677c5" x="5" y="5" width="100" height="15" printWhenDetailOverflows="true" style="Sans_Bold">
				<expression><![CDATA[$F{City}]]></expression>
			</element>
			<element kind="staticText" uuid="7c8c124d-9697-4ac4-a314-966f9b7f7fb9" x="110" y="5" width="100" height="15" printWhenDetailOverflows="true" printRepeatedValues="false" style="Sans_Bold">
				<text><![CDATA[(continued)]]></text>
			</element>
			<element kind="component" uuid="34fb2fe3-0f33-43ce-84e7-6fd2fb51349f" x="0" y="25" width="515" height="40">
				<component kind="list" printOrder="Horizontal">
					<datasetRun uuid="25d845a2-169f-4599-9cfc-4414f30138fe" subDataset="Addresses">
						<parameter name="City">
							<expression><![CDATA[$F{City}]]></expression>
						</parameter>
					</datasetRun>
					<contents height="40" width="128">
						<element kind="frame" uuid="052ddd9f-3f08-47f0-90e0-37f38ec52807" stretchType="ContainerHeight" x="4" y="0" width="120" height="38" style="ListCell">
							<element kind="textField" uuid="740300c0-184f-499d-a651-06c95fef90f8" x="0" y="2" width="100" height="12" style="Sans_SmallBold">
								<expression><![CDATA["#" + $V{REPORT_COUNT} + " - " + $F{Id}]]></expression>
							</element>
							<element kind="textField" uuid="0d94253a-1fec-4390-b671-8462daca989b" positionType="Float" x="10" y="14" width="110" height="12" textAdjust="StretchHeight" style="Sans_Small">
								<expression><![CDATA[$F{FirstName} + " " + $F{LastName}]]></expression>
							</element>
							<element kind="textField" uuid="e0023244-af6c-43e5-9425-689b0f897b17" positionType="Float" x="10" y="26" width="110" height="12" textAdjust="StretchHeight" style="Sans_Small">
								<expression><![CDATA[$F{Street} + ", " + $F{City}]]></expression>
							</element>
							<box style="ListCell">
								<topPen lineWidth="0.5"/>
								<bottomPen lineWidth="0.5"/>
							</box>
						</element>
					</contents>
				</component>
			</element>
		</band>
	</detail>
	<pageFooter height="40">
		<element kind="line" uuid="c860179a-e395-4ac1-b129-09073598fd30" x="0" y="10" width="515" height="1"/>
		<element kind="textField" uuid="4c76f7c9-424f-4a3c-bb19-f3557ac7bf1e" x="200" y="20" width="80" height="15" hTextAlign="Right">
			<expression><![CDATA["Page " + String.valueOf($V{PAGE_NUMBER}) + " of"]]></expression>
		</element>
		<element kind="textField" uuid="f23fbd16-abdc-4eb9-abab-789e9efbb5b9" x="280" y="20" width="75" height="15" evaluationTime="Report">
			<expression><![CDATA[" " + String.valueOf($V{PAGE_NUMBER})]]></expression>
		</element>
	</pageFooter>
</jasperReport>
