Patent ID: 8719699

Claim:
A method of populating a template to present content within a document, wherein the method includes, in a processing system: a) generating from the template, a component list including a plurality of components, wherein the plurality of components include: i) at least one content region; and, ii) at least one of: (1) a frame; (2) a template perimeter; and, (3) an object; b) determining from the template a number of links defining a respective spatial relationship between any two components; c) populating the at least one content region with the content, wherein a spatial size of the at least one content region is dynamically set based on populating the at least one content region with the content; d) for each component in the component list: i) determining from any links associated with the respective component whether the spatial position of the respective component is defined; and ii) removing the component from the component list in response to a successful determination; e) if there are no components remaining in the component list, generating a representation of each component in the document using the defined spatial positions; f) if there are components remaining in the component list, and a component was removed during previous execution of step (d)(ii), repeating step (d); and, g) if there are components remaining in the component list, and no component was removed during previous execution of step (d)(ii), determining that the spatial position of the remaining components cannot be determined, wherein if it is determined that the spatial position of the remaining components cannot be determined, presenting an error.