Browse Source

Exportassistent Bugfix, Anpassung LM Datentyp #9

master
Daniel Quathamer 3 days ago
parent
commit
7d9ff1d2e0
  1. 2
      src-modules/module/rpta/hilfstabellen/rpta_exam_unit_fuellen.sql
  2. 36
      superx/WEB-INF/reports/simple_table.jrtx
  3. 1
      superx/xml/rpta_groupLayout.xml
  4. 8
      superx/xml/rpta_templates.xsl

2
src-modules/module/rpta/hilfstabellen/rpta_exam_unit_fuellen.sql

@ -58,7 +58,7 @@ SELECT @@ -58,7 +58,7 @@ SELECT
elementnr,
summe,
<#if TableFieldExists?exists && TableFieldExists('lm_exam_unit','shortcomment')>
shortcomment,
substring(shortcomment from 1 for 255) as shortcomment,
<#else>
null::varchar(255) as shortcomment,
</#if>

36
superx/WEB-INF/reports/simple_table.jrtx

@ -65,4 +65,40 @@ @@ -65,4 +65,40 @@
</box>
<paragraph spacingBefore="0" spacingAfter="0"/>
</style>
<style name="TableRowStandard" style="Standard Bodytext" mode="Opaque" forecolor="#050505" backcolor="#FFFFFF" hTextAlign="Right" fontSize="8" isBold="false">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
<box leftPadding="3" rightPadding="3">
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#050505"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#050505"/>
</box>
</style>
<style name="TableRowLevel2header" mode="Opaque" forecolor="#FFFFFF" backcolor="#B5172B" fontSize="9" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
<box topPadding="4" leftPadding="3" rightPadding="3">
<topPen lineWidth="1.0" lineStyle="Double" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
</style>
<style name="TableRowLevel2footer" mode="Opaque" backcolor="#EBEBED" fontSize="9" isBold="false">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
<box leftPadding="3" rightPadding="3">
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
</style>
<style name="TableRowLevel1footer" mode="Opaque" backcolor="#EBEBED" fontSize="9" isBold="true">
<pen lineWidth="1.0" lineStyle="Solid" lineColor="#030000"/>
<box leftPadding="3" rightPadding="3">
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
</box>
</style>
</jasperTemplate>

1
superx/xml/rpta_groupLayout.xml

@ -1,4 +1,5 @@ @@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<groupLayout>
<group name="tabellennr" level="1" showFooter="false" />
</groupLayout>

8
superx/xml/rpta_templates.xsl

@ -694,7 +694,7 @@ weil es Rundungsfehler bei der Spaltenbreite geben kann.--> @@ -694,7 +694,7 @@ weil es Rundungsfehler bei der Spaltenbreite geben kann.-->
<xsl:param name="colId" />
<xsl:param name="x" select="'0'" />
<xsl:param name="width" select="'0'" />
<xsl:param name="height" select="'30'" />
<xsl:param name="height" select="$std_zeilenhoehe_tablerow" />
<xsl:param name="flavorTableRowStyle" select="'listAlternatingBg'" />
<xsl:param name="tableRowLevel" select="10" />
<xsl:param name="expressionType" select="'F'" />
@ -764,7 +764,7 @@ weil es Rundungsfehler bei der Spaltenbreite geben kann.--> @@ -764,7 +764,7 @@ weil es Rundungsfehler bei der Spaltenbreite geben kann.-->
<xsl:attribute name="evaluationGroup"><xsl:value-of select="$groupbyField"/></xsl:attribute>
</xsl:if>
<!--{$height}30 -->
<reportElement stretchType="ContainerHeight" x="{$x}" y="0" width="{$width}" height="14" >
<reportElement stretchType="ContainerHeight" x="{$x}" y="0" width="{$width}" height="{$height}" >
<xsl:attribute name="style">
<xsl:call-template name="getTableRowStyle" >
<xsl:with-param name="flavorTableRowStyle" select="$flavorTableRowStyle"/>
@ -1068,7 +1068,7 @@ genommen. Wenn nicht, wird mit colspan multipliziert.--> @@ -1068,7 +1068,7 @@ genommen. Wenn nicht, wird mit colspan multipliziert.-->
<xsl:variable name="legendLabelHeight" select="20" />
<xsl:variable name="legendContentHeight" select="10" />
<xsl:variable name="hinweisContentHeight" select="10" />
<xsl:if test="$groupbyField != ''">
<group name="{$groupbyField}" keepTogether="true">
<groupExpression><xsl:value-of select="concat('$F{',$groupbyField,'}')"/></groupExpression>
@ -1109,7 +1109,9 @@ genommen. Wenn nicht, wird mit colspan multipliziert.--> @@ -1109,7 +1109,9 @@ genommen. Wenn nicht, wird mit colspan multipliziert.-->
</band>
</groupFooter>
</xsl:if>
</group>
</xsl:if>
</xsl:template>
<xsl:template name="generateGroupBandContent">
<xsl:param name="ergebniselementOrdnr" select="0" />

Loading…
Cancel
Save