Patent ID: 7203902

Claim:
A method of composing a document comprising: defining a plurality of content portions to be fitted to the document; defining a content layout for the document, which defines at least two containers into which content portions are to be fitted; generating a first set of solutions for a first one of the containers, each solution of the first set of solutions comprising a combination of content, which fit within the container in accordance with one or more rules; generating a second set of solutions for a second one of the containers, each solution of the second set of solutions comprising a combination of content which fit within the second container in accordance with one or more rules; referencing the first set with the second set to determine an allowable combination of solutions which fit the first and second containers in which all of the contents in the solution for the first container differ from the contents in the solution for the second container, wherein the generating the first set of solutions and the second set of solutions comprises generating solutions which comprise an array of binary data, an entry in the array corresponding to each of the content portions in the predefined selection of content portions and each having a first value if the corresponding content portion is present in the solution and a second value if the corresponding content portion is not present within the solution represented by the array; and composing the document based on the determined allowable combination of solutions.