TextObjectModel Namespace |
Contains managed wrapper classes for Microsoft's Text Object Model (TOM) interfaces (e.g. ITextDocument, ITextRange, etc).
The top-level object in this implementation is the TextDocument class. The most common usage scenario is to create an instance from a RichTextBox control. This library also includes the RichTextBoxEx control, which provides access to advanced RichEdit functionality.
For more information, refer to the Text Object Model documentation or visit the TOM Classes for .NET project page.
Class | Description | |
---|---|---|
DocumentProperties |
(TOM 2 only)
Provides access to the document properties for a TextDocument.
| |
MathProperties |
(TOM 2 only)
Provides access to the math properties for a TextDocument.
| |
PreferredFontInfo |
(TOM 2 only)
Contains preferred font information that was requested for a particular document.
| |
RichTextBoxEx |
Extends RichTextBox to allow the underlying RichEdit
control to be loaded from either the shared Microsoft Office DLL or
the Windows MSFTEDIT.DLL library.
| |
TextDocument |
Represents a top-level document in the Text Object Model (TOM).
| |
TextExtensions |
Contains extension methods for performing additional operations on Text Object Model (TOM) types.
| |
TextFont |
Provides access to the character format in a text range.
| |
TextPara |
Provides access to the paragraph format for a text range.
| |
TextRange |
Represents a range of text in a document in the Text Object Model (TOM).
| |
TextRow |
(TOM 2 only)
Provides methods to insert one or more identical table rows, and to retrieve and change table row properties.
| |
TextSelection |
Represents a text range with selection highlighting.
| |
TextStory |
(TOM 2 only)
Represents a story in a document.
| |
TextStoryRanges |
Enumerates through the stories in a TextDocument.
| |
TextStrings |
(TOM 2 only)
Represents a collection of rich-text strings that are useful for manipulating rich text.
|
Structure | Description | |
---|---|---|
InlineObjectProperties |
(TOM 2 only)
Provides access to the inline object properties for a TextRange.
|
Enumeration | Description | |
---|---|---|
BoxAlign |
Alignment values for box objects (Box).
| |
BoxedFormulaAlign |
Alignment values for boxed formula objects (BoxedFormula).
| |
BracketsAlign |
Alignment values for bracket objects (Brackets).
| |
CaretType |
Caret types.
| |
CellMergeFlags |
Indicates whether a cell part of a horizontal or vertical merged cell set.
| |
CharacterEffects |
Character effects.
| |
CharacterEffects2 |
Additional character effects.
| |
CharRepertoire |
Character repertoire indices.
| |
ClientRectangleFlags |
Flags indicating how to retrieve the client rectangle for a document.
| |
EastAsianCompressionMode |
Compression mode for East Asian characters.
| |
EastAsianFlags |
East Asian flags.
| |
EquationArrayAlign |
Alignment values for equation array objects (EquationArray).
| |
FontAlignment |
Font alignment modes.
| |
FontWeight |
Font weights supported by the Text Object Model.
| |
HorizontalPosition |
Horizontal positions.
| |
InlineObjectType |
Types of inline/math objects.
| |
LinkType |
Hyperlink types.
| |
ListNumberingFormat |
Other types of formatting for a numbered list.
| |
ListType |
Built-in list paragraph styles supported by the Text Object Model.
| |
MathBrkBin |
Math equation line break type.
| |
MathBrkBinSub |
Duplicate mask for minus operator.
| |
MathBuildFlags |
Options for building math.
| |
MathBuildUpFlags |
Options for converting linear-format math to a built-up form.
| |
MathDispAlign |
Display-mode alignment for math.
| |
MathDocDiff |
Style for math differentials.
| |
MathDocEmptyArg |
Empty arguments display style for math.
| |
MathFunctionType |
Math function types.
| |
MathLinearizeFlags |
Options for linearizing math.
| |
MathTeXStyle |
TeX styles for math.
| |
MatrixAlign |
Alignment values for matrix objects (Matrix).
| |
NaryAlign |
Alignment values for n-ary objects (Nary).
| |
OfficeMathMLMode |
Options for converting Math RTF to Office MathML (OMML).
| |
ParagraphEffects |
Paragraph effects.
| |
PhantomAlign |
Alignment values for phantom objects (Phantom).
| |
PlainTextFlags |
Flags affecting the conversion from rich text to plain text.
| |
PreferredFontFlags |
Preferred font options.
| |
RadicalAlign |
Alignment values for radical objects (Radical).
| |
RangeAppendMode |
Options for appending text to a range.
| |
RangeGravity |
Gravity values for a range.
| |
RangeInsertMode |
Options for inserting text into a range.
| |
RangeMatchType |
Flags governing comparisons in a text range.
| |
RangePointFlags |
Flags indicating how to retrieve the position for a range.
| |
RangePosition |
The endpoints of a range in the Text Object Model.
| |
RangeShiftType |
How the start or end of a range can be shifted.
| |
RichTextFlags |
Flags affecting the conversion from plain text to rich text.
| |
RowApplyOptions |
Controls how row formatting attributes are applied.
| |
RubyAlign |
Alignment values for ruby objects (Ruby).
| |
StoryActiveState |
Active states for stories in the Text Object Model.
| |
StoryType |
Story types in the Text Object Model.
| |
StretchStackAlign |
Alignment values for stretched stack objects (StretchStack).
| |
SubSupAlign |
Alignment values for subscript-superscript objects (SubSup).
| |
TabRelativePosition |
Relative tab positions.
| |
TextAlignment |
How text is aligned in a paragraph or cell.
| |
TextCasing |
Case changes supported by the Text Object Model.
| |
TextEllipsisMode |
Ellipsis modes.
| |
TextEllipsisState |
Ellipsis states.
| |
TextOpenFlags |
Additional options for opening a document in the Text Object Model.
| |
TextOpenSave |
Mutually exclusive options for opening/saving a document in the Text Object Model.
| |
TextSaveFlags |
Additional options for saving a document in the Text Object Model.
| |
TextSelectionFlags |
Flags indicating the attributes of a selection.
| |
TextSelectionType |
The type of a selection.
| |
TextUnderlineColor |
The underline colors supported by the Text Object Model.
| |
TextUnderlineStyle |
Types of underlining supported by the Text Object Model.
| |
TextUnit |
Types of units within the Text Object Model.
| |
TOMVersion |
Versions of the Text Object Model.
| |
UnderlinePositionMode |
Underline position modes.
| |
VerticalPosition |
Vertical positions.
|