TdxRichEditCustomDocumentServer Class
The base class for the document server component.
Declaration
TdxRichEditCustomDocumentServer = class(
TComponent,
IdxRichEditDocumentServer,
IdxBatchUpdatable,
IdxServiceContainer,
IdxServiceProvider,
IdxInternalRichEditDocumentServerOwner
)
Remarks
This class has the following members that allow you to:
Customize document server settings (Options).
Load and save documents (LoadDocument, LoadDocumentTemplate, and SaveDocument).
Ensure that a document is completely loaded (OnDocumentLoaded).
Respond to content changes in the opened document (OnContentChanged).
Copy documents between Rich Edit control and document server instances in all supported formats (DocBytes, HtmlText, OpenXmlBytes, RtfText, and Text).
Improve application performance in case of batch changes made to the document server or its document (BeginUpdate, EndUpdate, and CancelUpdate).
Identify if changes immediately affect the document server (IsUpdateLocked).
Close the opened document and create a new blank document (CreateNewDocument).
Edit the opened document (Document).
Generate a set of documents based on a single template (CreateMailMergeOptions and MailMerge).
Manage services (AddService and RemoveService).
Do not use the TdxRichEditCustomDocumentServer class directly. Use its descendant instead.