C# Класс ApiExamples.ExTable

Наследование: ApiExampleBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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