- The properties of the elements.
Any properties of an element and its search constraints may link only to elements which are located above this element in the FlexiLayout tree. If the program detects an element that does not meet this requirement, the faulty element will be highlighted. - The properties of the blocks.
Blocks may not refer to non-existent or disabled elements. - The expressions written in the FlexiLayout language (Advanced tab).
- The code of the expressions must have no syntax errors.
- Additional constraints set on the Advanced tab in the Advanced pre-search relations field must refer only to elements located above the given element in the FlexiLayout tree. Additional constraints set on the Advanced tab in theAdvanced post-search relations field must refer only to the element itself and to elements located above the given element in the FlexiLayout tree. If the program detects an element that does not meet this requirement, the faulty element will be highlighted.
- All the global constants used in the code must be specified.
- All the variables used in the code must be declared and initialized.
- The code may refer only to entities available in the corresponding sections of the code.
- The properties of blocks may refer only to the regions of elements.
- For an element of a particular type, you can specify only properties available for this type. For example, you cannot specify Max width for a Static Text element.
Debugging the FlexiLayout
Building the FlexiLayout
FlexiLayout building is a process whereby ABBYY FlexiLayout Studio checks a FlexiLayout for errors, including errors in search areas, additional search criteria, the properties of the FlexiLayout blocks, and the element properties that contain the parameters of search objects.
The program will check:
