getProcessorTask

Converts sharing options to PdfProcessorTask usable for processing document via PdfProcessor.

Return

Processing task if processing is necessary or null if no processing is required.

Parameters

document

Document on which to run processing.