ICell — Aspose.Slides FOSS Java API Reference

ICell — Represents a cell in a table.

Package: org.aspose.slides.foss


Properties

PropertyTypeAccessDescription
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
asISlideComponentISlideComponentRead/Write
asIPresentationComponentIPresentationComponentRead/Write

Methods

MethodReturnsDescription
getOffsetX()doubleReturns a distance from left side of a table to left side of a cell.
getOffsetY()doubleReturns a distance from top side of a table to top side of a cell.
getFirstRowIndex()intReturns an index of first row, covered by the cell.
getFirstColumnIndex()intReturns an index of first column, covered by the cell.
getWidth()doubleReturns the width of the cell.
getHeight()doubleReturns the height of the cell.
getMinimalHeight()doubleReturns the minimum height of a cell.
getMarginLeft()doubleReturns or sets the left margin in a TextFrame.
setMarginLeft(double value)voidSets the left margin.
getMarginRight()doubleReturns or sets the right margin in a TextFrame.
setMarginRight(double value)voidSets the right margin.
getMarginTop()doubleReturns or sets the top margin in a TextFrame.
setMarginTop(double value)voidSets the top margin.
getMarginBottom()doubleReturns or sets the bottom margin in a TextFrame.
setMarginBottom(double value)voidSets the bottom margin.
getTextVerticalType()TextVerticalTypeReturns or sets the type of vertical text.
setTextVerticalType(TextVerticalType value)voidSets the type of vertical text.
getTextAnchorType()TextAnchorTypeReturns or sets the text anchor type.
setTextAnchorType(TextAnchorType value)voidSets the text anchor type.
isAnchorCenter()booleanDetermines whether or not text box centered inside a cell.
setAnchorCenter(boolean value)voidSets whether text box is centered inside a cell.
getFirstRow()IRowGets first row of cell.
getFirstColumn()IColumnGets first column of cell.
getColSpan()intReturns the number of grid columns spanned by the current cell.
getRowSpan()intReturns the number of rows that a merged cell spans.
getTextFrame()ITextFrameReturns the text frame of a cell.
getTable()ITableReturns the parent Table object for a cell.
isMergedCell()booleanReturns true if the cell is merged with any adjusted cell.
getCellFormat()ICellFormatReturns the CellFormat object that contains formatting properties for this cell.
getSlide()IBaseSlideReturns the parent slide of a cell.
getPresentation()IPresentationReturns the parent presentation of a cell.
getAsISlideComponent()ISlideComponentReturns this cell as ISlideComponent.
getAsIPresentationComponent()IPresentationComponentReturns this cell as IPresentationComponent.

See Also