Show Properties dialog tab, Columns tab
Show Properties dialog tab, Columns tab

Selecting a Table block
Each Table element must correspond to a Table block, for which search it intends. To select a Table block, click the Select button and select the Table block which corresponds to the current Table element. A list of all its columns will appear in the List1 field. Set the properties for each of the columns - these will be used as search constraints when looking for the columns.- The list of the columns of the block displayed on the Columns tab in the element’s Properties dialog box cannot be edited in this dialog box. To edit the list, you need to open the Properties dialog box of the block.
- To better understand how an element and its corresponding block are connected, consider the following: a Table block serves as an interface between the FlexiLayout and a data capture application, whereas a Table element is the implementation of that interface. A Table element contains the instructions about how to find the Table block. You can create several program implementations for any interface. Likewise, you can create several Table elements for a Table block (but not the other way round).
Disabling a table column
When testing your FlexiLayout, you may need to disable a column without removing it from the FlexiLayout altogether. Disabling a column retains all the information about the column in the FlexiLayout but tells the program to ignore the column when testing the FlexiLayout. To disable a column, select the column you wish to disable in the List1 field and click Disable. This will clear the check mark next to the name of the column. To enable the column, select its name in the list and then click Enable.Setting search constraints for table columns
The search constraints for table columns are set in the columns’ Properties dialog box. To open the Properties dialog box of a column, select the column in the List1 field and then click the Properties… button next to the field.Show Properties of Column dialog box
Show Properties of Column dialog box

Using key words to detect the names of columns
To detect the name of a column by means of keywords, select the Detect by keyword in name option. In the field below, enter the keywords or phrases which occur in the column name on the test images. Press Enter after typing each keyword. If you wish the program to use only whole words when looking for the names of the columns, select the Whole words only option. In a narrow column, words in the name will often be carried over to the next line. Select the Multi-line name option to detected column names like that. Since one and the same column may have different names on different images, the list of keywords must include all the possible variants which may actually occur. However, on some of the images the column may have no name at all or may be absent altogether. For this reason, the name of a column is always optional. This means that the name of a column need not be found when matching the FlexiLayout with the images. If a keyword is not found (either because it is actually absent or because the quality of the image is inadequate for OCR), the hypothesis will be penalized - its quality will be multiplied by the quality of the null hypothesis for the non-detected keyword. The penalty for the hypothesis is set in the Missing keyword penalty field. The default value is 0.97.Using the region of another element to detect the names of columns
You can use an already found element to find the name of a column. This allows you to set additional search constraints on the keyword. This method also allows you to look not only for Static Text, but also for a Character String, for Inverted Text, or just for a region. To find the name of a column by means of an already found element, select the Use found element as column name option, next clickChecking whether the column has been detected correctly
When looking for columns, the program uses not only information about their names, but also the information about their content. Thus, if you know that a particular column contains a particular type of data, you can specify this in order to help the program detect the column more reliably. To enable FlexiLayout Studio to check the data type in a column, select the Check content type option and in the Type of column content field specify one of the available data types that the column is likely to contain:- Text;
- Currency;
- Date;
- Regular expression;
- Number.
Regular Expression Alphabet
Regular Expression Alphabet
Name in the list | Symbol in the field | Example |
Any character | * | “k”*“t” – allows ‘kit’, ‘kat’, etc. |
Letter | C | C”at” – allows cat, bat, Rat, mat, etc. |
Upper case letter | A | A”at” – allows Cat, Bat, Rat, Mat, etc.. |
Lower case letter | a | a”at” – allows car, bat, rat, mat, etc. |
Letter or digit | Х | X – allows any single letter or digit. |
Digit | N | N”th” allows 5th, 4th, 6th, etc. |
String | "" | "cat” |
Or | | | “dr”(“i”|“u”)“nk” – allows “drink” or “drunk”. |
Character from the set | [] | [hm]“at” – allows ‘hat’ or ‘mat’. |
Character not from the set | [^] | [^b]“at” – allows ‘cat’, ‘mat’, ‘rat’, but does not allow bat. |
Any number of repeats (applies to the expression or sub-expression to the left) | {-} | [AB74]{-} – allows any combination of A, B, 7, 4 of any length. |
Number of repeats is n | {n} | N{2}“th” allows 25th, 84th, 11th, etc. |
n to m repeats | {n-m} | N{1-3}“th” allows 5th, 84th, 111th, etc. |
0 to n repeats | {-n} | N{-2}“th” allows th, 84th, 4th, etc. |
n or more repeats | {n-} | N{2-}“th” allows 25th, 834th, 311th, 34576th, etc. |
Subexpression | () |
