| AbstractFormattingItem Class |
Namespace: Sdl.FileTypeSupport.Framework.Formatting
The AbstractFormattingItem type exposes the following members.
| Name | Description | |
|---|---|---|
| AbstractFormattingItem | Initializes a new instance of the AbstractFormattingItem class |
| Name | Description | |
|---|---|---|
| FormattingName |
The name of this type of formatting.
The default implementation returns the type name of the actual class,
but this can be overridden in derived classes.
The name may be used as an attribute name when storing this formatting in XML format, in which case the value of the attribute represents the StringValue property. | |
| LocalizedFormattingName |
A localized representation of the formatting name; the default implementation
returns FormattingName.
| |
| LocalizedStringValue |
A localized representation of the formatting value. The default implementation
returns StringValue.
| |
| StringValue |
The value this formatting represents as a string.
Derived formatting classes should allow their entire value to be
retrieved and set through this property.
The name and string value may be used for storing formatting as an XML attribute with a value. |
| Name | Description | |
|---|---|---|
| AcceptVisitor |
Implementation of the visitor pattern.
Derived formatting classes should implement this by calling into the appropriate method on the visitor. | |
| Clone |
Must be overridden in all directly and indirectly derived classes to return
objects of the correct type.
| |
| Equals | Compares the name and value properties of the objects. (Overrides ObjectEquals(Object).) | |
| GetDefaultName |
The default name for an IFormattingItem type
| |
| GetHashCode | (Overrides ObjectGetHashCode.) | |
| ToString |
For debugging; returns "FormattingName = StringValue".
(Overrides ObjectToString.) |