InterfaceISdtBuilder
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:
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
void InsertAfterHardBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
editor
previousSdtEnd
InsertAfterMultiBlockSdt(RadDocumentEditor, SdtRangeEnd)
Represents the case of inserting a content control after another content control hosting multiple paragraphs or tables.
Declaration
void InsertAfterMultiBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
editor
previousSdtEnd
InsertAfterSoftBlockSdt(RadDocumentEditor, SdtRangeEnd)
Reprsents the case of inserting an inline content control that follows another content control hosting a paragraph or a cell.
Declaration
void InsertAfterSoftBlockSdt(RadDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
editor
previousSdtEnd
InsertAroundSelectedImage(RadDocumentEditor)
Represents the case of inserting a content control around a single selected image.
Declaration
void InsertAroundSelectedImage(RadDocumentEditor editor)
Parameters
editor
InsertAroundSelectedInlineRange(RadDocumentEditor)
Represents the case of inserting an inline content control around a free selection.
Declaration
void InsertAroundSelectedInlineRange(RadDocumentEditor editor)
Parameters
editor
InsertAroundSelectedMultipleBlocks(RadDocumentEditor, Block, Block)
Represents the case of inserting a content control around multiple selected paragraphs or tables.
Declaration
void InsertAroundSelectedMultipleBlocks(RadDocumentEditor editor, Block firstBlock, Block lastBlock)
Parameters
editor
firstBlock
lastBlock
InsertAroundSelectedMultipleRows(RadDocumentEditor, TableRow, TableRow)
Represents the case of inserting a content control around multiple selected rows.
Declaration
void InsertAroundSelectedMultipleRows(RadDocumentEditor editor, TableRow firstRow, TableRow lastRow)
Parameters
editor
firstRow
lastRow
InsertAroundSelectedParagraph(RadDocumentEditor, Paragraph)
Represents the case of inserting a content control around a single selected paragraph.
Declaration
void InsertAroundSelectedParagraph(RadDocumentEditor editor, Paragraph paragraph)
Parameters
editor
paragraph
InsertAroundSelectedSingleRow(RadDocumentEditor, TableRow)
Represents the case of inserting a content control around a single selected row.
Declaration
void InsertAroundSelectedSingleRow(RadDocumentEditor editor, TableRow row)
Parameters
editor
row
InsertAroundSelectedTable(RadDocumentEditor, Table)
Represents the case of inserting a content control around a single selected table.
Declaration
void InsertAroundSelectedTable(RadDocumentEditor editor, Table table)
Parameters
editor
table
InsertAroundSelectedTableCell(RadDocumentEditor, TableCell)
Represents the case of inserting a content control around a table cell.
Declaration
void InsertAroundSelectedTableCell(RadDocumentEditor editor, TableCell cell)
Parameters
editor
cell
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
void InsertBeforeHardBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
editor
nextSdtStart
InsertBeforeMultiBlockSdt(RadDocumentEditor, SdtRangeStart)
Represents the case of inserting a content control before another content control hosting multiple paragraphs or tables.
Declaration
void InsertBeforeMultiBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
editor
nextSdtStart
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
void InsertBeforeSoftBlockSdt(RadDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
editor
nextSdtStart
InsertCore(RadDocumentEditor)
Executes the main insert logic.
Declaration
void InsertCore(RadDocumentEditor editor)
Parameters
editor
InsertInEmptyParagraph(RadDocumentEditor, Paragraph)
Reprsents the case of inserting in the beginning of an empty paragraph.
Declaration
void InsertInEmptyParagraph(RadDocumentEditor editor, Paragraph paragraph)
Parameters
editor
paragraph
InsertInEmptyTableCell(RadDocumentEditor, TableCell)
Reprsents the case of inserting in the beginning of an empty table cell.
Declaration
void InsertInEmptyTableCell(RadDocumentEditor editor, TableCell tableCell)
Parameters
editor
tableCell
InsertInMultiSelection(RadDocumentEditor)
Represents the case of inserting a content control in a multiple selection scenario.
Declaration
void InsertInMultiSelection(RadDocumentEditor editor)
Parameters
editor
InsertSdtInPartialParagraphSelection(RadDocumentEditor)
Represents the case of inserting an inline content control around a partially selected paragraph.
Declaration
void InsertSdtInPartialParagraphSelection(RadDocumentEditor editor)
Parameters
editor
UpdateContent()
Updates the content according to the state of the properties.
Declaration
void UpdateContent()
UpdateStyle()
Updates the associated style according to the state of the properties.
Declaration
void UpdateStyle()