Mercurial > dive4elements > river
diff artifacts/doc/conf/jasper/sqrelation.jrxml @ 8578:4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
The SQRelationExporter now consists of two reports
(to avoid subreport woes). The old SQReleation PDF
only takes the Page count of the Measurement attachment
as argument to correctly print the page numbers. Otherwise
it is unchanged.
The new SQMeasurements report lists the measured data points
on which the calculation was based.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 16 Mar 2015 11:35:19 +0100 |
parents | dee3b3b0417e |
children | eed4e31ca1b3 |
line wrap: on
line diff
--- a/artifacts/doc/conf/jasper/sqrelation.jrxml Mon Mar 16 10:00:39 2015 +0100 +++ b/artifacts/doc/conf/jasper/sqrelation.jrxml Mon Mar 16 11:35:19 2015 +0100 @@ -2,8 +2,9 @@ <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="flysreport" language="groovy" pageWidth="595" pageHeight="842" columnWidth="515" leftMargin="60" rightMargin="20" topMargin="20" bottomMargin="20"> <property name="ireport.zoom" value="1.5"/> <property name="ireport.x" value="0"/> - <property name="ireport.y" value="432"/> + <property name="ireport.y" value="0"/> <subDataset name="dataset1"/> + <parameter name="MEASUREMENT_PAGE_NUM" class="java.lang.Integer"/> <field name="river" class="java.lang.String"/> <field name="periods" class="java.lang.String"/> <field name="outliertest" class="java.lang.String"/> @@ -459,7 +460,7 @@ <textField evaluationTime="Report"> <reportElement x="458" y="9" width="57" height="20"/> <textElement/> - <textFieldExpression><![CDATA[" / " + $V{PAGE_NUMBER}]]></textFieldExpression> + <textFieldExpression><![CDATA[" / " + ($V{PAGE_NUMBER} + $P{MEASUREMENT_PAGE_NUM})]]></textFieldExpression> </textField> <textField> <reportElement x="403" y="9" width="55" height="20"/>