摘要 |
<p>A three-way separation of information in a document (32) includes content, design and media aspects. This division supports automatic rendering to multiple forms of media such as print, Intranet, Internet, and OLE embedding. An information data structure includes three tree structures. A design tree structure (54) represents the design of a composition (38) and includes design components. A content tree structure (52) represents the content of the composition (38) and includes content elements. A media tree structure (56) represents the selected medium of the composition (38) and includes media components. The content and media tree structures are linked (57) to the design tree structure. The design tree structure, the content tree structure and the media tree structure are unique but utilize at least some common components (68) from one another. A component data structure (120) represents a content element within a composition (38). The component (86) includes a content facet (62), a design facet (64) and a media facet (66). The content facet includes content properties (80) related to the content element. A design facet includes a design parent pointer to a parent design component (84) and design properties. A media facet includes a media parent pointer to a parent media component and region properties (260) indicating a region occupied by the content element within the composition. A media division data structure (392-398) is associated with a parent component in a media tree structure (390) of a composition and indicates a portion of the layout for each media component. One method (500) adds content to a composition having a chosen design and automatically calculates a layout for the composition. A content drop table data structure (350) is used to assist in dropping content onto a composition (38). A second method (900) changes the design of a composition having a current design that is rendered in a particular medium. A third method (950) changes the medium of a composition having a current design. A fourth method (520) fits content elements of a composition to a media layout. A fifth method (708) computes a layout of a composition in a recursive fashion using a design tree.</p> |