Cell — Aspose.Slides FOSS Java API Reference

Cell — Represents a cell of a table. Inherits from: ICell, ISlideComponent, IPresentationComponent.

Package: org.aspose.slides.foss


Properties

PropertyTypeAccessDescription
tcPrElementRead/Write
offsetXdoubleRead/Write
offsetYdoubleRead/Write
firstRowIndexintRead/Write
firstColumnIndexintRead/Write
widthdoubleRead/Write
heightdoubleRead/Write
minimalHeightdoubleRead/Write
marginLeftdoubleRead/Write
marginRightdoubleRead/Write
marginTopdoubleRead/Write
marginBottomdoubleRead/Write
textVerticalTypeTextVerticalTypeRead/Write
textAnchorTypeTextAnchorTypeRead/Write
anchorCenterbooleanRead/Write
firstRowIRowRead/Write
firstColumnIColumnRead/Write
colSpanintRead/Write
rowSpanintRead/Write
textFrameITextFrameRead/Write
tableITableRead/Write
mergedCellbooleanRead/Write
cellFormatICellFormatRead/Write
slideIBaseSlideRead/Write
presentationIPresentationRead/Write
tcElementElementRead/Write
asISlideComponentISlideComponentRead/Write
asIPresentationComponentIPresentationComponentRead/Write

Methods

MethodReturnsDescription
initInternal(Element tcElement, int rowIndex, int colIndex, Runnable saveCallback, IBaseSlide parentSlide, ITable table)CellInitializes this cell from the given <a:tc> element and table context.
getTcPr()ElementReturns the <a:tcPr> child element of the backing <a:tc> element.
ensureTcPr()ElementReturns the <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(double value)void
getMarginRight()double
setMarginRight(double value)void
getMarginTop()double
setMarginTop(double value)void
getMarginBottom()double
setMarginBottom(double value)void
getTextVerticalType()TextVerticalType
setTextVerticalType(TextVerticalType value)void
getTextAnchorType()TextAnchorType
setTextAnchorType(TextAnchorType value)void
isAnchorCenter()boolean
setAnchorCenter(boolean value)void
getFirstRow()IRow
getFirstColumn()IColumn
getColSpan()int
getRowSpan()int
getTextFrame()ITextFrame
getTable()ITable
isMergedCell()boolean
getCellFormat()ICellFormat
getSlide()IBaseSlide
getPresentation()IPresentation
getTcElement()ElementReturns the underlying <a:tc> XML element.
getAsISlideComponent()ISlideComponent
getAsIPresentationComponent()IPresentationComponent
asIPresentationComponent()IPresentationComponent

See Also