Advanced pre-search relations
Advanced pre-search relations set search constraints and element properties in a special FlexiLayout language. The pane where you can enter your code can be found on the Advanced tab of the Properties dialog box.
The code you enter into the Advanced pre-search relations pane is executed immediately before searching for the image object that corresponds to the FlexiLayout element. First, the program will use the properties you specified on the tabs to the left of the Advanced tab, and then it will run the code. If a particular parameter is specified both on a tab to the left of the Advanced tab and in the code on the Advanced tab, the code will have priority. If a parameter is specified on a tab to the left of the Advanced tab but is not specified in the code, the value of the parameter from the relevant tab will be used.
Note.The SearchText function (Static Text element) is an exception. This function willaddsearch words to those already specified on the Static Text tab.
If you have specified some properties on any of the tabs to the left of the Advanced tab, you can translate them into code by clicking the Code button on the Advanced tab. The generated code can then be copied or edited.
Note.The additional constraints entered in the Advanced pre-search relations pane may only refer to elements located above the current element in the FlexiLayout tree. The only exception are the subelements of the same Repeating Group element, which may refer to previous instances of subelements located in the same group below the given element.
Examples
Specifying different values for the same parameter
Limiting the search area
Canceling the search for an object
Selecting a hypothesis
Using Advanced pre-search relations
for multi-page documents
See also:
12.04.2024 18:16:02