|
|
|
@ -249,6 +249,11 @@ isIgnorePagination="{$isIgnorePagination}" >
@@ -249,6 +249,11 @@ isIgnorePagination="{$isIgnorePagination}" >
|
|
|
|
|
<xsl:value-of select="$ergebniselementOrdnr"/> |
|
|
|
|
<xsl:text><![CDATA[']/explanation]]></xsl:text></fieldDescription> |
|
|
|
|
</field> |
|
|
|
|
<field name="Hinweis" class="java.lang.String"> |
|
|
|
|
<fieldDescription><xsl:text><![CDATA[/ergebnisse/ergebnis[ @ordnr=']]></xsl:text> |
|
|
|
|
<xsl:value-of select="$ergebniselementOrdnr"/> |
|
|
|
|
<xsl:text><![CDATA[']/hinweis]]></xsl:text></fieldDescription> |
|
|
|
|
</field> |
|
|
|
|
<xsl:comment> dann die Tabellenspalten </xsl:comment> |
|
|
|
|
|
|
|
|
|
<xsl:for-each select="/ergebnisse/ergebnis/ergebniselement"> |
|
|
|
@ -483,10 +488,10 @@ isIgnorePagination="{$isIgnorePagination}" >
@@ -483,10 +488,10 @@ isIgnorePagination="{$isIgnorePagination}" >
|
|
|
|
|
<xsl:attribute name="pattern"> |
|
|
|
|
<xsl:choose> |
|
|
|
|
<xsl:when test="$fieldType='4'"> <!--integer--> |
|
|
|
|
<xsl:text>#</xsl:text> |
|
|
|
|
<xsl:text>0</xsl:text> |
|
|
|
|
</xsl:when> |
|
|
|
|
<xsl:when test="$fieldType='3'"> <!--decimal--> |
|
|
|
|
<xsl:text>#,###.00;-#,###.00</xsl:text> |
|
|
|
|
<xsl:text>#,##0.00;-#,##0.00</xsl:text> |
|
|
|
|
</xsl:when> |
|
|
|
|
<xsl:when test="$fieldType='6'"> <!--date--> |
|
|
|
|
<xsl:text>dd.MM.yyyy</xsl:text> |
|
|
|
@ -607,8 +612,9 @@ isIgnorePagination="{$isIgnorePagination}" >
@@ -607,8 +612,9 @@ isIgnorePagination="{$isIgnorePagination}" >
|
|
|
|
|
</xsl:choose> |
|
|
|
|
</xsl:variable> |
|
|
|
|
<staticText> |
|
|
|
|
<reportElement style="TableColumnHeader" mode="Opaque" x="{$columnX}" y="{$y_offset+( $rowCounter * $zeilenhoehe )}" width="{$columnWidth * $colspan}" height="{$zeilenhoehe*$rowspan}" /> |
|
|
|
|
<text><xsl:value-of select="." /></text> |
|
|
|
|
<reportElement positionType="Float" style="TableColumnHeader" mode="Opaque" x="{$columnX}" y="{$y_offset+( $rowCounter * $zeilenhoehe )}" width="{$columnWidth * $colspan}" height="{$zeilenhoehe*$rowspan}" /> |
|
|
|
|
<text><xsl:call-template name="getColHeaderText"> |
|
|
|
|
<xsl:with-param name="header_wert" select="." /></xsl:call-template></text> |
|
|
|
|
</staticText> |
|
|
|
|
</xsl:if> |
|
|
|
|
</xsl:for-each> |
|
|
|
@ -636,7 +642,8 @@ isIgnorePagination="{$isIgnorePagination}" >
@@ -636,7 +642,8 @@ isIgnorePagination="{$isIgnorePagination}" >
|
|
|
|
|
|
|
|
|
|
<staticText> |
|
|
|
|
<reportElement style="TableColumnHeader" mode="Opaque" x="{$columnX}" y="{$y_offset}" width="{$columnWidth}" height="{$zeilenhoehe}" /> |
|
|
|
|
<text><xsl:value-of select="wert" /></text> |
|
|
|
|
<text><xsl:call-template name="getColHeaderText"> |
|
|
|
|
<xsl:with-param name="header_wert" select="wert" /></xsl:call-template></text> |
|
|
|
|
</staticText> |
|
|
|
|
</xsl:for-each> |
|
|
|
|
</xsl:otherwise> |
|
|
|
@ -666,7 +673,8 @@ isIgnorePagination="{$isIgnorePagination}" >
@@ -666,7 +673,8 @@ isIgnorePagination="{$isIgnorePagination}" >
|
|
|
|
|
<xsl:param name="std_spaltenbreite" /> |
|
|
|
|
<xsl:variable name="isMacroReport" select="/ergebnisse/@isMakro" /> |
|
|
|
|
<xsl:variable name="legendLabelHeight" select="20" /> |
|
|
|
|
<xsl:variable name="legendContentHeight" select="40" /> |
|
|
|
|
<xsl:variable name="legendContentHeight" select="10" /> |
|
|
|
|
<xsl:variable name="hinweisContentHeight" select="10" /> |
|
|
|
|
<xsl:variable name="subReportTitleHeight"> |
|
|
|
|
<xsl:choose> |
|
|
|
|
<xsl:when test="$isMacroReport='false'"> |
|
|
|
@ -682,14 +690,7 @@ isIgnorePagination="{$isIgnorePagination}" >
@@ -682,14 +690,7 @@ isIgnorePagination="{$isIgnorePagination}" >
|
|
|
|
|
<group name="tabellennr"> |
|
|
|
|
<groupExpression><![CDATA[$V{tabellennr}]]></groupExpression> |
|
|
|
|
<groupHeader> |
|
|
|
|
<band> |
|
|
|
|
<xsl:attribute name="height"> |
|
|
|
|
<xsl:call-template name="getZeilenhoeheTableHeader"> |
|
|
|
|
<xsl:with-param name="ordnr" select="$ergebniselementOrdnr" /> |
|
|
|
|
<xsl:with-param name="std_zeilenhoehe_header" select="$std_zeilenhoehe_header" /> |
|
|
|
|
<xsl:with-param name="y_offset" select="$legendLabelHeight+$legendContentHeight + $subReportTitleHeight"/> |
|
|
|
|
</xsl:call-template> |
|
|
|
|
</xsl:attribute> |
|
|
|
|
<band height="{$legendLabelHeight+$legendContentHeight + $subReportTitleHeight}"> |
|
|
|
|
<!--subReportTitle--> |
|
|
|
|
<xsl:if test="$isMacroReport = 'true'"> |
|
|
|
|
<textField> |
|
|
|
@ -704,21 +705,43 @@ isIgnorePagination="{$isIgnorePagination}" >
@@ -704,21 +705,43 @@ isIgnorePagination="{$isIgnorePagination}" >
|
|
|
|
|
<textFieldExpression><![CDATA["Filterkriterien: "]]></textFieldExpression> |
|
|
|
|
</textField> |
|
|
|
|
|
|
|
|
|
<textField> |
|
|
|
|
<reportElement style="LegendContent" x="0" y="{$subReportTitleHeight+$legendLabelHeight}" width="{$druckbreite}" height="{$legendContentHeight}" /> |
|
|
|
|
<textField isStretchWithOverflow="true"> |
|
|
|
|
<reportElement style="LegendContent" isPrintWhenDetailOverflows="true" x="0" y="{$subReportTitleHeight + $legendLabelHeight}" width="{$druckbreite}" height="{$legendContentHeight}" /> |
|
|
|
|
<box padding="5"/> |
|
|
|
|
<textFieldExpression> |
|
|
|
|
<xsl:call-template name="getLegendExpression"> |
|
|
|
|
<xsl:with-param name="ergebniselementOrdnr" select="$ergebniselementOrdnr"/> |
|
|
|
|
</xsl:call-template> |
|
|
|
|
<xsl:text disable-output-escaping="yes"><![CDATA[ +"Datenstand: "+ $F{standdatum} + "; " + "Erstellt: "+ DATEFORMAT( TODAY(), "dd.MM.YYYY")]]></xsl:text></textFieldExpression> |
|
|
|
|
</textField> |
|
|
|
|
</band> |
|
|
|
|
<band height="{$hinweisContentHeight}"> |
|
|
|
|
<printWhenExpression><![CDATA[$F{Hinweis}!=""]]></printWhenExpression> |
|
|
|
|
<!-- hinweis--> |
|
|
|
|
<textField isStretchWithOverflow="true"> |
|
|
|
|
<reportElement style="HinweisContent" positionType="Float" isPrintWhenDetailOverflows="true" x="0" y="0" width="{$druckbreite}" height="{$hinweisContentHeight}" /> |
|
|
|
|
<box padding="5"/> |
|
|
|
|
<textElement verticalAlignment="Middle"/> |
|
|
|
|
<textFieldExpression> |
|
|
|
|
<xsl:text disable-output-escaping="yes"><![CDATA[$F{Hinweis}]]></xsl:text></textFieldExpression> |
|
|
|
|
</textField> |
|
|
|
|
</band> |
|
|
|
|
<!--nun Spaltenüberschriften--> |
|
|
|
|
<band> |
|
|
|
|
<xsl:attribute name="height"> |
|
|
|
|
<xsl:call-template name="getZeilenhoeheTableHeader"> |
|
|
|
|
<xsl:with-param name="ordnr" select="$ergebniselementOrdnr" /> |
|
|
|
|
<xsl:with-param name="std_zeilenhoehe_header" select="$std_zeilenhoehe_header" /> |
|
|
|
|
<xsl:with-param name="y_offset" select="0"/> |
|
|
|
|
</xsl:call-template> |
|
|
|
|
</xsl:attribute> |
|
|
|
|
|
|
|
|
|
<xsl:call-template name="generateTableHeader"> |
|
|
|
|
<xsl:with-param name="druckbreite" select="$druckbreite" /> |
|
|
|
|
<xsl:with-param name="std_spaltenbreite" select="$std_spaltenbreite"/> |
|
|
|
|
<xsl:with-param name="zeilenhoehe" select="$std_zeilenhoehe_header" /> |
|
|
|
|
<xsl:with-param name="ordnr" select="$ergebniselementOrdnr"/> |
|
|
|
|
<xsl:with-param name="y_offset" select="$legendLabelHeight +$legendContentHeight+ $subReportTitleHeight"/> |
|
|
|
|
<xsl:with-param name="y_offset" select="0"/> |
|
|
|
|
</xsl:call-template> |
|
|
|
|
</band> |
|
|
|
|
</groupHeader> |
|
|
|
@ -887,4 +910,19 @@ isIgnorePagination="{$isIgnorePagination}" >
@@ -887,4 +910,19 @@ isIgnorePagination="{$isIgnorePagination}" >
|
|
|
|
|
</xsl:otherwise> |
|
|
|
|
</xsl:choose> |
|
|
|
|
</xsl:template> |
|
|
|
|
<xsl:template name="getColHeaderText"> |
|
|
|
|
<xsl:param name="header_wert" /> |
|
|
|
|
<xsl:choose> |
|
|
|
|
<xsl:when test="contains($header_wert,'\n')"> |
|
|
|
|
<xsl:call-template name="search_replace"> |
|
|
|
|
<xsl:with-param name="string" select="$header_wert" /> |
|
|
|
|
<xsl:with-param name="search" select="'\n'"/> |
|
|
|
|
<xsl:with-param name="replace" select="' '"/> |
|
|
|
|
</xsl:call-template> |
|
|
|
|
</xsl:when> |
|
|
|
|
<xsl:otherwise> |
|
|
|
|
<xsl:value-of select="$header_wert" /> |
|
|
|
|
</xsl:otherwise> |
|
|
|
|
</xsl:choose> |
|
|
|
|
</xsl:template> |
|
|
|
|
</xsl:stylesheet> |
|
|
|
|