<!-- Aenderungen -->

<report name="Aenderungen" orientation="$options.report.changes.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="22" x="0%" y="18" width="100%" height="28" alignment="center" >$locale.report.changes.titel$</label>    
</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="22" x="0%" y="18" width="100%" height="28" alignment="center" >$locale.report.changes.titel$</label>     
   </pageheader>
  
  <pagefooter height="20">
    <rectangle  x="0" y="1" width="100%" height="100%" color="$options.report.general.pagefooter.background$" weight="0" draw="false" fill="true"/>
    <rectangle  x="0" y="1" 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>

 
  <groups>
   <group>
	<groupheader height="28" >
   	    <date-field fontstyle="bold" fontsize="14" fieldname="erstellt_date" x="0" y="18" width="100%" height="16" alignment="center" format="EEEE,  dd. MMMM yyyy"></date-field>

  	<rectangle  x="0%" y="4" width="8%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
   	  	<label fontstyle="bold" fontsize="8" x="1%" y="26" width="6%" height="12" alignment="center" >$locale.report.changes.zeit$</label>
   	<rectangle  x="8%" y="4" width="6%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
   	  	<label fontstyle="bold" fontsize="8" x="9%" y="26" width="4%" height="12" alignment="center" >$locale.report.changes.relevant$</label>
   	<rectangle  x="14%" y="4" width="8%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
   	  	<label fontstyle="bold" fontsize="8" x="14%" y="26" width="7%" height="12" alignment="center" >$locale.report.changes.user$</label>
   	<rectangle  x="22%" y="4" width="14%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
   	 	<label fontstyle="bold" fontsize="8" x="22%" y="26" width="13%" height="12" alignment="center" >$locale.report.changes.bezeichnung$</label>	  	
   	 <rectangle  x="36%" y="4" width="32%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
   	  	<label fontstyle="bold" fontsize="8" x="36%" y="26" width="32%" height="12" alignment="center" >$locale.report.changes.alt$</label>		
   	 <rectangle  x="68%" y="4" width="32%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
   	  	<label fontstyle="bold" fontsize="8" x="68%" y="26" width="32%" height="12" alignment="center" >$locale.report.changes.neu$</label>	   	  	
	</groupheader>


	<fields>
		<field>erstellt_field</field>
	</fields>
	</group>
  </groups>



  <items height="36">
  	<band layout-cachable="false"  name="aenderung" x="0" y="0" width="100%" height="24">  
  	  	   	
   	  	<string-field fontstyle="bold" fontsize="10" x="2%" y="12" width="96%" height="14" alignment="center" fieldname="rezeptur"></string-field>	  		
  	   	
  	   	
		  	   	<rectangle  x="0%" y="16" width="8%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
   	  	<string-field fontstyle="plain" fontsize="8" x="1%" y="25" width="6%" height="8" alignment="center" fieldname="erstellt_stunde"></string-field>
   	  	   	   	<rectangle  x="8%" y="16" width="6%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
   	  	<string-field fontstyle="plain" fontsize="8" x="9%" y="25" width="4%" height="8" alignment="center" fieldname="relevant"></string-field>
   	  	   	   	<rectangle  x="14%" y="16" width="8%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
   	  	<string-field fontstyle="plain" fontsize="8" x="14%" y="25" width="7%" height="8" alignment="center" fieldname="user1"></string-field>
   	  	   	    <rectangle  x="22%" y="2" width="14%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
   	  	<string-field fontstyle="plain" fontsize="8" x="22%" y="25" width="13%" height="8" alignment="center" fieldname="bezeichnung"></string-field>	
   	  	   	    <rectangle  x="36%" y="2" width="32%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>  	
   	  	<string-field fontstyle="plain" fontsize="8" x="37%" y="25" width="30%" height="8" alignment="left" fieldname="alt" dynamic="true" ></string-field>	
   	  	   	    <rectangle  x="68%" y="2" width="32%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>	
   	  	<string-field fontstyle="plain" fontsize="8" x="69%" y="25" width="30%" height="8" alignment="left" fieldname="neu" dynamic="true" ></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"/> 
  </functions>
  
  
</report>

