IdxRichEditDocument Interface
Exposes the Rich Edit control functionality.
Declaration
IdxRichEditDocument = interface(IdxRichEditSubDocument)
Remarks
The IdxRichEditDocument interface extends its ancestor with members that allow you to:
Perform clipboard operations with the current selections and specified document ranges (Copy, Cut, and Paste);
Use the mail merge functionality (CreateMailMergeOptions and MailMerge);
Manage document sections (AppendSection, InsertSection, GetSection, GetSections, and Sections);
Save/load documents to/from files and stream objects (LoadDocument and SaveDocument);
Encrypt the opened document (SetEncryptionPassword);
Manage document styles (CharacterStyles, ParagraphStyles, TableStyles, GetCharacterStyles, GetParagraphStyles, and GetTableStyles);
Specify a measurement unit for the opened document (Unit, SetUnit);
Identify whether the opened document is empty (IsEmpty);
Manage selections in the opened document (GetSelections, GetSelection, SetSelection, Selection, and Selections);
Locate and move the caret in a document (GetCaretPosition, SetCaretPosition, and CaretPosition);
Obtain information in the default format in the opened document (DefaultCharacterProperties, DefaultParagraphProperties, DefaultTableProperties, GetDefaultCharacterProperties, GetDefaultParagraphProperties, and GetDefaultTableProperties);
Specify the opened document’s content in different formats (OpenXmlBytes, RtfText, Text, SetOpenXmlBytes, SetRtfText, and SetText);
Obtain the opened document’s content in different formats (GetOpenXmlBytes, GetRtfText, and GetText);
Work with numbering lists (GetAbstractNumberingLists, GetNumberingLists, AbstractNumberingLists, and NumberingLists);
Identify whether the opened document is protected (GetIsDocumentProtected and IsDocumentProtected);
Work with selections in headers and footers (ChangeActiveDocument);
Protect the opened document with a password and cancel protection (Protect and Unprotect).
The Rich Edit control’s Document property references the IdxRichEditDocument interface.