C# Class Alsing.SourceCode.SyntaxDocumentExporters.CollapsingHTMLExporter

Html exporter class
Show file Open project: vchelaru/FlatRedBall

Public Methods

Method Description
Export ( SyntaxDocument doc, Color BGColor, string ImagePath, string Style ) : string

Exports the content of a SyntaxDocument to a HTML formatted string

Export ( SyntaxDocument doc, string ImagePath ) : string

Exports the content of a SyntaxDocument to a HTML formatted string

Private Methods

Method Description
GetHTMLColor ( Color c ) : string
Out ( string text ) : void
RenderCollapsed ( Row r, Row TrueRow, int i, string ImagePath, string guid ) : void
write ( string text, TextStyle s ) : void

Method Details

Export() public method

Exports the content of a SyntaxDocument to a HTML formatted string
public Export ( SyntaxDocument doc, Color BGColor, string ImagePath, string Style ) : string
doc SyntaxDocument SyntaxDocument object to export from
BGColor Color HTML color string to use as background color
ImagePath string File path tho the images to use in the HTML string
Style string HTML style string that should be applied to the output
return string

Export() public method

Exports the content of a SyntaxDocument to a HTML formatted string
public Export ( SyntaxDocument doc, string ImagePath ) : string
doc SyntaxDocument SyntaxDocument object to export from
ImagePath string File path tho the images to use in the HTML string
return string