org.pdfbox.pdmodel.fdf
Class FDFNamedPageReference
java.lang.Object
org.pdfbox.pdmodel.fdf.FDFNamedPageReference
- COSObjectable
public class FDFNamedPageReference
extends java.lang.Object
This represents an FDF named page reference that is part of the FDF field.
FDFNamedPageReference
public FDFNamedPageReference()
Default constructor.
FDFNamedPageReference
public FDFNamedPageReference(COSDictionary r)
Constructor.
r
- The FDF named page reference dictionary.
getCOSDictionary
public COSDictionary getCOSDictionary()
Convert this standard java object to a COS object.
- The cos object that matches this Java object.
getCOSObject
public COSBase getCOSObject()
Convert this standard java object to a COS object.
- getCOSObject in interface COSObjectable
- The cos object that matches this Java object.
getFileSpecification
public PDFileSpecification getFileSpecification()
throws IOException
This will get the file specification of this reference. An optional parameter.
- The F entry for this dictionary.
getName
public String getName()
This will get the name of the referenced page. A required parameter.
- The name of the referenced page.
setFileSpecification
public void setFileSpecification(PDFileSpecification fs)
This will set the file specification for this named page reference.
fs
- The file specification to set.
setName
public void setName(String name)
This will set the name of the referenced page.
name
- The referenced page name.