- In the SumGroup element, create an element of type Static Text and name it kwTotal.
- Click the Static Text tab.
- In the Search text field, specify the text to search for:
TotalChf|CarriedOver|Total. - Set Max error percentage to 20.
- Click the Search Constraints tab and limit the search area to the last page:
- Select Absolute search area constraints
- In the Pages field, select Last from the drop-down list
- Do not select any other options
- Click the Add button. The search area will appear in the Search areas list

- Click the Advanced tab.
-
Among the many detected elements that contain the specified text, you must select the one that is located closest to the bottom boundary of the table. This location allows you to influence the quality of the hypotheses. In Advanced post-search relations specify additional parameters for the hypothesis: If a non-null hypothesis has been generated, calculate the distance between the upper boundary of the detected element and the bottom boundary of the last table detected in the document. Then check if this distance belongs to the specified fuzzy interval. In the FlexiLayout language, this condition can be written as follows:
