C# 클래스 AODL.Document.Content.Tables.Table

Table represent a table that is used within a spreadsheet document or a TextDocument!
상속: IContent, IHtml
파일 보기 프로젝트 열기: monsterlabs/HumanRightsTracker 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
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.

메소드 상세

AddNewForm() 공개 메소드

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

BuildNode() 공개 메소드

Builds the node.
public BuildNode ( ) : XmlNode
리턴 System.Xml.XmlNode

CreateCell() 공개 메소드

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
리턴 Cell

FindControlById() 공개 메소드

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

FindControlByName() 공개 메소드

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

GetHtml() 공개 메소드

Return the content as Html string
public GetHtml ( ) : string
리턴 string

InsertCellAt() 공개 메소드

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.
리턴 void

InsertChartAt() 공개 메소드

public InsertChartAt ( string cellName, Chart chart ) : void
cellName string
chart AODL.Document.Content.Charts.Chart
리턴 void

Reset() 공개 메소드

Resets the table node.
public Reset ( ) : void
리턴 void

Table() 공개 메소드

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.
리턴 System

Table() 공개 메소드

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.
리턴 System