[PATCH 2 of 2] Salix line: reference gauge column removed
Wald Commits
scm-commit at wald.intevation.org
Tue Oct 2 18:08:19 CEST 2018
# HG changeset patch
# User mschaefer
# Date 1538496482 -7200
# Node ID 267ac30121501fa91a4bf9fc47e9fb6bee13b64b
# Parent 144a184a414d861ec36ad359c0ee95254d1ff011
Salix line: reference gauge column removed
diff -r 144a184a414d -r 267ac3012150 artifacts/doc/conf/jasper/templates/uinfo.salixline.jrxml
--- a/artifacts/doc/conf/jasper/templates/uinfo.salixline.jrxml Tue Oct 02 18:07:22 2018 +0200
+++ b/artifacts/doc/conf/jasper/templates/uinfo.salixline.jrxml Tue Oct 02 18:08:02 2018 +0200
@@ -46,7 +46,6 @@
<field name="meta:waterlevel_header" class="java.lang.String"/>
<field name="meta:discharge_header" class="java.lang.String"/>
<field name="meta:waterlevel_name_header" class="java.lang.String"/>
- <field name="meta:gauge_header" class="java.lang.String"/>
<field name="meta:bedheight_header" class="java.lang.String"/>
<field name="meta:sounding_name_header" class="java.lang.String"/>
<field name="meta:location_header" class="java.lang.String"/>
@@ -140,12 +139,6 @@
<line>
<reportElement style="htmlStyle" positionType="FixRelativeToBottom" x="0" y="24" width="550" height="1"/>
</line>
- <textField isStretchWithOverflow="true">
- <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="310" y="0" width="230" height="24"/>
- <box padding="5"/>
- <textElement textAlignment="Left" verticalAlignment="Bottom"/>
- <textFieldExpression><![CDATA[$F{meta:gauge_header}]]></textFieldExpression>
- </textField>
</band>
</columnHeader>
<detail>
@@ -183,17 +176,6 @@
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression>
</textField>
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="310" y="0" width="230" height="15"/>
- <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5">
- <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <textElement textAlignment="Left"/>
- <textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression>
- </textField>
</band>
</detail>
<pageFooter>
diff -r 144a184a414d -r 267ac3012150 artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/SalixLineCalculationResult.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/SalixLineCalculationResult.java Tue Oct 02 18:07:22 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/uinfo/salix/SalixLineCalculationResult.java Tue Oct 02 18:08:02 2018 +0200
@@ -89,7 +89,6 @@
header.add(exportContextCSV.msg(SalixScenario.getDeltaWHeader()));
header.add(exportContextCSV.msg(SalixScenario.getScenarioValueHeader()));
}
- header.add(exportContextCSV.formatCsvHeader(GeneralResultType.gaugeLabel));
exportContextCSV.writeCSVLine(header.toArray(new String[header.size()]));
}
@@ -119,7 +118,6 @@
for (int i = 1; i <= this.getScenarioCount(); i++) {
// TODO Spaltenueberschriften der Scenarios (falls gefordert)
}
- exportContextPDF.addJRMetadata(source, "gauge_header", GeneralResultType.gaugeLabel);
}
private String[] formatRow(final IExportContext context, final ResultRow row) {
@@ -145,7 +143,6 @@
}
}
}
- lines.add(context.formatRowValue(row, GeneralResultType.gaugeLabel));
return lines.toArray(new String[lines.size()]);
}
More information about the Dive4Elements-commits
mailing list