<document id="Testprotokoll" pageorientation="portrait" pageformat="manual" pagewidth="80" pageheight="1200" unit="mm" margin="10,10,10,10" local="de-DE">
	<configuration>
		<printing_dimension state="off" distance="25" />
		<translation state="on" default="de" offered="de-de,en-en,fr-fr,es-es,it-it,sv-sv,nl-nl,pt-pt,fi-fi,da-da,no-no,pl-pl,cs-cz,tr-tr,ru-ru,zh-chs,ar-ar">
		  <include src="translations.xml" folder="{this}" />
		  <font_replacements> 
			<culture name="zh-chs" fontface="DengXian" file="Deng.otf"/>
		  </font_replacements>
		</translation>
	</configuration>

	<!-- == wiederverwendete Fonts definieren =============================================================================================	-->
	<fontconfiguration>
		<regfont id="Title" fontface="Arial" size="6" bold="bold" color="Black" />
		<regfont id="Subtitle" fontface="Arial" size="5" bold="bold" regular="regular" color="Black" />
		<regfont id="Normal" fontface="Arial" size="4" regular="regular" color="Black" />
		<regfont id="Small" fontface="Arial" size="3" regular="regular" color="Black" />
		<regfont id="Summary" fontface="Arial" size="4" bold="bold" color="Black" />
	</fontconfiguration>

	<!-- == Minimaler Übersetzungsblock, Übersetzungen in Include-File ================================================================	-->
	<translation>
		<index-names>
			<de-DE value="Deutsch" />
			<en-EN value="English" />
		</index-names>
	</translation>
	
	<formats>
		<addformat var="{rec.created}" format="DateTime" />
		<addformat var="{rec.created.date}" format="date" src="{rec.created}" />
		<addformat var="{rec.created.time}" format="time" src="{rec.created}" />
	</formats>

	<pages>
		<content id="pagecontent">
			<block id="customer">
				<insertblock id="include_customer" />
			</block>
			
			<block id="result">
				<insertblock id="include_result_simple" />
			</block>
		</content>
	</pages>
	
	<insertblocks>
		<include_customer>
			<block id="Company_Header" height="25">
				<print regfont="Title" 	   top="1" align="left" value="[Wiegeprotokoll] ({rec.weightype_text})" />		
				<print regfont="Subtitle"  top="8" align="left" value="[Datum]: {rec.created.date}" />
				<print regfont="Subtitle"  top="15" align="left" value="[Uhrzeit]: {rec.created.time}" />
			</block>
		
			<block id="Customer_Header" height="7">
				<print regfont="Subtitle" align="left" value="[Auftrag]"/>
			</block>
			
			<block id="Customer_Company" height="4" state="disabled">
				<print regfont="Normal" align="left" value="{rec.company}"/>
			</block>

			<block id="Customer_Name" height="4" state="disabled"> 
				<print regfont="Normal" align="left" value="{rec.firstname} {rec.lastname}"/>
			</block>

			<block id="Customer_Maker_Model" height="8" state="disabled">
				<print regfont="Normal" align="left" value="[Hersteller_Fahrzeugmodell]:"/>
				<print regfont="Normal" top="4" align="left" value="{rec.maker} {rec.model}"/>
			</block>

			<block id="Customer_VIN" height="4" state="disabled">
				<print regfont="Normal" align="left" value="[VIN]: {rec.VIN}"/>
			</block>
			
			<block id="Customer_LicensePlate" height="8" state="disabled">
				<print regfont="Normal" align="left" value="[Kennzeichen]: {rec.licenseplate}"/>
			</block>
			
			<block id="Customer_Comment" height="0" state="disabled">
				<print regfont="Normal" align="justify" width="60" height="0" value="{rec.comment}"/>
			</block>
		</include_customer>
		
		<include_result_simple>
			<block id="result_weights" height="50">
				<print regfont="Subtitle" top="0" height="8" left="0" value="[Wiegeergebnis]" />
				<print regfont="Normal" top="10" height="5" left="0" value="[Vorne] [Links]: {scale_1} {rec.unitshort}" />
				<print regfont="Normal" top="15" height="5" left="0" value="[Vorne] [Rechts]: {scale_2} {rec.unitshort}" />
				<print regfont="Normal" top="20" height="5" left="0" value="[Vorderachse]: {axle_1} {rec.unitshort}" />

				<print regfont="Normal" top="30" height="5" left="0" value="[Hinten] [Links]: {scale_3} {rec.unitshort}" />
				<print regfont="Normal" top="35" height="5" left="0" value="[Hinten] [Rechts]: {scale_4} {rec.unitshort}" />
				<print regfont="Normal" top="40" height="5" left="0" value="[Hinterachse]: {axle_2} {rec.unitshort}" />
			</block>

			<block id="scale_version" top="0" height="6">
				<print regfont="Summary" left="0" top="0"  height="5" value="[Gesamtgewicht] {rec.weightsummary} {rec.unitshort}" />
			</block>

			<block id="scale_summary" top="0" height="6">
				<print regfont="Small"  left="0" top="5" height="5" value="Inno!weight® PC - V{product.version}" />
			</block>
		</include_result_simple>
		
	</insertblocks>
</document>