insert into formulare (id,typ,system,erstellt,geaendert,user_1,user_2,name,formular) values (1,0,1,
'2004-05-01 00:00:00','2004-05-01','system','system',
'Adresse','
<!-- 
 Der Report-Typ "Adresse" unterstützt folgende Felder:
 
 "datum"    = Datum und Uhrzeit des Druckvorgangs
 "Firma"    = Firmenname
 "Kd1"      = Kundennummer 1
 "Kd2"      = Kundennummer 2
 "Name"     = Vorname + komma + Nachname
 "Ort"      = Postleitzahl + komma + Strasse/Hausnummer + komma + Ort 
 "Telefon"  = Telefonnummer
 "Mobil"    = Mobiltelefonnummer
 "Fax"      = Faxnummer
 "Mail"     = Emailadresse
 "Comment"  = Kommentar
 "Erstellt" = Erstellungszeitpunkt und Benutzer
 "Geaendert"= Zeitpunkt der letzten �nderung und Benutzer
 -->

<report name="RzPro Adresse" orientation="$options.report.rechnen.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="25" fontname="SansSerif" >
    <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.menu.adressen$</label>    
 
  </reportheader>


  
  <pageheader height="25" onfirstpage="false" fontname="Serif" fontstyle="bold" fontsize="10">
    <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.menu.adressen$</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="14">
  		    <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"/>
    	    <string-field nullstring="" fontsize="10" fsbold="true"  x="0%" y="2" width="100%" height="12" alignment="center" fieldname="Firma"></string-field>
  		</groupheader>
  		<fields>
  			<field>Firma</field>
  		</fields>
  	</group>
  </groups>  
    
  <items height="10" fontsize="8" >
    

    <label fsbold="true" x="0" y="18" width="30%"  height="12" alignment="right" >$locale.adresseingabe.label_vorname$, $locale.adresseingabe.label_nachname$</label>
    <string-field nullstring=""  x="35%" y="18" width="65%" height="12" alignment="left" fieldname="Name"></string-field>
    
    <label fsbold="true" x="0" y="32" width="30%"  height="12" alignment="right" >$locale.adresseingabe.label_kd1$</label>
    <string-field nullstring=""  x="35%" y="32" width="65%" height="12" alignment="left" fieldname="Kd1"></string-field>
    <label fsbold="true" x="0" y="46" width="30%"  height="12" alignment="right" >$locale.adresseingabe.label_kd2$</label>
    <string-field nullstring=""  x="35%" y="46" width="65%" height="12" alignment="left" fieldname="Kd2"></string-field>
    
    <label fsbold="true" x="0" y="60" width="30%"  height="12" alignment="right" >$locale.adresseingabe.label_strasse$, $locale.adresseingabe.label_plz$, $locale.adresseingabe.label_ort$</label>
    <string-field nullstring=""  x="35%" y="60" width="65%" height="12" alignment="left" fieldname="Ort"></string-field>
 
    
    <label fsbold="true" x="0" y="74" width="30%"  height="12" alignment="right" >$locale.adresseingabe.label_fon$</label>
    <string-field nullstring=""  x="35%" y="74" width="65%" height="12" alignment="left" fieldname="Telefon"></string-field>

    <label fsbold="true" x="0" y="88" width="30%"  height="12" alignment="right" >$locale.adresseingabe.label_mobil$</label>
    <string-field nullstring=""  x="35%" y="88" width="65%" height="12" alignment="left" fieldname="Mobil"></string-field>
    
    <label fsbold="true" x="0" y="102" width="30%"  height="12" alignment="right" >$locale.adresseingabe.label_fax$</label>
    <string-field nullstring=""  x="35%" y="102" width="65%" height="12" alignment="left" fieldname="Fax"></string-field>
               
    <label fsbold="true" x="0" y="116" width="30%"  height="12" alignment="right" >$locale.adresseingabe.label_mail$</label>
    <string-field  nullstring=""  x="35%" y="116" width="65%" height="12" alignment="left" fieldname="Mail"></string-field>
     
    <!-- erstellt -->
    <string-field nullstring=""  x="35%" y="130" width="65%" height="12" alignment="left" fieldname="Erstellt"></string-field>
   
    <!-- geaendert -->
    <string-field nullstring=""  x="35%" y="144" width="65%" height="12" alignment="left" fieldname="Geaendert"></string-field>
  
    <!-- comment -->
    <label fsbold="true" x="0" y="158" width="30%"  height="12" alignment="right" >$locale.adresseingabe.label_comment$</label>
    <string-field nullstring="" dynamic="true" x="35%" y="158" width="65%" height="12" alignment="left" fieldname="Comment"></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>
');
