processDocumentAsync

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

NOTE: Returned observable doesn't have target thread set so use subscribeOn to choose the thread to run processing on.

Return

Observable which will periodically emit 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.

NOTE: Returned observable doesn't have target thread set so use subscribeOn to choose the thread to run processing on.

Return

Observable which will periodically emit 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 stripEmptyPages as it needs to reopen processed document which is not possible with OutputStream.

NOTE: Returned observable doesn't have target thread set so use subscribeOn to choose the thread to run processing on.

Return

Observable which will periodically emit 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 stripEmptyPages as it needs to reopen processed document which is not possible with OutputStream.

NOTE: Returned observable doesn't have target thread set so use subscribeOn to choose the thread to run processing on.

Return

Observable which will periodically emit 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.