The invention discloses an automatic page type setting method and belongs to the technical field of cross-media publishing, digital publishing, network printing and the like. In an existing type setting process, generally a manual method is adopted to set type of words and corresponding images, and the efficiency is low; or the automatic type setting is conducted on words or images separately only for the condition that the page column number is fixed, the pages are monotonous, and the complex conditions when a page contains multiple image and word elements can not be satisfied. According to the method, the words and images to be set are transformed into formative content, parameterized rectangle blocks are formed, then according to the area of the rectangle blocks, constraint information is judged, automatic type setting is conducted according to a sequencing and locating method, and in the type setting process, according to the page layout, an optimal automatic type setting result is finally obtained through a recall mode. By the adoption of the method, the matching and locating on words and images can be conducted rapidly and automatically, the accurate position and relative position relation of the words and images on the page are guaranteed, and the type setting efficiency is greatly improved.