C# Class RtfDomParser.RTFDomElement

RTF dom element
this is the most base element type
Mostra file Open project: SourceCodeBackup/RtfDomParser Class Usage Examples

Private Properties

Property Type Description
CheckLocked void

Public Methods

Method Description
AppendChild ( RTFDomElement element ) : int

append child element

GetAttributeValue ( string name, int defaultValue ) : int
HasAttribute ( string name ) : bool
PrintDomString ( ) : void
SetAttribute ( string name, int Value ) : void

set attribute

SetLockedDeeply ( bool locked ) : void
ToDomString ( ) : string

Protected Methods

Method Description
ToDomString ( RTFDomElementList elements, System builder, int level ) : void

Private Methods

Method Description
CheckLocked ( ) : void

Method Details

AppendChild() public method

append child element
public AppendChild ( RTFDomElement element ) : int
element RTFDomElement child element
return int

GetAttributeValue() public method

public GetAttributeValue ( string name, int defaultValue ) : int
name string
defaultValue int
return int

HasAttribute() public method

public HasAttribute ( string name ) : bool
name string
return bool

PrintDomString() public method

public PrintDomString ( ) : void
return void

SetAttribute() public method

set attribute
public SetAttribute ( string name, int Value ) : void
name string name
Value int value
return void

SetLockedDeeply() public method

public SetLockedDeeply ( bool locked ) : void
locked bool
return void

ToDomString() public method

public ToDomString ( ) : string
return string

ToDomString() protected method

protected ToDomString ( RTFDomElementList elements, System builder, int level ) : void
elements RTFDomElementList
builder System
level int
return void