<!-- Rückverfolgung -->

<!-- der Report-Typ unterstützt folgende Datenfelder: "titel" "user" "datum" "zeile" "typ" "level" -->
<report name="Rückverfolgung" orientation="$options.report.trace.orientation$" pageformat="$options.report.general.pageformat$" topmargin="$options.report.landscape.margin.top$" leftmargin="$options.report.landscape.margin.left$"   bottommargin="$options.report.landscape.margin.bottom$" rightmargin="$options.report.landscape.margin.right$">  

<reportheader height="40"  >
    <rectangle  x="0" y="0" width="100%" height="100%" color="$options.report.general.reportheader.background$" weight="0" draw="false" fill="true"/>
    <rectangle  x="0" y="0" width="100%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>   
   <date-field fontstyle="plain" fontsize="7" fieldname="datum" x="5" y="11" width="20%" height="10" alignment="left" format="d.MMM yyyy H.mm"></date-field>    
   <label fontstyle="plain" fontsize="7" x="75%" y="11" width="14%" height="10" alignment="right" >$locale.report.user$</label>
    <string-field fontstyle="plain" fontsize="7" x="90%" y="11" height="10" width="10%" alignment="left" fieldname="user"></string-field>
    <label fontstyle="bold" fontsize="16" x="0%" y="16" width="100%" height="20" alignment="center" >$locale.report.trace.titel$</label>
      <string-field fontstyle="bold" fontsize="8" x="0" y="32" height="12" width="100%" alignment="center" fieldname="titel" ></string-field>
      </reportheader>

  <pageheader height="40" onfirstpage="false">
    <rectangle  x="0" y="0" width="100%" height="100%" color="$options.report.general.reportheader.background$" weight="0" draw="false" fill="true"/>
    <rectangle  x="0" y="0" width="100%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
    <date-field fontstyle="plain" fontsize="7" fieldname="datum" x="5" y="11" width="20%" height="10" alignment="left" format="d.MMM yyyy H.mm"></date-field>
    <label fontstyle="plain" fontsize="7" x="75%" y="11" width="14%" height="10" alignment="right" >$locale.report.user$</label>
       <string-field fontstyle="plain" fontsize="7" x="90%" y="11" height="10" width="10%" alignment="left" fieldname="user"></string-field>
    <label fontstyle="bold" fontsize="16" x="0%" y="16" width="100%" height="20" alignment="center" >$locale.report.trace.titel$</label>
      <string-field fontstyle="bold" fontsize="8" x="0" y="32" height="12" width="100%" alignment="center" fieldname="titel" ></string-field>
      </pageheader>

    <pagefooter height="20"> 
		<rectangle  x="0" y="0" width="100%" height="100%" color="$options.report.general.pagefooter.background$" weight="0" draw="false" fill="true"/> 
		<rectangle  x="0" y="0" width="100%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>  
		<number-field fieldname="PageNumber" x="40%" y="10"  width="90" height="20" alignment="left" format="$locale.seite$ #0"></number-field>  
		<number-field fieldname="PageTotal" x="50%" y="10"  width="90" height="20" alignment="left" format="$locale.von$ #0"></number-field>
	</pagefooter>  

    <items height="5" fontstyle="plain" fontsize="8">      
		<band layout-cachable="false"  name="text" x="0" y="1" width="100%" height="5">	  	
		<string-field fontsize="9" dynamic="true" x="0" y="3" width="100%" height="9" alignment="left" fieldname="zeile"></string-field>
		</band>

		<band layout-cachable="false"  name="h3" x="0" y="1" width="100%" height="5">
		<string-field fontsize="11" dynamic="true" x="0" y="3" width="100%" height="11" alignment="left" fieldname="zeile"></string-field>
		</band>

		<band layout-cachable="false"  name="h2" x="0" y="1" width="100%" height="5">
	  	<string-field fontsize="13" dynamic="true" x="0" y="11" width="100%" height="13" alignment="left" fieldname="zeile"></string-field>	
		</band>
		<band layout-cachable="false"  name="h1" x="0" y="1" width="100%" height="17">
			<string-field fontsize="15" dynamic="true" x="0" y="11" width="100%" height="15" alignment="left" fieldname="zeile"></string-field>
		</band>
	</items>

	<functions> 
		<function name="PageNumber" class="org.jfree.report.function.PageFunction"/> 
		<function name="PageTotal" class="org.jfree.report.function.PageTotalFunction" deplevel="1"/> 
		<function name="SetVisible" class="de.lunqual.rzpro.ausgabe.VisibleTraceBandFunction"/>
	</functions>
</report>