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

Row represent a row within a table. If the row is part of a table which is used in a text document, then Cell merging is possible.
상속: IContent, IHtml
파일 보기 프로젝트 열기: monsterlabs/HumanRightsTracker 1 사용 예제들

공개 메소드들

메소드 설명
GetCellIndex ( Cell cell ) : int

Gets the index of the cell.

GetHtml ( ) : string

Return the content as Html string

InsertCellAt ( int position, Cell cell ) : void

Inserts the cell at the given zero based position.

MergeCells ( AODL document, int cellStartIndex, int mergeCells, bool mergeContent ) : void

Merge cells. This is only possible if the rows table is part of a text document.

Row ( IDocument document, XmlNode node ) : System

Initializes a new instance of the Row class.

Row ( Table table ) : System

Initializes a new instance of the Row class.

Row ( Table table, string styleName ) : System

Initializes a new instance of the Row class.

비공개 메소드들

메소드 설명
CellCollection_Inserted ( int index, object value ) : void

Cells the collection_ inserted.

CellCollection_Removed ( int index, object value ) : void

Cells the collection_ removed.

CellSpanCollection_Inserted ( int index, object value ) : void

Cells the span collection_ inserted.

CellSpanCollection_Removed ( int index, object value ) : void

Cells the span collection_ removed.

CreateAttribute ( string name, string text, string prefix ) : void

Create a XmlAttribute for propertie XmlNode.

GetRowIndex ( ) : int

Gets the index of the row.

InitStandards ( ) : void

Inits the standards.

NewXmlNode ( string styleName ) : void

Create a new Xml node.

Row_OnRowChanged ( int rowNumber, int cellCount ) : void

After a row size changed all rows before the changed row maybe need to be resized. This also belongs to the columns.

메소드 상세

GetCellIndex() 공개 메소드

Gets the index of the cell.
public GetCellIndex ( Cell cell ) : int
cell Cell The cell.
리턴 int

GetHtml() 공개 메소드

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

InsertCellAt() 공개 메소드

Inserts the cell at the given zero based position.
public InsertCellAt ( int position, Cell cell ) : void
position int The position.
cell Cell The cell.
리턴 void

MergeCells() 공개 메소드

Merge cells. This is only possible if the rows table is part of a text document.
public MergeCells ( AODL document, int cellStartIndex, int mergeCells, bool mergeContent ) : void
document AODL The TextDocument this row belongs to.
cellStartIndex int Start index of the cell.
mergeCells int The count of cells to merge incl. the starting cell.
mergeContent bool if set to true [merge content].
리턴 void

Row() 공개 메소드

Initializes a new instance of the Row class.
public Row ( IDocument document, XmlNode node ) : System
document IDocument The document.
node System.Xml.XmlNode The node.
리턴 System

Row() 공개 메소드

Initializes a new instance of the Row class.
public Row ( Table table ) : System
table Table The table.
리턴 System

Row() 공개 메소드

Initializes a new instance of the Row class.
public Row ( Table table, string styleName ) : System
table Table The table.
styleName string Name of the style.
리턴 System