- The selected pages are pre-recognized. For each page, the correct orientation is automatically selected based on the pre-recognition language.
- The first page in the document is detected.
- The last page in the document is detected.
- The FlexiLayout is matched with the detected pages.
- 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.
- Whether this page is redundant (its number in the document is greater than the maximum number of pages MaxPages).
- Whether this page contains a Header element (this check is performed with the Footer element is optional).
- Whether this page contains a Footer element.
