ICell

Overview

ICell is a interface in Aspose.Slides FOSS for Java.

Represents a cell in a table.

Properties

NameTypeAccessDescription
offsetXdoubleReadReturns a distance from left side of a table to left side of a cell.
offsetYdoubleReadReturns a distance from top side of a table to top side of a cell.
firstRowIndexintReadReturns an index of first row, covered by the cell.
firstColumnIndexintReadReturns an index of first column, covered by the cell.
widthdoubleReadReturns the width of the cell.
heightdoubleReadReturns the height of the cell.
minimalHeightdoubleReadReturns the minimum height of a cell.
marginLeftdoubleReadReturns or sets the left margin in a TextFrame.
marginRightdoubleReadReturns or sets the right margin in a TextFrame.
marginTopdoubleReadReturns or sets the top margin in a TextFrame.
marginBottomdoubleReadReturns or sets the bottom margin in a TextFrame.
textVerticalTypeTextVerticalTypeReadReturns or sets the type of vertical text.
textAnchorTypeTextAnchorTypeReadReturns or sets the text anchor type.
anchorCenterbooleanReadDetermines whether or not text box centered inside a cell.
firstRowIRowReadGets first row of cell.
firstColumnIColumnReadGets first column of cell.
colSpanintReadReturns the number of grid columns spanned by the current cell.
rowSpanintReadReturns the number of rows that a merged cell spans.
textFrameITextFrameReadReturns the text frame of a cell.
tableITableReadReturns the parent Table object for a cell.
mergedCellbooleanReadReturns true if the cell is merged with any adjusted cell.
cellFormatICellFormatReadReturns the CellFormat object that contains formatting properties for this cell.
slideIBaseSlideReadReturns the parent slide of a cell.
presentationIPresentationReadReturns the parent presentation of a cell.
asISlideComponentISlideComponentReadReturns this cell as {@link ISlideComponent}.
asIPresentationComponentIPresentationComponentReadReturns this cell as {@link IPresentationComponent}.

Methods

SignatureDescription
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(value: double)Sets the left margin.
getMarginRight()doubleReturns or sets the right margin in a TextFrame.
setMarginRight(value: double)Sets the right margin.
getMarginTop()doubleReturns or sets the top margin in a TextFrame.
setMarginTop(value: double)Sets the top margin.
getMarginBottom()doubleReturns or sets the bottom margin in a TextFrame.
setMarginBottom(value: double)Sets the bottom margin.
getTextVerticalType()TextVerticalTypeReturns or sets the type of vertical text.
setTextVerticalType(value: TextVerticalType)Sets the type of vertical text.
getTextAnchorType()TextAnchorTypeReturns or sets the text anchor type.
setTextAnchorType(value: TextAnchorType)Sets the text anchor type.
isAnchorCenter()booleanDetermines whether or not text box centered inside a cell.
setAnchorCenter(value: boolean)Sets 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 {@link ISlideComponent}.
getAsIPresentationComponent()IPresentationComponentReturns this cell as {@link IPresentationComponent}.

See Also