<?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'
[
<!ENTITY externalStyle SYSTEM 'http://reactive.dataactive.com/downloads/reality/includes/trmStylesheet.txt'>
]>

<re:root xmlns:re='http://reality.dataactive.com'>
	<re:document
		version='1.0'
		language-code='ENG'
		country-code='GBR'
		category-code='examples'
		uid='030_130'
		display-name='Using Style sheets'>
		
		<re:outputs collate='false' compression='9' manifest='false'>
			<re:output 
				name='Kwik PDF' 
				file-name='030_130_UsingStylesheets' 
				type='reality.pdf.kwik' 
				options='page-crop-marks: false' />
		</re:outputs>
		
		<re:styles>
			<!-- document specific style sheet -->
			<re:style name='mainLayer'>
				<re:styleattribute name='position' value='absolute' />
				<re:styleattribute name='left' value='20' />
				<re:styleattribute name='top' value='150' />
				<re:styleattribute name='width' value='400' />
				<re:styleattribute name='height' value='200' />
			</re:style>

			<!-- call the external style sheet here -->				
			&externalStyle;
		
		</re:styles>

		<re:content>
			<re:page style='page-width:500; page-height:500;'>
				<re:layer class='mainLayer'>
					<re:paragraph class='bigText'>
						bigText stylesheet used here
					</re:paragraph>
					<re:paragraph class='bodyText' >
						bodyText stylesheet used here
					</re:paragraph>
				</re:layer>
			</re:page>
		</re:content>
		
	</re:document>
</re:root>
