Back to Devexpress

IdxRichEditDocument Members

vcl-dxrichedit-dot-nativeapi-dot-idxricheditdocument-dot-underscore-members.md

latest43.6 KB
Original Source

IdxRichEditDocument Members

Exposes the Rich Edit control functionality.

Properties

NameDescription
AbstractNumberingListsProvides access to the collection of abstract numbering lists in the opened document.
ActiveSubDocumentProvides access to the currently edited subdocument in the document.
BookmarksProvides access to the collection of bookmarks in a document. Inherited from IdxRichEditSubDocument.
CaretPositionSpecifies the caret position in the opened document.
CharacterStylesProvides access to the collection of character styles in the opened document.
DefaultCharacterPropertiesProvides access to the default character formatting settings for a document.
DefaultParagraphPropertiesProvides access to the document’s default paragraph settings.
DefaultTablePropertiesProvides access to the document’s default table properties.
DocBytesSpecifies document content as a byte array (in the Microsoft Word® 97 – 2003 binary format).
FieldsProvides access to the collection of document fileds. Inherited from IdxRichEditSubDocument.
HyperlinksProvides access to the collection of hyperlinks in a document. Inherited from IdxRichEditSubDocument.
ImagesProvides access to the collection of both inline and floating images in a document. Inherited from IdxRichEditSubDocument.
IsDocumentProtectedIdentifies if the document is protected.
IsEmptyIdentifies if the document is empty.
LengthReturns the current document length (in characters). Inherited from IdxRichEditSubDocument.
NumberingListsProvides access to the collection of numbered lists in the document.
OpenXmlBytesSpecifies document content as a byte array (in the Office OpenXML format).
PageBackColorSpecifies the page background color. Inherited from IdxRichEditSubDocument.
ParagraphsProvides access to a collection of paragraphs. Inherited from IdxRichEditSubDocument.
ParagraphStylesProvides access to the paragraph style collection.
RangeProvides access to the current document’s range. Inherited from IdxRichEditSubDocument.
RtfTextSpecifies document content (as an RTF string).
SectionsProvides access to the collection of document sections.
SelectionSpecifies the selected range in the document.
SelectionsProvides access to the collection of selected document ranges.
ShapesProvides access to the collection of shapes (including floating images and text boxes) in a subdocument. Inherited from IdxRichEditSubDocument.
ShowPageBackgroundSpecifies if the page background color is displayed. Inherited from IdxRichEditSubDocument.
TablesProvides access to the collection of tables in the document. Inherited from IdxRichEditSubDocument.
TableStylesProvides access to the collection of table styles.
TextSpecifies document content (as a plain text string).
UnitSpecifies the unit used to measure all distances and dimensions in the document.
VariablesProvides access to the collection of document variables.

Methods

NameDescription
AddParagraphsToList(IdxRichEditDocumentRange,IdxRichEditNumberingList,Integer)Inherited from IdxRichEditSubDocument.
AddParagraphToList(IdxRichEditParagraph,IdxRichEditNumberingList,Integer)Inherited from IdxRichEditSubDocument.
AddParagraphToList(IdxRichEditParagraph,Integer,Integer)Inherited from IdxRichEditSubDocument.
AppendDocumentContent(IdxRichEditDocumentRange,TdxRichEditInsertOptions)Inherited from IdxRichEditSubDocument.
AppendDocumentContent(IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
AppendDocumentContent(TStream,TdxRichEditDocumentFormat,string,TdxRichEditInsertOptions)Inherited from IdxRichEditSubDocument.
AppendDocumentContent(TStream,TdxRichEditDocumentFormat,string)Inherited from IdxRichEditSubDocument.
AppendDocumentContent(TStream,TdxRichEditDocumentFormat)Inherited from IdxRichEditSubDocument.
AppendDocumentContent(string,TdxRichEditDocumentFormat,string,TdxRichEditInsertOptions)Inherited from IdxRichEditSubDocument.
AppendDocumentContent(string,TdxRichEditDocumentFormat,string)Inherited from IdxRichEditSubDocument.
AppendDocumentContent(string,TdxRichEditDocumentFormat)Inherited from IdxRichEditSubDocument.
AppendImage(TGraphic)Inserts a specified inline picture to the end of a subdocument. Inherited from IdxRichEditSubDocument.
AppendParagraphInserts an empty paragraph to the end of a subdocument. Inherited from IdxRichEditSubDocument.
AppendRtfText(string,TdxRichEditInsertOptions)Appends a formatted text string to the end of a subdocument. Inherited from IdxRichEditSubDocument.
AppendSectionAppends a new section to the document.
AppendSingleLineText(string)Adds a single line of text to the end of a subdocument. Inherited from IdxRichEditSubDocument.
AppendText(string)Adds the specified text string to the end of a subdocument. Inherited from IdxRichEditSubDocument.
BeginUpdateStops document redraw operations until an EndUpdate procedure call. Inherited from IdxRichEditSubDocument.
BeginUpdateCharacters(IdxRichEditDocumentPosition,Integer)Starts to update character properties of the document range defined by its length and position in a document. Inherited from IdxRichEditSubDocument.
BeginUpdateCharacters(IdxRichEditDocumentRange)Starts to update character properties of the specified document range. Inherited from IdxRichEditSubDocument.
BeginUpdateCharacters(Integer,Integer)Starts to update character properties of the document range defined by its length and position in a document. Inherited from IdxRichEditSubDocument.
BeginUpdateParagraphs(IdxRichEditDocumentRange)Starts to update the properties of one or more paragraphs to which the specified document range belongs. Inherited from IdxRichEditSubDocument.
BeginUpdateRangePermissionsInherited from IdxRichEditSubDocument.
CancelUpdateRangePermissions(IdxRichEditRangePermissionCollection)Inherited from IdxRichEditSubDocument.
ChangeActiveDocument(IdxRichEditSubDocument)
Copy
Copy(IdxRichEditDocumentRange)Copies the specified document range or selection(s) to the clipboard.
CreateBookmark(IdxRichEditDocumentPosition,Integer,string)Inherited from IdxRichEditSubDocument.
CreateBookmark(IdxRichEditDocumentRange,string)Creates a bookmark for the specified document range. Inherited from IdxRichEditSubDocument.
CreateHyperlink(IdxRichEditDocumentPosition,Integer)Inherited from IdxRichEditSubDocument.
CreateHyperlink(IdxRichEditDocumentRange)Creates a hyperlink for the specified document range. Inherited from IdxRichEditSubDocument.
CreateMailMergeOptionsCreates a container for settings usable in mail merge operations.
CreateNewDocumentCloses the opened document and creates a new blank document.
CreatePosition(Integer)Inherited from IdxRichEditSubDocument.
CreateRange(IdxRichEditDocumentPosition,Integer)Inherited from IdxRichEditSubDocument.
CreateRange(Integer,Integer)Inherited from IdxRichEditSubDocument.
Cut
Cut(IdxRichEditDocumentRange)Cuts the specified document range or selection(s) to the clipboard.
Delete(IdxRichEditDocumentRange)Deletes the specified text range from the document. Inherited from IdxRichEditSubDocument.
EndUpdateApplies all changes made after a BeginUpdate procedure call and unlocks document updates. Inherited from IdxRichEditSubDocument.
EndUpdateCharacters(IdxRichEditCharacterProperties)Applies the character property changes initiated by a BeginUpdateCharacters function call. Inherited from IdxRichEditSubDocument.
EndUpdateParagraphs(IdxRichEditParagraphProperties)Applies the pending paragraph property changes initiated by a BeginUpdateParagraphs function call. Inherited from IdxRichEditSubDocument.
EndUpdateRangePermissions(IdxRichEditRangePermissionCollection)Inherited from IdxRichEditSubDocument.
FindAll(TRegEx,IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
FindAll(string,TdxRichEditSearchOptions,IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
GetAbstractNumberingLists
GetActiveSubDocument
GetBookmarksReturns the current document’s bookmark collection. Inherited from IdxRichEditSubDocument.
GetCaretPositionReturns the caret position within the opened document.
GetCharacterStyles
GetDefaultCharacterProperties
GetDefaultParagraphProperties
GetDefaultTableProperties
GetDocBytesReturns the document’s content as a series of bytes in the DOC binary format.
GetFieldsReturns the current document’s field collection. Inherited from IdxRichEditSubDocument.
GetHyperlinksReturns the current document’s hyperlink collection. Inherited from IdxRichEditSubDocument.
GetImagesInherited from IdxRichEditSubDocument.
GetImages(IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
GetIsDocumentProtectedReturns a value indicating whether the document is protected from accidental modifications.
GetIsEmptyReturns a value indicating whether the document is empty.
GetLengthReturns the document’s absolute length (in characters). Inherited from IdxRichEditSubDocument.
GetNumberingListsReturns the document’s numbering list collection.
GetOpenXmlBytesReturns the entire document content in Office OpenXML (DOCX) format.
GetOpenXmlBytes(IdxRichEditDocumentRange)Returns the content of the specified document range in Office Open XML (DOCX) format. Inherited from IdxRichEditSubDocument.
GetPageBackColorReturns the current page background color. Inherited from IdxRichEditSubDocument.
GetParagraph(IdxRichEditDocumentPosition)Returns the paragraph encompassing the specified document position. Inherited from IdxRichEditSubDocument.
GetParagraphsInherited from IdxRichEditSubDocument.
GetParagraphs(IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
GetParagraphStylesReturns the document’s paragraph style collection.
GetRangeInherited from IdxRichEditSubDocument.
GetRtfTextReturns the entire document content as an RTF string.
GetRtfText(IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
GetSection(IdxRichEditDocumentPosition)Returns the section that encompasses the specified position in the document.
GetSectionsReturns the document’s section collection.
GetSelection
GetSelectionsReturns the document’s selection collection.
GetShapesInherited from IdxRichEditSubDocument.
GetShapes(IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
GetShowPageBackgroundInherited from IdxRichEditSubDocument.
GetSubDocumentTypeReturns the current subdocument type. Inherited from IdxRichEditSubDocument.
GetTablesInherited from IdxRichEditSubDocument.
GetTableStylesReturns the document’s style collection.
GetTextReturns all text within the document as an unformatted text string.
GetText(IdxRichEditDocumentRange,TdxRichEditTextFragmentOptions)Inherited from IdxRichEditSubDocument.
GetText(IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
GetUnitReturns the measurement unit used by the opened document.
GetVariablesReturns the document’s variable collection.
HasEncryptionPasswordIdentifies if the current document has an encryption password.
InsertDocumentContent(IdxRichEditDocumentPosition,IdxRichEditDocumentRange,TdxRichEditInsertOptions)Inherited from IdxRichEditSubDocument.
InsertDocumentContent(IdxRichEditDocumentPosition,IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
InsertDocumentContent(IdxRichEditDocumentPosition,TStream,TdxRichEditDocumentFormat,TdxRichEditInsertOptions)Inherited from IdxRichEditSubDocument.
InsertDocumentContent(IdxRichEditDocumentPosition,TStream,TdxRichEditDocumentFormat,string,TdxRichEditInsertOptions)Inherited from IdxRichEditSubDocument.
InsertDocumentContent(IdxRichEditDocumentPosition,TStream,TdxRichEditDocumentFormat,string)Inherited from IdxRichEditSubDocument.
InsertDocumentContent(IdxRichEditDocumentPosition,TStream,TdxRichEditDocumentFormat)Inherited from IdxRichEditSubDocument.
InsertDocumentContent(IdxRichEditDocumentPosition,string,TdxRichEditDocumentFormat,TdxRichEditInsertOptions)Inherited from IdxRichEditSubDocument.
InsertDocumentContent(IdxRichEditDocumentPosition,string,TdxRichEditDocumentFormat,string,TdxRichEditInsertOptions)Inherited from IdxRichEditSubDocument.
InsertDocumentContent(IdxRichEditDocumentPosition,string,TdxRichEditDocumentFormat,string)Inherited from IdxRichEditSubDocument.
InsertDocumentContent(IdxRichEditDocumentPosition,string,TdxRichEditDocumentFormat)Inherited from IdxRichEditSubDocument.
InsertImage(IdxRichEditDocumentPosition,TGraphic)Inserts an inline picture at the specified position in the parent document. Inherited from IdxRichEditSubDocument.
InsertParagraph(IdxRichEditDocumentPosition,TdxRichEditInsertOptions)Inherited from IdxRichEditSubDocument.
InsertParagraph(IdxRichEditDocumentPosition)Inherited from IdxRichEditSubDocument.
InsertPicture(IdxRichEditDocumentPosition,TGraphic)Inserts a floating picture at the specified position within the document. Inherited from IdxRichEditSubDocument.
InsertRtfText(IdxRichEditDocumentPosition,string,TdxRichEditInsertOptions)Inherited from IdxRichEditSubDocument.
InsertSection(IdxRichEditDocumentPosition)Inserts a new section into the document at the specified position.
InsertSingleLineText(IdxRichEditDocumentPosition,string)Inherited from IdxRichEditSubDocument.
InsertTable(IdxRichEditDocumentPosition,Integer,Integer,TdxRichEditAutoFitBehaviorType,Integer)Inherited from IdxRichEditSubDocument.
InsertText(IdxRichEditDocumentPosition,string)Inserts a text string at the specified position within the document. Inherited from IdxRichEditSubDocument.
InsertTextBox(IdxRichEditDocumentPosition)Inserts a floating text box at the specified position within the document. Inherited from IdxRichEditSubDocument.
LoadDocument(TStream,TdxRichEditDocumentFormat,string)Imports a document from a specified stream (in any supported format).
LoadDocument(TStream,TdxRichEditDocumentFormat)Imports a document from a stream (in any supported format).
LoadDocument(string,TdxRichEditDocumentFormat,string)Imports a document from a file (in any supported format).
LoadDocument(string,TdxRichEditDocumentFormat)Imports a document from the specified file.
MailMerge(IdxRichEditDocument)
MailMerge(IdxRichEditMailMergeOptions,IdxRichEditDocument)
MailMerge(IdxRichEditMailMergeOptions,TStream,TdxRichEditDocumentFormat)
MailMerge(IdxRichEditMailMergeOptions,string,TdxRichEditDocumentFormat)
MailMerge(TStream,TdxRichEditDocumentFormat)
MailMerge(string,TdxRichEditDocumentFormat)
Paste
Paste(TdxRichEditDocumentFormat)Inserts the clipboard content into the opened document.
Protect(string)Enforces the opened document’s password protection from accidental changes.
RemoveBookmark(IdxRichEditBookmark)Removes the specified bookmark from a subdocument. Inherited from IdxRichEditSubDocument.
RemoveHyperlink(IdxRichEditHyperlink)Removes the specified hyperlink from a subdocument. Inherited from IdxRichEditSubDocument.
RemoveNumberingFromParagraph(IdxRichEditParagraph)Inherited from IdxRichEditSubDocument.
RemoveNumberingFromParagraphs(IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
Replace(IdxRichEditDocumentRange,string)Replaces the specified document range with a provided text string. Inherited from IdxRichEditSubDocument.
ReplaceAll(TRegEx,string,IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
ReplaceAll(string,string,TdxRichEditSearchOptions,IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
SaveDocument(TStream,TdxRichEditDocumentFormat)Exports document content to a stream (in any supported format).
SaveDocument(string,TdxRichEditDocumentFormat)Exports document content to a file (in any supported format).
SelectAllSelects everything within the current document. Inherited from IdxRichEditSubDocument.
SelectBookmark(IdxRichEditBookmark)Selects a document range associated with the specified bookmark. Inherited from IdxRichEditSubDocument.
SetCaretPosition(IdxRichEditDocumentPosition)Moves the caret to the specified position within the opened document.
SetDocBytes(TBytes)Replaces the document’s content with another document in the DOC binary format.
SetEncryptionPassword(string)Assigns an encryption password to the current document.
SetOpenXmlBytes(TBytes)Replaces the document’s content with a series of bytes in the DOCX (OpenXML) document format.
SetPageBackColor(TdxAlphaColor)Inherited from IdxRichEditSubDocument.
SetRtfText(string)Replaces the current document’s content with the specified RTF-formatted string.
SetSelection(IdxRichEditDocumentRange)
SetShowPageBackground(Boolean)Inherited from IdxRichEditSubDocument.
SetText(string)
SetUnit(TdxRichEditDocumentUnit)Assigns a measurement unit to be used in the opened document.
StartSearch(TRegEx,IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
StartSearch(string,TdxRichEditSearchOptions,TdxRichEditSearchDirection,IdxRichEditDocumentRange)Inherited from IdxRichEditSubDocument.
UnprotectDisables the document’s protection from accidental modifications.

See Also

IdxRichEditDocument Interface

dxRichEdit.NativeApi Unit