Class POICopyContentAdapter

java.lang.Object
org.imixs.workflow.poi.POICopyContentAdapter
All Implemented Interfaces:
org.imixs.workflow.Adapter, org.imixs.workflow.SignalAdapter

public class POICopyContentAdapter extends Object implements 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 Details

  • 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:
      execute in interface org.imixs.workflow.Adapter
      Throws:
      org.imixs.workflow.exceptions.PluginException
      org.imixs.workflow.exceptions.AdapterException