org.pdfbox.pdmodel.fdf

Class FDFPage

Implemented Interfaces:
COSObjectable

public class FDFPage
extends java.lang.Object
implements COSObjectable

This represents an FDF page that is part of the FDF document.
Version:
$Revision: 1.3 $
Author:
Ben Litchfield

Constructor Summary

FDFPage()
Default constructor.
FDFPage(COSDictionary p)
Constructor.

Method Summary

COSDictionary
getCOSDictionary()
Convert this standard java object to a COS object.
COSBase
getCOSObject()
Convert this standard java object to a COS object.
FDFPageInfo
getPageInfo()
This will get the FDF page info object.
List
getTemplates()
This will get a list of FDFTemplage objects that describe the named pages that serve as templates.
void
setPageInfo(FDFPageInfo info)
This will set the page info.
void
setTemplates(List templates)
A list of FDFTemplate objects.

Constructor Details

FDFPage

public FDFPage()
Default constructor.

FDFPage

public FDFPage(COSDictionary p)
Constructor.
Parameters:
p - The FDF page.

Method Details

getCOSDictionary

public COSDictionary getCOSDictionary()
Convert this standard java object to a COS object.
Returns:
The cos object that matches this Java object.

getCOSObject

public COSBase getCOSObject()
Convert this standard java object to a COS object.
Specified by:
getCOSObject in interface COSObjectable
Returns:
The cos object that matches this Java object.

getPageInfo

public FDFPageInfo getPageInfo()
This will get the FDF page info object.
Returns:
The Page info.

getTemplates

public List getTemplates()
This will get a list of FDFTemplage objects that describe the named pages that serve as templates.
Returns:
A list of templates.

setPageInfo

public void setPageInfo(FDFPageInfo info)
This will set the page info.
Parameters:
info - The new page info dictionary.

setTemplates

public void setTemplates(List templates)
A list of FDFTemplate objects.
Parameters:
templates - A list of templates for this Page.