Constrained document layout
First Claim
Patent Images
1. A method of laying out a page which is to contain a plurality of discrete document elements, comprising:
- receiving a hierarchical page description describing layout of the discrete document elements on the page, wherein the hierarchical page description contains two or more hierarchical levels, each of the discrete document elements is placed at one of the hierarchical levels;
optimising layout of the page described by the hierarchical page description by one or more rearrangement operations, where each rearrangement operation rearranges elements at a single hierarchical level, to minimise the value of a cost function; and
laying out the discrete document elements on the page according to the optimised hierarchical page description layout.
1 Assignment
0 Petitions
Accused Products
Abstract
A description of document elements to be laid out on a page, comprises two or more hierarchical levels; wherein each document element is placed at one of the hierarchical levels; and elements at a lower hierarchical level are associated with a document element at a next higher hierarchical level. Page layout according to such a document description may be optimised discretely at different hierarchical levels without affecting constraints.
-
Citations
20 Claims
-
1. A method of laying out a page which is to contain a plurality of discrete document elements, comprising:
-
receiving a hierarchical page description describing layout of the discrete document elements on the page, wherein the hierarchical page description contains two or more hierarchical levels, each of the discrete document elements is placed at one of the hierarchical levels;
optimising layout of the page described by the hierarchical page description by one or more rearrangement operations, where each rearrangement operation rearranges elements at a single hierarchical level, to minimise the value of a cost function; and
laying out the discrete document elements on the page according to the optimised hierarchical page description layout. - View Dependent Claims (2, 3, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
4. A method as claimed in claim 4, wherein at a hierarchical level rearrangement operations are carried out only on document elements forming part of a group represented as a document element at the next higher hierarchical level.
-
13. A description of document elements to be laid out on a page, comprising:
-
two or more hierarchical levels;
whereineach document element is placed at one of the hierarchical levels; and
elements at a lower hierarchical level are associated with a document element at a next higher hierarchical level, such that the description is representable as a tree with a primitive document element at each leaf node and with a representation of a group of document elements at each branching node, and wherein each branching node represents a constraint place on the element of the group that is represented at that branching node. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
-
20. A method of generating a description of document elements to be laid out on a page, comprising:
-
identifying primitive document elements to be laid out on the page;
identifying constraints on the layout of the primitive document elements on the page;
constructing a hierarchical page description with a plurality of hierarchical levels, each primitive document element being placed at one of the hierarchical levels, and each document element at a lower hierarchical level being linked by one of the constraints to a document element at a next higher hierarchical level.
-
Specification