Class PDFTool.PDFEvent

  • All Implemented Interfaces:
    com.lowagie.text.pdf.PdfPageEvent
    Enclosing class:
    PDFTool

    public class PDFTool.PDFEvent
    extends com.lowagie.text.pdf.PdfPageEventHelper
    PDF events, manage specific header and footer
    • Constructor Summary

      Constructors 
      Constructor Description
      PDFEvent()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onCloseDocument​(com.lowagie.text.pdf.PdfWriter writer, com.lowagie.text.Document document)  
      void onEndPage​(com.lowagie.text.pdf.PdfWriter writer, com.lowagie.text.Document document)  
      void onOpenDocument​(com.lowagie.text.pdf.PdfWriter writer, com.lowagie.text.Document document)  
      void onStartPage​(com.lowagie.text.pdf.PdfWriter writer, com.lowagie.text.Document document)  
      • Methods inherited from class com.lowagie.text.pdf.PdfPageEventHelper

        onChapter, onChapterEnd, onGenericTag, onParagraph, onParagraphEnd, onSection, onSectionEnd
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_headerImage

        public com.lowagie.text.Image m_headerImage
      • m_footerImage

        public com.lowagie.text.Image m_footerImage
      • m_pagine

        public boolean m_pagine
      • m_margin

        public int m_margin
      • m_margin_top

        public int m_margin_top
      • m_margin_bottom

        public int m_margin_bottom
      • chapterIndex

        public int chapterIndex
      • sectionIndex

        public int sectionIndex
    • Constructor Detail

      • PDFEvent

        public PDFEvent()
    • Method Detail

      • onOpenDocument

        public void onOpenDocument​(com.lowagie.text.pdf.PdfWriter writer,
                                   com.lowagie.text.Document document)
        Specified by:
        onOpenDocument in interface com.lowagie.text.pdf.PdfPageEvent
        Overrides:
        onOpenDocument in class com.lowagie.text.pdf.PdfPageEventHelper
      • onStartPage

        public void onStartPage​(com.lowagie.text.pdf.PdfWriter writer,
                                com.lowagie.text.Document document)
        Specified by:
        onStartPage in interface com.lowagie.text.pdf.PdfPageEvent
        Overrides:
        onStartPage in class com.lowagie.text.pdf.PdfPageEventHelper
      • onEndPage

        public void onEndPage​(com.lowagie.text.pdf.PdfWriter writer,
                              com.lowagie.text.Document document)
        Specified by:
        onEndPage in interface com.lowagie.text.pdf.PdfPageEvent
        Overrides:
        onEndPage in class com.lowagie.text.pdf.PdfPageEventHelper
      • onCloseDocument

        public void onCloseDocument​(com.lowagie.text.pdf.PdfWriter writer,
                                    com.lowagie.text.Document document)
        Specified by:
        onCloseDocument in interface com.lowagie.text.pdf.PdfPageEvent
        Overrides:
        onCloseDocument in class com.lowagie.text.pdf.PdfPageEventHelper