insert into formulare (typ,system,erstellt,geaendert,user_1,user_2,name,formular) values (40,1,
'2004-05-01 00:00:00','2004-05-01','system','system',
'Zutatenliste','

<!--
 der Report-Typ unterstützt folgende Datenfelder:
 -->
<report name="Zutatenliste" orientation="$options.report.zutatenliste.orientation$"
  pageformat="$options.report.general.pageformat$" topmargin="$options.report.general.margin.top$" leftmargin="$options.report.general.margin.left$" 
  bottommargin="$options.report.general.margin.bottom$" rightmargin="$options.report.general.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="3" width="20%" height="10" alignment="left" format="d.MMM yyyy H.mm"></date-field>
    <label fontstyle="plain" fontsize="7" x="75%" y="3" width="14%" height="10" alignment="right" >$locale.report.user$</label>   
    <string-field fontstyle="plain" fontsize="7" x="90%" y="3" height="10" width="10%" alignment="left" fieldname="user"></string-field>
    <label fontstyle="bold" fontsize="16" x="0%" y="3" width="100%" height="20" alignment="center" >$locale.report.zutatenliste.titel$</label>  
    <string-field  fontstyle="plain" fontsize="9" dynamic="true" x="10%" y="22" width="80%" height="12" alignment="center" fieldname="rezepturen"></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="3" width="20%" height="10" alignment="left" format="d.MMM yyyy H.mm"></date-field>
    <label fontstyle="plain" fontsize="7" x="75%" y="3" width="14%" height="10" alignment="right" >$locale.report.user$</label>   
    <string-field fontstyle="plain" fontsize="7" x="90%" y="3" height="10" width="10%" alignment="left" fieldname="user"></string-field>
    <label fontstyle="bold" fontsize="16" x="0%" y="3" width="100%" height="20" alignment="center" >$locale.report.zutatenliste.titel$</label> 
    <string-field  fontstyle="plain" fontsize="9" dynamic="true" x="10%" y="22" width="80%" height="12" alignment="center" fieldname="rezepturen"></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="36" fontstyle="plain" fontsize="8">
      <line x1="0" x2="100%" y1="0" y2="0" weight="0.1"/>
      <string-field  fontstyle="plain" fontsize="9" dynamic="true" x="0" y="1" width="30%" height="12" alignment="left" fieldname="zutat"></string-field>
      <string-field  fontstyle="plain" fontsize="9" dynamic="true" x="31%" y="2" width="20%" height="12" alignment="right" fieldname="bedarf"></string-field>      
      <string-field  fontstyle="plain" fontsize="9" dynamic="true" x="52%" y="2" width="20%" height="12" alignment="right" fieldname="bestand"></string-field>
	  <string-field  fontstyle="plain" fontsize="9" dynamic="true" x="74%" y="2" width="20%" height="12" alignment="right" fieldname="saldo"></string-field>
  </items>

  <functions>
    <function name="PageNumber" class="org.jfree.report.function.PageFunction"/>  
    <function name="PageTotal" class="org.jfree.report.function.PageTotalFunction" deplevel="1"/>    
  </functions>
</report>

');