processDocumentAsync

Starts the document processing, using the default DocumentSaveOptions for the processed document.

Return

Flow which emits progress objects until processing is complete.

Parameters

task

Defined processing task.

outputFile

Output PDF file to be written.

See also

Throws

If the outputFile points to the original input file.


Starts the document processing.

Return

Flow which emits progress objects until processing is complete.

Parameters

task

Defined processing task.

outputFile

Output PDF file to be written.

saveOptions

Save options defining password protection, permissions, etc.

Throws

If the outputFile points to the original input file.


Starts the document processing, using the default DocumentSaveOptions for the processed document.

NOTE: This does not work with PdfProcessorTask.stripEmptyPages as it needs to reopen the processed document, which is not possible with an OutputStream.

Return

Flow which emits progress objects until processing is complete.

Parameters

task

Defined processing task.

outputStream

Output stream for writing output PDF data.


Starts the document processing.

NOTE: This does not work with PdfProcessorTask.stripEmptyPages as it needs to reopen the processed document, which is not possible with an OutputStream.

Return

Flow which emits progress objects until processing is complete.

Parameters

task

Defined processing task.

outputStream

Output stream for writing output PDF data.

saveOptions

Save options defining password protection, permissions, etc.