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

Table represent a table that is used within a spreadsheet document or a TextDocument!
Inheritance: IContent, IHtml
Afficher le fichier Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Méthodes publiques

Méthode Description
AddNewForm ( string name ) : ODFForm

Adds new form to the forms collection

BuildNode ( ) : XmlNode

Builds the node.

CreateCell ( ) : Cell

Create a new cell within this table which use the standard style. The cell isn't part of the table until you insert it via the InsertCellAt(int rowIndex, int columnIndex, Cell cell)

FindControlById ( string id ) : ODFFormControl

Looks for a specific control through all the forms by its ID

FindControlByName ( string name ) : ODFFormControl

Looks for a specific control through all the forms by its name

GetHtml ( ) : string

Return the content as Html string

InsertCellAt ( int rowIndex, int columnIndex, Cell cell ) : void

Inserts the cell at the specified position. The RowCollection, the rows CellCollection and the ColumnCollection will be resized automatically.

InsertChartAt ( string cellName, Chart chart ) : void
Reset ( ) : void

Resets the table node.

Table ( IDocument document, XmlNode node ) : System

Initializes a new instance of the Table class.

Table ( IDocument document, string name, string styleName ) : System

Initializes a new instance of the Table class.

Private Methods

Méthode Description
CreateAttribute ( string name, string text, string prefix ) : void

Create a XmlAttribute for propertie XmlNode.

FormCollection_Removed ( int index, object value ) : void
FormsCollection_Clear ( ) : void
NewXmlNode ( string name, string styleName ) : void

Create a new Xml node.

Method Details

AddNewForm() public méthode

Adds new form to the forms collection
public AddNewForm ( string name ) : ODFForm
name string Form name
Résultat AODL.Document.Forms.ODFForm

BuildNode() public méthode

Builds the node.
public BuildNode ( ) : XmlNode
Résultat System.Xml.XmlNode

CreateCell() public méthode

Create a new cell within this table which use the standard style. The cell isn't part of the table until you insert it via the InsertCellAt(int rowIndex, int columnIndex, Cell cell)
public CreateCell ( ) : Cell
Résultat Cell

FindControlById() public méthode

Looks for a specific control through all the forms by its ID
public FindControlById ( string id ) : ODFFormControl
id string Control ID
Résultat AODL.Document.Forms.Controls.ODFFormControl

FindControlByName() public méthode

Looks for a specific control through all the forms by its name
public FindControlByName ( string name ) : ODFFormControl
name string
Résultat AODL.Document.Forms.Controls.ODFFormControl

GetHtml() public méthode

Return the content as Html string
public GetHtml ( ) : string
Résultat string

InsertCellAt() public méthode

Inserts the cell at the specified position. The RowCollection, the rows CellCollection and the ColumnCollection will be resized automatically.
public InsertCellAt ( int rowIndex, int columnIndex, Cell cell ) : void
rowIndex int Index of the row.
columnIndex int Index of the column.
cell Cell The cell.
Résultat void

InsertChartAt() public méthode

public InsertChartAt ( string cellName, Chart chart ) : void
cellName string
chart AODL.Document.Content.Charts.Chart
Résultat void

Reset() public méthode

Resets the table node.
public Reset ( ) : void
Résultat void

Table() public méthode

Initializes a new instance of the Table class.
public Table ( IDocument document, XmlNode node ) : System
document IDocument The document.
node System.Xml.XmlNode The node.
Résultat System

Table() public méthode

Initializes a new instance of the Table class.
public Table ( IDocument document, string name, string styleName ) : System
document IDocument The spreadsheet document.
name string The name.
styleName string Name of the style.
Résultat System