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
| Name | Type | Access | Description |
|---|---|---|---|
rows | IRowCollection | Read | Gets the rows. |
columns | IColumnCollection | Read | Gets the columns. |
tableFormat | ITableFormat | Read | Gets the table format. |
stylePreset | TableStylePreset | Read | Gets the style preset. |
rightToLeft | boolean | Read | Gets the right to left. |
firstRow | boolean | Read | Gets the first row. |
firstCol | boolean | Read | Gets the first col. |
lastRow | boolean | Read | Gets the last row. |
lastCol | boolean | Read | Gets the last col. |
horizontalBanding | boolean | Read | Gets the horizontal banding. |
verticalBanding | boolean | Read | Gets the vertical banding. |
graphicalObjectLock | IGraphicalObjectLock | Read | Gets the graphical object lock. |
x | double | Read | Gets the x. |
y | double | Read | Gets the y. |
width | double | Read | Gets the width. |
height | double | Read | Gets the height. |
rotation | double | Read | Gets the rotation. |
shapeStyle | IShapeStyle | Read | Gets the shape style. |
shapeType | ShapeType | Read | Gets the shape type. |
fillFormat | IFillFormat | Read | Gets the fill format. |
adjustments | IAdjustValueCollection | Read | Gets the adjustments. |
cNvPr | Element | Read | Gets the c nv pr. |
textHolder | boolean | Read | Gets the text holder. |
placeholder | IPlaceholder | Read | Gets the placeholder. |
customData | ICustomData | Read | Gets the custom data. |
rawFrame | IShapeFrame | Read | Gets the raw frame. |
frame | IShapeFrame | Read | Gets the frame. |
lineFormat | ILineFormat | Read | Gets the line format. |
threeDFormat | IThreeDFormat | Read | Gets the three d format. |
effectFormat | IEffectFormat | Read | Gets the effect format. |
hidden | boolean | Read | Gets the hidden. |
zOrderPosition | int | Read | Gets the z order position. |
connectionSiteCount | int | Read | Gets the connection site count. |
alternativeText | String | Read | Gets the alternative text. |
alternativeTextTitle | String | Read | Gets the alternative text title. |
name | String | Read | Gets the name. |
decorative | boolean | Read | Gets the decorative. |
uniqueId | int | Read | Gets the unique id. |
officeInteropShapeId | int | Read | Gets the office interop shape id. |
grouped | boolean | Read | Gets the grouped. |
asISlideComponent | ISlideComponent | Read | Gets the as i slide component. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
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() → IRowCollection | Returns the rows. |
getColumns() → IColumnCollection | Returns the columns. |
getTableFormat() → ITableFormat | Returns the table format. |
getStylePreset() → TableStylePreset | Returns the style preset. |
setStylePreset(value: TableStylePreset) | Sets the style preset value. |
isRightToLeft() → boolean | Returns true if right to left is set. |
setRightToLeft(value: boolean) | Sets the right to left value. |
isFirstRow() → boolean | Returns true if first row is set. |
setFirstRow(value: boolean) | Sets the first row value. |
isFirstCol() → boolean | Returns true if first col is set. |
setFirstCol(value: boolean) | Sets the first col value. |
isLastRow() → boolean | Returns true if last row is set. |
setLastRow(value: boolean) | Sets the last row value. |
isLastCol() → boolean | Returns true if last col is set. |
setLastCol(value: boolean) | Sets the last col value. |
isHorizontalBanding() → boolean | Returns true if horizontal banding is set. |
setHorizontalBanding(value: boolean) | Sets the horizontal banding value. |
isVerticalBanding() → boolean | Returns true if vertical banding is set. |
setVerticalBanding(value: boolean) | Sets the vertical banding value. |
mergeCells(cell1: ICell, cell2: ICell, allowSplitting: boolean) → ICell | Merges two cells, optionally allowing splitting, and returns the resulting cell |
asIGraphicalObject() → IGraphicalObject | Casts the table to an IGraphicalObject |
asIBulkTextFormattable() → IBulkTextFormattable | Casts the table to an IBulkTextFormattable |
getGraphicalObjectLock() → IGraphicalObjectLock | Returns 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() → double | Returns the x. |
setX(x: double) | Sets the x value. |
getY() → double | Returns the y. |
setY(y: double) | Sets the y value. |
getWidth() → double | Returns the width. |
setWidth(width: double) | Sets the width value. |
getHeight() → double | Returns the height. |
setHeight(height: double) | Sets the height value. |
getRotation() → double | Returns the rotation. |
setRotation(rotation: double) | Sets the rotation value. |
getShapeStyle() → IShapeStyle | Returns the shape style. |
getShapeType() → ShapeType | Returns the shape type. |
setShapeType(value: ShapeType) | Sets the shape type value. |
getFillFormat() → IFillFormat | Returns the fill format. |
getAdjustments() → IAdjustValueCollection | Returns the adjustments. |
getCNvPr() → Element | Returns the c nv pr. |
isTextHolder() → boolean | Returns true if text holder is set. |
getPlaceholder() → IPlaceholder | Returns the placeholder. |
getCustomData() → ICustomData | Returns the custom data. |
getRawFrame() → IShapeFrame | Returns the raw frame. |
setRawFrame(value: IShapeFrame) | Sets the raw frame value. |
getFrame() → IShapeFrame | Returns the frame. |
setFrame(value: IShapeFrame) | Sets the frame value. |
getLineFormat() → ILineFormat | Returns the line format. |
getThreeDFormat() → IThreeDFormat | Returns the three d format. |
getEffectFormat() → IEffectFormat | Returns the effect format. |
isHidden() → boolean | Returns true if hidden is set. |
setHidden(value: boolean) | Sets the hidden value. |
getZOrderPosition() → int | Returns the z order position. |
getConnectionSiteCount() → int | Returns the connection site count. |
getAlternativeText() → String | Returns the alternative text. |
setAlternativeText(value: String) | Sets the alternative text value. |
getAlternativeTextTitle() → String | Returns the alternative text title. |
setAlternativeTextTitle(value: String) | Sets the alternative text title value. |
getName() → String | Returns the name. |
setName(value: String) | Sets the name value. |
isDecorative() → boolean | Returns true if decorative is set. |
setDecorative(value: boolean) | Sets the decorative value. |
getUniqueId() → int | Returns the unique id. |
getOfficeInteropShapeId() → int | Returns the office interop shape id. |
isGrouped() → boolean | Returns true if grouped is set. |
getAsISlideComponent() → ISlideComponent | Returns the as i slide component. |
getSlide() → IBaseSlide | Returns the slide. |
getPresentation() → IPresentation | Returns the presentation. |
asIPresentationComponent() → IPresentationComponent |