Class SdtBuilder<T>
Represents a base SdtBuilder<T> class that contains common logic between controls.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Flow.Model.StructuredDocumentTags
Assembly: Telerik.Windows.Documents.Flow.dll
Syntax
public abstract class SdtBuilder<T> : ISdtBuilder where T : SdtProperties
Type Parameters
T
|
Constructors
SdtBuilder(SdtRangeStart)
Initializes a new instance of the SdtBuilder<T> class.
Declaration
protected SdtBuilder(SdtRangeStart sdtStart)
Parameters
SdtRangeStart
sdtStart
The structured document tag to be built. |
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
public virtual void InsertAfterHardBlockSdt(RadFlowDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeEnd
previousSdtEnd
|
Implements
InsertAfterMultiBlockSdt(RadFlowDocumentEditor, SdtRangeEnd)
Represents the case of inserting a content control after another content control hosting multiple paragraphs or tables.
Declaration
public virtual void InsertAfterMultiBlockSdt(RadFlowDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeEnd
previousSdtEnd
|
Implements
InsertAfterSoftBlockSdt(RadFlowDocumentEditor, SdtRangeEnd)
Represents the case of inserting an inline content control that follows another content control hosting a paragraph or a cell.
Declaration
public virtual void InsertAfterSoftBlockSdt(RadFlowDocumentEditor editor, SdtRangeEnd previousSdtEnd)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeEnd
previousSdtEnd
|
Implements
InsertAroundSelectedImage(RadFlowDocumentEditor)
Represents the case of inserting a content control around a single selected image.
Declaration
public virtual void InsertAroundSelectedImage(RadFlowDocumentEditor editor)
Parameters
RadFlowDocumentEditor
editor
|
Implements
InsertAroundSelectedInlineRange(RadFlowDocumentEditor)
Represents the case of inserting an inline content control around a free selection.
Declaration
public virtual void InsertAroundSelectedInlineRange(RadFlowDocumentEditor editor)
Parameters
RadFlowDocumentEditor
editor
|
Implements
InsertAroundSelectedMultipleBlocks(RadFlowDocumentEditor, DocumentElementBase, DocumentElementBase)
Represents the case of inserting a content control around multiple selected paragraphs or tables.
Declaration
public virtual void InsertAroundSelectedMultipleBlocks(RadFlowDocumentEditor editor, DocumentElementBase firstBlock, DocumentElementBase lastBlock)
Parameters
RadFlowDocumentEditor
editor
|
DocumentElementBase
firstBlock
|
DocumentElementBase
lastBlock
|
Implements
InsertAroundSelectedMultipleRows(RadFlowDocumentEditor, TableRow, TableRow)
Represents the case of inserting a content control around multiple selected rows.
Declaration
public virtual void InsertAroundSelectedMultipleRows(RadFlowDocumentEditor editor, TableRow firstRow, TableRow lastRow)
Parameters
RadFlowDocumentEditor
editor
|
TableRow
firstRow
|
TableRow
lastRow
|
Implements
InsertAroundSelectedParagraph(RadFlowDocumentEditor, Paragraph)
Represents the case of inserting a content control around a single selected paragraph.
Declaration
public virtual void InsertAroundSelectedParagraph(RadFlowDocumentEditor editor, Paragraph paragraph)
Parameters
RadFlowDocumentEditor
editor
|
Paragraph
paragraph
|
Implements
InsertAroundSelectedSingleRow(RadFlowDocumentEditor, TableRow)
Represents the case of inserting a content control around a single selected row.
Declaration
public virtual void InsertAroundSelectedSingleRow(RadFlowDocumentEditor editor, TableRow row)
Parameters
RadFlowDocumentEditor
editor
|
TableRow
row
|
Implements
InsertAroundSelectedTable(RadFlowDocumentEditor, Table)
Represents the case of inserting a content control around a single selected table.
Declaration
public virtual void InsertAroundSelectedTable(RadFlowDocumentEditor editor, Table table)
Parameters
RadFlowDocumentEditor
editor
|
Table
table
|
Implements
InsertAroundSelectedTableCell(RadFlowDocumentEditor, TableCell)
Represents the case of inserting a content control around a table cell.
Declaration
public virtual void InsertAroundSelectedTableCell(RadFlowDocumentEditor editor, TableCell cell)
Parameters
RadFlowDocumentEditor
editor
|
TableCell
cell
|
Implements
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
public virtual void InsertBeforeHardBlockSdt(RadFlowDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeStart
nextSdtStart
|
Implements
InsertBeforeMultiBlockSdt(RadFlowDocumentEditor, SdtRangeStart)
Represents the case of inserting a content control before another content control hosting multiple paragraphs or tables.
Declaration
public virtual void InsertBeforeMultiBlockSdt(RadFlowDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeStart
nextSdtStart
|
Implements
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
public virtual void InsertBeforeSoftBlockSdt(RadFlowDocumentEditor editor, SdtRangeStart nextSdtStart)
Parameters
RadFlowDocumentEditor
editor
|
SdtRangeStart
nextSdtStart
|
Implements
InsertCore(RadFlowDocumentEditor)
Represents the core logic when inserting structured document tags.
Declaration
public virtual void InsertCore(RadFlowDocumentEditor editor)
Parameters
RadFlowDocumentEditor
editor
|
Implements
InsertInEmptyParagraph(RadFlowDocumentEditor, Paragraph)
Represents the case of inserting in the beginning of an empty paragraph.
Declaration
public virtual void InsertInEmptyParagraph(RadFlowDocumentEditor editor, Paragraph paragraph)
Parameters
RadFlowDocumentEditor
editor
|
Paragraph
paragraph
|
Implements
InsertInEmptyTableCell(RadFlowDocumentEditor, TableCell)
Represents the case of inserting in the beginning of an empty table cell.
Declaration
public virtual void InsertInEmptyTableCell(RadFlowDocumentEditor editor, TableCell tableCell)
Parameters
RadFlowDocumentEditor
editor
|
TableCell
tableCell
|
Implements
InsertSdtInPartialParagraphSelection(RadFlowDocumentEditor)
Represents the case of inserting an inline content control around a partially selected paragraph.
Declaration
public virtual void InsertSdtInPartialParagraphSelection(RadFlowDocumentEditor editor)
Parameters
RadFlowDocumentEditor
editor
|