Index Data Reader "MsWord"
The purpose of the index data reader "MsWord" is to extract content of a file attachment of the type "Microsoft Word document." A special syntax applies to the .InputName property in the form of a value composed of several parameters. This value the element to be read out.
The first parameter is always named ElemType and specifies the element type. Depending on the element type, some other parameters are available to specify the element.
Element | Parameter |
|---|---|
Entire document content |
|
Number of pages |
|
Page |
|
Paragraph |
|
Bookmark |
|
Form field |
|
Control |
|
Text box |
|
Embedded custom XML file or a node in XML node |
|
Table |
|
Document property |
|
For example, a full value of the .InputName property for reading a table column might look like the following:
ElemType: Table, Number: 1, ColNumber: 2
With abbreviated form without parameter names, the value would look like this:
Table, 1, 2
The parameters Number and Name can be used alternatively: the elements in question can be identified either by their number (starting at 1) or by their name. When reading a table column, multiple values may be returned. If the target is a header data field and the ProcessReadIndex[].ReadMultiValues property is enabled, an array of the scalar values by cell will be assigned to it. In the process, empty cell values are filtered out automatically. If the target is a table field, on the other hand, a corresponding row in the target table will be generated for each table row read.