Click or drag to resize
AbstractBooleanFormatting Class
Base class for simpe on/off type formatting, such as bold, italic, underline
Inheritance Hierarchy

Namespace: Sdl.FileTypeSupport.Framework.Formatting
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2343.0)
Syntax
[SerializableAttribute]
public abstract class AbstractBooleanFormatting : AbstractFormattingItem

The AbstractBooleanFormatting type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractBooleanFormatting
Default constructor, creates an uninitialized boolean formatting. The default value for the bool data is true.
Protected methodAbstractBooleanFormatting(Boolean)
Initializes the boolean formatting with the specified value.
Top
Methods
  NameDescription
Public methodAcceptVisitor
Implementation of the visitor pattern.

Derived formatting classes should implement this by calling into the appropriate method on the visitor.

(Inherited from AbstractFormattingItem.)
Public methodClone
Must be overridden in all directly and indirectly derived classes to return objects of the correct type.
(Inherited from AbstractFormattingItem.)
Public methodEquals
Compares the name and value properties of the objects.
(Inherited from AbstractFormattingItem.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode (Inherited from AbstractFormattingItem.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
For debugging; returns "FormattingName = StringValue".
(Inherited from AbstractFormattingItem.)
Top
Properties
  NameDescription
Public propertyFormattingName
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.

(Inherited from AbstractFormattingItem.)
Public propertyLocalizedFormattingName
A localized representation of the formatting name; the default implementation returns FormattingName.
(Inherited from AbstractFormattingItem.)
Public propertyLocalizedStringValue
A localized representation of the boolean value string
(Overrides AbstractFormattingItemLocalizedStringValue.)
Public propertyStringValue
The boolean value as a string
(Overrides AbstractFormattingItemStringValue.)
Public propertyValue
The boolean value for the formatting that the derived type represents
Top
See Also
Community
Edit
Be the first to Edit the community content of this topic.
Comments