Cell
Overview
Cell is a class in Aspose.Slides FOSS for Java.
Inherits from: ICell, ISlideComponent, IPresentationComponent.
Represents a cell of a table.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
tcPr | Element | Read | Returns the {@code <a:tcPr>} child element of the backing {@code <a:tc>} element. |
offsetX | double | Read | |
offsetY | double | Read | |
firstRowIndex | int | Read | |
firstColumnIndex | int | Read | |
width | double | Read | |
height | double | Read | |
minimalHeight | double | Read | |
marginLeft | double | Read | |
marginRight | double | Read | |
marginTop | double | Read | |
marginBottom | double | Read | |
textVerticalType | TextVerticalType | Read | |
textAnchorType | TextAnchorType | Read | |
anchorCenter | boolean | Read | |
firstRow | IRow | Read | |
firstColumn | IColumn | Read | |
colSpan | int | Read | |
rowSpan | int | Read | |
textFrame | ITextFrame | Read | |
table | ITable | Read | |
mergedCell | boolean | Read | |
cellFormat | ICellFormat | Read | |
slide | IBaseSlide | Read | |
presentation | IPresentation | Read | |
tcElement | Element | Read | Returns the underlying {@code <a:tc>} XML element. |
asISlideComponent | ISlideComponent | Read | |
asIPresentationComponent | IPresentationComponent | Read |
Methods
| Signature | Description |
|---|---|
Cell() | Creates an empty {@code Cell} with no backing element. |
Cell(tcElement: Element, rowIndex: int, colIndex: int, saveCallback: Runnable, parentSlide: IBaseSlide, table: ITable) | Creates a new Cell backed by the given {@code <a:tc>} element. |
Cell(tcElement: Element, saveCallback: Runnable) | Creates a new Cell backed by the given {@code <a:tc>} element. |
initInternal(tcElement: Element, rowIndex: int, colIndex: int, saveCallback: Runnable, parentSlide: IBaseSlide, table: ITable) → Cell | Initializes this cell from the given {@code <a:tc>} element and table context. |
getTcPr() → Element | Returns the {@code <a:tcPr>} child element of the backing {@code <a:tc>} element. |
ensureTcPr() → Element | Returns the {@code <a:tcPr>} child element, creating it if absent. |
getOffsetX() → double | |
getOffsetY() → double | |
getFirstRowIndex() → int | |
getFirstColumnIndex() → int | |
getWidth() → double | |
getHeight() → double | |
getMinimalHeight() → double | |
getMarginLeft() → double | |
setMarginLeft(value: double) | |
getMarginRight() → double | |
setMarginRight(value: double) | |
getMarginTop() → double | |
setMarginTop(value: double) | |
getMarginBottom() → double | |
setMarginBottom(value: double) | |
getTextVerticalType() → TextVerticalType | |
setTextVerticalType(value: TextVerticalType) | |
getTextAnchorType() → TextAnchorType | |
setTextAnchorType(value: TextAnchorType) | |
isAnchorCenter() → boolean | |
setAnchorCenter(value: boolean) | |
getFirstRow() → IRow | |
getFirstColumn() → IColumn | |
getColSpan() → int | |
getRowSpan() → int | |
getTextFrame() → ITextFrame | |
getTable() → ITable | |
isMergedCell() → boolean | |
getCellFormat() → ICellFormat | |
getSlide() → IBaseSlide | |
getPresentation() → IPresentation | |
getTcElement() → Element | Returns the underlying {@code <a:tc>} XML element. |
getAsISlideComponent() → ISlideComponent | |
getAsIPresentationComponent() → IPresentationComponent | |
asIPresentationComponent() → IPresentationComponent |