Table

Overview

Table is a class in Aspose.Slides FOSS for Java. Inherits from: GeometryShape, ITable.

Represents a table shape on a slide.

This class provides 74 methods for working with Table objects in Java programs. Available methods include: GeometryShape, Table, asIBulkTextFormattable, asIGraphicalObject, asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsISlideComponent, getCNvPr, getColumns, getConnectionSiteCount, and 61 additional methods. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: adjustments, alternativeText, alternativeTextTitle, asISlideComponent, cNvPr, columns, and 37 more.

Properties

NameTypeAccessDescription
rowsIRowCollectionReadGets the rows.
columnsIColumnCollectionReadGets the columns.
tableFormatITableFormatReadGets the table format.
stylePresetTableStylePresetReadGets the style preset.
rightToLeftbooleanReadGets the right to left.
firstRowbooleanReadGets the first row.
firstColbooleanReadGets the first col.
lastRowbooleanReadGets the last row.
lastColbooleanReadGets the last col.
horizontalBandingbooleanReadGets the horizontal banding.
verticalBandingbooleanReadGets the vertical banding.
graphicalObjectLockIGraphicalObjectLockReadGets the graphical object lock.
xdoubleReadGets the x.
ydoubleReadGets the y.
widthdoubleReadGets the width.
heightdoubleReadGets the height.
rotationdoubleReadGets the rotation.
shapeStyleIShapeStyleReadGets the shape style.
shapeTypeShapeTypeReadGets the shape type.
fillFormatIFillFormatReadGets the fill format.
adjustmentsIAdjustValueCollectionReadGets the adjustments.
cNvPrElementReadGets the c nv pr.
textHolderbooleanReadGets the text holder.
placeholderIPlaceholderReadGets the placeholder.
customDataICustomDataReadGets the custom data.
rawFrameIShapeFrameReadGets the raw frame.
frameIShapeFrameReadGets the frame.
lineFormatILineFormatReadGets the line format.
threeDFormatIThreeDFormatReadGets the three d format.
effectFormatIEffectFormatReadGets the effect format.
hiddenbooleanReadGets the hidden.
zOrderPositionintReadGets the z order position.
connectionSiteCountintReadGets the connection site count.
alternativeTextStringReadGets the alternative text.
alternativeTextTitleStringReadGets the alternative text title.
nameStringReadGets the name.
decorativebooleanReadGets the decorative.
uniqueIdintReadGets the unique id.
officeInteropShapeIdintReadGets the office interop shape id.
groupedbooleanReadGets the grouped.
asISlideComponentISlideComponentReadGets the as i slide component.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

Methods

SignatureDescription
Table()Creates an empty Table.
Table(xmlElement: Element, saveCallback: Runnable)Creates a Table backed by the given XML element (a {@code <p:graphicFrame>}).
initInternal(xmlElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide)Two-phase initialization for this table shape.
getRows()IRowCollectionReturns the rows.
getColumns()IColumnCollectionReturns the columns.
getTableFormat()ITableFormatReturns the table format.
getStylePreset()TableStylePresetReturns the style preset.
setStylePreset(value: TableStylePreset)Sets the style preset value.
isRightToLeft()booleanReturns true if right to left is set.
setRightToLeft(value: boolean)Sets the right to left value.
isFirstRow()booleanReturns true if first row is set.
setFirstRow(value: boolean)Sets the first row value.
isFirstCol()booleanReturns true if first col is set.
setFirstCol(value: boolean)Sets the first col value.
isLastRow()booleanReturns true if last row is set.
setLastRow(value: boolean)Sets the last row value.
isLastCol()booleanReturns true if last col is set.
setLastCol(value: boolean)Sets the last col value.
isHorizontalBanding()booleanReturns true if horizontal banding is set.
setHorizontalBanding(value: boolean)Sets the horizontal banding value.
isVerticalBanding()booleanReturns true if vertical banding is set.
setVerticalBanding(value: boolean)Sets the vertical banding value.
mergeCells(cell1: ICell, cell2: ICell, allowSplitting: boolean)ICellMerges two cells, optionally allowing splitting, and returns the resulting cell
asIGraphicalObject()IGraphicalObjectCasts the table to an IGraphicalObject
asIBulkTextFormattable()IBulkTextFormattableCasts the table to an IBulkTextFormattable
getGraphicalObjectLock()IGraphicalObjectLockReturns the graphical object lock.
setTextFormat(source: Object)Sets the text format value.
GeometryShape(xmlElement: Element, saveCallback: Runnable)Creates a GeometryShape backed by the given XML element.
setParentShapes(shapes: Iterable<IShape>)Sets the sibling shapes collection used for connection lookups.
getX()doubleReturns the x.
setX(x: double)Sets the x value.
getY()doubleReturns the y.
setY(y: double)Sets the y value.
getWidth()doubleReturns the width.
setWidth(width: double)Sets the width value.
getHeight()doubleReturns the height.
setHeight(height: double)Sets the height value.
getRotation()doubleReturns the rotation.
setRotation(rotation: double)Sets the rotation value.
getShapeStyle()IShapeStyleReturns the shape style.
getShapeType()ShapeTypeReturns the shape type.
setShapeType(value: ShapeType)Sets the shape type value.
getFillFormat()IFillFormatReturns the fill format.
getAdjustments()IAdjustValueCollectionReturns the adjustments.
getCNvPr()ElementReturns the c nv pr.
isTextHolder()booleanReturns true if text holder is set.
getPlaceholder()IPlaceholderReturns the placeholder.
getCustomData()ICustomDataReturns the custom data.
getRawFrame()IShapeFrameReturns the raw frame.
setRawFrame(value: IShapeFrame)Sets the raw frame value.
getFrame()IShapeFrameReturns the frame.
setFrame(value: IShapeFrame)Sets the frame value.
getLineFormat()ILineFormatReturns the line format.
getThreeDFormat()IThreeDFormatReturns the three d format.
getEffectFormat()IEffectFormatReturns the effect format.
isHidden()booleanReturns true if hidden is set.
setHidden(value: boolean)Sets the hidden value.
getZOrderPosition()intReturns the z order position.
getConnectionSiteCount()intReturns the connection site count.
getAlternativeText()StringReturns the alternative text.
setAlternativeText(value: String)Sets the alternative text value.
getAlternativeTextTitle()StringReturns the alternative text title.
setAlternativeTextTitle(value: String)Sets the alternative text title value.
getName()StringReturns the name.
setName(value: String)Sets the name value.
isDecorative()booleanReturns true if decorative is set.
setDecorative(value: boolean)Sets the decorative value.
getUniqueId()intReturns the unique id.
getOfficeInteropShapeId()intReturns the office interop shape id.
isGrouped()booleanReturns true if grouped is set.
getAsISlideComponent()ISlideComponentReturns the as i slide component.
getSlide()IBaseSlideReturns the slide.
getPresentation()IPresentationReturns the presentation.
asIPresentationComponent()IPresentationComponent

See Also