Skip to main content

Document

DXRichEdit Suite 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 RichEditControl, 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 Document Layout is visualized by the Active View of RichEditControl.

The Document and the SubDocument interfaces are the entry points for programmatic access and modification of the document. Refer to the DevExpress.XtraRichEdit.API.Native topic which lists the most important entities of the RichEdit API.

The structural elements of a document are described in more detail in the following articles.