ICell — Aspose.Slides FOSS Java API Reference
ICell — Represents a cell in a table.
Package: org.aspose.slides.foss
Properties
| Property | Type | Access | Description |
|---|---|---|---|
offsetX | double | Read/Write | |
offsetY | double | Read/Write | |
firstRowIndex | int | Read/Write | |
firstColumnIndex | int | Read/Write | |
width | double | Read/Write | |
height | double | Read/Write | |
minimalHeight | double | Read/Write | |
marginLeft | double | Read/Write | |
marginRight | double | Read/Write | |
marginTop | double | Read/Write | |
marginBottom | double | Read/Write | |
textVerticalType | TextVerticalType | Read/Write | |
textAnchorType | TextAnchorType | Read/Write | |
anchorCenter | boolean | Read/Write | |
firstRow | IRow | Read/Write | |
firstColumn | IColumn | Read/Write | |
colSpan | int | Read/Write | |
rowSpan | int | Read/Write | |
textFrame | ITextFrame | Read/Write | |
table | ITable | Read/Write | |
mergedCell | boolean | Read/Write | |
cellFormat | ICellFormat | Read/Write | |
slide | IBaseSlide | Read/Write | |
presentation | IPresentation | Read/Write | |
asISlideComponent | ISlideComponent | Read/Write | |
asIPresentationComponent | IPresentationComponent | Read/Write |
Methods
| Method | Returns | Description |
|---|---|---|
getOffsetX() | double | Returns a distance from left side of a table to left side of a cell. |
getOffsetY() | double | Returns a distance from top side of a table to top side of a cell. |
getFirstRowIndex() | int | Returns an index of first row, covered by the cell. |
getFirstColumnIndex() | int | Returns an index of first column, covered by the cell. |
getWidth() | double | Returns the width of the cell. |
getHeight() | double | Returns the height of the cell. |
getMinimalHeight() | double | Returns the minimum height of a cell. |
getMarginLeft() | double | Returns or sets the left margin in a TextFrame. |
setMarginLeft(double value) | void | Sets the left margin. |
getMarginRight() | double | Returns or sets the right margin in a TextFrame. |
setMarginRight(double value) | void | Sets the right margin. |
getMarginTop() | double | Returns or sets the top margin in a TextFrame. |
setMarginTop(double value) | void | Sets the top margin. |
getMarginBottom() | double | Returns or sets the bottom margin in a TextFrame. |
setMarginBottom(double value) | void | Sets the bottom margin. |
getTextVerticalType() | TextVerticalType | Returns or sets the type of vertical text. |
setTextVerticalType(TextVerticalType value) | void | Sets the type of vertical text. |
getTextAnchorType() | TextAnchorType | Returns or sets the text anchor type. |
setTextAnchorType(TextAnchorType value) | void | Sets the text anchor type. |
isAnchorCenter() | boolean | Determines whether or not text box centered inside a cell. |
setAnchorCenter(boolean value) | void | Sets whether text box is centered inside a cell. |
getFirstRow() | IRow | Gets first row of cell. |
getFirstColumn() | IColumn | Gets first column of cell. |
getColSpan() | int | Returns the number of grid columns spanned by the current cell. |
getRowSpan() | int | Returns the number of rows that a merged cell spans. |
getTextFrame() | ITextFrame | Returns the text frame of a cell. |
getTable() | ITable | Returns the parent Table object for a cell. |
isMergedCell() | boolean | Returns true if the cell is merged with any adjusted cell. |
getCellFormat() | ICellFormat | Returns the CellFormat object that contains formatting properties for this cell. |
getSlide() | IBaseSlide | Returns the parent slide of a cell. |
getPresentation() | IPresentation | Returns the parent presentation of a cell. |
getAsISlideComponent() | ISlideComponent | Returns this cell as ISlideComponent. |
getAsIPresentationComponent() | IPresentationComponent | Returns this cell as IPresentationComponent. |