public final class Table extends GraphicalObject implements ITable
Represents a table on a slide.
Modifier and Type | Method and Description |
---|---|
ICell |
get_Item(int columnIndex,
int rowIndex)
Returns the cell at the specified column and row indexes.
|
IColumnCollection |
getColumns()
Returns the collectoin of columns.
|
IFillFormat |
getFillFormat()
Deprecated.
Use Table.TableFormat.FillFormat instead. The property will be returning null after release of version 20.8.
|
boolean |
getFirstCol()
Determines whether the first column of a table has to be drawn with a special formatting.
|
boolean |
getFirstRow()
Determines whether the first row of a table has to be drawn with a special formatting.
|
boolean |
getHorizontalBanding()
Determines whether the even rows has to be drawn with a different formatting.
|
boolean |
getLastCol()
Determines whether the last column of a table has to be drawn with a special formatting.
|
boolean |
getLastRow()
Determines whether the last row of a table has to be drawn with a special formatting.
|
boolean |
getRightToLeft()
Determines whether the table has right to left reading order.
|
IRowCollection |
getRows()
Returns the collectoin of rows.
|
int |
getStylePreset()
Gets or sets builtin table style.
|
ITableFormat |
getTableFormat()
Returns the TableFormat object that contains formatting properties for this table.
|
boolean |
getVerticalBanding()
Determines whether the even columns has to be drawn with a different formatting.
|
ICell |
mergeCells(ICell cell1,
ICell cell2,
boolean allowSplitting)
Merges neighbour cells.
|
void |
setFirstCol(boolean value)
Determines whether the first column of a table has to be drawn with a special formatting.
|
void |
setFirstRow(boolean value)
Determines whether the first row of a table has to be drawn with a special formatting.
|
void |
setHorizontalBanding(boolean value)
Determines whether the even rows has to be drawn with a different formatting.
|
void |
setLastCol(boolean value)
Determines whether the last column of a table has to be drawn with a special formatting.
|
void |
setLastRow(boolean value)
Determines whether the last row of a table has to be drawn with a special formatting.
|
void |
setRightToLeft(boolean value)
Determines whether the table has right to left reading order.
|
void |
setStylePreset(int value)
Gets or sets builtin table style.
|
void |
setTextFormat(IParagraphFormat source)
Sets defined paragraph format properties to all table cells' paragraphs.
|
void |
setTextFormat(IPortionFormat source)
Sets defined portion format properties to all table cells' portions.
|
void |
setTextFormat(ITextFrameFormat source)
Sets defined text frame format properties to all table cells' text frames.
|
void |
setVerticalBanding(boolean value)
Determines whether the even columns has to be drawn with a different formatting.
|
getGraphicalObjectLock
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFrame, getHeight, getHidden, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getOfficeInteropShapeId, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGraphicalObjectLock
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
getSlide
getPresentation
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
public final ICell get_Item(int columnIndex, int rowIndex)
Returns the cell at the specified column and row indexes.
Read-only Cell
.
public final IRowCollection getRows()
Returns the collectoin of rows.
Read-only IRowCollection
.
public final IColumnCollection getColumns()
Returns the collectoin of columns.
Read-only IColumnCollection
.
getColumns
in interface ITable
public final ITableFormat getTableFormat()
Returns the TableFormat object that contains formatting properties for this table.
Read-only ITableFormat
.
getTableFormat
in interface ITable
public final ICell mergeCells(ICell cell1, ICell cell2, boolean allowSplitting)
Merges neighbour cells.
mergeCells
in interface ITable
cell1
- Cell to merge.cell2
- Cell to merge.allowSplitting
- True to allow cells splitting.public final int getStylePreset()
Gets or sets builtin table style.
Read/write TableStylePreset
.
getStylePreset
in interface ITable
public final void setStylePreset(int value)
Gets or sets builtin table style.
Read/write TableStylePreset
.
setStylePreset
in interface ITable
public final boolean getRightToLeft()
Determines whether the table has right to left reading order.
Read-write boolean
.
getRightToLeft
in interface ITable
public final void setRightToLeft(boolean value)
Determines whether the table has right to left reading order.
Read-write boolean
.
setRightToLeft
in interface ITable
public final boolean getFirstRow()
Determines whether the first row of a table has to be drawn with a special formatting.
Read/write boolean
.
getFirstRow
in interface ITable
public final void setFirstRow(boolean value)
Determines whether the first row of a table has to be drawn with a special formatting.
Read/write boolean
.
setFirstRow
in interface ITable
public final boolean getFirstCol()
Determines whether the first column of a table has to be drawn with a special formatting.
Read/write boolean
.
getFirstCol
in interface ITable
public final void setFirstCol(boolean value)
Determines whether the first column of a table has to be drawn with a special formatting.
Read/write boolean
.
setFirstCol
in interface ITable
public final boolean getLastRow()
Determines whether the last row of a table has to be drawn with a special formatting.
Read/write boolean
.
getLastRow
in interface ITable
public final void setLastRow(boolean value)
Determines whether the last row of a table has to be drawn with a special formatting.
Read/write boolean
.
setLastRow
in interface ITable
public final boolean getLastCol()
Determines whether the last column of a table has to be drawn with a special formatting.
Read/write boolean
.
getLastCol
in interface ITable
public final void setLastCol(boolean value)
Determines whether the last column of a table has to be drawn with a special formatting.
Read/write boolean
.
setLastCol
in interface ITable
public final boolean getHorizontalBanding()
Determines whether the even rows has to be drawn with a different formatting.
Read/write boolean
.
getHorizontalBanding
in interface ITable
public final void setHorizontalBanding(boolean value)
Determines whether the even rows has to be drawn with a different formatting.
Read/write boolean
.
setHorizontalBanding
in interface ITable
public final boolean getVerticalBanding()
Determines whether the even columns has to be drawn with a different formatting.
Read/write boolean
.
getVerticalBanding
in interface ITable
public final void setVerticalBanding(boolean value)
Determines whether the even columns has to be drawn with a different formatting.
Read/write boolean
.
setVerticalBanding
in interface ITable
public final void setTextFormat(IPortionFormat source)
Sets defined portion format properties to all table cells' portions.
setTextFormat
in interface IBulkTextFormattable
source
- IPortionFormat object with necessary properties set.public final void setTextFormat(IParagraphFormat source)
Sets defined paragraph format properties to all table cells' paragraphs.
setTextFormat
in interface IBulkTextFormattable
source
- IParagraphFormat object with necessary properties set.public final void setTextFormat(ITextFrameFormat source)
Sets defined text frame format properties to all table cells' text frames.
setTextFormat
in interface IBulkTextFormattable
source
- ITextFrameFormat object with necessary properties set.@Deprecated public IFillFormat getFillFormat()
Returns the FillFormat object that contains fill formatting properties for a shape.
Note: can return null for certain types of shapes which don't have fill properties.
Read-only IFillFormat
.
getFillFormat
in interface IShape
getFillFormat
in class Shape