C# Class AODL.Document.Export.Html.HTMLStyleBuilder

HTMLStyleBuilder offer public methods to build HTML style strings from AODL OpenDocument IStyle objects and from global style nodes
Show file Open project: monsterlabs/HumanRightsTracker

Public Methods

Method Description
GetAGlobalStylAsHtml ( IDocument document, string styleName ) : string

Gets the A global styl as HTML.

GetCellStyleAsHtml ( CellStyle cellStyle ) : string

Gets the cell style as HTML.

GetColumnStyleAsHtml ( ColumnStyle columnStyle ) : string

Gets the column style as HTML.

GetFrameStyleAsHtml ( Frame frame ) : string

Gets the frame style as HTML.

GetHeadingStyleAsHtml ( Header header ) : string

Gets the heading style as HTML.

GetParagraphStyleAsHtml ( ParagraphStyle paragraphStyle ) : string

Gets the paragraph style as HTML.

GetTableStyleAsHtml ( TableStyle tableStyle ) : string

Gets the table style as HTML.

GetTextStyleAsHtml ( TextProperties textStyle ) : string

Gets the text style as HTML.

HTMLStyleBuilder ( ) : System

Initializes a new instance of the HTMLStyleBuilder class.

Method Details

GetAGlobalStylAsHtml() public method

Gets the A global styl as HTML.
public GetAGlobalStylAsHtml ( IDocument document, string styleName ) : string
document IDocument The document.
styleName string Name of the style.
return string

GetCellStyleAsHtml() public method

Gets the cell style as HTML.
public GetCellStyleAsHtml ( CellStyle cellStyle ) : string
cellStyle AODL.Document.Styles.CellStyle The cell style.
return string

GetColumnStyleAsHtml() public method

Gets the column style as HTML.
public GetColumnStyleAsHtml ( ColumnStyle columnStyle ) : string
columnStyle AODL.Document.Styles.ColumnStyle The column style.
return string

GetFrameStyleAsHtml() public method

Gets the frame style as HTML.
public GetFrameStyleAsHtml ( Frame frame ) : string
frame AODL.Document.Content.Draw.Frame The frame.
return string

GetHeadingStyleAsHtml() public method

Gets the heading style as HTML.
public GetHeadingStyleAsHtml ( Header header ) : string
header AODL.Document.Content.Text.Header The header.
return string

GetParagraphStyleAsHtml() public method

Gets the paragraph style as HTML.
public GetParagraphStyleAsHtml ( ParagraphStyle paragraphStyle ) : string
paragraphStyle AODL.Document.Styles.ParagraphStyle The paragraph style.
return string

GetTableStyleAsHtml() public method

Gets the table style as HTML.
public GetTableStyleAsHtml ( TableStyle tableStyle ) : string
tableStyle AODL.Document.Styles.TableStyle The table style.
return string

GetTextStyleAsHtml() public method

Gets the text style as HTML.
public GetTextStyleAsHtml ( TextProperties textStyle ) : string
textStyle AODL.Document.Styles.Properties.TextProperties The text style.
return string

HTMLStyleBuilder() public method

Initializes a new instance of the HTMLStyleBuilder class.
public HTMLStyleBuilder ( ) : System
return System