aspnet-115151-components-rich-text-editor-document.md
The DevExpress Rich Text Editor (RichEdit) is implemented based on the flow document concept that enables a document to “reflow content” depending on the environment variables (such as window size, device resolution) and optional user preferences. For this reason, the RichEdit defines two types of structures for a document.
Document Model
Document Layout
In general, RichEdit processes a document in the following order:
When RichEdit opens a document of the supported format, the Document Model is built first for the document.
RichEdit’s _ Layout Engine _ converts the Document Model into the Document Layout.
RichEdit visualizes the Document Layout by rendering the HTML code in a web page to display the document.
The structural elements of a document are described in more detail in the following articles.
Note
The ASPxRichEdit control internally uses a comprehensive API (a set of interfaces, methods, events and commands) implemented by the RichEdit Core Library. This API is not publicly exposed at the ASPxRichEdit control level.
However, if you want to get familiarized with the RichEdit’s document internal implementation, you can refer to the Document Server’s Fundamentals - Document topic which lists the most important entities of the RichEdit API.