anbalagan.marimuthu Posted April 7, 2017 Share Posted April 7, 2017 <?xml version="1.0" encoding="UTF-8"?> <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="IAGRTitle" pageWidth="802" pageHeight="612" orientation="Landscape" columnWidth="772" leftMargin="20" rightMargin="10" topMargin="20" bottomMargin="10"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <property name="net.sf.jasperreports.awt.ignore.missing.font" value="true"/> <style name="table 1"> <box> <pen lineWidth="1.0" lineColor="#000000"/> </box> </style> <style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <style name="table"> <box> <pen lineWidth="1.0" lineColor="#000000"/> </box> </style> <style name="table_TH" mode="Opaque" backcolor="#F0F8FF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <style name="table_CH" mode="Opaque" backcolor="#BFE1FF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <style name="table_TD" mode="Opaque" backcolor="#FFFFFF"> <box> <pen lineWidth="0.5" lineColor="#000000"/> </box> </style> <parameter name="tocString" class="java.lang.String"/> <parameter name="titleRepDate" class="java.lang.String"/> <parameter name="quarter" class="java.lang.String"/> <parameter name="iarStatus" class="java.lang.String"/> <title> <band height="481"> <printWhenExpression><![CDATA[!$P{tocString}.equals("NO RECORDS")]]></printWhenExpression> <staticText> <reportElement x="200" y="229" width="373" height="40"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Arial" size="28" isBold="true"/> </textElement> <text><![CDATA[impaired Asset Report]]></text> </staticText> <break> <reportElement x="0" y="450" width="100" height="1"/> </break> <image> <reportElement x="264" y="48" width="266" height="79"/> <imageExpression class="java.lang.String"><![CDATA["/resource/CSLogo.jpg"]]></imageExpression> </image> <staticText> <reportElement x="105" y="130" width="563" height="45"/> <textElement textAlignment="Center" verticalAlignment="Middle" markup="none"> <font fontName="Arial" size="28" isBold="true"/> </textElement> <text><![CDATA[ Recovery Management International ]]></text> </staticText> <textField> <reportElement x="231" y="274" width="300" height="30"/> <textElement textAlignment="Center" verticalAlignment="Middle" markup="styled"> <font fontName="Arial" size="19" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new String($P{quarter}).substring(0,1)+"<sup>"+new String($P{quarter}).substring(1,3)+"</sup>"+new String($P{quarter}).substring(3)]]></textFieldExpression> </textField> <textField> <reportElement x="115" y="372" width="502" height="54"/> <textElement textAlignment="Center" verticalAlignment="Top"> <font fontName="Arial" size="15" isBold="true"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{iarStatus}]]></textFieldExpression> </textField> <staticText> <reportElement x="320" y="438" width="100" height="11" forecolor="#666666"/> <textElement textAlignment="Center"> <font fontName="Arial" size="9" isBold="true"/> </textElement> <text><![CDATA[Confidential]]></text> </staticText> </band> </title> <detail> <band height="73" splitType="Stretch"> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement positionType="Float" stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="50" y="39" width="711" height="31" forecolor="#000000"/> <textElement lineSpacing="Single" markup="html"> <font fontName="Courier New" size="8" isBold="false"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{tocString}]]></textFieldExpression> </textField> <staticText> <reportElement x="50" y="28" width="100" height="11"/> <textElement verticalAlignment="Middle"> <font fontName="Courier New" size="9" isBold="true" isUnderline="true"/> </textElement> <text><![CDATA[CONTENTS]]></text> </staticText> </band> </detail> <pageFooter> <band height="33"/> </pageFooter> </jasperReport> Link to comment Share on other sites More sharing options...
hozawa Posted April 9, 2017 Share Posted April 9, 2017 You didn't specify any error message. Please provide explanation. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now