Package org.apache.pdfbox.pdmodel.fdf
Class FDFPage
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.fdf.FDFPage
-
- All Implemented Interfaces:
COSObjectable
public class FDFPage extends java.lang.Object implements COSObjectable
This represents an FDF page that is part of the FDF document.
-
-
Field Summary
Fields Modifier and Type Field Description private COSDictionary
page
-
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 COSDictionary
getCOSObject()
Convert this standard java object to a COS object.FDFPageInfo
getPageInfo()
This will get the FDF page info object.java.util.List<FDFTemplate>
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(java.util.List<FDFTemplate> templates)
A list of FDFTemplate objects.
-
-
-
Field Detail
-
page
private final COSDictionary page
-
-
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:
getCOSObject
in interfaceCOSObjectable
- Returns:
- The cos object that matches this Java object.
-
getTemplates
public java.util.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(java.util.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.
-
-