<document id="Testprotokoll" pageorientation="portrait" pageformat="A4" 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="5" bold="false" color="DarkBlue" />
		<regfont id="Subtitle" fontface="Arial" size="4" regular="regular" color="DarkBlue" />
		<regfont id="SubtitleG" fontface="Arial" size="4" regular="regular" color="Gray" />
		<regfont id="Normal" fontface="Arial" size="3" regular="regular" color="Black" />
		<regfont id="Subject" fontface="Arial" size="4" regular="regular" color="DarkBlue" />
	</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>
		<!-- == Allgemeingültige Kopfzeile ================================================================================================	-->
		
		<content id="pagecontent">
			<!-- == Allgemeingültige Kopfzeile ============================================================================================	-->
			<block id="Weighing">
				<insertblock id="include_company" />
			</block>
			
			<block id="customer">
				<insertblock id="include_customer" />
			</block>
			
			<block id="vehicle">
				<insertblock id="include_vehicle" />
			</block>
		</content>
		
		<footer height="20">
			<block id="hide_footer" height="20" state="disabled">
				<image left="80" top="2" maxwidth="30" src="Layouts_Cartesy\footer.jpg" />
				<print regfont="Normal" left="-10" top="21" width="210" height="5" align="center" value="Cartesy GmbH - Am Industriepark 11 - 84453 - Mühldorf am Inn - www.cartesy.de - {product.name} - Version {product.version}" />
			</block>
		</footer>
	</pages>
	
	<insertblocks>
		<include_company>
			<block id="Company_Header" height="20">
				<image left="125" top="2" maxwidth="60" src="{my.logo}" />
				<print regfont="Title" top="6" value="[Wiegeprotokoll] ({rec.weightype_text})" />		
				<print regfont="SubtitleG" top="12" value="{rec.created.date} - {rec.created.time}" />
			</block>
			
			<block id="Company" height="5" state="disabled">
				<print regfont="Subtitle" value="{my.company}"/>
			</block>

			<block id="Company_Salutation" height="4" state="disabled">
				<print regfont="Normal" value="{my.salutation} {my.firstname} {my.lastname}"/>
			</block>

			<block id="Company_Street" height="4" state="disabled">
				<print regfont="Normal" value="{my.street} {my.streetnumber}"/>
			</block>

			<block id="Company_City" height="4" state="disabled">
				<print regfont="Normal" value="{my.plz} {my.city}"/>
			</block>

			<block id="Company_Phone" height="4" state="disabled">
				<print regfont="Normal" value="[Telefon]: {my.phone}"/>
			</block>

			<block id="Company_Fax" height="4" state="disabled">
				<print regfont="Normal" value="[Fax]: {my.fax}"/>
			</block>

			<block id="Company_Internet" height="4" state="disabled">
				<print regfont="Normal" value="{my.website}"/>
			</block>

			<block id="Company_Mail" height="4" state="disabled">
				<print regfont="Normal" value="{my.email}"/>
			</block>
		</include_company>
		
		<include_customer>
			<block id="Customer_Header" height="5">
				<print regfont="Subtitle" value="[Kundenanschrift]"/>
			</block>

			<block id="Customer_Company" height="4" state="disabled">
				<print regfont="Normal" value="{rec.company}"/>
			</block>

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

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

			<block id="Customer_VIN" height="4" state="disabled">
				<print regfont="Normal" value="[VIN]: {rec.VIN}"/>
			</block>
			
			<block id="Customer_LicensePlate" height="4" state="disabled">
				<print regfont="Normal" value="[Kennzeichen]: {rec.licenseplate}"/>
			</block>
			
			<block id="Customer_Comment_Spacer" height="3">
			</block>

			<block id="Customer_Comment" height="5" state="disabled">
				<print regfont="Normal" value="[Kommentar]: {rec.comment}"/>
			</block>

			<block id="Customer_Comment_Spacer" height="8">
			</block>
		</include_customer>
		
		<include_vehicle>
			<image left="10" maxwidth="170" src="{rec.screenshot}" />
		</include_vehicle>
		
	</insertblocks>
</document>