Package cn.guoyukun.pdm2pdf.pdf

Examples of cn.guoyukun.pdm2pdf.pdf.PdfReportM1HeaderFooter


   * @throws IOException
   */
  private void setHeaderFooter(PdfWriter writer, String left, String right)
      throws DocumentException, IOException {
    // 第几页/共几页 模式。
    PdfReportM1HeaderFooter headerFooter = new PdfReportM1HeaderFooter();// 就是上面那个类
    headerFooter.setHeader(left);
    headerFooter.setHeaderRight(right);
    // 跳过封皮
    headerFooter.setPageOffset(-1);
    headerFooter.setPresentFontSize(10);
    writer.setBoxSize("art", PageSize.A4);
    writer.setPageEvent(headerFooter);
  }
View Full Code Here

TOP

Related Classes of cn.guoyukun.pdm2pdf.pdf.PdfReportM1HeaderFooter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.