org.pz.platypus.plugin.pdf
Class PdfOutfile.OnPageEnd

java.lang.Object
  extended by com.lowagie.text.pdf.PdfPageEventHelper
      extended by org.pz.platypus.plugin.pdf.PdfOutfile.OnPageEnd
All Implemented Interfaces:
com.lowagie.text.pdf.PdfPageEvent
Enclosing class:
PdfOutfile

 class PdfOutfile.OnPageEnd
extends com.lowagie.text.pdf.PdfPageEventHelper


Constructor Summary
PdfOutfile.OnPageEnd()
           
 
Method Summary
 void footerProcessing()
          Print a footer if the number of pages to skip before a footer has been exceeded.
private  java.lang.String getFooterText()
          Create the text string we'll use.
 void onEndPage(com.lowagie.text.pdf.PdfWriter writer, com.lowagie.text.Document document)
          Lists the sequence of actions to perform .
 void postFooterProcessing()
          Processing to do after the footer is printed out
 void updateAllMargins()
           
 void updatePageSize()
          Checks to see whether the page size has changed from the current page size.
 
Methods inherited from class com.lowagie.text.pdf.PdfPageEventHelper
onChapter, onChapterEnd, onCloseDocument, onGenericTag, onOpenDocument, onParagraph, onParagraphEnd, onSection, onSectionEnd, onStartPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfOutfile.OnPageEnd

public PdfOutfile.OnPageEnd()
Method Detail

onEndPage

public void onEndPage(com.lowagie.text.pdf.PdfWriter writer,
                      com.lowagie.text.Document document)
Lists the sequence of actions to perform .

Specified by:
onEndPage in interface com.lowagie.text.pdf.PdfPageEvent
Overrides:
onEndPage in class com.lowagie.text.pdf.PdfPageEventHelper
Parameters:
writer - used for writing the footer
document - the document in which the footer will be written

updateAllMargins

public void updateAllMargins()

updatePageSize

public void updatePageSize()
Checks to see whether the page size has changed from the current page size. If so, the next page is set to the new page size.


footerProcessing

public void footerProcessing()
Print a footer if the number of pages to skip before a footer has been exceeded.


getFooterText

private java.lang.String getFooterText()
Create the text string we'll use. Currently em-dash page# em-dash

Returns:
the footer string

postFooterProcessing

public void postFooterProcessing()
Processing to do after the footer is printed out



Copyright © 2008-10 Pacific Data Works LLC