Package org.imixs.workflow.poi
Class POICopyContentAdapter
java.lang.Object
org.imixs.workflow.poi.POICopyContentAdapter
- All Implemented Interfaces:
org.imixs.workflow.Adapter,org.imixs.workflow.SignalAdapter
This POICopyAdapter can be used to find and extract text fragments from a MS
Excel (xlsx) document.
The adapter can be configured by the event workflow result:
<poi-copy name=
"filename">PLA Membership Agreement-<itemvalue>numsequencenumber</itemvalue>.xlsx</poi-update>
<poi-copy name="copy">
<find>F:4</find>
<item>invoice.total</item>
</poi-copy>
<poi-copy name="copy">
<find>F:4</find>
<item>invoice.total</item>
<type>number</type>
</poi-copy>
- Version:
- 1.0
- Author:
- rsoika
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.imixs.workflow.ItemCollectionexecute(org.imixs.workflow.ItemCollection document, org.imixs.workflow.ItemCollection event) This method computes the findreplace configuration and updates an attachments form type .docx
-
Field Details
-
DOCUMENT_ERROR
- See Also:
-
CONFIG_ERROR
- See Also:
-
-
Constructor Details
-
POICopyContentAdapter
public POICopyContentAdapter()
-
-
Method Details
-
execute
public org.imixs.workflow.ItemCollection execute(org.imixs.workflow.ItemCollection document, org.imixs.workflow.ItemCollection event) throws org.imixs.workflow.exceptions.AdapterException, org.imixs.workflow.exceptions.PluginException This method computes the findreplace configuration and updates an attachments form type .docx- Specified by:
executein interfaceorg.imixs.workflow.Adapter- Throws:
org.imixs.workflow.exceptions.PluginExceptionorg.imixs.workflow.exceptions.AdapterException
-