PDF4Java Reference Documentation
com.o2sol.pdf4java.core Package / PDFFileEx Class
Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFFileEx Class Methods
In This Topic

For a list of all members of this type, see PDFFileEx members.

Public Methods

| Name | Description
--- | --- | ---
| endSave | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractDocumentInformation | Extracts the document information from the PDF files. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractFileAttachments | Extracts the file attachments from the PDF file. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractJavaScriptFragments | Extracts the JavaScript code from the PDF file. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractNamedDestinations | Extracts the named destinations from the PDF file. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractOutlines | Extracts the outlines from the PDF file. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractPage | Extracts the page information from the PDF file. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractPageContent | Extracts the content of a PDF page. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractPageInfo | Extracts the page information from the PDF file. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractPageOptionalContentGroup | Extracts the content of an optional content group. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractPageOptionalContentGroupNames | Extracts the names of the optional content groups defined on the page. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractPages | Extracts a page from the PDF file. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| extractXmpMetadata | Extracts the XMP metadata from the PDF file. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| flattenFormFields | Flattens the form fields in the file.
| getCosDocumentInformation | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| getCosFile | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| getCosObjectByNumber | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| getCosObjectCount | Gets the total number of COS objects in the PDF file. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| getDocumentCatalog | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| getEncryptHandler | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| getFooterBlob | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| getHeaderBlob | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| getPageCanvas | Gets the page canvas for the specified page.
| getPageCosDictionary | This method supports the internal library infrastructure and should not be used by external client code.
| getPageCount | Gets the number of pages. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| getPageNumberForFieldWidget | Gets the number of the page that includes the specified field widget.
| getPDFFileEncryptionInfo | Gets the encryption algorithm used by the PDF file in the input stream. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| getPositionForFieldWidget | Gets the position on the page for the specified field widget.
| getSecurityHandler | Gets the file security handler. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| init | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| initializeRandomGenerator | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| initSave | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| isPDFFileEncrypted | Verifies if the PDF file is encrypted. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| isPDFFileOwnerPassword | Verifies if the password matches the owner password set on the PDF file. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| isPDFFileUserPassword | Verifies if the password matches the user password set on the PDF file. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| save | Overloaded. Saves the PDF file to disk.
| saveFullFile | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| saveIncrementalFile | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| setCosDocumentInformation | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| setCosFile | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| setEncryptHandler | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| setFieldValue | Sets the given field with the specified value.
| setFooterBlob | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)
| setFormFillOptions | Sets the options for filling form fields.
| setHeaderBlob | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.core.PDFFile)

Top
See Also

#### Reference

PDFFileEx Class
com.o2sol.pdf4java.core Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.