ITable

Overview

ITable is a interface in Aspose.Slides FOSS for Java. Inherits from: IGraphicalObject, IBulkTextFormattable.

Represents a table on a slide.

This interface provides 66 methods for working with ITable objects in Java programs. Available methods include: asIBulkTextFormattable, asIGraphicalObject, asIPresentationComponent, getAlternativeText, getAlternativeTextTitle, getAsISlideComponent, getCNvPr, getColumns, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, and 54 additional methods. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: alternativeText, alternativeTextTitle, asISlideComponent, cNvPr, columns, connectionSiteCount, and 35 more.

Properties

NameTypeAccessDescription
rowsIRowCollectionReadReturns the collection of rows.
columnsIColumnCollectionReadReturns the collection of columns.
tableFormatITableFormatReadReturns the table formatting.
stylePresetTableStylePresetReadReturns the table style preset.
rightToLeftbooleanReadDetermines whether the table has right-to-left reading order.
firstRowbooleanReadDetermines whether the first row has special formatting.
firstColbooleanReadDetermines whether the first column has special formatting.
lastRowbooleanReadDetermines whether the last row has special formatting.
lastColbooleanReadDetermines whether the last column has special formatting.
horizontalBandingbooleanReadDetermines whether the table has horizontal banding.
verticalBandingbooleanReadDetermines whether the table has vertical banding.
graphicalObjectLockIGraphicalObjectLockReadReturns shape’s locks.
textHolderbooleanReadDetermines whether the shape is a text holder.
placeholderIPlaceholderReadReturns the placeholder for this shape.
customDataICustomDataReadReturns the shape’s custom data.
rawFrameIShapeFrameReadReturns the raw shape frame’s properties.
frameIShapeFrameReadReturns the shape frame’s properties.
lineFormatILineFormatReadReturns the line format for this shape.
threeDFormatIThreeDFormatReadReturns the 3-D format for this shape.
effectFormatIEffectFormatReadReturns the effect format for this shape.
fillFormatIFillFormatReadReturns the fill format for this shape.
hiddenbooleanReadDetermines whether the shape is hidden.
zOrderPositionintReadReturns the position of a shape in the z-order.
connectionSiteCountintReadReturns the number of connection sites on the shape.
rotationdoubleReadReturns the rotation angle of the shape in degrees.
xdoubleReadGets the x-coordinate of the upper-left corner of the shape, in points.
ydoubleReadGets the y-coordinate of the upper-left corner of the shape, in points.
widthdoubleReadGets the width of the shape, in points.
heightdoubleReadGets the height of the shape, in points.
alternativeTextStringReadReturns or sets the alternative text associated with a shape.
alternativeTextTitleStringReadReturns or sets the title of alternative text associated with a shape.
nameStringReadReturns or sets the name of a shape.
decorativebooleanReadGets or sets the ‘Mark as decorative’ option.
uniqueIdintReadReturns an internal, presentation-scoped identifier.
officeInteropShapeIdintReadReturns a slide-scoped unique identifier that remains constant
for the lifetime of the shape.
groupedbooleanReadDetermines whether the shape is grouped.
asISlideComponentISlideComponentReadAllows to get base {@link ISlideComponent} interface.
shapeTypeShapeTypeReadGets the AutoShape type.
cNvPrElementReadReturns the {@code cNvPr} element for this shape, or {@code null}.
slideIBaseSlideReadReturns the parent slide.
presentationIPresentationReadReturns the presentation containing this component.

Methods

SignatureDescription
getRows()IRowCollectionReturns the collection of rows.
getColumns()IColumnCollectionReturns the collection of columns.
getTableFormat()ITableFormatReturns the table formatting.
getStylePreset()TableStylePresetReturns the table style preset.
setStylePreset(value: TableStylePreset)Sets the table style preset.
isRightToLeft()booleanDetermines whether the table has right-to-left reading order.
setRightToLeft(value: boolean)Sets the right-to-left reading order.
isFirstRow()booleanDetermines whether the first row has special formatting.
setFirstRow(value: boolean)Sets whether the first row has special formatting.
isFirstCol()booleanDetermines whether the first column has special formatting.
setFirstCol(value: boolean)Sets whether the first column has special formatting.
isLastRow()booleanDetermines whether the last row has special formatting.
setLastRow(value: boolean)Sets whether the last row has special formatting.
isLastCol()booleanDetermines whether the last column has special formatting.
setLastCol(value: boolean)Sets whether the last column has special formatting.
isHorizontalBanding()booleanDetermines whether the table has horizontal banding.
setHorizontalBanding(value: boolean)Sets whether the table has horizontal banding.
isVerticalBanding()booleanDetermines whether the table has vertical banding.
setVerticalBanding(value: boolean)Sets whether the table has vertical banding.
mergeCells(cell1: ICell, cell2: ICell, allowSplitting: boolean)ICellMerges neighbouring cells.
asIGraphicalObject()IGraphicalObjectReturns this table as an {@link IGraphicalObject}.
asIBulkTextFormattable()IBulkTextFormattableReturns this table as an {@link IBulkTextFormattable}.
getGraphicalObjectLock()IGraphicalObjectLockReturns shape’s locks.
isTextHolder()booleanDetermines whether the shape is a text holder.
getPlaceholder()IPlaceholderReturns the placeholder for this shape.
getCustomData()ICustomDataReturns the shape’s custom data.
getRawFrame()IShapeFrameReturns the raw shape frame’s properties.
setRawFrame(value: IShapeFrame)Sets the raw shape frame’s properties.
getFrame()IShapeFrameReturns the shape frame’s properties.
setFrame(value: IShapeFrame)Sets the shape frame’s properties.
getLineFormat()ILineFormatReturns the line format for this shape.
getThreeDFormat()IThreeDFormatReturns the 3-D format for this shape.
getEffectFormat()IEffectFormatReturns the effect format for this shape.
getFillFormat()IFillFormatReturns the fill format for this shape.
isHidden()booleanDetermines whether the shape is hidden.
setHidden(value: boolean)Sets whether the shape is hidden.
getZOrderPosition()intReturns the position of a shape in the z-order.
getConnectionSiteCount()intReturns the number of connection sites on the shape.
getRotation()doubleReturns the rotation angle of the shape in degrees.
setRotation(rotation: double)Sets the rotation angle of the shape in degrees.
getX()doubleGets the x-coordinate of the upper-left corner of the shape, in points.
setX(x: double)Sets the x-coordinate of the upper-left corner of the shape, in points.
getY()doubleGets the y-coordinate of the upper-left corner of the shape, in points.
setY(y: double)Sets the y-coordinate of the upper-left corner of the shape, in points.
getWidth()doubleGets the width of the shape, in points.
setWidth(width: double)Sets the width of the shape, in points.
getHeight()doubleGets the height of the shape, in points.
setHeight(height: double)Sets the height of the shape, in points.
getAlternativeText()StringReturns or sets the alternative text associated with a shape.
setAlternativeText(value: String)Sets the alternative text associated with a shape.
getAlternativeTextTitle()StringReturns or sets the title of alternative text associated with a shape.
setAlternativeTextTitle(value: String)Sets the title of alternative text associated with a shape.
getName()StringReturns or sets the name of a shape.
setName(value: String)Sets the name of a shape.
isDecorative()booleanGets or sets the ‘Mark as decorative’ option.
setDecorative(value: boolean)Sets the ‘Mark as decorative’ option.
getUniqueId()intReturns an internal, presentation-scoped identifier.
getOfficeInteropShapeId()intReturns a slide-scoped unique identifier that remains constant
for the lifetime of the shape.
isGrouped()booleanDetermines whether the shape is grouped.
getAsISlideComponent()ISlideComponentAllows to get base {@link ISlideComponent} interface.
getShapeType()ShapeTypeGets the AutoShape type.
getCNvPr()ElementReturns the {@code cNvPr} element for this shape, or {@code null}.
getSlide()IBaseSlideReturns the parent slide.
asIPresentationComponent()IPresentationComponentReturns the base {@link IPresentationComponent} interface.
getPresentation()IPresentationReturns the presentation containing this component.
setTextFormat(source: Object)Sets the text format for all child text elements.

See Also