Patent Document ID: 9400769
Application ID: 12537131

Base Claim:
1. A method for generating a document, comprising: receiving a first configuration of the document that includes a set of content items; generating, using a processor, alignment data representing a measure for an alignment of the content items in the first configuration, the alignment data including a plurality of alignment lines; and determining, using the alignment data, whether the content items are aligned with one another with an acceptable alignment, wherein the content items are determined to be aligned with one another with an acceptable alignment when a distance between any two adjacent alignment lines of the plurality of alignment lines is less than a first defined value or greater than a second defined value; wherein generating the alignment data comprises: using the processor to determine a set of collinear points for the first configuration defined by the edges of the content items; and using the determined set of points to generate the plurality of alignment lines for the first configuration; wherein the first defined value is 2 mm and the second defined value is 5 mm.

---

Claim 3:
3. The method as claimed in claim 1 , further comprising: using the processor to generate regularity data representing a measure for the disposition of content items in the first configuration; and using the regularity data to determine if the content items are positioned relative to one another in a way which is commensurate with a predefined style definition for the document.