|
|
@ -486,25 +486,9 @@ isIgnorePagination="{$isIgnorePagination}" > |
|
|
|
<xsl:if test="normalize-space($jasperFieldname)!=''"> <!-- keine leeren Feldnamen--> |
|
|
|
<xsl:if test="normalize-space($jasperFieldname)!=''"> <!-- keine leeren Feldnamen--> |
|
|
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
|
|
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
|
|
|
<xsl:attribute name="pattern"> |
|
|
|
<xsl:attribute name="pattern"> |
|
|
|
<xsl:choose> |
|
|
|
<xsl:call-template name="tableCellPattern"> |
|
|
|
<xsl:when test="$fieldType='4'"> <!--integer--> |
|
|
|
<xsl:with-param name="fieldType" select="$fieldType" /> |
|
|
|
<xsl:text>0</xsl:text> |
|
|
|
</xsl:call-template> |
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:when test="$fieldType='3'"> <!--decimal--> |
|
|
|
|
|
|
|
<xsl:text>#,##0.00;-#,##0.00</xsl:text> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:when test="$fieldType='6'"> <!--date--> |
|
|
|
|
|
|
|
<xsl:text>dd.MM.yyyy</xsl:text> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:when test="$fieldType='8'"> <!--timestamp--> |
|
|
|
|
|
|
|
<xsl:text>dd.MM.yyyy hh:mm:ss</xsl:text> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:when test="$fieldType='9'"> <!--time--> |
|
|
|
|
|
|
|
<xsl:text>hh:mm:ss</xsl:text> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:otherwise> |
|
|
|
|
|
|
|
</xsl:otherwise> |
|
|
|
|
|
|
|
</xsl:choose> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
</xsl:attribute> |
|
|
|
<reportElement stretchType="ContainerHeight" x="{$x}" y="0" width="{$width}" height="{$height}" > |
|
|
|
<reportElement stretchType="ContainerHeight" x="{$x}" y="0" width="{$width}" height="{$height}" > |
|
|
|
<xsl:attribute name="style"> |
|
|
|
<xsl:attribute name="style"> |
|
|
@ -925,4 +909,26 @@ isIgnorePagination="{$isIgnorePagination}" > |
|
|
|
</xsl:otherwise> |
|
|
|
</xsl:otherwise> |
|
|
|
</xsl:choose> |
|
|
|
</xsl:choose> |
|
|
|
</xsl:template> |
|
|
|
</xsl:template> |
|
|
|
|
|
|
|
<xsl:template name="tableCellPattern"> |
|
|
|
|
|
|
|
<xsl:param name="fieldType" /> |
|
|
|
|
|
|
|
<xsl:choose> |
|
|
|
|
|
|
|
<xsl:when test="$fieldType='4'"> <!--integer--> |
|
|
|
|
|
|
|
<xsl:text>0</xsl:text> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:when test="$fieldType='3'"> <!--decimal--> |
|
|
|
|
|
|
|
<xsl:text>#,##0.00;-#,##0.00</xsl:text> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:when test="$fieldType='6'"> <!--date--> |
|
|
|
|
|
|
|
<xsl:text>dd.MM.yyyy</xsl:text> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:when test="$fieldType='8'"> <!--timestamp--> |
|
|
|
|
|
|
|
<xsl:text>dd.MM.yyyy hh:mm:ss</xsl:text> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:when test="$fieldType='9'"> <!--time--> |
|
|
|
|
|
|
|
<xsl:text>hh:mm:ss</xsl:text> |
|
|
|
|
|
|
|
</xsl:when> |
|
|
|
|
|
|
|
<xsl:otherwise> |
|
|
|
|
|
|
|
</xsl:otherwise> |
|
|
|
|
|
|
|
</xsl:choose> |
|
|
|
|
|
|
|
</xsl:template> |
|
|
|
</xsl:stylesheet> |
|
|
|
</xsl:stylesheet> |
|
|
|