Package | Description |
---|---|
com.adobe.pdfservices.operation.io |
Contains the classes for providing input or receiving the output of an
Operation . |
com.adobe.pdfservices.operation.io.autotag | |
com.adobe.pdfservices.operation.pdfops |
Contains the classes for operations that generate or transform PDF files.
|
Modifier and Type | Method and Description |
---|---|
static FileRef |
FileRef.createFromLocalFile(String localSource)
Creates a FileRef instance from a local file path where the media type can be inferred from the file extension.
|
static FileRef |
FileRef.createFromLocalFile(String localSource,
String mediaType)
Creates a FileRef instance from a local file path with an explicitly specified media type.
|
static FileRef |
FileRef.createFromStream(InputStream inputStream,
String mediaType)
Creates a FileRef instance from an input stream using the specified media type.
|
static FileRef |
FileRef.createFromURL(URL url)
Creates a FileRef instance from the input URL.
|
Modifier and Type | Method and Description |
---|---|
FileRef |
AutotagPDFOutput.getReport()
Returns a reference to the additional tagging report, if specified for the operation, null otherwise.
|
FileRef |
AutotagPDFOutput.getTaggedPDF()
Returns a reference to the output tagged PDF document.
|
Constructor and Description |
---|
AutotagPDFOutput(FileRef taggedPDF)
Constructs an
AutotagPDFOutput instance. |
AutotagPDFOutput(FileRef taggedPDF,
FileRef report)
Constructs an
AutotagPDFOutput instance. |
Modifier and Type | Method and Description |
---|---|
FileRef |
DeletePagesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file.
|
FileRef |
LinearizePDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file.
|
FileRef |
ReorderPagesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file.
|
FileRef |
ReplacePagesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file.
|
FileRef |
ExportPDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting file.
|
FileRef |
CreatePDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file.
|
FileRef |
DocumentMergeOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting Merged file.
|
FileRef |
OCROperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file.
|
FileRef |
CombineFilesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting file.
|
FileRef |
RotatePagesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file.
|
FileRef |
InsertPagesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file.
|
FileRef |
CompressPDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file.
|
FileRef |
ProtectPDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file.
|
FileRef |
RemoveProtectionOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting PDF file.
|
FileRef |
ExtractPDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new FileRef instance for the resulting Zip file.
|
Modifier and Type | Method and Description |
---|---|
List<FileRef> |
ExportPDFToImagesOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new list of FileRef instances for the resultant image files.
|
List<FileRef> |
SplitPDFOperation.execute(ExecutionContext context)
Executes this operation synchronously using the supplied context and returns a new list of FileRef instances for the resultant PDF files.
|
Modifier and Type | Method and Description |
---|---|
void |
CombineFilesOperation.addInput(FileRef sourceFileRef)
Specifies a PDF file (media type "application/pdf") to be combined with other files.
|
void |
CombineFilesOperation.addInput(FileRef sourceFileRef,
PageRanges pageRanges)
Specifies particular pages of a PDF file (media type "application/pdf") to be combined with other files.
|
void |
ReplacePagesOperation.addPagesForReplace(FileRef inputFile,
int basePageToReplace)
Adds all the pages of the input PDF file for replacing the page of the base PDF file.
|
void |
ReplacePagesOperation.addPagesForReplace(FileRef inputFile,
PageRanges pageRanges,
int basePageToReplace)
Adds the specified pages of the input PDF file for replacing the page of the base PDF file.
|
void |
InsertPagesOperation.addPagesToInsertAt(FileRef inputFile,
int basePage)
Adds all the pages of the input PDF file to be inserted at the specified page of the base PDF file.
|
void |
InsertPagesOperation.addPagesToInsertAt(FileRef inputFile,
PageRanges pageRanges,
int basePage)
Adds the specified pages of the input PDF file to be inserted at the specified page of the base PDF file
|
void |
ReplacePagesOperation.setBaseInput(FileRef sourceFileRef)
Sets the base input file.
|
void |
InsertPagesOperation.setBaseInput(FileRef sourceFileRef)
Sets the base input file.
|
void |
DeletePagesOperation.setInput(FileRef sourceFileRef)
Sets an input file.
|
void |
AutotagPDFOperation.setInput(FileRef sourceFileRef)
Sets an input file.
|
void |
LinearizePDFOperation.setInput(FileRef sourceFileRef)
Sets an input file.
|
void |
ReorderPagesOperation.setInput(FileRef sourceFileRef)
Sets an input file.
|
void |
ExportPDFOperation.setInput(FileRef sourceFileRef)
Sets an input PDF file (media type "application/pdf").
|
void |
ExportPDFToImagesOperation.setInput(FileRef sourceFileRef)
Sets an input PDF file (media type "application/pdf").
|
void |
CreatePDFOperation.setInput(FileRef sourceFileRef)
Sets an input file.
|
void |
DocumentMergeOperation.setInput(FileRef documentTemplate)
Sets the input MS Word based document template
|
void |
OCROperation.setInput(FileRef sourceFileRef)
Sets an input file.
|
void |
RotatePagesOperation.setInput(FileRef sourceFileRef)
Sets an input file.
|
void |
CompressPDFOperation.setInput(FileRef sourceFileRef)
Sets an input file.
|
void |
ProtectPDFOperation.setInput(FileRef sourceFileRef)
Sets an input file.
|
void |
RemoveProtectionOperation.setInput(FileRef sourceFileRef)
Sets an input file.
|
void |
SplitPDFOperation.setInput(FileRef sourceFileRef)
Sets an input file.
|
void |
PDFPropertiesOperation.setInputFile(FileRef sourceFileRef)
Sets an input file.
|
ExtractPDFOperation |
ExtractPDFOperation.setInputFile(FileRef sourceFileRef)
Sets an input file.
|
Copyright © 2023 Adobe. All rights reserved.