ireport吧 关注:134贴子:259
  • 2回复贴,共1

ireport怎么分页

只看楼主收藏回复

ireport怎么分页


1楼2019-05-11 14:30回复
    <pageFooter>
    <band height="23" splitType="Stretch">
    <textField>
    <reportElement x="0" y="2" width="255" height="20"/>
    <textElement textAlignment="Right" verticalAlignment="Middle">
    <font fontName="宋体" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="false"/>
    </textElement>
    <textFieldExpression class="java.lang.String"><![CDATA["第 "+$V{PAGE_NUMBER}+" 页 "]]></textFieldExpression>
    </textField>
    <textField evaluationTime="Report">
    <reportElement x="255" y="2" width="300" height="20"/>
    <textElement verticalAlignment="Middle">
    <font fontName="宋体" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H"/>
    </textElement>
    <textFieldExpression class="java.lang.String"><![CDATA["共 " + $V{PAGE_NUMBER} + " 页"]]></textFieldExpression>
    </textField>
    </band>
    </pageFooter>


    2楼2019-11-06 15:00
    回复
      ireport如何在获取的值只旋转中文不旋转英文


      IP属地:河北3楼2020-07-29 19:36
      回复