DocumentPluginExtension
- This interface is
intended for document processing plugins. This type of plugins can be
started from the contextual menu, Plugins section, by
selecting the corresponding entry. The context containing the current
document is passed to the extension in order to be processed.
The context is represented by an
DocumentPluginContext
object, this provides two
methods:
getDocument()
-
Document
- returns the current
document.
getFrame()
-
Frame
- returns the currently
editing frame.
The process method can return a
DocumentPluginResult
object containing a new
document.