PdfEditor

public final class PdfEditor

Provides specialized editing capabilities for PDF documents. Implements document and page-based editing operations specific to PDF format.

Functions

Link copied to clipboard
public final void appendDocument(Document document)
Appends all pages from another document to the end of the current PDF document.
Link copied to clipboard
public final void close()
Closes the editor and releases all associated resources.
Link copied to clipboard
public final static PdfEditor edit(Document document)
Creates a new PdfEditor instance and begins editing the specified document.
Link copied to clipboard
Gets the collection of form fields in the PDF document.
Link copied to clipboard
public final PdfMetadata getMetadata()
Gets the metadata associated with the current PDF document.
Link copied to clipboard
Gets the collection of pages in the PDF document.
Link copied to clipboard
public final void save()
Saves the current changes made in the editor.
Link copied to clipboard
public final void saveAs(String path)
Saves the current changes to a file at the specified path.