Sample 4. Step 7: Table column names, TableHeader group
We will use a Table element to search for the Invoice Table field. However, some preparations have to be done: we have to detect the column names first. In this sample, auxiliary elements are used to search for column names.
Therefore, before we start searching for the fields, we need to create a number of elements.
To described the column names, create a TableHeader group, which will include the descriptions of all the column names. Also, limit the search area to the first page.
To create a TableHeader element:
- In the tree of elements, create an element of type Group and name it TableHeader.
- Click the Search Constraints tab and specify the search area for the element:
- Select the Absolute search area constraints option.
- In the Pages field, select Range from the drop-down list.
- In the Range field, type 1.
- In the Region field, keep the default value.
- Click the Add... button.
We will use Static Text elements to search for the column names.
In the TableHeader group, create the following elements:
- kwDesignation element: see detailed instructions in Step 7.1,
- ExtraQtyTag element: see detailed instructions in Step 7.2,
- kwQuantity element: see detailed instructions in Step 7.3,
- kwUnitPrice element: see detailed instructions in Step 7.4,
- kwTotal element: see detailed instructions in Step 7.5,
- kwReference element: see detailed instructions in Step 7.6,
- kwSales element: see detailed instructions in Step 7.7,
- kwUnit element: see detailed instructions in Step 7.8.
12.04.2024 18:16:02