C# Class GenerateFontList.Utility

Show file Open project: EFanZh/EFanZh

Public Methods

Method Description
EscapseToLaTeX ( this text ) : string
GetDisplayString ( this fontStretch ) : string
GetPreferedString ( this languageSpecificStringDictionary ) : string
ToLaTeX ( this fonts, StringBuilder stringBuilder, int indent, string sampleText ) : void

Private Methods

Method Description
AppendIndent ( this sb, int indent ) : void
AppendLineWithIndent ( this sb, int indent, string text ) : void
AppendLineWithIndentFormat ( this sb, int indent, string format ) : void
AppendWithIndent ( this sb, int indent, string text ) : void
AppendWithIndentFormat ( this sb, int indent, string format ) : void
ToLaTeX ( Font>.this font, StringBuilder stringBuilder, string sampleText ) : void
ToLaTeX ( Font>.this stretch, StringBuilder stringBuilder, int indent, string sampleText ) : void
ToLaTeX ( Font>.this style, StringBuilder stringBuilder, int indent, string sampleText ) : void
ToLaTeX ( Font>.this weight, StringBuilder stringBuilder, int indent, string sampleText ) : void

Method Details

EscapseToLaTeX() public static method

public static EscapseToLaTeX ( this text ) : string
text this
return string

GetDisplayString() public static method

public static GetDisplayString ( this fontStretch ) : string
fontStretch this
return string

GetPreferedString() public static method

public static GetPreferedString ( this languageSpecificStringDictionary ) : string
languageSpecificStringDictionary this
return string

ToLaTeX() public static method

public static ToLaTeX ( this fonts, StringBuilder stringBuilder, int indent, string sampleText ) : void
fonts this
stringBuilder System.Text.StringBuilder
indent int
sampleText string
return void