C# 클래스 ApiExamples.ExTable

상속: ApiExampleBase
파일 보기 프로젝트 열기: aspose-words/Aspose.Words-for-.NET

공개 메소드들

메소드 설명
CalcuateDepthOfNestedTables ( ) : void
ConvertTextboxToTable ( ) : void
MergeCells ( Cell startCell, Cell endCell ) : void

Merges the range of cells found between the two specified cells both horizontally and vertically. Can span over multiple rows.

PrintCellMergeType ( Cell cell ) : string

비공개 메소드들

메소드 설명
AddClonedRowToTable ( ) : void
AllowAutoFitOnTable ( ) : void
CalcuateDepthOfNestedTablesCaller ( ) : void
CellFormatProperties ( ) : void
CheckCellsMerged ( ) : void
CloneTable ( ) : void
CombineTables ( ) : void
ConvertTextboxToTable ( Shape textBox ) : void

Converts a textbox to a table by copying the same content and formatting. Currently export to HTML will render the textbox as an image which looses any text functionality. This is useful to convert textboxes in order to retain proper text.

ConvertTextboxToTableCaller ( ) : void
CreateTable ( Document doc, int rowCount, int cellCount, string cellText ) : Table

Creates a new table in the document with the given dimensions and text in each cell.

DisplayContentOfTables ( ) : void
EnsureCellMinimum ( ) : void
EnsureRowMinimum ( ) : void
EnsureTableMinimum ( ) : void
FixDefaultTableBordersIn105 ( ) : void
FixDefaultTableFormattingExceptionIn105 ( ) : void
FixDefaultTableWidthsInAw105 ( ) : void
FixRowFormattingNotAppliedIn105 ( ) : void
GetChildTableCount ( Table table ) : int

Determines if a table contains any immediate child table within its cells. Does not recursively traverse through those tables to check for further tables. Returns true if at least one child cell contains a table. Returns false if no cells in the table contains a table.

GetIndexOfTableElements ( ) : void
GetNestedDepthOfTable ( Table table ) : int

Calculates what level a table is nested inside other tables. An integer containing the level the table is nested at. 0 = Table is not nested inside any other table 1 = Table is nested within one parent table 2 = Table is nested within two parent tables etc..

GetPreferredWidthTypeAndValue ( ) : void
InsertTableUsingNodeConstructors ( ) : void
KeepTableTogether ( ) : void
MergeCellRange ( ) : void
NestedTablesUsingNodeConstructors ( ) : void
PrintTableRange ( ) : void
RemoveBordersFromAllCells ( ) : void
ReplaceTextInTable ( ) : void
RowFormatDisableBreakAcrossPages ( ) : void
RowFormatProperties ( ) : void
SetTableBordersAll ( ) : void
SetTableBordersOutline ( ) : void
SplitTable ( ) : void

메소드 상세

CalcuateDepthOfNestedTables() 공개 메소드

public CalcuateDepthOfNestedTables ( ) : void
리턴 void

ConvertTextboxToTable() 공개 메소드

public ConvertTextboxToTable ( ) : void
리턴 void

MergeCells() 공개 정적인 메소드

Merges the range of cells found between the two specified cells both horizontally and vertically. Can span over multiple rows.
public static MergeCells ( Cell startCell, Cell endCell ) : void
startCell Cell
endCell Cell
리턴 void

PrintCellMergeType() 공개 메소드

public PrintCellMergeType ( Cell cell ) : string
cell Cell
리턴 string