SuperX-Kernmodul
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

201 lines
11 KiB

<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"
name="User suchen"
language="groovy"
pageWidth="842"
pageHeight="595"
orientation="Landscape"
columnWidth="818"
leftMargin="12"
rightMargin="12"
topMargin="12"
bottomMargin="12"
isIgnorePagination="true">
<!--Import von jr_properties--><property name="net.sf.jasperreports.export.xls.create.custom.palette" value="true"/>
<property name="net.sf.jasperreports.export.xls.detect.cell.type" value="true"/>
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns"
value="true"/>
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows "
value="true"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.1" value="pageHeader"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageFooter"/>
<property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.1"
value="pageHeader"/>
<property name="net.sf.jasperreports.export.xlsx.exclude.origin.band.2"
value="pageFooter"/>
<property name="com.jaspersoft.studio.data.defaultdataadapter"
value="beispiel_einzeltabelle_schmal"/>
<property name="com.jaspersoft.studio.unit." value="pixel"/>
<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
<property name="com.jaspersoft.studio.property.dataset.dialog.DatasetDialog.sash.w1"
value="466"/>
<property name="com.jaspersoft.studio.property.dataset.dialog.DatasetDialog.sash.w2"
value="522"/>
<template>"simple_table.jrtx"</template>
<style name="TableRowDetail" mode="Opaque" forecolor="#000000" backcolor="#FFFFFF"
hTextAlign="Right"
vTextAlign="Middle"
isBlankWhenNull="true"
fontName="Liberation Sans"
fontSize="8">
<box rightPadding="2">
<pen lineColor="#FFFFFF"/>
</box>
<paragraph leftIndent="2" rightIndent="1" spacingBefore="0" spacingAfter="0"/>
<conditionalStyle>
<conditionExpression>Boolean.valueOf( $V{PAGE_COUNT} % 2 == 1 )</conditionExpression>
<style mode="Opaque" forecolor="#000000" backcolor="#E3E8EB"/>
</conditionalStyle>
</style>
<queryString language="xPath">/ergebnisse/ergebnis/ergebniselement[@ordnr=0]/sqlerg/row</queryString>
<field name="REPORT_HEADING_INSTITUTION" class="java.lang.String">
<fieldDescription>/ergebnisse/generalinfo/REPORT_HEADING_INSTITUTION</fieldDescription>
</field>
<field name="REPORT_HEADING_URL" class="java.lang.String">
<fieldDescription>/ergebnisse/generalinfo/REPORT_HEADING_URL</fieldDescription>
</field>
<field name="REPORT_LOGO_FILE" class="java.lang.String">
<fieldDescription>/ergebnisse/generalinfo/REPORT_LOGO_FILE</fieldDescription>
</field>
<field name="REPORT_HEADING_ADRESS" class="java.lang.String">
<fieldDescription>/ergebnisse/generalinfo/REPORT_HEADING_ADRESS</fieldDescription>
</field>
<field name="REPORT_EMAIL" class="java.lang.String">
<fieldDescription>/ergebnisse/generalinfo/REPORT_EMAIL</fieldDescription>
</field>
<field name="REPORT_DOCUMENTATION_URL" class="java.lang.String">
<fieldDescription>/ergebnisse/generalinfo/REPORT_DOCUMENTATION_URL</fieldDescription>
</field>
<field name="Berichtsname" class="java.lang.String">
<fieldDescription>/ergebnisse/ergebnis[ @ordnr='0']/maskenname</fieldDescription>
</field>
<field name="Erlaeuterung" class="java.lang.String">
<fieldDescription>/ergebnisse/ergebnis[ @ordnr='0']/explanation</fieldDescription>
</field>
<!-- dann die Tabellenspalten --><field name="Kennung " class="java.lang.String">
<fieldDescription>col[@id="0" and wert!=""]/wert</fieldDescription>
</field>
<field name=" Name " class="java.lang.String">
<fieldDescription>col[@id="1" and wert!=""]/wert</fieldDescription>
</field>
<field name=" Email " class="java.lang.String">
<fieldDescription>col[@id="2" and wert!=""]/wert</fieldDescription>
</field>
<field name=" Ansehen " class="java.lang.String">
<fieldDescription>col[@id="3" and wert!=""]/wert</fieldDescription>
</field>
<field name=" Bearbeiten " class="java.lang.String">
<fieldDescription>col[@id="4" and wert!=""]/wert</fieldDescription>
</field>
<field name="legende_Kennung_label" class="java.lang.String">
<fieldDescription>/ergebnisse/ergebnis/completefields/feld [@varname="Kennung"]/@varname</fieldDescription>
</field>
<field name="legende_Kennung_value" class="java.lang.String">
<fieldDescription>/ergebnisse/ergebnis/felder/feld [@varname="Kennung"]/value_caption</fieldDescription>
</field>
<field name="legende_Gruppe_label" class="java.lang.String">
<fieldDescription>/ergebnisse/ergebnis/completefields/feld [@varname="Gruppe"]/@varname</fieldDescription>
</field>
<field name="legende_Gruppe_value" class="java.lang.String">
<fieldDescription>/ergebnisse/ergebnis/felder/feld [@varname="Gruppe"]/value_caption</fieldDescription>
</field>
<field name="legende_Name_label" class="java.lang.String">
<fieldDescription>/ergebnisse/ergebnis/completefields/feld [@varname="Name"]/@varname</fieldDescription>
</field>
<field name="legende_Name_value" class="java.lang.String">
<fieldDescription>/ergebnisse/ergebnis/felder/feld [@varname="Name"]/value_caption</fieldDescription>
</field>
<field name="legende_Institution_label" class="java.lang.String">
<fieldDescription>/ergebnisse/ergebnis/completefields/feld [@varname="Institution"]/@varname</fieldDescription>
</field>
<field name="legende_Institution_value" class="java.lang.String">
<fieldDescription>/ergebnisse/ergebnis/felder/feld [@varname="Institution"]/value_caption</fieldDescription>
</field>
<field name="standdatum" class="java.lang.String">
<fieldDescription>/ergebnisse/ergebnis[ @ordnr='0']/stand</fieldDescription>
</field>
<field name="user" class="java.lang.String">
<fieldDescription>/ergebnisse/user</fieldDescription>
</field>
<variable name="tabellennr" class="java.lang.Integer">
<variableExpression>0</variableExpression>
</variable>
<group name="tabellennr">
<groupExpression>$V{tabellennr}</groupExpression>
<groupHeader>
<band height="90">
<textField>
<reportElement style="LegendLabel" x="0" y="0" width="818" height="20"/>
<textElement verticalAlignment="Bottom"/>
<textFieldExpression>"Filterkriterien: "</textFieldExpression>
</textField>
<textField>
<reportElement style="LegendContent" x="0" y="20" width="818" height="40"/>
<textFieldExpression>""+(($F{legende_Kennung_value}==null || $F{legende_Kennung_value}=="")?"":($F{legende_Kennung_label}+": "+$F{legende_Kennung_value}+";"))
+(($F{legende_Gruppe_value}==null || $F{legende_Gruppe_value}=="")?"":($F{legende_Gruppe_label}+": "+$F{legende_Gruppe_value}+";"))
+(($F{legende_Name_value}==null || $F{legende_Name_value}=="")?"":($F{legende_Name_label}+": "+$F{legende_Name_value}+";"))
+(($F{legende_Institution_value}==null || $F{legende_Institution_value}=="")?"":($F{legende_Institution_label}+": "+$F{legende_Institution_value}+";"))
+"Datenstand: "+ $F{standdatum} + "; " + "Erstellt: "+ DATEFORMAT( TODAY(), "dd.MM.YYYY")</textFieldExpression>
</textField>
<staticText>
<reportElement style="TableColumnHeader" mode="Opaque" x="0" y="60" width="117" height="30"
backcolor="#7A93AB"/>
<text>Kennung </text>
</staticText>
<staticText>
<reportElement style="TableColumnHeader" mode="Opaque" x="117" y="60" width="351" height="30"
backcolor="#7A93AB"/>
<text> Name </text>
</staticText>
<staticText>
<reportElement style="TableColumnHeader" mode="Opaque" x="468" y="60" width="351" height="30"
backcolor="#7A93AB"/>
<text> Email </text>
</staticText>
</band>
</groupHeader>
</group>
<title>
<band height="75">
<textField>
<reportElement x="0" y="0" width="818" height="30" style="ReportHeadingInstitution"/>
<textFieldExpression>$F{REPORT_HEADING_INSTITUTION} + " | "+ $F{user}</textFieldExpression>
</textField>
<textField>
<reportElement style="ReportTitle" x="0" y="30" width="818" height="45"/>
<textFieldExpression>$F{Berichtsname}</textFieldExpression>
</textField>
</band>
</title>
<detail>
<band height="30" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true" pattern="">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="0" y="0" width="117"
height="30"/>
<textElement textAlignment="Left"/>
<textFieldExpression>$F{Kennung }</textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" pattern="">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="117" y="0" width="351"
height="30"/>
<textElement textAlignment="Left"/>
<textFieldExpression>$F{ Name }</textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true" pattern="">
<reportElement style="TableRowDetail" stretchType="ContainerHeight" x="468" y="0" width="351"
height="30"/>
<textElement textAlignment="Left"/>
<textFieldExpression>$F{ Email }</textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>