fot2pdf (w) C. Drescher

com.pdftech.fot2pdf.formatter
Class Formatter.HeaderFooterInfo

java.lang.Object
  |
  +--com.pdftech.fot2pdf.formatter.Formatter.HeaderFooterInfo
Enclosing class:
Formatter

private class Formatter.HeaderFooterInfo
extends java.lang.Object

This class contains the a header/footer when pagination is done. It is capable of checking whether it appears on recto/verso pages (odd/even) or on the first page of a simple-page-sequence.


Field Summary
private  com.pdftech.fot2pdf.formatter.displayboxes.TextDisplayBox box
           
private  java.lang.String first
           
private  java.lang.String front
           
 
Constructor Summary
Formatter.HeaderFooterInfo(java.lang.String dofirst, java.lang.String dofront, com.pdftech.fot2pdf.formatter.displayboxes.TextDisplayBox headerbox)
           
 
Method Summary
 com.pdftech.fot2pdf.formatter.displayboxes.TextDisplayBox getBox()
           
 boolean getIsEven()
           
 boolean getIsFirst()
           
 boolean getIsNonFirst()
           
 boolean getIsOdd()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

first

private java.lang.String first

front

private java.lang.String front

box

private com.pdftech.fot2pdf.formatter.displayboxes.TextDisplayBox box
Constructor Detail

Formatter.HeaderFooterInfo

public Formatter.HeaderFooterInfo(java.lang.String dofirst,
                                  java.lang.String dofront,
                                  com.pdftech.fot2pdf.formatter.displayboxes.TextDisplayBox headerbox)
Method Detail

getIsFirst

public boolean getIsFirst()

getIsNonFirst

public boolean getIsNonFirst()

getIsOdd

public boolean getIsOdd()

getIsEven

public boolean getIsEven()

getBox

public com.pdftech.fot2pdf.formatter.displayboxes.TextDisplayBox getBox()

fot2pdf (w) C. Drescher