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()
Returns a TableFormat.FillFormat object containing the fill formatting for the Table.
|
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.
|
getGraphicalObjectLockaddPlaceholder, getAlternativeText, getAlternativeTextTitle, getBasePlaceholder, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFrame, getHeight, getHidden, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getImage, getImage, getLineFormat, getName, getOfficeInteropShapeId, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getShapeLock, getSlide, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isDecorative, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setDecorative, setFrame, setHeight, setHidden, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvgequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGraphicalObjectLockaddPlaceholder, getAlternativeText, getAlternativeTextTitle, getBasePlaceholder, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFrame, getHeight, getHidden, getImage, getImage, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getShapeLock, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isDecorative, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setDecorative, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvggetSlidegetPresentationgetHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOverpublic 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 ITablepublic final ITableFormat getTableFormat()
Returns the TableFormat object that contains formatting properties for this table.
Read-only ITableFormat.
getTableFormat in interface ITablepublic final ICell mergeCells(ICell cell1, ICell cell2, boolean allowSplitting)
Merges neighbour cells.
mergeCells in interface ITablecell1 - 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 ITablepublic final void setStylePreset(int value)
Gets or sets builtin table style.
Read/write TableStylePreset.
setStylePreset in interface ITablepublic final boolean getRightToLeft()
Determines whether the table has right to left reading order.
Read-write boolean.
getRightToLeft in interface ITablepublic final void setRightToLeft(boolean value)
Determines whether the table has right to left reading order.
Read-write boolean.
setRightToLeft in interface ITablepublic 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 ITablepublic 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 ITablepublic 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 ITablepublic 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 ITablepublic 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 ITablepublic 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 ITablepublic 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 ITablepublic 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 ITablepublic final boolean getHorizontalBanding()
Determines whether the even rows has to be drawn with a different formatting.
Read/write boolean.
getHorizontalBanding in interface ITablepublic final void setHorizontalBanding(boolean value)
Determines whether the even rows has to be drawn with a different formatting.
Read/write boolean.
setHorizontalBanding in interface ITablepublic final boolean getVerticalBanding()
Determines whether the even columns has to be drawn with a different formatting.
Read/write boolean.
getVerticalBanding in interface ITablepublic final void setVerticalBanding(boolean value)
Determines whether the even columns has to be drawn with a different formatting.
Read/write boolean.
setVerticalBanding in interface ITablepublic final void setTextFormat(IPortionFormat source)
Sets defined portion format properties to all table cells' portions.
setTextFormat in interface IBulkTextFormattablesource - 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 IBulkTextFormattablesource - 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 IBulkTextFormattablesource - ITextFrameFormat object with necessary properties set.public IFillFormat getFillFormat()
Returns a TableFormat.FillFormat object containing the fill formatting for the Table.
Read-only IFillFormat.
getFillFormat in interface IShapegetFillFormat in class ShapeCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.