Namespace Sdl.DesktopEditor.EditorApi.Implementation
Classes
AbstractCollectiveUndoCommand
Base class for implementing undo/redo commands.
AbstractCustomColumn
Abstract base class that you can derive from when creating custom columns for the editor.
Takes care of some of the plumbing involved in implementing the interfaces and implements helper functions for drawing background and borders, measuring text and implementing font fallback.
AbstractMarkPainter
Abstract base class that mark painters can derive from if they want. Holds some common mark properties and helpers.
AbstractOperationConsolidator
Base class for operation consolidators. Derive from this class to save some implementation work.
AbstractRowSelectionColumn
Base class for a column that is aware of row selections and the mouse operations that should be performed on them.
AbstractTextIterator
Base class for text iterator implementation.
BackgroundColourPainter
Mark painter that fills the entire content rectangle with a solid color, and is meant to be used for highlighting text using background color.
BracketPainter
Text mark painter that draws bracket marks similar to the old TWB window placeable marks.
ChangeGhostStatusConsolidator
Consolidates a list of edit operations based on a subsequent ghost status change operation.
ChangeGhostStatusOperation
Default implementation of the IChangeGhostStatusOperation interface.
ChangeTextConsolidator
Consolidates a list of edit operations based on a subsequent text change operation.
ChangeTextOperation
Default implementation of the IChangeTextOperation interface.
CopyFragmentVisitor
An INodeVisitor implementation that works through the nodes and copies all nodes to the document fragment in the same structure.
DeleteNodeOperation
Default implementation of the IDeleteNodeOperation interface.
DeleteOperationConsolidator
Consolidates a list of edit operations based on a subsequent delete operation.
DocumentStructureInfoColumn
Custom editor column showing context information for paragraph units.
EditControlDisplaySettings
Provides access to the display settings that will be used by the edit control when displaying fonts, colors and other formatting on screen.
EditControlFontSizeSettings
EditControlFontSizeSettings represents the edit control font sizes.
EditOperationConsolidatorVisitor
This class can be used to consolidate a sequence of edit operations, to create the short list of edits that accomplishes the same result.
FindResultPainter
HorizontalLinePainter
Mark painter implementation that draws a horizontal line.
InsertNodeOperation
Default implementation of the InsertNodeOperation interface
InsertOperationConsolidator
Consolidates a list of edit operations based on a subsequent insert operation.
MarkupDataNodeIterator
Helper class to iterate over IMarkupDataNode nodes in the editor API.
PlainTextExtractionVisitor
Visitor implementation that can be used to build a plain text representation from editor nodes.
PlainTextMapper
Extracts a string of plain text from an IContainerNode, and creates mappings between the plain text offsets and Framework nodes. The mappings can be used to get an IRange of a plain text substring. One use is to obtain an IRange for incorrectly spelt words, so they can be marked up with squiggly error lines.
ProjectEditorSettings
RemoveFormattingVisitor
An INodeVisitor implementation that works through the nodes and copies all non-formatting nodes to the document fragment in the same structure.
RowNumberColumn
Custom column implementation that shows row numbers.
SegmentIdColumn
Column that shows the segment ID for segment rows. For non-segment rows it shows only the default background color.
SquigglyLinePainter
Mark painter that draws squiggly lines, similar to the mis-spelled word marks in Microsoft Word.
TagPaintingProperties
In addition to implementing the ITagPaintingProperties interface this class also provides some simple operations to brighten and darken on colors.
TermRecognitionBoldPainter
TermRecognitionBoldPainter class represents a term recognition painter in bold.
TextMark
Default implementation of the ITextMark interface.
TextOnlyFragmentVisitor
An INodeVisitor implementation that works through the nodes and copies only the text nodes to the new fragment
Interfaces
IRowEventSource
Interface defining the methods implemented by the edit control to fire events related to row changes.
Enums
AbstractMarkPainter.MarkLocation
Indicates where the marker should be painted in relation to the content it marks.
SquigglyLinePainter.SquiggleShape
The shape of the squiggles
Delegates
RowSizeAccessor
A delegate method which provides the column with the current size and position of any other cell in this column. This can be used when drawing across the cell boundaries to calculate where other cells will be.