Created
January 29, 2013 17:20
-
-
Save adam704a/4665924 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Created with Jaspersoft Studio version last--> | |
<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="Treatment Report" language="groovy" pageWidth="792" pageHeight="612" orientation="Landscape" columnWidth="752" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" > | |
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="Local NTD Envision"/> | |
<template><![CDATA[$P{isLocal} ? "styles/ntd_style.jrtx" : "repo:/reports/styles/ntd_style"]]></template> | |
<style name="Treatment Row" mode="Opaque" backcolor="#FFFFFF" > | |
<conditionalStyle> | |
<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression> | |
<style backcolor="#DBFBFB"/> | |
</conditionalStyle> | |
</style> | |
<subDataset name="treatment_dataset" > | |
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="Local NTD Data Adapter"/> | |
<parameter name="project" class="java.lang.String"> | |
<defaultValueExpression><![CDATA[$P{project}]]></defaultValueExpression> | |
</parameter> | |
<parameter name="country" class="java.lang.String"> | |
<defaultValueExpression><![CDATA[$P{country}]]></defaultValueExpression> | |
</parameter> | |
<parameter name="region" class="java.lang.String"> | |
<defaultValueExpression><![CDATA[$P{region}]]></defaultValueExpression> | |
</parameter> | |
<parameter name="district" class="java.lang.String"> | |
<defaultValueExpression><![CDATA[$P{district}]]></defaultValueExpression> | |
</parameter> | |
<parameter name="reporting_period" class="java.lang.String"> | |
<defaultValueExpression><![CDATA[$P{reporting_period}]]></defaultValueExpression> | |
</parameter> | |
<parameter name="disease" class="java.lang.String"> | |
<defaultValueExpression><![CDATA[$P{disease}]]></defaultValueExpression> | |
</parameter> | |
<parameter name="workbook_year" class="java.lang.String"> | |
<defaultValueExpression><![CDATA[$P{workbook_year}]]></defaultValueExpression> | |
</parameter> | |
<parameter name="funding_type" class="java.lang.String"> | |
<defaultValueExpression><![CDATA[$P{funding_type}]]></defaultValueExpression> | |
</parameter> | |
<field name="country" class="java.lang.String"/> | |
<field name="region" class="java.lang.String"/> | |
<field name="district" class="java.lang.String"/> | |
<field name="disease" class="java.lang.String"/> | |
<field name="# of Persons at Risk" class="java.lang.Double"/> | |
<field name="# of Persons Targeted with All Funding" class="java.lang.Double"/> | |
<field name="# of Persons Treated with All Funding" class="java.lang.Double"/> | |
<field name="# of Persons Targeted with USAID Support" class="java.lang.Double"/> | |
<field name="# of PSAC Treated with USAID Support" class="java.lang.Double"/> | |
<field name="# of SAC Treated with USAID Support" class="java.lang.Double"/> | |
<field name="# of HRA Treated with USAID Support" class="java.lang.Double"/> | |
<field name="# of Females Treated with USAID Support" class="java.lang.Double"/> | |
<field name="# of Males Treated with USAID Support" class="java.lang.Double"/> | |
<field name="# Total Treated with USAID Support" class="java.lang.Double"/> | |
<field name="Program Coverage with USAID Support" class="java.lang.Double"/> | |
<field name="Epi Coverage with USAID Support" class="java.lang.Double"/> | |
<variable name="people_at_risk" class="java.lang.Integer" resetType="Group" resetGroup="country" calculation="Sum"> | |
<variableExpression><![CDATA[$F{# of Persons at Risk}]]></variableExpression> | |
</variable> | |
<variable name="people_targeted_all" class="java.lang.Integer" resetType="Group" resetGroup="country" calculation="Sum"> | |
<variableExpression><![CDATA[$F{# of Persons Targeted with All Funding}]]></variableExpression> | |
</variable> | |
<variable name="people_treated_all" class="java.lang.Integer" resetType="Group" resetGroup="country" calculation="Sum"> | |
<variableExpression><![CDATA[$F{# of Persons Treated with All Funding}]]></variableExpression> | |
</variable> | |
<variable name="people_targeted_usaid" class="java.lang.Integer" resetType="Group" resetGroup="country" calculation="Sum"> | |
<variableExpression><![CDATA[$F{# of Persons Targeted with USAID Support}]]></variableExpression> | |
</variable> | |
<variable name="psac_treated_usaid" class="java.lang.Integer" resetType="Group" resetGroup="country" calculation="Sum"> | |
<variableExpression><![CDATA[$F{# of PSAC Treated with USAID Support}]]></variableExpression> | |
</variable> | |
<variable name="sac_treated_usaid" class="java.lang.Integer" resetType="Group" resetGroup="country" calculation="Sum"> | |
<variableExpression><![CDATA[$F{# of SAC Treated with USAID Support}]]></variableExpression> | |
</variable> | |
<variable name="hra_treated_usaid" class="java.lang.Integer" resetType="Group" resetGroup="country" calculation="Sum"> | |
<variableExpression><![CDATA[$F{# of HRA Treated with USAID Support}]]></variableExpression> | |
</variable> | |
<variable name="females_treated_usaid" class="java.lang.Integer" resetType="Group" resetGroup="country" calculation="Sum"> | |
<variableExpression><![CDATA[$F{# of Females Treated with USAID Support}]]></variableExpression> | |
</variable> | |
<variable name="males_treated_usaid" class="java.lang.Integer" resetType="Group" resetGroup="country" calculation="Sum"> | |
<variableExpression><![CDATA[$F{# of Males Treated with USAID Support}]]></variableExpression> | |
</variable> | |
<variable name="people_treated_usaid" class="java.lang.Integer" resetType="Group" resetGroup="country" calculation="Sum"> | |
<variableExpression><![CDATA[$F{# Total Treated with USAID Support}]]></variableExpression> | |
</variable> | |
<group name="country"> | |
<groupExpression><![CDATA[$F{country}]]></groupExpression> | |
</group> | |
</subDataset> | |
<parameter name="isLocal" class="java.lang.Boolean"/> | |
<parameter name="country" class="java.lang.String"/> | |
<parameter name="region" class="java.lang.String"/> | |
<parameter name="district" class="java.lang.String"/> | |
<parameter name="disease" class="java.lang.String"/> | |
<parameter name="reporting_period" class="java.lang.String"/> | |
<parameter name="workbook_year" class="java.lang.String"/> | |
<parameter name="project" class="java.lang.String"/> | |
<parameter name="funding_type" class="java.lang.String"/> | |
<queryString> | |
<![CDATA[Call get_treatment_report ("$P!{reporting_period}","$P!{workbook_year}","$P!{disease}","$P!{country}","$P!{project}","$P!{region}","$P!{district}","$P!{funding_type}", "country" );]]> | |
</queryString> | |
<background> | |
<band splitType="Stretch"/> | |
</background> | |
<title> | |
<band height="68" splitType="Stretch"> | |
<staticText> | |
<reportElement style="Title" x="5" y="4" width="448" height="40"/> | |
<textElement/> | |
<text><![CDATA[Treatment Report]]></text> | |
</staticText> | |
<staticText> | |
<reportElement style="SubTitle" x="5" y="42" width="451" height="22"/> | |
<textElement/> | |
<text><![CDATA[Persons Targeted, Treated, and Coverage]]></text> | |
</staticText> | |
<image hAlign="Right"> | |
<reportElement x="567" y="1" width="171" height="50"/> | |
<imageExpression><![CDATA[$P{isLocal} ? "images/Envision Logo_PMS_noTagline.jpg" : "repo:/images/Envision_Logo_PMS_No_Tagline"]]></imageExpression> | |
</image> | |
</band> | |
</title> | |
<pageHeader> | |
<band splitType="Stretch"/> | |
</pageHeader> | |
<detail> | |
<band height="245" splitType="Stretch"> | |
<componentElement> | |
<reportElement x="2" y="10" width="760" height="160"/> | |
<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd"> | |
<datasetRun subDataset="treatment_dataset" > | |
<dataSourceExpression><![CDATA[$P{REPORT_DATA_SOURCE}]]></dataSourceExpression> | |
</datasetRun> | |
<jr:column width="90"> | |
<jr:groupHeader groupName="country"> | |
<jr:cell height="30" rowSpan="1"> | |
<textField> | |
<reportElement style="Treatment Country Title" x="0" y="5" width="90" height="25"/> | |
<textElement/> | |
<textFieldExpression><![CDATA[$F{country}]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupHeader> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="90" height="20"/> | |
<textElement/> | |
<textFieldExpression><![CDATA[$F{country}+" Subtotal"]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader style="Treatment Header Text" height="70"/> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField> | |
<reportElement x="0" y="0" width="90" height="15"/> | |
<textElement/> | |
<textFieldExpression><![CDATA[$F{disease}]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.###;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Center"/> | |
<textFieldExpression><![CDATA[$V{people_at_risk}]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[# of Persons at Risk]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.###;(#,##0.##-)"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{# of Persons at Risk}]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$V{people_treated_all}]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[# of Persons Targeted with All Funding]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{# of Persons Targeted with All Funding}]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$V{people_treated_all}]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[# of Persons Treated with All Funding]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{# of Persons Treated with All Funding}]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$V{people_targeted_usaid}]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[# of Persons Targeted with USAID Support]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{# of Persons Targeted with USAID Support}]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<printWhenExpression><![CDATA[$P{disease}.indexOf("LF") > 0 || $P{disease}.indexOf("STH") > 0]]></printWhenExpression> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$V{psac_treated_usaid} != null ? $V{psac_treated_usaid} : "N/A"]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[# of PSAC Treated with USAID Support]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{# of PSAC Treated with USAID Support} != null ? $F{# of PSAC Treated with USAID Support} : "N/A"]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<printWhenExpression><![CDATA[$P{disease}.indexOf("LF") > 0 || $P{disease}.indexOf("SCHISTO") > 0 || $P{disease}.indexOf("'sth'") > 0]]></printWhenExpression> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$V{sac_treated_usaid} != null ? $V{sac_treated_usaid} : "N/A"]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[# of SAC Treated with USAID Support]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{# of SAC Treated with USAID Support} != null ? $F{# of SAC Treated with USAID Support} : "N/A"]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<printWhenExpression><![CDATA[$P{disease}.indexOf("SCHISTO") > 0 || $P{disease}.indexOf("STH") > 0]]></printWhenExpression> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$V{hra_treated_usaid} != null ? $V{hra_treated_usaid} : "N/A"]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[# of HRA Treated with USAID Support]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{# of HRA Treated with USAID Support} != null ? $F{# of HRA Treated with USAID Support} : "N/A"]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$V{females_treated_usaid}]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[# of Females Treated with USAID Support]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{# of Females Treated with USAID Support}]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$V{males_treated_usaid}]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[# of Males Treated with USAID Support]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{# of Males Treated with USAID Support}]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$V{people_treated_usaid}]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[# Total Treated with USAID Support]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{# Total Treated with USAID Support}]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[""]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[Program Coverage with USAID Support]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##%"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{Program Coverage with USAID Support}]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
<jr:column width="56"> | |
<jr:groupFooter groupName="country"> | |
<jr:cell height="30"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##;(#,##0.##-)"> | |
<reportElement style="Treatment Subtotal" x="0" y="0" width="56" height="20"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[""]]></textFieldExpression> | |
</textField> | |
</jr:cell> | |
</jr:groupFooter> | |
<jr:columnHeader height="70"> | |
<staticText> | |
<reportElement style="Treatment Header Text" x="0" y="0" width="56" height="70"/> | |
<textElement textAlignment="Center" verticalAlignment="Middle"/> | |
<text><![CDATA[Epi Coverage with USAID Support]]></text> | |
</staticText> | |
</jr:columnHeader> | |
<jr:detailCell style="Treatment Row" height="15"> | |
<textField isStretchWithOverflow="true" pattern="#,##0.##%"> | |
<reportElement x="0" y="0" width="56" height="15" style="Treatment Detail"/> | |
<textElement textAlignment="Right"/> | |
<textFieldExpression><![CDATA[$F{Epi Coverage with USAID Support}]]></textFieldExpression> | |
</textField> | |
</jr:detailCell> | |
</jr:column> | |
</jr:table> | |
</componentElement> | |
</band> | |
</detail> | |
<pageFooter> | |
<band height="25" splitType="Stretch"> | |
<frame> | |
<reportElement mode="Opaque" x="4" y="-1" width="747" height="24"/> | |
<textField evaluationTime="Report"> | |
<reportElement style="Treatment Footer" x="703" y="2" width="40" height="20"/> | |
<textElement verticalAlignment="Middle"> | |
<font size="10" isBold="false"/> | |
</textElement> | |
<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression> | |
</textField> | |
<textField> | |
<reportElement style="Treatment Footer" x="615" y="2" width="80" height="20"/> | |
<textElement textAlignment="Right" verticalAlignment="Middle"> | |
<font size="10" isBold="false"/> | |
</textElement> | |
<textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression> | |
</textField> | |
<textField pattern="EEEEE dd MMMMM yyyy"> | |
<reportElement style="Treatment Footer" x="4" y="2" width="197" height="20"/> | |
<textElement verticalAlignment="Middle"> | |
<font size="10" isBold="false"/> | |
</textElement> | |
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression> | |
</textField> | |
</frame> | |
</band> | |
</pageFooter> | |
</jasperReport> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment