C# Class AODL.Document.Content.Tables.TableBuilder

TableBuilder offer static methode to build table for different document types.
Datei anzeigen Open project: monsterlabs/HumanRightsTracker

Public Methods

Method Description
CreateSpreadsheetTable ( AODL document, string tableName, string styleName ) : Table

Create a spreadsheet table.

CreateTextDocumentTable ( AODL document, string tableName, string styleName, int rows, int columns, double width, bool useTableRowHeader, bool useBorder ) : Table

Creates the text document table.

Private Methods

Method Description
GetColumnCellWidth ( int columns, double tableWith ) : string

Gets the width of the column cell.

Method Details

CreateSpreadsheetTable() public static method

Create a spreadsheet table.
public static CreateSpreadsheetTable ( AODL document, string tableName, string styleName ) : Table
document AODL The document.
tableName string Name of the table.
styleName string Name of the style.
return Table

CreateTextDocumentTable() public static method

Creates the text document table.
public static CreateTextDocumentTable ( AODL document, string tableName, string styleName, int rows, int columns, double width, bool useTableRowHeader, bool useBorder ) : Table
document AODL The document.
tableName string Name of the table.
styleName string Name of the style.
rows int The rows.
columns int The columns.
width double The width.
useTableRowHeader bool if set to true [use table row header].
useBorder bool The useBorder.
return Table