Interface ISdtBuilder
Describes the different scenarios for inserting a structured document tag (Content Control) in RadDocument.
Namespace: Telerik.Windows.Documents.Flow.Model.StructuredDocumentTags
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public interface ISdtBuilder
Methods
InsertAfterHardBlockSdt(RadFlowDocumentEditor, SdtRangeEnd)
Represents 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(RadFlowDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeEnd
previousSdtEnd
|
InsertAfterMultiBlockSdt(RadFlowDocumentEditor, SdtRangeEnd)
Represents the case of inserting a content control after another content control hosting multiple paragraphs or tables.
Declaration
void InsertAfterMultiBlockSdt(RadFlowDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeEnd
previousSdtEnd
|
InsertAfterSoftBlockSdt(RadFlowDocumentEditor, SdtRangeEnd)
Represents the case of inserting an inline content control that follows another content control hosting a paragraph or a cell.
Declaration
void InsertAfterSoftBlockSdt(RadFlowDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeEnd
previousSdtEnd
|
InsertAroundSelectedImage(RadFlowDocumentEditor)
Represents the case of inserting a content control around a single selected image.
Declaration
void InsertAroundSelectedImage(RadFlowDocumentEditor editor)
Parameters
RadFlowDocumentEditor
editor
|
InsertAroundSelectedInlineRange(RadFlowDocumentEditor)
Represents the case of inserting an inline content control around a free selection.
Declaration
void InsertAroundSelectedInlineRange(RadFlowDocumentEditor editor)
Parameters
RadFlowDocumentEditor
editor
|
InsertAroundSelectedMultipleBlocks(RadFlowDocumentEditor, DocumentElementBase, DocumentElementBase)
Represents the case of inserting a content control around multiple selected paragraphs or tables.
Declaration
void InsertAroundSelectedMultipleBlocks(RadFlowDocumentEditor editor, DocumentElementBase firstBlock, DocumentElementBase lastBlock)
Parameters
RadFlowDocumentEditor
editor
|
DocumentElementBase
firstBlock
|
DocumentElementBase
lastBlock
|
InsertAroundSelectedMultipleRows(RadFlowDocumentEditor, TableRow, TableRow)
Represents the case of inserting a content control around multiple selected rows.
Declaration
void InsertAroundSelectedMultipleRows(RadFlowDocumentEditor editor, TableRow firstRow, TableRow lastRow)
Parameters
RadFlowDocumentEditor
editor
|
TableRow
firstRow
|
TableRow
lastRow
|
InsertAroundSelectedParagraph(RadFlowDocumentEditor, Paragraph)
Represents the case of inserting a content control around a single selected paragraph.
Declaration
void InsertAroundSelectedParagraph(RadFlowDocumentEditor editor, Paragraph paragraph)
Parameters
RadFlowDocumentEditor
editor
|
Paragraph
paragraph
|
InsertAroundSelectedSingleRow(RadFlowDocumentEditor, TableRow)
Represents the case of inserting a content control around a single selected row.
Declaration
void InsertAroundSelectedSingleRow(RadFlowDocumentEditor editor, TableRow row)
Parameters
RadFlowDocumentEditor
editor
|
TableRow
row
|
InsertAroundSelectedTable(RadFlowDocumentEditor, Table)
Represents the case of inserting a content control around a single selected table.
Declaration
void InsertAroundSelectedTable(RadFlowDocumentEditor editor, Table table)
Parameters
RadFlowDocumentEditor
editor
|
Table
table
|
InsertAroundSelectedTableCell(RadFlowDocumentEditor, TableCell)
Represents the case of inserting a content control around a table cell.
Declaration
void InsertAroundSelectedTableCell(RadFlowDocumentEditor editor, TableCell cell)
Parameters
RadFlowDocumentEditor
editor
|
TableCell
cell
|
InsertBeforeHardBlockSdt(RadFlowDocumentEditor, SdtRangeStart)
Represents 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(RadFlowDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeStart
nextSdtStart
|
InsertBeforeMultiBlockSdt(RadFlowDocumentEditor, SdtRangeStart)
Represents the case of inserting a content control before another content control hosting multiple paragraphs or tables.
Declaration
void InsertBeforeMultiBlockSdt(RadFlowDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeStart
nextSdtStart
|
InsertBeforeSoftBlockSdt(RadFlowDocumentEditor, SdtRangeStart)
Represents 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(RadFlowDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeStart
nextSdtStart
|
InsertCore(RadFlowDocumentEditor)
Executes the main insert logic.
Declaration
void InsertCore(RadFlowDocumentEditor editor)
Parameters
RadFlowDocumentEditor
editor
|
InsertInEmptyParagraph(RadFlowDocumentEditor, Paragraph)
Represents the case of inserting in the beginning of an empty paragraph.
Declaration
void InsertInEmptyParagraph(RadFlowDocumentEditor editor, Paragraph paragraph)
Parameters
RadFlowDocumentEditor
editor
|
Paragraph
paragraph
|
InsertInEmptyTableCell(RadFlowDocumentEditor, TableCell)
Represents the case of inserting in the beginning of an empty table cell.
Declaration
void InsertInEmptyTableCell(RadFlowDocumentEditor editor, TableCell tableCell)
Parameters
RadFlowDocumentEditor
editor
|
TableCell
tableCell
|
InsertSdtInPartialParagraphSelection(RadFlowDocumentEditor)
Represents the case of inserting an inline content control around a partially selected paragraph.
Declaration
void InsertSdtInPartialParagraphSelection(RadFlowDocumentEditor editor)
Parameters
RadFlowDocumentEditor
editor
|