Document Structure

Word Processing Document API defines two types of structures for a document. First, the logical structure of a document, named Document Model, which reflects its logical hierarchical organization. Second, the physical structure, which represents the appearance of physical entities in a document. This is called the Document Layout, since it is a hierarchical description of a layout of a document.

When a document is processed by RichEditDocumentServer, the Document Model is initially built. Then the Layout Engine converts the Document Model into the Document Layout. So in general, there is no one to one correspondence between physical and logical entities.

The following articles describe document structures in more detail: