Pdf Processor
class PdfProcessor
Copy, merge or modify PDF documents. It also allows flattening and filtering of annotation data.
Types
Link copied to clipboard
class ProcessorProgress
Object representing processing progress.
Functions
Link copied to clipboard
open fun processDocument(@NonNull task: PdfProcessorTask, @NonNull outputFile: File, @NonNull saveOptions: DocumentSaveOptions)
Starts the document processing on current thread.
Link copied to clipboard
open fun processDocumentAsync(@NonNull task: PdfProcessorTask, @NonNull outputFile: File): Flowable<PdfProcessor.ProcessorProgress>
open fun processDocumentAsync(@NonNull task: PdfProcessorTask, @NonNull outputStream: OutputStream): Flowable<PdfProcessor.ProcessorProgress>
Starts the document processing, using the default DocumentSaveOptions for the processed document.
open fun processDocumentAsync(@NonNull task: PdfProcessorTask, @NonNull outputFile: File, @NonNull saveOptions: DocumentSaveOptions): Flowable<PdfProcessor.ProcessorProgress>
open fun processDocumentAsync(@NonNull task: PdfProcessorTask, @NonNull outputStream: OutputStream, @NonNull saveOptions: DocumentSaveOptions): Flowable<PdfProcessor.ProcessorProgress>
Starts the document processing.