Interface ISdtBuilder
Describes the different scenarios for inserting a structured document tag (Content Control) in RadDocument.
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
RadDocumentEditor
editor
|
SdtRangeEnd
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
RadDocumentEditor
editor
|
SdtRangeEnd
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
RadDocumentEditor
editor
|
SdtRangeEnd
previousSdtEnd
|
InsertAroundSelectedImage(RadDocumentEditor)
Represents the case of inserting a content control around a single selected image.
Declaration
void InsertAroundSelectedImage(RadDocumentEditor editor)
Parameters
RadDocumentEditor
editor
|
InsertAroundSelectedInlineRange(RadDocumentEditor)
Represents the case of inserting an inline content control around a free selection.
Declaration
void InsertAroundSelectedInlineRange(RadDocumentEditor editor)
Parameters
RadDocumentEditor
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
RadDocumentEditor
editor
|
Block
firstBlock
|
Block
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
RadDocumentEditor
editor
|
TableRow
firstRow
|
TableRow
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
RadDocumentEditor
editor
|
Paragraph
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
RadDocumentEditor
editor
|
TableRow
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
RadDocumentEditor
editor
|
Table
table
|
InsertAroundSelectedTableCell(RadDocumentEditor, TableCell)
Represents the case of inserting a content control around a table cell.
Declaration
void InsertAroundSelectedTableCell(RadDocumentEditor editor, TableCell cell)
Parameters
RadDocumentEditor
editor
|
TableCell
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
RadDocumentEditor
editor
|
SdtRangeStart
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
RadDocumentEditor
editor
|
SdtRangeStart
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
RadDocumentEditor
editor
|
SdtRangeStart
nextSdtStart
|
InsertCore(RadDocumentEditor)
Executes the main insert logic.
Declaration
void InsertCore(RadDocumentEditor editor)
Parameters
RadDocumentEditor
editor
|
InsertInEmptyParagraph(RadDocumentEditor, Paragraph)
Reprsents the case of inserting in the beginning of an empty paragraph.
Declaration
void InsertInEmptyParagraph(RadDocumentEditor editor, Paragraph paragraph)
Parameters
RadDocumentEditor
editor
|
Paragraph
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
RadDocumentEditor
editor
|
TableCell
tableCell
|
InsertInMultiSelection(RadDocumentEditor)
Represents the case of inserting a content control in a multiple selection scenario.
Declaration
void InsertInMultiSelection(RadDocumentEditor editor)
Parameters
RadDocumentEditor
editor
|
InsertSdtInPartialParagraphSelection(RadDocumentEditor)
Represents the case of inserting an inline content control around a partially selected paragraph.
Declaration
void InsertSdtInPartialParagraphSelection(RadDocumentEditor editor)
Parameters
RadDocumentEditor
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()