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.
288 lines
14 KiB
288 lines
14 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="Benutzer - Sichten" |
|
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="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="net.sf.jasperreports.print.create.bookmarks" 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="TUHH_kennz_bericht_ba"/> |
|
<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='1']/sqlerg/row</queryString> |
|
<field name="Berichtsname" class="java.lang.String"> |
|
<fieldDescription>/ergebnisse/makro/name</fieldDescription> |
|
</field> |
|
<field name="Erlaeuterung" class="java.lang.String"> |
|
<fieldDescription>/ergebnisse/ergebnis[ @ordnr='1']/explanation</fieldDescription> |
|
</field> |
|
<!-- dann die Tabellenspalten --> |
|
<field name="tab_0Ebene" class="java.lang.Integer"> |
|
<fieldDescription>col[@id="0" and wert!="" and ../../../@ordnr='0']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_0Benutzer" class="java.lang.String"> |
|
<fieldDescription>col[@id="1" and wert!="" and ../../../@ordnr='0']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_0Zuordnung über" class="java.lang.String"> |
|
<fieldDescription>col[@id="2" and wert!="" and ../../../@ordnr='0']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_0Abfragemaske" class="java.lang.String"> |
|
<fieldDescription>col[@id="3" and wert!="" and ../../../@ordnr='0']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_0Gruppe" class="java.lang.String"> |
|
<fieldDescription>col[@id="4" and wert!="" and ../../../@ordnr='0']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_0Sachgebiet" class="java.lang.String"> |
|
<fieldDescription>col[@id="5" and wert!="" and ../../../@ordnr='0']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_1Benutzer " class="java.lang.String"> |
|
<fieldDescription>col[@id="0" and wert!="" and ../../../@ordnr='1']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_1 Berechtigte Sichten " class="java.lang.String"> |
|
<fieldDescription>col[@id="1" and wert!="" and ../../../@ordnr='1']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_1 Zugehörige Sichtart " class="java.lang.String"> |
|
<fieldDescription>col[@id="2" and wert!="" and ../../../@ordnr='1']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_1Zuordnung über" class="java.lang.String"> |
|
<fieldDescription>col[@id="3" and wert!="" and ../../../@ordnr='1']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_1Gruppe" class="java.lang.String"> |
|
<fieldDescription>col[@id="4" and wert!="" and ../../../@ordnr='1']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_1Sachgebiet" class="java.lang.String"> |
|
<fieldDescription>col[@id="5" and wert!="" and ../../../@ordnr='1']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_2Benutzer " class="java.lang.String"> |
|
<fieldDescription>col[@id="0" and wert!="" and ../../../@ordnr='2']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_2Benutzer Name" class="java.lang.String"> |
|
<fieldDescription>col[@id="1" and wert!="" and ../../../@ordnr='2']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_2 Berechtigte Institution " class="java.lang.String"> |
|
<fieldDescription>col[@id="2" and wert!="" and ../../../@ordnr='2']/wert</fieldDescription> |
|
</field> |
|
<field name="tab_2 Kostenstelle " class="java.lang.String"> |
|
<fieldDescription>col[@id="3" and wert!="" and ../../../@ordnr='2']/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_Zuordnung über Gruppe_label" class="java.lang.String"> |
|
<fieldDescription>/ergebnisse/ergebnis/completefields/feld [@varname="Zuordnung über Gruppe"]/@varname</fieldDescription> |
|
</field> |
|
<field name="legende_Zuordnung über Gruppe_value" class="java.lang.String"> |
|
<fieldDescription>/ergebnisse/ergebnis/felder/feld [@varname="Zuordnung über Gruppe"]/value_caption</fieldDescription> |
|
</field> |
|
<field name="legende_Zuordnung über Sachgebiet_label" class="java.lang.String"> |
|
<fieldDescription>/ergebnisse/ergebnis/completefields/feld [@varname="Zuordnung über Sachgebiet"]/@varname</fieldDescription> |
|
</field> |
|
<field name="legende_Zuordnung über Sachgebiet_value" class="java.lang.String"> |
|
<fieldDescription>/ergebnisse/ergebnis/felder/feld [@varname="Zuordnung über Sachgebiet"]/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>1</variableExpression> |
|
</variable> |
|
<group name="tabellennr"> |
|
<groupExpression>$V{tabellennr}</groupExpression> |
|
<groupHeader> |
|
<band height="110"> |
|
<textField> |
|
<reportElement style="subReportTitle" x="0" y="0" width="818" height="20"/> |
|
<textFieldExpression>"Benutzer - Sichten"</textFieldExpression> |
|
</textField> |
|
<textField> |
|
<reportElement style="LegendLabel" x="0" y="20" width="818" height="20"/> |
|
<textElement verticalAlignment="Bottom"/> |
|
<textFieldExpression>"Filterkriterien: "</textFieldExpression> |
|
</textField> |
|
<textField> |
|
<reportElement style="LegendContent" x="0" y="40" width="818" height="40"/> |
|
<textFieldExpression>""+(($F{legende_Kennung_value}==null || $F{legende_Kennung_value}=="")?"":($F{legende_Kennung_label}+": "+$F{legende_Kennung_value}+";")) |
|
+"Datenstand: "+ $F{standdatum} + "; " + "Erstellt: "+ DATEFORMAT( TODAY(), "dd.MM.YYYY")</textFieldExpression> |
|
</textField> |
|
<staticText> |
|
<reportElement style="TableColumnHeader" |
|
mode="Opaque" |
|
x="0" |
|
y="80" |
|
width="51" |
|
height="30"/> |
|
<text>Benutzer </text> |
|
</staticText> |
|
<staticText> |
|
<reportElement style="TableColumnHeader" |
|
mode="Opaque" |
|
x="51" |
|
y="80" |
|
width="153" |
|
height="30"/> |
|
<text> Berechtigte Sichten </text> |
|
</staticText> |
|
<staticText> |
|
<reportElement style="TableColumnHeader" |
|
mode="Opaque" |
|
x="204" |
|
y="80" |
|
width="153" |
|
height="30"/> |
|
<text> Zugehörige Sichtart </text> |
|
</staticText> |
|
<staticText> |
|
<reportElement style="TableColumnHeader" |
|
mode="Opaque" |
|
x="357" |
|
y="80" |
|
width="153" |
|
height="30"/> |
|
<text>Zuordnung über</text> |
|
</staticText> |
|
<staticText> |
|
<reportElement style="TableColumnHeader" |
|
mode="Opaque" |
|
x="510" |
|
y="80" |
|
width="153" |
|
height="30"/> |
|
<text>Gruppe</text> |
|
</staticText> |
|
<staticText> |
|
<reportElement style="TableColumnHeader" |
|
mode="Opaque" |
|
x="663" |
|
y="80" |
|
width="153" |
|
height="30"/> |
|
<text>Sachgebiet</text> |
|
</staticText> |
|
</band> |
|
</groupHeader> |
|
</group> |
|
<detail> |
|
<band height="20" splitType="Stretch"> |
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true" pattern=""> |
|
<reportElement stretchType="ContainerHeight" |
|
x="0" |
|
y="0" |
|
width="51" |
|
height="20" |
|
style="TableRowDetail"/> |
|
<textElement textAlignment="Left"/> |
|
<textFieldExpression>$F{tab_1Benutzer }</textFieldExpression> |
|
</textField> |
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true" pattern=""> |
|
<reportElement stretchType="ContainerHeight" |
|
x="51" |
|
y="0" |
|
width="153" |
|
height="20" |
|
style="TableRowDetail"/> |
|
<textElement textAlignment="Left"/> |
|
<textFieldExpression>$F{tab_1 Berechtigte Sichten }</textFieldExpression> |
|
</textField> |
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true" pattern=""> |
|
<reportElement stretchType="ContainerHeight" |
|
x="204" |
|
y="0" |
|
width="153" |
|
height="20" |
|
style="TableRowDetail"/> |
|
<textElement textAlignment="Left"/> |
|
<textFieldExpression>$F{tab_1 Zugehörige Sichtart }</textFieldExpression> |
|
</textField> |
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true" pattern=""> |
|
<reportElement stretchType="ContainerHeight" |
|
x="357" |
|
y="0" |
|
width="153" |
|
height="20" |
|
style="TableRowDetail"/> |
|
<textElement textAlignment="Left"/> |
|
<textFieldExpression>$F{tab_1Zuordnung über}</textFieldExpression> |
|
</textField> |
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true" pattern=""> |
|
<reportElement stretchType="ContainerHeight" |
|
x="510" |
|
y="0" |
|
width="153" |
|
height="20" |
|
style="TableRowDetail"/> |
|
<textElement textAlignment="Left"/> |
|
<textFieldExpression>$F{tab_1Gruppe}</textFieldExpression> |
|
</textField> |
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true" pattern=""> |
|
<reportElement stretchType="ContainerHeight" |
|
x="663" |
|
y="0" |
|
width="153" |
|
height="20" |
|
style="TableRowDetail"/> |
|
<textElement textAlignment="Left"/> |
|
<textFieldExpression>$F{tab_1Sachgebiet}</textFieldExpression> |
|
</textField> |
|
</band> |
|
</detail> |
|
</jasperReport>
|
|
|