English (English)

Matching a multi-page FlexiLayout

To match a FlexiLayout with multiple pages, select the pages in the Batch or in the Image window and then select Match FlexiLayout from the shortcut menu. The application will attempt to match the FlexiLayout as follows:

  1. The selected pages are pre-recognized. For each page, the correct orientation is automatically selected based on the pre-recognition language.
  2. The first page in the document is detected.
  3. The last page in the document is detected.
  4. The FlexiLayout is matched with the detected pages.
  5. If the FlexiLayout matches the pages, steps 2-4 are performed for the page following the recognized document. If the FlexiLayout does not match, the steps are performed starting with the next page.

The first page in the selection becomes the first page of the document. Next, the program will treat the page following the last page of the previous document as the first page of the new document.

If the FlexiLayout has a set number of pages (the possible number of pages is specified in the FlexiLayout properties), the last page is detected based on the specified number of pages. If the number of pages may vary in the range [MinPages, MaxPages], the program will check if a Footer element is present on the last page with the number MinPages. If this page contains a Footer element, it is deemed to be the last page in the document. Otherwise, the program will check the following conditions for each next page starting from MinPages+1):

  1. Whether this page is redundant (its number in the document is greater than the maximum number of pages MaxPages).
  2. Whether this page contains a Header element (this check is performed with the Footer element is optional).
  3. Whether this page contains a Footer element.

If 1 or 2 is true, the preceding page is selected as the last page in the document. If 3 is true, the current page is selected as the last page in the document.

25.05.2023 7:55:03

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.