Results 1 to 3 of 3
  1. #1
    Deepa is offline Member
    Join Date
    Nov 2008
    Posts
    85
    Rep Power
    0

    Default Error Message:org.xml.sax.SAXParseException: Value "bottom" is not one of the enumera

    Hi,
    I would like to generate pdf by using jasper report generation.Here i used java and jrxml. In jasper Report Creation i got the ,
    org.xml.sax.SAXParseException: Value "bottom" is not one of the enumerated values for this attribute.

    Plz anyone help to rectify the above error.

    Thanks in advance.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  3. #3
    Deepa is offline Member
    Join Date
    Nov 2008
    Posts
    85
    Rep Power
    0

    Default Re:

    Hi,
    Ya...I generated pdf from jrxml.In the below jrxml,if i change the bottom margin attribute ,i will get that error.

    <?xml version="1.0"?>

    <jasperReport
    name="SimpleReport"
    columnCount="1"
    printOrder="Horizontal"
    orientation="Portrait"
    pageWidth="800"
    pageHeight="842"
    columnWidth="535"
    columnSpacing="0"
    leftMargin="30"
    rightMargin="30"
    topMargin="20"
    bottomMargin="20"
    whenNoDataType="NoPages"
    isTitleNewPage="false"
    isSummaryNewPage="false">

    <field name="TOTALCNT" class="java.lang.String"/>
    <field name="TOTALAMOUNT" class="java.lang.String"/>
    <field name="ITEMPOSTEDCNT" class="java.lang.String"/>
    <field name="ITEMPOSTEDAMT" class="java.lang.String"/>
    <field name="ITEMREJECTCNT" class="java.lang.String"/>
    <field name="ITEMREJECTEDAMT" class="java.lang.String"/>
    <field name="ITEMPENDINGCNT" class="java.lang.String"/>
    <field name="ITEMPENDINGAMT" class="java.lang.String"/>

    <title>
    <band height="50" isSplitAllowed="true">
    <staticText>

    <reportElement
    mode="Transparent"
    x="200"
    y="6"
    width="345"
    height="39"
    forecolor="#0000CC"
    backcolor="#FFFFFF"
    key="staticText-1"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Center"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">

    <font
    fontName="Arial"
    pdfFontName="Helvetica-Bold"
    size="10"
    isBold="true"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <text><![CDATA[TR ITEM STATUS REPORT]]></text>
    </staticText>
    </band>
    </title>

    <pageHeader>
    <band height="18">

    <staticText>
    <reportElement
    mode="Transparent"
    x="0"
    y="0"
    width="50"
    height="18"
    forecolor="#0000CC"
    backcolor="#FFFFFF"
    key="staticText-2"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica-Bold"
    size="9"
    isBold="true"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <text><![CDATA[TOTALCNT]]></text>
    </staticText>


    <staticText>
    <reportElement
    mode="Transparent"
    x="70"
    y="0"
    width="100"
    height="18"
    forecolor="#0000CC"
    backcolor="#FFFFFF"
    key="staticText-2"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica-Bold"
    size="9"
    isBold="true"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <text><![CDATA[TOTALAMOUNT]]></text>
    </staticText>

    <staticText>
    <reportElement
    mode="Transparent"
    x="140"
    y="0"
    width="150"
    height="18"
    forecolor="#0000CC"
    backcolor="#FFFFFF"
    key="staticText-2"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica-Bold"
    size="9"
    isBold="true"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <text><![CDATA[ITEMPOSTEDCNT]]></text>
    </staticText>

    <staticText>
    <reportElement
    mode="Transparent"
    x="210"
    y="0"
    width="150"
    height="18"
    forecolor="#0000CC"
    backcolor="#FFFFFF"
    key="staticText-2"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica-Bold"
    size="9"
    isBold="true"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <text><![CDATA[ ITEMPOSTEDAMT]]></text>
    </staticText>

    <staticText>
    <reportElement
    mode="Transparent"
    x="280"
    y="0"
    width="150"
    height="18"
    forecolor="#0000CC"
    backcolor="#FFFFFF"
    key="staticText-2"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica-Bold"
    size="9"
    isBold="true"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <text><![CDATA[ ITEMREJECTCNT]]></text>
    </staticText>

    <staticText>
    <reportElement
    mode="Transparent"
    x="350"
    y="0"
    width="150"
    height="18"
    forecolor="#0000CC"
    backcolor="#FFFFFF"
    key="staticText-2"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica-Bold"
    size="9"
    isBold="true"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <text><![CDATA[ITEMREJECTEDAMT]]></text>
    </staticText>

    <staticText>
    <reportElement
    mode="Transparent"
    x="420"
    y="0"
    width="150"
    height="18"
    forecolor="#0000CC"
    backcolor="#FFFFFF"
    key="staticText-2"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica-Bold"
    size="9"
    isBold="true"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <text><![CDATA[ITEMPENDINGCNT]]></text>
    </staticText>

    <staticText>
    <reportElement
    mode="Transparent"
    x="490"
    y="0"
    width="150"
    height="18"
    forecolor="#0000CC"
    backcolor="#FFFFFF"
    key="staticText-2"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica-Bold"
    size="9"
    isBold="true"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <text><![CDATA[ITEMPENDINGAMT]]></text>
    </staticText>


    </band>
    </pageHeader>

    <detail>
    <band height="20">

    <textField
    isStretchWithOverflow="false"
    pattern=""
    isBlankWhenNull="false"
    evaluationTime="Now"
    hyperlinkType="None"
    hyperlinkTarget="Self"
    bookmarkLevel="0">

    <reportElement
    mode="Transparent"
    x="0"
    y="0"
    width="50"
    height="18"
    forecolor="#000000"
    backcolor="#FFFFFF"
    key="textField"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica"
    size="8"
    isBold="false"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <textFieldExpression class="java.lang.String">
    <![CDATA[$F{TOTALCNT}]]>
    </textFieldExpression>
    </textField>




    <textField
    isStretchWithOverflow="false"
    pattern=""
    isBlankWhenNull="false"
    evaluationTime="Now"
    hyperlinkType="None"
    hyperlinkTarget="Self"
    bookmarkLevel="0">

    <reportElement
    mode="Transparent"
    x="70"
    y="0"
    width="100"
    height="18"
    forecolor="#000000"
    backcolor="#FFFFFF"
    key="textField"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica"
    size="8"
    isBold="false"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <textFieldExpression class="java.lang.String">
    <![CDATA[$F{TOTALAMOUNT}]]>
    </textFieldExpression>
    </textField>

    <textField
    isStretchWithOverflow="false"
    pattern=""
    isBlankWhenNull="false"
    evaluationTime="Now"
    hyperlinkType="None"
    hyperlinkTarget="Self"
    bookmarkLevel="0">

    <reportElement
    mode="Transparent"
    x="140"
    y="0"
    width="150"
    height="18"
    forecolor="#000000"
    backcolor="#FFFFFF"
    key="textField"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica"
    size="8"
    isBold="false"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <textFieldExpression class="java.lang.String">
    <![CDATA[$F{ITEMPOSTEDCNT}]]>
    </textFieldExpression>
    </textField>

    <textField
    isStretchWithOverflow="false"
    pattern=""
    isBlankWhenNull="false"
    evaluationTime="Now"
    hyperlinkType="None"
    hyperlinkTarget="Self"
    bookmarkLevel="0">

    <reportElement
    mode="Transparent"
    x="210"
    y="0"
    width="150"
    height="18"
    forecolor="#000000"
    backcolor="#FFFFFF"
    key="textField"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica"
    size="8"
    isBold="false"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <textFieldExpression class="java.lang.String">
    <![CDATA[$F{ITEMPOSTEDAMT}]]>
    </textFieldExpression>
    </textField>

    <textField
    isStretchWithOverflow="false"
    pattern=""
    isBlankWhenNull="false"
    evaluationTime="Now"
    hyperlinkType="None"
    hyperlinkTarget="Self"
    bookmarkLevel="0">

    <reportElement
    mode="Transparent"
    x="280"
    y="0"
    width="150"
    height="18"
    forecolor="#000000"
    backcolor="#FFFFFF"
    key="textField"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica"
    size="8"
    isBold="false"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <textFieldExpression class="java.lang.String">
    <![CDATA[$F{ITEMREJECTCNT}]]>
    </textFieldExpression>
    </textField>

    <textField
    isStretchWithOverflow="false"
    pattern=""
    isBlankWhenNull="false"
    evaluationTime="Now"
    hyperlinkType="None"
    hyperlinkTarget="Self"
    bookmarkLevel="0">

    <reportElement
    mode="Transparent"
    x="350"
    y="0"
    width="150"
    height="18"
    forecolor="#000000"
    backcolor="#FFFFFF"
    key="textField"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica"
    size="8"
    isBold="false"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <textFieldExpression class="java.lang.String">
    <![CDATA[$F{ITEMREJECTEDAMT}]]>
    </textFieldExpression>
    </textField>

    <textField
    isStretchWithOverflow="false"
    pattern=""
    isBlankWhenNull="false"
    evaluationTime="Now"
    hyperlinkType="None"
    hyperlinkTarget="Self"
    bookmarkLevel="0">

    <reportElement
    mode="Transparent"
    x="420"
    y="0"
    width="150"
    height="18"
    forecolor="#000000"
    backcolor="#FFFFFF"
    key="textField"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica"
    size="8"
    isBold="false"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <textFieldExpression class="java.lang.String">
    <![CDATA[$F{ITEMPENDINGCNT}]]>
    </textFieldExpression>
    </textField>

    <textField
    isStretchWithOverflow="false"
    pattern=""
    isBlankWhenNull="false"
    evaluationTime="Now"
    hyperlinkType="None"
    hyperlinkTarget="Self"
    bookmarkLevel="0">

    <reportElement
    mode="Transparent"
    x="490"
    y="0"
    width="150"
    height="18"
    forecolor="#000000"
    backcolor="#FFFFFF"
    key="textField"
    stretchType="NoStretch"
    positionType="FixRelativeToTop"
    isPrintRepeatedValues="true"
    isRemoveLineWhenBlank="false"
    isPrintInFirstWholeBand="false"
    isPrintWhenDetailOverflows="false" />

    <box
    topBorder="None"
    topBorderColor="#000000"
    leftBorder="None"
    leftBorderColor="#000000"
    rightBorder="None"
    rightBorderColor="#000000"
    bottomBorder="None"
    bottomBorderColor="#000000" />

    <textElement
    textAlignment="Left"
    verticalAlignment="Top"
    rotation="None"
    lineSpacing="Single">
    <font
    fontName="Arial"
    pdfFontName="Helvetica"
    size="8"
    isBold="false"
    isItalic="false"
    isUnderline="false"
    isPdfEmbedded="false"
    pdfEncoding="Cp1252"
    isStrikeThrough="false" />
    </textElement>

    <textFieldExpression class="java.lang.String">
    <![CDATA[$F{ITEMPENDINGAMT}]]>
    </textFieldExpression>
    </textField>


    </band>
    </detail>

    <columnFooter>
    <band height="9" isSplitAllowed="true" />
    </columnFooter>

    <pageFooter>
    <band height="40" isSplitAllowed="true">
    <line direction="TopDown">
    <reportElement x="0" y="10" width="800" height="1" positionType="FixRelativeToTop" stretchType="NoStretch" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false" />
    <graphicElement />
    </line>
    <textField isStretchWithOverflow="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" bookmarkLevel="0">
    <reportElement x="200" y="20" width="80" height="15" positionType="FixRelativeToTop" stretchType="NoStretch" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false" />
    <textElement textAlignment="Right" />
    <textFieldExpression class="java.lang.String">
    <![CDATA[ "Page " + String.valueOf($V{PAGE_NUMBER}) + " of"]]>
    </textFieldExpression>
    </textField>
    <textField evaluationTime="Report" isStretchWithOverflow="false" hyperlinkType="None" hyperlinkTarget="Self" bookmarkLevel="0">
    <reportElement x="280" y="20" width="75" height="15" positionType="FixRelativeToTop" stretchType="NoStretch" isPrintRepeatedValues="true" isRemoveLineWhenBlank="false" isPrintInFirstWholeBand="false" isPrintWhenDetailOverflows="false" />
    <textElement />
    <textFieldExpression class="java.lang.String">
    <![CDATA[ " " + String.valueOf($V{PAGE_NUMBER})
    ]]>
    </textFieldExpression>
    </textField>
    </band>
    </pageFooter>


    </jasperReport>

Similar Threads

  1. Java, Military Format using "/" and "%" Operator!!
    By sk8rsam77 in forum New To Java
    Replies: 11
    Last Post: 02-26-2010, 03:03 AM
  2. Replies: 1
    Last Post: 10-20-2008, 07:35 AM
  3. Java Loader error message "UNC paths not supported"
    By Johnny562 in forum New To Java
    Replies: 1
    Last Post: 07-01-2008, 10:24 PM
  4. Strange error message "Source not found"
    By ppayal in forum Eclipse
    Replies: 0
    Last Post: 11-25-2007, 06:19 PM
  5. Replies: 1
    Last Post: 07-25-2007, 10:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •