public interface PDFUtilityService
Modifier and Type | Method and Description |
---|---|
Document |
clone(Document inPDFDoc)
Clones a PDF document.
|
Document |
convertPDFtoXDP(Document inDoc)
Converts a PDF document into an XDP file.
|
PDFPropertiesResult |
getPDFProperties(Document inPDFDoc,
PDFPropertiesOptionSpec options)
Performs queries on the specified PDF document and returns the results as a
PDFPropertiesResponse object. |
List |
multiclone(Document inPDFDoc,
int copies)
Clones a PDF document a specified number of times.
|
RedactionResult |
redact(Document inDoc,
RedactionOptionSpec redactionOptionSpec) |
SanitizationResult |
sanitize(Document inDoc)
Sanitizes a pdf document by removing any unintended hidden information.
|
PDFPropertiesResult getPDFProperties(Document inPDFDoc, PDFPropertiesOptionSpec options) throws PDFUtilityException
PDFPropertiesResponse
object.inPDFDoc
- A Document
object that represents the PDF document on which to
perform the query.options
- A PDFUtilityOptionSpec
object that specifies which queries are performed.PDFPropertiesResponse
object that contains the result of the query.PDFUtilityException
- If an error occurs during this operation.Document convertPDFtoXDP(Document inDoc) throws PDFUtilityException
inDoc
- A Document
object that represents the PDF document to convert to an XDP
file.Document
object that represents an XDP file.PDFUtilityException
- If an error occured during this operation. For example, if you specified an XDP
file that does not contain an XFA stream.Document clone(Document inPDFDoc) throws PDFUtilityException
For example, assume that a PDF document is passed to two services sequentially.
When the first service modifies and returns the PDF document as a Document
object,
the next service to use the Document
object sees modifications
made by the first service.
After invoking the clone
method, you are assured that the input
Document
object
and the result Document
object are the same,
and that any future modification of either object will not be reflected in the other object.
inPDFDoc
- A Document
object that represents the PDF document to clone.Document
object that represents the cloned PDF document.PDFUtilityException
- If the document could not be cloned.List multiclone(Document inPDFDoc, int copies) throws PDFUtilityException
For example, assume that a PDF document is passed to two services sequentially.
When the first service modifies and returns the PDF document as a Document
object,
the next service to use the Document
object sees modifications
made by the first service.
After invoking the multiclone
method, you are assured that the input
Document
object
and the result Document
object contains the same content,
and that any future modification of either object will not be reflected in the other object.
inPDFDoc
- A Document
object that represents the PDF document to clone.copies
- The number of copies to return.Document
objects that stores one or more cloned PDF documents.PDFUtilityException
- If an error occurred while cloning the PDF document.RedactionResult redact(Document inDoc, RedactionOptionSpec redactionOptionSpec) throws PDFUtilityException
PDFUtilityException
SanitizationResult sanitize(Document inDoc) throws PDFUtilityException
inDoc
- A Document
object that represents the
input PDF document to be sanitized.SanitizationResult
object.PDFUtilityException
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.