Interface
ISdtBuilder

Describes the different scenarios for inserting a structured document tag (Content Control) in RadDocument.

Definition

Namespace:Telerik.Windows.Documents.Model.StructuredDocumentTags

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public interface ISdtBuilder

Methods

InsertAfterHardBlockSdt(RadDocumentEditor, SdtRangeEnd)

Reprsents the case of inserting an inline content control that follows another content control hosting the end of a table or a table row.

Declaration

cs-api-definition
void InsertAfterHardBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)

Parameters

editor

RadDocumentEditor

previousSdtEnd

SdtRangeEnd

InsertAfterMultiBlockSdt(RadDocumentEditor, SdtRangeEnd)

Represents the case of inserting a content control after another content control hosting multiple paragraphs or tables.

Declaration

cs-api-definition
void InsertAfterMultiBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)

Parameters

editor

RadDocumentEditor

previousSdtEnd

SdtRangeEnd

InsertAfterSoftBlockSdt(RadDocumentEditor, SdtRangeEnd)

Reprsents the case of inserting an inline content control that follows another content control hosting a paragraph or a cell.

Declaration

cs-api-definition
void InsertAfterSoftBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)

Parameters

editor

RadDocumentEditor

previousSdtEnd

SdtRangeEnd

InsertAroundSelectedImage(RadDocumentEditor)

Represents the case of inserting a content control around a single selected image.

Declaration

cs-api-definition
void InsertAroundSelectedImage(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

InsertAroundSelectedInlineRange(RadDocumentEditor)

Represents the case of inserting an inline content control around a free selection.

Declaration

cs-api-definition
void InsertAroundSelectedInlineRange(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

InsertAroundSelectedMultipleBlocks(RadDocumentEditor, Block, Block)

Represents the case of inserting a content control around multiple selected paragraphs or tables.

Declaration

cs-api-definition
void InsertAroundSelectedMultipleBlocks(RadDocumentEditor editor, Block firstBlock, Block lastBlock)

Parameters

editor

RadDocumentEditor

firstBlock

Block

lastBlock

Block

InsertAroundSelectedMultipleRows(RadDocumentEditor, TableRow, TableRow)

Represents the case of inserting a content control around multiple selected rows.

Declaration

cs-api-definition
void InsertAroundSelectedMultipleRows(RadDocumentEditor editor, TableRow firstRow, TableRow lastRow)

Parameters

editor

RadDocumentEditor

firstRow

TableRow

lastRow

TableRow

InsertAroundSelectedParagraph(RadDocumentEditor, Paragraph)

Represents the case of inserting a content control around a single selected paragraph.

Declaration

cs-api-definition
void InsertAroundSelectedParagraph(RadDocumentEditor editor, Paragraph paragraph)

Parameters

editor

RadDocumentEditor

paragraph

Paragraph

InsertAroundSelectedSingleRow(RadDocumentEditor, TableRow)

Represents the case of inserting a content control around a single selected row.

Declaration

cs-api-definition
void InsertAroundSelectedSingleRow(RadDocumentEditor editor, TableRow row)

Parameters

editor

RadDocumentEditor

row

TableRow

InsertAroundSelectedTable(RadDocumentEditor, Table)

Represents the case of inserting a content control around a single selected table.

Declaration

cs-api-definition
void InsertAroundSelectedTable(RadDocumentEditor editor, Table table)

Parameters

editor

RadDocumentEditor

table

Table

InsertAroundSelectedTableCell(RadDocumentEditor, TableCell)

Represents the case of inserting a content control around a table cell.

Declaration

cs-api-definition
void InsertAroundSelectedTableCell(RadDocumentEditor editor, TableCell cell)

Parameters

editor

RadDocumentEditor

cell

TableCell

InsertBeforeHardBlockSdt(RadDocumentEditor, SdtRangeStart)

Reprsents the case of inserting an inline content control that is placed just before another content control hosting a table or a table row.

Declaration

cs-api-definition
void InsertBeforeHardBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)

Parameters

editor

RadDocumentEditor

nextSdtStart

SdtRangeStart

InsertBeforeMultiBlockSdt(RadDocumentEditor, SdtRangeStart)

Represents the case of inserting a content control before another content control hosting multiple paragraphs or tables.

Declaration

cs-api-definition
void InsertBeforeMultiBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)

Parameters

editor

RadDocumentEditor

nextSdtStart

SdtRangeStart

InsertBeforeSoftBlockSdt(RadDocumentEditor, SdtRangeStart)

Reprsents the case of inserting an inline content control that is placed just before another content control hosting a paragraph or a cell.

Declaration

cs-api-definition
void InsertBeforeSoftBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)

Parameters

editor

RadDocumentEditor

nextSdtStart

SdtRangeStart

InsertCore(RadDocumentEditor)

Executes the main insert logic.

Declaration

cs-api-definition
void InsertCore(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

InsertInEmptyParagraph(RadDocumentEditor, Paragraph)

Reprsents the case of inserting in the beginning of an empty paragraph.

Declaration

cs-api-definition
void InsertInEmptyParagraph(RadDocumentEditor editor, Paragraph paragraph)

Parameters

editor

RadDocumentEditor

paragraph

Paragraph

InsertInEmptyTableCell(RadDocumentEditor, TableCell)

Reprsents the case of inserting in the beginning of an empty table cell.

Declaration

cs-api-definition
void InsertInEmptyTableCell(RadDocumentEditor editor, TableCell tableCell)

Parameters

editor

RadDocumentEditor

tableCell

TableCell

InsertInMultiSelection(RadDocumentEditor)

Represents the case of inserting a content control in a multiple selection scenario.

Declaration

cs-api-definition
void InsertInMultiSelection(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

InsertSdtInPartialParagraphSelection(RadDocumentEditor)

Represents the case of inserting an inline content control around a partially selected paragraph.

Declaration

cs-api-definition
void InsertSdtInPartialParagraphSelection(RadDocumentEditor editor)

Parameters

editor

RadDocumentEditor

UpdateContent()

Updates the content according to the state of the properties.

Declaration

cs-api-definition
void UpdateContent()

UpdateStyle()

Updates the associated style according to the state of the properties.

Declaration

cs-api-definition
void UpdateStyle()