|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICell
Method Summary | |
---|---|
boolean |
getAnchorCenter()
Determines whether or not text box centered inside a cell. |
ILineFormat |
getBorderBottom()
Returns a bottom border line properties object. |
ILineFormat |
getBorderDiagonalDown()
Returns a top-left to bottom-right diagonal line properties object. |
ILineFormat |
getBorderDiagonalUp()
Returns a bottom-left to top-right diagonal line properties object. |
ILineFormat |
getBorderLeft()
Returns a left border line properties object. |
ILineFormat |
getBorderRight()
Returns a right border line properties object. |
ILineFormat |
getBorderTop()
Returns a top border line properties object. |
int |
getColSpan()
Returns the number of grid columns in the parent table's table grid which shall be spanned by the current cell. |
IFillFormat |
getFillFormat()
Returns a cell fill properties object. |
IColumn |
getFirstColumn()
Gets first column of cell. |
int |
getFirstColumnIndex()
Returns an index of first column, covered by the cell. |
IRow |
getFirstRow()
Gets first row of cell. |
int |
getFirstRowIndex()
Returns an index of first row, covered by the cell. |
double |
getHeight()
Returns the height of the cell. |
double |
getMarginBottom()
Returns or sets the bottom margin in a TextFrame. |
double |
getMarginLeft()
Returns or sets the left margin in a TextFrame. |
double |
getMarginRight()
Returns or sets the right margin in a TextFrame. |
double |
getMarginTop()
Returns or sets the top margin in a TextFrame. |
double |
getMinimalHeight()
Returns the minimum height of a cell. |
double |
getOffsetX()
Returns a distance from left side of a table to left side of a cell. |
double |
getOffsetY()
Returns a distance from top side of a table to top side of a cell. |
int |
getRowSpan()
Returns the number of rows that a merged cell spans. |
ITable |
getTable()
Returns the parent Table object for a cell. |
byte |
getTextAnchorType()
Returns or sets the text anchor type. |
ITextFrame |
getTextFrame()
Returns the text frame of a cell. |
byte |
getTextVerticalType()
Returns or sets the type of vertical text. |
double |
getWidth()
Returns the width of the cell. |
void |
setAnchorCenter(boolean value)
Determines whether or not text box centered inside a cell. |
void |
setMarginBottom(double value)
Returns or sets the bottom margin in a TextFrame. |
void |
setMarginLeft(double value)
Returns or sets the left margin in a TextFrame. |
void |
setMarginRight(double value)
Returns or sets the right margin in a TextFrame. |
void |
setMarginTop(double value)
Returns or sets the top margin in a TextFrame. |
void |
setTextAnchorType(byte value)
Returns or sets the text anchor type. |
void |
setTextVerticalType(byte value)
Returns or sets the type of vertical text. |
void |
splitByColSpan(int index)
Splits the cell to two cells by index of column. |
void |
splitByHeight(double height)
Splits the cell by height. |
void |
splitByRowSpan(int index)
Splits the cell to two cells by index of row. |
void |
splitByWidth(double width)
Splits the cell by width. |
Methods inherited from interface com.aspose.slides.ISlideComponent |
---|
getSlide |
Methods inherited from interface com.aspose.slides.IPresentationComponent |
---|
getPresentation |
Method Detail |
---|
double getOffsetX()
Returns a distance from left side of a table to left side of a cell.
Read-only double
.
double getOffsetY()
Returns a distance from top side of a table to top side of a cell.
Read-only double
.
int getFirstRowIndex()
Returns an index of first row, covered by the cell.
Read-only int
.
int getFirstColumnIndex()
Returns an index of first column, covered by the cell.
Read-only int
.
double getWidth()
Returns the width of the cell.
Read-only double
.
double getHeight()
Returns the height of the cell.
Read-only double
.
double getMinimalHeight()
Returns the minimum height of a cell.
This is a sum of minimal heights of all rows cowered by the cell.
Read-only double
.
IFillFormat getFillFormat()
Returns a cell fill properties object.
Read-only IFillFormat
.
double getMarginLeft()
Returns or sets the left margin in a TextFrame.
Read/write double
.
void setMarginLeft(double value)
Returns or sets the left margin in a TextFrame.
Read/write double
.
double getMarginRight()
Returns or sets the right margin in a TextFrame.
Read/write double
.
void setMarginRight(double value)
Returns or sets the right margin in a TextFrame.
Read/write double
.
double getMarginTop()
Returns or sets the top margin in a TextFrame.
Read/write double
.
void setMarginTop(double value)
Returns or sets the top margin in a TextFrame.
Read/write double
.
double getMarginBottom()
Returns or sets the bottom margin in a TextFrame.
Read/write double
.
void setMarginBottom(double value)
Returns or sets the bottom margin in a TextFrame.
Read/write double
.
ILineFormat getBorderLeft()
Returns a left border line properties object.
Read-only ILineFormat
.
ILineFormat getBorderTop()
Returns a top border line properties object.
Read-only ILineFormat
.
ILineFormat getBorderRight()
Returns a right border line properties object.
Read-only ILineFormat
.
ILineFormat getBorderBottom()
Returns a bottom border line properties object.
Read-only ILineFormat
.
ILineFormat getBorderDiagonalDown()
Returns a top-left to bottom-right diagonal line properties object.
Read-only ILineFormat
.
ILineFormat getBorderDiagonalUp()
Returns a bottom-left to top-right diagonal line properties object.
Read-only ILineFormat
.
byte getTextVerticalType()
Returns or sets the type of vertical text.
Read/write TextVerticalType
.
void setTextVerticalType(byte value)
Returns or sets the type of vertical text.
Read/write TextVerticalType
.
byte getTextAnchorType()
Returns or sets the text anchor type.
Read/write TextAnchorType
.
void setTextAnchorType(byte value)
Returns or sets the text anchor type.
Read/write TextAnchorType
.
boolean getAnchorCenter()
Determines whether or not text box centered inside a cell.
Read/write boolean
.
void setAnchorCenter(boolean value)
Determines whether or not text box centered inside a cell.
Read/write boolean
.
IColumn getFirstColumn()
Gets first column of cell.
Read-only IColumn
.
IRow getFirstRow()
Gets first row of cell.
Read-only IRow
.
int getColSpan()
Returns the number of grid columns in the parent table's table grid
which shall be spanned by the current cell. This property allows cells
to have the appearance of being merged, as they span vertical boundaries
of other cells in the table.
Read-only int
.
int getRowSpan()
Returns the number of rows that a merged cell spans. This is used in combination
with the vMerge attribute on other cells in order to specify the beginning cell
of a horizontal merge.
Read-only int
.
ITextFrame getTextFrame()
Returns the text frame of a cell.
Read-only ITextFrame
.
ITable getTable()
Returns the parent Table object for a cell.
Read-only ITable
.
void splitByColSpan(int index)
Splits the cell to two cells by index of column.
index
- Index of column.void splitByRowSpan(int index)
Splits the cell to two cells by index of row.
index
- Index of row.void splitByHeight(double height)
Splits the cell by height.
height
- Height of a row.void splitByWidth(double width)
Splits the cell by width.
width
- Width of a column.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |