1. A method of classifying elements of a document, comprising: receiving a data file defining a document having at least one page and a plurality of elements, wherein a type, location, and size of each element is defined by the file; and classifying at least one selected element of a selected page into one of a plurality of categories based on at least one of the type, location, size, and dimension of the selected element.