Cell

Overview

Cell is a class in Aspose.Slides FOSS for Java. Inherits from: ICell, ISlideComponent, IPresentationComponent.

Represents a cell of a table.

Properties

NameTypeAccessDescription
tcPrElementReadReturns the {@code <a:tcPr>} child element of the backing {@code <a:tc>} element.
offsetXdoubleRead
offsetYdoubleRead
firstRowIndexintRead
firstColumnIndexintRead
widthdoubleRead
heightdoubleRead
minimalHeightdoubleRead
marginLeftdoubleRead
marginRightdoubleRead
marginTopdoubleRead
marginBottomdoubleRead
textVerticalTypeTextVerticalTypeRead
textAnchorTypeTextAnchorTypeRead
anchorCenterbooleanRead
firstRowIRowRead
firstColumnIColumnRead
colSpanintRead
rowSpanintRead
textFrameITextFrameRead
tableITableRead
mergedCellbooleanRead
cellFormatICellFormatRead
slideIBaseSlideRead
presentationIPresentationRead
tcElementElementReadReturns the underlying {@code <a:tc>} XML element.
asISlideComponentISlideComponentRead
asIPresentationComponentIPresentationComponentRead

Methods

SignatureDescription
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)CellInitializes this cell from the given {@code <a:tc>} element and table context.
getTcPr()ElementReturns the {@code <a:tcPr>} child element of the backing {@code <a:tc>} element.
ensureTcPr()ElementReturns 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()ElementReturns the underlying {@code <a:tc>} XML element.
getAsISlideComponent()ISlideComponent
getAsIPresentationComponent()IPresentationComponent
asIPresentationComponent()IPresentationComponent

See Also