IDocumentProcessorPlugin class

IDocumentProcessorPlugin class

Defines an interface for external document processor plugin.

Methods

NameDescription
append(input_stream, load_options)Append the document loading it with the specified load options.
load(input_stream, load_options)Load the document using the specified load options.
save(output_stream, save_options)Save the document loaded by IDocumentProcessorPlugin.load() method to the output stream using the specified save options.
set_image_watermark(image_watermark, image_watermark_options)Adds image watermark on each page of the document loaded by IDocumentProcessorPlugin.load() method.
set_text_watermark(text_watermark, text_watermark_options)Adds text watermark on each page of the document loaded by IDocumentProcessorPlugin.load() method.
to_document()Parses the document loaded by IDocumentProcessorPlugin.load() method into Document object.
to_pages(save_options)Saves each page of the document loaded by IDocumentProcessorPlugin.load() method using the specified fixed page save options.

See Also