insert into formulare (typ,system,erstellt,geaendert,user_1,user_2,name,formular) values (28,1,
'2012-05-01 00:00:00','2012-05-01','system','system',
'Laborwerte','

<report name="Laborwerte" orientation="$options.report.laborwerte.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="56"  >
    <rectangle  x="0" y="0" width="100%" height="44" color="$options.report.general.reportheader.background$" weight="0" draw="false" fill="true"/>
    <rectangle  x="0" y="0" width="100%" height="44" 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.laborwerte.titel$</label> 
    <string-field fontstyle="bold" fontsize="12" x="0%" y="20" height="12" width="100%" alignment="center" fieldname="rezeptur"></string-field>
    <string-field fontstyle="bold" fontsize="10" x="10%" y="33" height="12" width="39%" alignment="right" fieldname="laborwert"></string-field>
    <string-field fontstyle="bold" fontsize="10" x="51%" y="33" height="12" width="39%" alignment="left" fieldname="messeinheit"></string-field>
    
    <label fontstyle="plain" fontsize="7" x="0%" y="46" height="11" width="29%" alignment="right">$locale.report.laborwerte.rezepturbezeichnung$</label>
	<label fontstyle="plain" fontsize="7" x="30%" y="46" height="11" width="19%" alignment="right">$locale.report.laborwerte.value$</label>	
	<label fontstyle="plain" fontsize="7" x="50%" y="46" height="11" width="9%" alignment="left" >$locale.report.laborwerte.einheit$</label>	
	<label fontstyle="plain" fontsize="7" x="60%" y="46" height="11" width="9%" alignment="right">$locale.report.laborwerte.rezepturmenge$</label>	
	<label fontstyle="plain" fontsize="7" x="70%" y="46" height="11" width="9%" alignment="left" >$locale.report.laborwerte.rezeptureinheit$</label>
	<label fontstyle="plain" fontsize="7" x="80%" y="46" height="11" width="9%" alignment="right">$locale.report.laborwerte.menge$</label>	
	<label fontstyle="plain" fontsize="7" x="90%" y="46" height="11" width="9%" alignment="left" >$locale.report.laborwerte.mengeneinheit$</label>	
  </reportheader>>  

  <reportfooter height="80">
    <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"/>
 	<string-field fontstyle="bold" fontsize="10" x="0%" y="2" height="48" width="100%" alignment="center" dynamic="true" fieldname="ergebnis_string"></string-field>
 	
  </reportfooter>
  
  <pageheader height="20" onfirstpage="false">
    <rectangle  x="0" y="0" width="100%" height="44" color="$options.report.general.reportheader.background$" weight="0" draw="false" fill="true"/>
    <rectangle  x="0" y="0" width="100%" height="44" 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.laborwerte.titel$</label> 
    <string-field fontstyle="bold" fontsize="12" x="0%" y="20" height="12" width="100%" alignment="center" fieldname="rezeptur"></string-field>
    <string-field fontstyle="bold" fontsize="10" x="10%" y="33" height="12" width="39%" alignment="right" fieldname="laborwert"></string-field>
    <string-field fontstyle="bold" fontsize="10" x="51%" y="33" height="12" width="39%" alignment="left" fieldname="messeinheit"></string-field>
    
    <label fontstyle="plain" fontsize="7" x="0%" y="46" height="11" width="29%" alignment="right">$locale.report.laborwerte.rezepturbezeichnung$</label>
	<label fontstyle="plain" fontsize="7" x="30%" y="46" height="11" width="19%" alignment="right">$locale.report.laborwerte.value$</label>	
	<label fontstyle="plain" fontsize="7" x="50%" y="46" height="11" width="9%" alignment="left" >$locale.report.laborwerte.einheit$</label>	
	<label fontstyle="plain" fontsize="7" x="60%" y="46" height="11" width="9%" alignment="right">$locale.report.laborwerte.rezepturmenge$</label>	
	<label fontstyle="plain" fontsize="7" x="70%" y="46" height="11" width="9%" alignment="left" >$locale.report.laborwerte.rezeptureinheit$</label>
	<label fontstyle="plain" fontsize="7" x="80%" y="46" height="11" width="9%" alignment="right">$locale.report.laborwerte.menge$</label>	
	<label fontstyle="plain" fontsize="7" x="90%" y="46" height="11" width="9%" alignment="left" >$locale.report.laborwerte.mengeneinheit$</label>	
 
  </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="12" fontstyle="plain" fontsize="10">
    <rectangle  x="0" y="0" width="100%" height="100%" color="#000000" weight="1" draw="true" fill="false"/>
	<string-field fontstyle="plain" fontsize="8" x="0%" y="1" height="11" width="29%" alignment="right" fieldname="vi_rezeptur"></string-field>
	<string-field fontstyle="plain" fontsize="8" x="30%" y="1" height="11" width="19%" alignment="right" fieldname="value"></string-field>	
	<string-field fontstyle="plain" fontsize="8" x="50%" y="1" height="11" width="9%" alignment="left" fieldname="einheit"></string-field>	
	<string-field fontstyle="plain" fontsize="8" x="60%" y="1" height="11" width="9%" alignment="right" fieldname="rezepturmenge"></string-field>	
	<string-field fontstyle="plain" fontsize="8" x="70%" y="1" height="11" width="9%" alignment="left" fieldname="rezeptureinheit"></string-field>
	<string-field fontstyle="plain" fontsize="8" x="80%" y="1" height="11" width="9%" alignment="right" fieldname="menge"></string-field>	
	<string-field fontstyle="plain" fontsize="8" x="90%" y="1" height="11" width="9%" alignment="left" fieldname="mengeneinheit"></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>

');