C# Class AODL.Document.Styles.TextStyle

Represent the style for a FormatedText object.
Inheritance: IStyle
Show file Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
TextStyle ( IDocument document, XmlNode node ) : System

Initializes a new instance of the TextStyle class.

TextStyle ( IDocument document, string styleName ) : System

Initializes a new instance of the TextStyle class.

Private Methods

Method Description
CreateAttribute ( string name, string text, string prefix ) : void

Create a XmlAttribute for propertie XmlNode.

InitStandards ( ) : void

Inits the standards.

NewXmlNode ( string name ) : void

Create the XmlNode that represent the Style element.

PropertyCollection_Inserted ( int index, object value ) : void

Properties the collection_ inserted.

PropertyCollection_Removed ( int index, object value ) : void

Properties the collection_ removed.

Method Details

TextStyle() public method

Initializes a new instance of the TextStyle class.
public TextStyle ( IDocument document, XmlNode node ) : System
document IDocument The document.
node System.Xml.XmlNode The node.
return System

TextStyle() public method

Initializes a new instance of the TextStyle class.
public TextStyle ( IDocument document, string styleName ) : System
document IDocument The document.
styleName string Name of the style.
return System