Click or drag to resize
RadDocumentEditor Class
Defines RadDocument editor.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Documents.ModelRadDocumentEditor

Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Documents (in Telerik.Windows.Documents.dll) Version: 2017.3.1018.40 (2017.3.1018.40)
Syntax
public class RadDocumentEditor : IDocumentEditor, 
	ITextInputCommandsHandler

The RadDocumentEditor type exposes the following members.

Constructors
  NameDescription
Public methodRadDocumentEditor
Initializes a new instance of the RadDocumentEditor class.
Top
Methods
  NameDescription
Public methodAcceptAllRevisions
Accepts all revisions in the document.
Public methodAcceptRevision
Accepts revision.
Public methodAddTabStop
Public methodAddTabStopRange
Public methodBeginUndoGroup
Begins new undo group.
Public methodCancelUndoGroup
Cancels current undo group.
Public methodChangeAllFieldsDisplayMode
Changes the display mode of all fields in the document.
Public methodChangeBaselineAlignment
Public methodChangeBibliographicStyle
Changes the bibliographic style of all bibliography related fields in the document.
Public methodChangeDifferentFirstPageHeaderFooter
Public methodChangeDifferentOddAndEvenPagesHeaderFooter
Public methodChangeDocumentDefaultTabWidth
Public methodChangeDocumentElementTag
Changes the Tag property of a specified DocumentElement.
Public methodChangeDocumentEndnotesFirstNumber
Public methodChangeDocumentEndnotesNumberingFormat
Public methodChangeDocumentEndnotesNumberingRestartType
Public methodChangeDocumentEndnotesPosition
Public methodChangeDocumentFootnotesFirstNumber
Public methodChangeDocumentFootnotesNumberingFormat
Public methodChangeDocumentFootnotesNumberingRestartType
Public methodChangeDocumentFootnotesPosition
Public methodChangeDocumentIsStrictLineBreakingRuleEnabled
Public methodChangeDocumentLineBreakingRuleLanguage
Public methodChangeDocumentNoLineBreaksAfterRule
Public methodChangeDocumentNoLineBreaksBeforeRule
Public methodChangeFieldDisplayMode
Changes the field display mode.
Public methodChangeFontFamily
Public methodChangeFontSize
Public methodChangeFontStyle
Public methodChangeFontWeight
Public methodChangeForeColor
Public methodChangeHighlightColor
Public methodChangeImageRotateAngle
Changes the image rotate angle.
Public methodChangeImageSize
Changes the size of the image.
Public methodChangeParagraphAutomaticSpacingAfter
Public methodChangeParagraphAutomaticSpacingBefore
Public methodChangeParagraphBackground
Public methodChangeParagraphFirstLineIndent
Public methodChangeParagraphFlowDirection
Public methodChangeParagraphIsLineBreakingRuleEnabled
Public methodChangeParagraphLeftIndent
Public methodChangeParagraphLineSpacing(Double)
Public methodChangeParagraphLineSpacing(Double, LineSpacingType)
Public methodChangeParagraphLineSpacingType
Public methodChangeParagraphListLevel
Public methodChangeParagraphListStyle(ListStyle)
Public methodChangeParagraphListStyle(ListStyle, IEnumerableParagraph)
Public methodChangeParagraphRightIndent
Public methodChangeParagraphSpacingAfter
Public methodChangeParagraphSpacingBefore
Public methodChangeParagraphStyle
Public methodChangeParagraphTextAlignment
Public methodChangeSectionActualPageMargin
Public methodChangeSectionColumns(SectionColumnCollection)
Changes the section columns for a given Section.
Public methodChangeSectionColumns(SectionColumnsLayout)
Changes the section columns for a given collection of Section elements.
Public methodChangeSectionEndnotesFirstNumber
Public methodChangeSectionEndnotesNumberingFormat
Public methodChangeSectionEndnotesNumberingRestartType
Public methodChangeSectionFirstPageNumber
Public methodChangeSectionFooter
Changes the section footer.
Public methodChangeSectionFooterBottomMargin
Public methodChangeSectionFooterLinkToPrevious
Changes the value indicated whether the a section footer should be linked to the footer of the previous section.
Public methodChangeSectionFootnotesFirstNumber
Public methodChangeSectionFootnotesNumberingFormat
Public methodChangeSectionFootnotesNumberingRestartType
Public methodChangeSectionHeader
Changes the section header.
Public methodChangeSectionHeaderLinkToPrevious
Changes the value indicated whether the a section header should be linked to the header of the previous section.
Public methodChangeSectionHeaderTopMargin
Public methodChangeSectionPageMargin
Public methodChangeSectionPageOrientation
Public methodChangeSectionPageSize
Public methodChangeSpanStyle
Public methodChangeStrikethrough
Public methodChangeStyleName(String)
Applies style with a given name to the selected elements in the document.
Public methodChangeStyleName(String, Boolean)
Applies style with a given name to the selected elements in the document.
Public methodChangeTableBorders
Public methodChangeTableCellBackground
Public methodChangeTableCellBorders(Border)
Public methodChangeTableCellBorders(TableCellBorders)
Public methodChangeTableCellContentAlignment
Public methodChangeTableCellHorizontalContentAlignment
Public methodChangeTableCellPadding
Public methodChangeTableCellSpacing
Public methodChangeTableCellVerticalContentAlignment
Public methodChangeTableDefaultCellPadding
Public methodChangeTableFlowDirection
Public methodChangeTableGridColumnWidth
Changes the width of a table column.
Public methodChangeTableHorizontalAlignment
Public methodChangeTableIndent
Public methodChangeTableLayoutMode
Public methodChangeTableLook
Public methodChangeTablePreferredWidth
Public methodChangeTableRowHeight
Public methodChangeTableRowRepeatOnEveryPage
Public methodChangeUnderlineColor
Public methodChangeUnderlineDecoration
Public methodClearAllFormatting
Public methodClearFormatting
Public methodClearParagraphFormatting
Public methodClearTabStops
Public methodContinueListNumbering
Removes all paragraphs from the current list and continues the first possible list before that paragraph. The paragraph should be in list and should be first in the list, otherwise this method does nothing.
Public methodCopy
Copies currently selected document elements into the clipboard
Public methodCut
Executes the Cut command.
Public methodDecreaseLeftIndent
Public methodDecrementFontSize
Public methodDecrementParagraphLeftIndent
Public methodDelete
Deletes from the document respecting CaretPosition and Selection.
Public methodDeleteAllComments
Deletes all comments in the document.
Public methodDeleteAnnotationRange
Deletes an annotation range.
Public methodDeleteBookmark(String)
Deletes a bookmark.
Public methodDeleteBookmark(BookmarkRangeStart)
Deletes a bookmark.
Public methodDeleteCodeBlock
Deletes a code block.
Public methodDeleteComment
Deletes the current comment.
Public methodDeleteComment(CommentRangeStart)
Deletes a comment.
Public methodDeleteHyperlink
Deletes the current hyperlink.
Public methodDeleteHyperlink(HyperlinkRangeStart)
Deletes a hyperlink.
Public methodDeletePermissionRange
Deletes a permission range.
Public methodDeleteReadOnlyRange
Deletes the current read only range.
Public methodDeleteReadOnlyRange(ReadOnlyRangeStart)
Deletes read only range.
Public methodDeleteTable
Deletes the current table.
Public methodDeleteTable(Table)
Deletes a table.
Public methodDeleteTableColumn
Deletes the current table column.
Public methodDeleteTableRow
Deletes the current table row.
Public methodDeleteTableRow(TableRow)
Deletes a table row.
Public methodEndUndoGroup
Closes current undo group.
Public methodEndUndoGroup(String)
Closes current undo group.
Public methodIncreaseLeftIndent
Public methodIncrementFontSize
Public methodIncrementParagraphLeftIndent
Public methodIncrementParagraphListLevel
Public methodInsert
Inserts text into the document at current caret position.
Public methodInsertAnnotationRange
Inserts an annotation range.
Public methodInsertBookmark
Inserts a bookmark.
Public methodInsertCaption
Inserts a caption.
Public methodInsertCodeBlock
Inserts code block at caret position. If caret position is in code block, replaces the current code block.
Public methodInsertColumnBreak
Inserts ColumnBreak into the document at current caret position.
Public methodInsertComment
Inserts a comment.
Public methodInsertCrossReferenceToBookmark
Inserts a Cross-Reference to a bookmark into the document at current caret position.
Public methodInsertCrossReferenceToCaption
Inserts a Cross-Reference to a Caption into the document at current caret position.
Public methodInsertCrossReferenceToHeading
Inserts a Cross-Reference to a Heading paragraph into the document at current caret position.
Public methodInsertEndnote
Inserts endnote at the current position.
Public methodInsertEndnote(Note)
Inserts the endnote at the current position.
Public methodInsertField(Field)
Inserts a field into the document at current caret position.
Public methodInsertField(Field, FieldDisplayMode)
Inserts a field into the document at current caret position in a specified display mode.
Public methodInsertFootnote
Inserts footnote at the current position.
Public methodInsertFootnote(Note)
Inserts the footnote at the current position.
Public methodInsertFragment(DocumentFragment)
Inserts a fragment at current caret position.
Public methodInsertFragment(DocumentFragment, DocumentPosition)
Inserts a fragment at specified position. Document selection should be cleared in advance.
Public methodInsertHyperlink(HyperlinkInfo)
Inserts a hyperlink in the document. The hyperlink will be created around the current selection.
Public methodInsertHyperlink(HyperlinkInfo, IEnumerableInline)
Inserts a hyperlink in the document.
Public methodInsertHyperlink(HyperlinkInfo, String)
Inserts a hyperlink in the document.
Public methodInsertHyperlink(HyperlinkInfo, StyleDefinition) Obsolete.
Public methodInsertHyperlink(HyperlinkInfo, String, StyleDefinition) Obsolete.
Public methodInsertImage
Inserts image inline into the document.
Public methodInsertInline(Inline)
Inserts inline element into the document.
Public methodInsertInline(Inline, DocumentPosition)
Inserts inline element into the document. Document selection should be cleared in advance.
Public methodInsertLine
Inserts text and adds new paragraph after it.
Public methodInsertLineBreak
Inserts LineBreak into the document at current caret position.
Public methodInsertPageBreak
Inserts PageBreak into the document at current caret position.
Public methodInsertParagraph
Inserts a new paragraph.
Public methodInsertPermissionRange
Inserts new permission range.
Public methodInsertReadOnlyRange
Inserts a read only range.
Public methodInsertSectionBreak
Inserts SectionBreak into the document at current caret position.
Public methodInsertSectionBreak(SectionBreakType)
Inserts SectionBreak of the specified type into the document at current caret position.
Public methodInsertTable(Table)
Inserts a table in the document.
Public methodInsertTable(Int32, Int32)
Inserts new table in the document.
Public methodInsertTable(Table, Boolean)
Public methodInsertTable(Int32, Int32, Boolean)
Public methodInsertTableColumn
Inserts a table column in the current table.
Public methodInsertTableColumnToTheLeft
Inserts a table column to the left.
Public methodInsertTableColumnToTheRight
Inserts a table column to the right.
Public methodInsertTableRow
Inserts a new table row in the current table.
Public methodInsertTableRowAbove
Inserts a table row above.
Public methodInsertTableRowBelow
Inserts a table row below.
Public methodMailMerge
Produces a mail merge document.
Public methodMailMergeCurrentRecord
Produces a document for the current mail merge data record.
Public methodMergeTableCells
Merges the currently selected table cells into one.
Public methodMoveSelection
Moves the current selection to a new position.
Public methodPaste
Pastes from clipboard into the document respecting CaretPosition and Selection
Public methodPreviewFirstMailMergeDataRecord
Previews the first mail merge data record.
Public methodPreviewLastMailMergeDataRecord
Previews the last mail merge data record.
Public methodPreviewMailMergeDataRecordAtIndex
Previews the mail merge data record at a specified index.
Public methodPreviewNextMailMergeDataRecord
Previews the next mail merge data record.
Public methodPreviewPreviousMailMergeDataRecord
Previews the previous mail merge data record.
Public methodRedo
Re-executes the last undone command group.
Public methodRejectAllRevisions
Rejects all revisions in the document.
Public methodRejectRevision
Rejects revision.
Public methodRemoveTabStop
Public methodRemoveTabStopRange
Public methodReplaceTabStop
Public methodResizeTableColumn
Changes the width of a table column. The specified width value will be applied with width type Fixed. You could specify different width type through the ChangeTableGridColumnWidth method.
Public methodRestartListNumbering
Creates a new list from the current paragraph. The paragraph should be in list, otherwise this method does nothing.
Public methodSetListNumbering
Sets list numbering.
Public methodSetWatermark(DocumentWatermarkSettings)
Public methodSetWatermark(PredefinedWatermarkType)
Public methodSplitAnnotationRange(AnnotationRangeStart)
Splits an annotation range at the caret position, resulting in two new ranges.
Public methodSplitAnnotationRange(AnnotationRangeStart, DocumentPosition)
Splits an annotation range at the specified position, resulting in two new ranges.
Public methodToggleBold
Public methodToggleFieldCodes
Toggles the display mode of a field.
Public methodToggleItalic
Public methodToggleStrikethrough
Public methodUndo
Reverts last executed command group.
Public methodUnmergeTableCells
Splits the currently selected table cell.
Public methodUpdateAllCaptions
Updates all captions related to caption definition.
Public methodUpdateAllFields
Updates all fields in the document.
Public methodUpdateAllFields(FieldDisplayMode)
Updates all fields and displays them in the specified display mode.
Public methodUpdateField
Updates a field.
Public methodUpdatePermissionRanges
Updates the permissions of the current selection.
Top
Properties
  NameDescription
Public propertyAcceptsReturn
Gets or sets a value indicating whether pressing the RETURN key types a RETURN character in the control.
Public propertyDocument
Gets the document that is to be edited.
Public propertyRespectDocumentProtection
Gets or sets a value that indicates whether protection ranges should be respected when editing.
Public propertyRespectNonDeletableRanges
Gets or sets a value that indicates whether non-deletable ranges should be respected when editing.
Public propertyRespectReadOnlyRanges
Gets or sets a value that indicates whether read-only ranges should be respected when editing.
Top
See Also