org.pz.platypus.plugin.pdf
Class Footer

java.lang.Object
  extended by org.pz.platypus.plugin.pdf.Footer

public class Footer
extends java.lang.Object

Handles the low-level implementation details of page footer.

Author:
alb

Field Summary
private  float baseline
           
private  PdfFont font
           
private  int pagesToSkip
           
private  boolean shouldWrite
           
 
Constructor Summary
Footer(PdfData pdfData)
           
 
Method Summary
 float getBaseline()
           
 PdfFont getFont()
           
 int getPagesToSkip()
           
 void setBaseline(float baseline)
           
 void setFont(PdfFont font)
           
 void setPagesToSkip(int pagesToSkip)
          Set the number of pages to skip before the first footer is first printed.
 void setShouldWrite(boolean shouldWrite)
           
 boolean shouldWrite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

font

private PdfFont font

pagesToSkip

private int pagesToSkip

baseline

private float baseline

shouldWrite

private boolean shouldWrite
Constructor Detail

Footer

Footer(PdfData pdfData)
Method Detail

getBaseline

public float getBaseline()

setBaseline

public void setBaseline(float baseline)

getFont

public PdfFont getFont()

setFont

public void setFont(PdfFont font)

getPagesToSkip

public int getPagesToSkip()

setPagesToSkip

public void setPagesToSkip(int pagesToSkip)
Set the number of pages to skip before the first footer is first printed. Typically, this is set to 1, so that the first page of a document has no page number. In a single-page doc, this is standard. In a multipage doc, the first page is often a cover sheet, so a page number is not needed or wanted.

Parameters:
pagesToSkip - pages to skip

shouldWrite

public boolean shouldWrite()

setShouldWrite

public void setShouldWrite(boolean shouldWrite)


Copyright © 2008-10 Pacific Data Works LLC