COSObjectablepublic class FDFDictionary extends java.lang.Object implements COSObjectable
| Constructor | Description |
|---|---|
FDFDictionary() |
Default constructor.
|
FDFDictionary(COSDictionary fdfDictionary) |
Constructor.
|
FDFDictionary(org.w3c.dom.Element fdfXML) |
This will create an FDF dictionary from an XFDF XML document.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<FDFAnnotation> |
getAnnotations() |
This will get the list of FDF Annotations.
|
COSDictionary |
getCOSObject() |
Convert this standard java object to a COS object.
|
COSStream |
getDifferences() |
This will get the incremental updates since the PDF was last opened.
|
java.util.List<PDFileSpecification> |
getEmbeddedFDFs() |
This will get the list of embedded FDF entries, or null if the entry is null.
|
java.lang.String |
getEncoding() |
The encoding to be used for a FDF field.
|
java.util.List<FDFField> |
getFields() |
This will get the list of FDF Fields.
|
PDFileSpecification |
getFile() |
The source file or target file: the PDF document file that this FDF file was exported from or is intended to be
imported into.
|
COSArray |
getID() |
This is the FDF id.
|
FDFJavaScript |
getJavaScript() |
This will get the java script entry.
|
java.util.List<FDFPage> |
getPages() |
This will get the list of FDF Pages.
|
java.lang.String |
getStatus() |
This will get the status string to be displayed as the result of an action.
|
java.lang.String |
getTarget() |
This will get the target frame in the browser to open this document.
|
void |
setAnnotations(java.util.List<FDFAnnotation> annots) |
This will set the list of annotations.
|
void |
setDifferences(COSStream diff) |
This will set the differences stream.
|
void |
setEmbeddedFDFs(java.util.List<PDFileSpecification> embedded) |
This will set the list of embedded FDFs.
|
void |
setEncoding(java.lang.String encoding) |
This will set the encoding.
|
void |
setFields(java.util.List<FDFField> fields) |
This will set the list of fields.
|
void |
setFile(PDFileSpecification fs) |
This will set the file specification.
|
void |
setID(COSArray id) |
This will set the FDF id.
|
void |
setJavaScript(FDFJavaScript js) |
This will set the JavaScript entry.
|
void |
setPages(java.util.List<FDFPage> pages) |
This will set the list of pages.
|
void |
setStatus(java.lang.String status) |
This will set the status string.
|
void |
setTarget(java.lang.String target) |
This will set the target frame in the browser to open this document.
|
void |
writeXML(java.io.Writer output) |
This will write this element as an XML document.
|
public FDFDictionary()
public FDFDictionary(COSDictionary fdfDictionary)
fdfDictionary - The FDF documents catalog.public FDFDictionary(org.w3c.dom.Element fdfXML)
fdfXML - The XML document that contains the XFDF data.public void writeXML(java.io.Writer output)
throws java.io.IOException
output - The stream to write the xml to.java.io.IOException - If there is an error writing the XML.public COSDictionary getCOSObject()
getCOSObject in interface COSObjectablepublic PDFileSpecification getFile() throws java.io.IOException
java.io.IOException - If there is an error creating the file spec.public void setFile(PDFileSpecification fs)
fs - The file specification.public COSArray getID()
public void setID(COSArray id)
id - The new id for the FDF.public java.util.List<FDFField> getFields()
public void setFields(java.util.List<FDFField> fields)
fields - The list of fields.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status - The new status string.public java.util.List<FDFPage> getPages()
public void setPages(java.util.List<FDFPage> pages)
pages - The list of pages.public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
encoding - The new encoding.public java.util.List<FDFAnnotation> getAnnotations() throws java.io.IOException
java.io.IOException - If there is an error creating the annotation list.public void setAnnotations(java.util.List<FDFAnnotation> annots)
annots - The list of annotations.public COSStream getDifferences()
public void setDifferences(COSStream diff)
diff - The new differences stream.public java.lang.String getTarget()
public void setTarget(java.lang.String target)
target - The new target frame.public java.util.List<PDFileSpecification> getEmbeddedFDFs() throws java.io.IOException
java.io.IOException - If there is an error creating the file spec.public void setEmbeddedFDFs(java.util.List<PDFileSpecification> embedded)
embedded - The list of embedded FDFs.public FDFJavaScript getJavaScript()
public void setJavaScript(FDFJavaScript js)
js - The javascript entries.Copyright © 2002–2018. All rights reserved.