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