comparison 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
comparison
equal deleted inserted replaced
8577:3fae08a8cb90 8578:4eb1a3c71579
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <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"> 2 <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">
3 <property name="ireport.zoom" value="1.5"/> 3 <property name="ireport.zoom" value="1.5"/>
4 <property name="ireport.x" value="0"/> 4 <property name="ireport.x" value="0"/>
5 <property name="ireport.y" value="432"/> 5 <property name="ireport.y" value="0"/>
6 <subDataset name="dataset1"/> 6 <subDataset name="dataset1"/>
7 <parameter name="MEASUREMENT_PAGE_NUM" class="java.lang.Integer"/>
7 <field name="river" class="java.lang.String"/> 8 <field name="river" class="java.lang.String"/>
8 <field name="periods" class="java.lang.String"/> 9 <field name="periods" class="java.lang.String"/>
9 <field name="outliertest" class="java.lang.String"/> 10 <field name="outliertest" class="java.lang.String"/>
10 <field name="date" class="java.lang.String"/> 11 <field name="date" class="java.lang.String"/>
11 <field name="outliers" class="java.lang.String"/> 12 <field name="outliers" class="java.lang.String"/>
457 <pageFooter> 458 <pageFooter>
458 <band height="29" splitType="Stretch"> 459 <band height="29" splitType="Stretch">
459 <textField evaluationTime="Report"> 460 <textField evaluationTime="Report">
460 <reportElement x="458" y="9" width="57" height="20"/> 461 <reportElement x="458" y="9" width="57" height="20"/>
461 <textElement/> 462 <textElement/>
462 <textFieldExpression><![CDATA[" / " + $V{PAGE_NUMBER}]]></textFieldExpression> 463 <textFieldExpression><![CDATA[" / " + ($V{PAGE_NUMBER} + $P{MEASUREMENT_PAGE_NUM})]]></textFieldExpression>
463 </textField> 464 </textField>
464 <textField> 465 <textField>
465 <reportElement x="403" y="9" width="55" height="20"/> 466 <reportElement x="403" y="9" width="55" height="20"/>
466 <textElement textAlignment="Right"/> 467 <textElement textAlignment="Right"/>
467 <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> 468 <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>

http://dive4elements.wald.intevation.org