Package com.tom_roush.pdfbox.pdmodel.fdf
Class FDFPage
- java.lang.Object
-
- com.tom_roush.pdfbox.pdmodel.fdf.FDFPage
-
- All Implemented Interfaces:
COSObjectable
public class FDFPage extends Object implements COSObjectable
This represents an FDF page that is part of the FDF document.
-
-
Constructor Summary
Constructors Constructor Description FDFPage()Default constructor.FDFPage(COSDictionary p)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description COSDictionarygetCOSObject()Convert this standard java object to a COS object.FDFPageInfogetPageInfo()This will get the FDF page info object.List<FDFTemplate>getTemplates()This will get a list of FDFTemplage objects that describe the named pages that serve as templates.voidsetPageInfo(FDFPageInfo info)This will set the page info.voidsetTemplates(List<FDFTemplate> templates)A list of FDFTemplate objects.
-
-
-
Constructor Detail
-
FDFPage
public FDFPage()
Default constructor.
-
FDFPage
public FDFPage(COSDictionary p)
Constructor.- Parameters:
p- The FDF page.
-
-
Method Detail
-
getCOSObject
public COSDictionary getCOSObject()
Convert this standard java object to a COS object.- Specified by:
getCOSObjectin interfaceCOSObjectable- Returns:
- The cos object that matches this Java object.
-
getTemplates
public List<FDFTemplate> getTemplates()
This will get a list of FDFTemplage objects that describe the named pages that serve as templates.- Returns:
- A list of templates.
-
setTemplates
public void setTemplates(List<FDFTemplate> templates)
A list of FDFTemplate objects.- Parameters:
templates- A list of templates for this Page.
-
getPageInfo
public FDFPageInfo getPageInfo()
This will get the FDF page info object.- Returns:
- The Page info.
-
setPageInfo
public void setPageInfo(FDFPageInfo info)
This will set the page info.- Parameters:
info- The new page info dictionary.
-
-