|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.pptx.CellEx
public class CellEx
Represents a cell of a table.
Method Summary | |
---|---|
boolean |
getAnchorCenter()
Determines whether the text box centered inside a cell. |
LineFormatEx |
getBorderBottom()
Returns a bottom border line properties object. |
LineFormatEx |
getBorderDiagonalDown()
Returns a top-left to bottom-right diagonal line properties object. |
LineFormatEx |
getBorderDiagonalUp()
Returns a bottom-left to top-right diagonal line properties object. |
LineFormatEx |
getBorderLeft()
Returns a left border line properties object. |
LineFormatEx |
getBorderRight()
Returns a right border line properties object. |
LineFormatEx |
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. |
FillFormatEx |
getFillFormat()
Returns a cell fill properties object. |
int |
getFirstColumnIndex()
Returns an index of first column, covered by the cell. |
int |
getFirstRowIndex()
Returns an index of first row, covered by the cell. |
double |
getHeight()
Returns the height of the cell. |
double |
getMarginBottom()
Returns the bottom margin in a text frame. |
double |
getMarginLeft()
Returns the left margin in a text frame. |
double |
getMarginRight()
Returns the right margin in a text frame. |
double |
getMarginTop()
Returns the top margin in a text frame. |
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. |
PresentationEx |
getPresentation()
Returns the parent presentation of a cell. |
int |
getRowSpan()
Returns the number of rows that a merged cell spans. |
BaseSlideEx |
getSlide()
Returns the parent slide of a cell. |
TextAnchorTypeEx |
getTextAnchorType()
Returns the text anchor type. |
TextFrameEx |
getTextFrame()
Returns the text frame of a cell. |
TextVerticalTypeEx |
getTextVerticalType()
Returns the type of vertical text. |
double |
getWidth()
Returns the width of the cell. |
void |
setAnchorCenter(boolean value)
Sets whether the text box centered inside a cell. |
void |
setMarginBottom(double value)
Sets the bottom margin in a text frame. |
void |
setMarginLeft(double value)
Sets the left margin in a text frame. |
void |
setMarginRight(double value)
Sets the right margin in a text frame. |
void |
setMarginTop(double value)
Sets the top margin in a text frame. |
void |
setTextAnchorType(TextAnchorTypeEx value)
Sets the text anchor type. |
void |
setTextVerticalType(TextVerticalTypeEx value)
Sets the type of a vertical text. |
void |
splitByColSpan(int index)
Splits the cell to two cells by index of column. |
void |
splitByHeight(double height)
|
void |
splitByRowSpan(int index)
Splits the cell to two cells by index of row. |
void |
splitByWidth(double width)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public double getOffsetX()
public double getOffsetY()
public int getFirstRowIndex()
public int getFirstColumnIndex()
public double getWidth()
public double getHeight()
public double getMinimalHeight()
public LineFormatEx getBorderLeft()
LineFormatEx
.public LineFormatEx getBorderTop()
LineFormatEx
.public LineFormatEx getBorderRight()
LineFormatEx
.public LineFormatEx getBorderBottom()
LineFormatEx
.public LineFormatEx getBorderDiagonalDown()
LineFormatEx
.public LineFormatEx getBorderDiagonalUp()
LineFormatEx
.public FillFormatEx getFillFormat()
FillFormatEx
.public double getMarginLeft()
public void setMarginLeft(double value)
value
- new left margin.public double getMarginRight()
public void setMarginRight(double value)
value
- new right margin.public double getMarginTop()
public void setMarginTop(double value)
value
- new top margin.public double getMarginBottom()
public void setMarginBottom(double value)
value
- new bottom margin.public TextVerticalTypeEx getTextVerticalType()
TextVerticalTypeEx
.public void setTextVerticalType(TextVerticalTypeEx value)
value
- new type of a vertical text. See TextVerticalTypeEx
.public TextAnchorTypeEx getTextAnchorType()
TextAnchorTypeEx
.public void setTextAnchorType(TextAnchorTypeEx value)
value
- new text anchor type. See TextAnchorTypeEx
.public boolean getAnchorCenter()
public void setAnchorCenter(boolean value)
value
- True to center text box inside a cell.public int getColSpan()
public int getRowSpan()
public TextFrameEx getTextFrame()
TextFrameEx
.public BaseSlideEx getSlide()
getSlide
in interface ISlideComponent
public PresentationEx getPresentation()
getPresentation
in interface IPresentationComponent
public void splitByColSpan(int index)
index
- Index of columnpublic void splitByRowSpan(int index)
index
- Index of row.public void splitByHeight(double height)
public void splitByWidth(double width)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |