Patent ID: 8171391

Claim:
A computer-implemented method of specifying the logical structure for a form, comprising: creating a structure of element locations; creating a structure of element connections; and specifying the logical structure as a layout of simple and compound elements and their relations comprising: (a) a list and description of varieties of elements detectable on the form; (b) an algorithm of specifying search constraint for each element; (c) a set of at least the following characteristics of searching for each simple and compound element: (1) spatial characteristics for a search area; (2) parametric characteristics of the element, and (d) a method of identifying each element, testing a type of the element, testing distinctive properties based on element type, and testing completeness of composition of parts of the element, based on: (1) values of absolute spatial characteristics of the element, (2) values of relative spatial characteristics of the element; (3) values of parametric characteristics of the element; (4) a rule of assigning quality ratings to obtained elements; and (5) a method of decreasing a number of variants of a composition of a compound element, and a method of accelerating the search for the best variant.