1. A method for creating a flexible structure description for a multi-page document, the method comprising: acquiring electronic images of pages of at least one multi-page sample document; determining a minimum number of pages to be used in creating the flexible structure description from the electronic images of pages of the at least one multi-page sample document; determining a maximum number of pages to be used in creating the flexible structure description from the electronic images of pages of the at least one multi-page sample document; identifying a first page for the flexible structure description from the multi-page sample document; identifying a last page for the flexible structure description from the multi-page sample document; from the at least one multi-page sample document, determining a range of pages in which an element of the multi-page document may be detected; and storing information related to at least one of the minimum number of pages, the maximum number of pages, the first page identification, the last page identification, and the range of pages for one or more elements for the flexible structure description.