C# Class AODL.Document.Styles.ListStyle

Represent the ListStyle for a List.
Inheritance: IStyle
Show file Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
AutomaticAddListLevelStyles ( ListStyles typ ) : void

Add all possible ListLevelStyle objects automatically. Throws exception, if there are already ListLevelStyles which could'nt removed.

ListStyle ( IDocument document, XmlNode node ) : System

Initializes a new instance of the ListStyle class.

ListStyle ( IDocument document, string styleName ) : System

Create a new ListStyle object.

Private Methods

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

Create a XmlAttribute for propertie XmlNode.

InitStandards ( ) : void

Inits the standards.

NewXmlNode ( ) : void

Create the XmlNode that represent this 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

AutomaticAddListLevelStyles() public method

Add all possible ListLevelStyle objects automatically. Throws exception, if there are already ListLevelStyles which could'nt removed.
public AutomaticAddListLevelStyles ( ListStyles typ ) : void
typ ListStyles The Liststyle bullet, numbered, ..s
return void

ListStyle() public method

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

ListStyle() public method

Create a new ListStyle object.
public ListStyle ( IDocument document, string styleName ) : System
document IDocument The docuemnt
styleName string The style name
return System