<?xml version='1.0' encoding='utf-8'?>
<!-- 
Copyright 2005 DataActive Communications Limited

Unless required by applicable law or agreed to in writing, software,
documentation and examples are distributed under a 'AS IS' BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<!DOCTYPE re:root SYSTEM 'http://reality.dataactive.com/DTDs/reality-1.0.dtd'>
<re:root xmlns:re='http://reality.dataactive.com'>
	<re:document 
		version='1.0' 
		language-code='ENG' 
		country-code='GBR' 
		category-code='examples' 
		uid='050_030' 
		display-name='Applying alternating table and row colors'>

		<re:outputs collate='false' compression='9' manifest='false'>
			<re:output 
				name='Kwik PDF' 
				file-name='050_030_ApplyingAlternatingTableRowColors' 
				type='reality.pdf.kwik' 
				options='page-crop-marks: false' />
		</re:outputs>

		<re:colors>
			<re:color name='Black60' type='cmyk' value='0,0,0,0.6' />
			<re:color name='Red30' type='cmyk' value='0,0.3,0.3,0' />
		</re:colors>
		
		<re:styles>
			<re:style name='tableLayer'>
				<re:styleattribute name='top' value='50' />
				<re:styleattribute name='left' value='28' />
				<re:styleattribute name='width' value='504' />
				<re:styleattribute name='height' value='336' />
			</re:style>

			<re:style name='table'>
				<re:styleattribute name='row-background-color-name' value='Red30' />
				<re:styleattribute name='alternate-row-background-colors' value='true' />
				<re:styleattribute name='row-alternate-background-color-name' value='White' />
			</re:style>

			<re:style name='dataCell1' parent='headerText'>
				<re:styleattribute name='cell-width' value='100' />
			</re:style>

			<re:style name='dataCell2' parent='headerText'>
				<re:styleattribute name='cell-width' value='100' />
			</re:style>

			<re:style name='dataCell3' parent='headerText'>
				<re:styleattribute name='cell-width' value='100' />
			</re:style>
		</re:styles>


		<re:content>
			<re:page>
				<re:layer class='tableLayer'>
					
					<re:table class='table'>
						<re:row class='headerText'>
							<re:cell class='dataCell1' >
								Cell 1 Row 1 
							</re:cell>
							<re:cell class='dataCell2'>
								Cell 2 Row 1 
							</re:cell>
							<re:cell class='dataCell3'>
								Cell 3 Row 1 
							</re:cell>
						</re:row>

						<re:row class='headerText'>
							<re:cell class='dataCell1' >
								Cell 1 Row 2 
							</re:cell>
							<re:cell class='dataCell2'>
								Cell 2 Row 2 
							</re:cell>
							<re:cell class='dataCell3'>
								Cell 3 Row 2 
							</re:cell>
						</re:row>

						<re:row class='headerText'>
							<re:cell class='dataCell1' >
								Cell 1 Row 3 
							</re:cell>
							<re:cell class='dataCell2'>
								Cell 2 Row 3 
							</re:cell>
							<re:cell class='dataCell3'>
								Cell 3 Row 3 
							</re:cell>
						</re:row>

						<re:row class='headerText'>
							<re:cell class='dataCell1' >
								Cell 1 Row 4 
							</re:cell>
							<re:cell class='dataCell2'>
								Cell 2 Row 4 
							</re:cell>
							<re:cell class='dataCell3'>
								Cell 3 Row 4 
							</re:cell>
						</re:row>


					</re:table>
				</re:layer>
			</re:page>
		</re:content>

	</re:document>
</re:root>
