Skip to main content
The footer of the table can begin with the keywords Carried Over, Total Chf, Goods total excl. tax, Discount, and SPECIAL DISCOUNT. List all these variants in the search text of the Static Text element.
1

Create the Static Text element

In the Footer element, create an element of type Static Text and name it kwFooter.
2

Enter the search text

Click the Static Text tab. In the Search text field, enter the text to find: Discount|TotalCHF|SPECIALDISCOUNT|Carriedover|Goodstotalexcl.tax.
3

Add the search constraint

Click the Advanced tab. The sought keywords appear in the left half of the image. If FlexiLayout Studio detects several of the keywords, only the topmost one is of interest. In the Advanced pre-search relations field, set this additional search constraint: look for the object in the left half of the page, and look for the object nearest to the top edge of the page. In the FlexiLayout language:
4

Verify the match

Match the FlexiLayout with the test images and confirm that FlexiLayout Studio detects the element on every applicable image.
When a field name can differ from image to image, list all the possible variants of the name, or at least most of them. Ask for more test images or contact the customer to learn the possible field name variants on documents of this type.