摘要 |
A data structure is provided for storing a digital document to be rendered on a printer or viewer. The data structure includes a plurality of objects that define the content and layout of the document. The objects include at least one graphics object representative of a portion of at least one of the pages, a page object for each page, a document root object, a job object, and an index object. A canvas object can be provided which includes a list of graphics objects to be rendered on the associated page and the coordinates on the page at which each graphics object is located. Each page object includes a reference to the at least one graphics object, or a canvas object, for that page, and each document root object includes a list of the page objects for the document. The job object includes a list of all the document root objects for the documents to be rendered by the data structure, and the index object identifies the location of each of the objects in the data structure.
|