ITable

All Implemented Interfaces: com.aspose.slides.IGraphicalObject, com.aspose.slides.IBulkTextFormattable

public interface ITable extends IGraphicalObject, IBulkTextFormattable

Represents a table on a slide.

Methods

MethodDescription
get_Item(int columnIndex, int rowIndex)Returns the cell at the specified column and row indexes.
getRows()Returns the collectoin of rows.
getColumns()Returns the collectoin of columns.
getTableFormat()Returns the TableFormat object that contains formatting properties for this table.
getStylePreset()Get’s or sets builtin table style.
setStylePreset(int value)Get’s or sets builtin table style.
getRightToLeft()Determines whether the table has right to left reading order.
setRightToLeft(boolean value)Determines whether the table has right to left reading order.
getFirstRow()Determines whether the first row of a table has to be drawn with a special formatting.
setFirstRow(boolean value)Determines whether the first row of a table has to be drawn with a special formatting.
getFirstCol()Determines whether the first column of a table has to be drawn with a special formatting.
setFirstCol(boolean value)Determines whether the first column of a table has to be drawn with a special formatting.
getLastRow()Determines whether the last row of a table has to be drawn with a special formatting.
setLastRow(boolean value)Determines whether the last row of a table has to be drawn with a special formatting.
getLastCol()Determines whether the last column of a table has to be drawn with a special formatting.
setLastCol(boolean value)Determines whether the last column of a table has to be drawn with a special formatting.
getHorizontalBanding()Determines whether the even rows has to be drawn with a different formatting.
setHorizontalBanding(boolean value)Determines whether the even rows has to be drawn with a different formatting.
getVerticalBanding()Determines whether the even columns has to be drawn with a different formatting.
setVerticalBanding(boolean value)Determines whether the even columns has to be drawn with a different formatting.
mergeCells(ICell cell1, ICell cell2, boolean allowSplitting)Merges neighbour cells.

get_Item(int columnIndex, int rowIndex)

public abstract ICell get_Item(int columnIndex, int rowIndex)

Returns the cell at the specified column and row indexes. Read-only ICell.

Parameters:

ParameterTypeDescription
columnIndexint
rowIndexint

Returns: ICell

getRows()

public abstract IRowCollection getRows()

Returns the collectoin of rows. Read-only IRowCollection.

Returns: IRowCollection

getColumns()

public abstract IColumnCollection getColumns()

Returns the collectoin of columns. Read-only IColumnCollection.

Returns: IColumnCollection

getTableFormat()

public abstract ITableFormat getTableFormat()

Returns the TableFormat object that contains formatting properties for this table. Read-only ITableFormat.

Returns: ITableFormat

getStylePreset()

public abstract int getStylePreset()

Get’s or sets builtin table style. Read/write TableStylePreset.

Returns: int

setStylePreset(int value)

public abstract void setStylePreset(int value)

Get’s or sets builtin table style. Read/write TableStylePreset.

Parameters:

ParameterTypeDescription
valueint

getRightToLeft()

public abstract boolean getRightToLeft()

Determines whether the table has right to left reading order. Read-write boolean.

Returns: boolean

setRightToLeft(boolean value)

public abstract void setRightToLeft(boolean value)

Determines whether the table has right to left reading order. Read-write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getFirstRow()

public abstract boolean getFirstRow()

Determines whether the first row of a table has to be drawn with a special formatting. Read/write boolean.

Returns: boolean

setFirstRow(boolean value)

public abstract void setFirstRow(boolean value)

Determines whether the first row of a table has to be drawn with a special formatting. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getFirstCol()

public abstract boolean getFirstCol()

Determines whether the first column of a table has to be drawn with a special formatting. Read/write boolean.

Returns: boolean

setFirstCol(boolean value)

public abstract void setFirstCol(boolean value)

Determines whether the first column of a table has to be drawn with a special formatting. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getLastRow()

public abstract boolean getLastRow()

Determines whether the last row of a table has to be drawn with a special formatting. Read/write boolean.

Returns: boolean

setLastRow(boolean value)

public abstract void setLastRow(boolean value)

Determines whether the last row of a table has to be drawn with a special formatting. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getLastCol()

public abstract boolean getLastCol()

Determines whether the last column of a table has to be drawn with a special formatting. Read/write boolean.

Returns: boolean

setLastCol(boolean value)

public abstract void setLastCol(boolean value)

Determines whether the last column of a table has to be drawn with a special formatting. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getHorizontalBanding()

public abstract boolean getHorizontalBanding()

Determines whether the even rows has to be drawn with a different formatting. Read/write boolean.

Returns: boolean

setHorizontalBanding(boolean value)

public abstract void setHorizontalBanding(boolean value)

Determines whether the even rows has to be drawn with a different formatting. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

getVerticalBanding()

public abstract boolean getVerticalBanding()

Determines whether the even columns has to be drawn with a different formatting. Read/write boolean.

Returns: boolean

setVerticalBanding(boolean value)

public abstract void setVerticalBanding(boolean value)

Determines whether the even columns has to be drawn with a different formatting. Read/write boolean.

Parameters:

ParameterTypeDescription
valueboolean

mergeCells(ICell cell1, ICell cell2, boolean allowSplitting)

public abstract ICell mergeCells(ICell cell1, ICell cell2, boolean allowSplitting)

Merges neighbour cells.

Parameters:

ParameterTypeDescription
cell1ICellCell to merge.
cell2ICellCell to merge.
allowSplittingbooleanTrue to allow cells splitting.

Returns: ICell - Merged cell.