C# Class SFEditor.Core

Show file Open project: cra0zy/SFEditor

Public Properties

Property Type Description
Bold bool
CharacterRegions List
DefaultCharacter char
FileName string
Font string
Size float

Public Methods

Method Description
Close ( ) : void
Core ( ) : System
GetText ( ) : string
LoadFromText ( string text ) : bool
Open ( ) : bool
Open ( string fileName ) : bool
Save ( ) : SaveError
Save ( string fileName ) : SaveError
SaveToXml ( ) : void
SetDefaults ( ) : void

Private Methods

Method Description
GetChar ( XmlNode node, string path ) : char
GetChar ( string text ) : char
GetStyle ( ) : string
RemoveFromXml ( XmlNode rootNode, string path ) : void
RemoveFromXml ( string path ) : void
WriteToXml ( XmlNode rootNode, string path, string innerText ) : void
WriteToXml ( string path, string innerText ) : void
XmlToString ( XmlDocument doc ) : string

Method Details

Close() public method

public Close ( ) : void
return void

Core() public method

public Core ( ) : System
return System

GetText() public method

public GetText ( ) : string
return string

LoadFromText() public method

public LoadFromText ( string text ) : bool
text string
return bool

Open() public method

public Open ( ) : bool
return bool

Open() public method

public Open ( string fileName ) : bool
fileName string
return bool

Save() public method

public Save ( ) : SaveError
return SaveError

Save() public method

public Save ( string fileName ) : SaveError
fileName string
return SaveError

SaveToXml() public method

public SaveToXml ( ) : void
return void

SetDefaults() public method

public SetDefaults ( ) : void
return void

Property Details

Bold public property

public bool Bold
return bool

CharacterRegions public property

public List CharacterRegions
return List

DefaultCharacter public property

public char DefaultCharacter
return char

FileName public property

public string FileName
return string

Font public property

public string Font
return string

Size public property

public float Size
return float