Removed Methods |
void exportAnnotsAsFDF(String, Set)
|
Exports a set of annotation comments in FDF format. |
void exportAnnotsAsFDF(OutputStream, String, Set)
|
Export the set of annotation comments to an output stream in FDF format. |
void exportAnnotsAsXFDF(OutputStream, String, Set)
|
Export annotations comments to an output stream in XFDF format. |
void exportAnnotsAsXFDF(String, Set)
|
Exports annotations comments in XFDF format. |
Added Methods |
boolean addEmbeddedFile(InputStream, String, Date, Date)
|
Embeds a file into this PDF document. |
void addPrintListener(PrintListener )
|
Adds a PrintListener to the PDFDocument
|
void appendImageAsPage(BufferedImage, int, int, int)
|
Creates a new page in the PDF document and adds the image to it. |
boolean containsJavaScript()
|
Returns true when the PDF document contains javascript. |
void exportAnnotsAsFDF(String, Set<Annotation>)
|
Exports a set of annotation comments in FDF format. |
void exportAnnotsAsFDF(OutputStream, String, Set<Annotation>)
|
Export the set of annotation comments to an output stream in FDF format. |
void exportAnnotsAsXFDF(OutputStream, String, Set<Annotation>)
|
Export annotations comments to an output stream in XFDF format. |
void exportAnnotsAsXFDF(String, Set<Annotation>)
|
Exports annotations comments in XFDF format. |
DocumentViewPrefs getDocumentViewPrefs()
|
Returns a DocumentViewPrefs object containing information about the
way the document is to be presented on the screen or in print. |
int getEncryptionType()
|
Get the encryption type used to encrypt the document (PasswordPermissions.ENCRYPTION_RC4_128, PasswordPermissions.ENCRYPTION_RC4_128, PasswordPermissions.ENCRYPTION_AES_128, etc...). |
int getInitialPage()
|
Returns the value saved as the initial page to be viewed when the document is opened. |
String getLinearizationVersionNumber()
|
Returns the linearization version number. |
String getMagnification()
|
Returns the magnification value of the OpenAction key. |
PDFSource getPDFSource()
|
Returns an object representing the source of the PDF content. |
String getPageLayout()
|
Returns the value of the page layout key for this document. |
String getPageMode()
|
Returns the value of the page mode viewer preference in the document. |
IResourceManager getResourceManager()
|
Returns the IResourceManager for this document. |
IWatermark getWatermark()
|
Returns the watermark for the PDF document. |
boolean isLinearized()
|
Returns true if document is formatted for Fast Web View. |
void removePrintListener(PrintListener )
|
Removes a PrintListener from the PDFDocument
|
void setWatermark(IWatermark )
|
Sets the watermark on the PDF document. |
Changed Methods |
void addAnnotations(Hashtable<Object, Vector<Annotation>>)
|
Change in signature from Hashtable to (Hashtable<Object, Vector<Annotation>> ).
|
This method allows multiple annotations to be added to multiple pages. |
int flattenAnnotations(boolean )
|
Change in return type from void to int .
|
Flattens the annotations. |
Vector<IEmbeddedFile> getEmbeddedFiles()
|
Change in return type from Vector to Vector<IEmbeddedFile> .
|
Returns the list of embedded files in the document (annotations attachments are not part of the list). |
int flattenFields(boolean, boolean)
|
Change in return type from void to int .
|
Flattens the pdf form fields. |
int flattenFields(boolean, boolean, boolean)
|
Change in return type from void to int .
|
Flattens the pdf form fields. |
Vector<String> getWords()
|
Change in return type from Vector to Vector<String> .
|
Returns all words in the pdf document as a Vector of Strings . |
Vector<String> getWords(int )
|
Change in return type from Vector to Vector<String> .
|
Returns all words contained in the specified page of the pdf document
as a Vector of Strings. |