Patent ID: 7937654

Claim:
A method for reflowing a page, comprising: receiving, in a processor, a page represented in a page description language, the page including a plurality of page objects that include at least one item of text and at least one graphical element; and changing a size of the page to a changed size in a first dimension without changing the size of the page objects, while maintaining spatial relationships between the page objects in a second dimension, wherein changing the size includes creating one or more new pages having the changed size as in the first dimension, and, adding textual and graphical elements to the one or more new pages, wherein adding includes identifying distances in the second dimension between one or more textual elements and one or more graphical elements, and adding the textual elements to the one or more new pages and the graphical elements to the one or more new pages based on the distances in the second dimension and positions of the scaled textual elements in the one or more new pages, wherein identifying distances includes creating a map containing the positions of the textual elements in the page, and augmenting the map with the positions of the textual elements in the one or more new pages to produce a relationship for each textual element between the position of the textual element in the page and the position of the textual element in the one or more new pages, wherein the graphical elements are added to the one or more new pages according to the map.