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
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
columnIndex | int | |
rowIndex | int |
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:
Parameter | Type | Description |
---|---|---|
value | int |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
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:
Parameter | Type | Description |
---|---|---|
value | boolean |
mergeCells(ICell cell1, ICell cell2, boolean allowSplitting)
public abstract ICell mergeCells(ICell cell1, ICell cell2, boolean allowSplitting)
Merges neighbour cells.
Parameters:
Parameter | Type | Description |
---|---|---|
cell1 | ICell | Cell to merge. |
cell2 | ICell | Cell to merge. |
allowSplitting | boolean | True to allow cells splitting. |
Returns: ICell - Merged cell.