|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.presentation.cell
public class cell
represents a cell of a table.
constructor summary | |
---|---|
cell(tablerow tablerow,
tablecolumn tablecolumn)
|
method summary | |
---|---|
boolean |
getanchorcenter()
indicates whether or not text box centered inside a cell. |
textlineformat |
getborderbottom()
gets a bottom border line properties object. |
textlineformat |
getborderdiagonaldown()
gets a top-left to bottom-right diagonal line properties object. |
textlineformat |
getborderdiagonalup()
gets a bottom-left to top-right diagonal line properties object. |
textlineformat |
getborderleft()
gets a left border line properties object. |
textlineformat |
getborderright()
gets a right border line properties object. |
textlineformat |
getbordertop()
gets a top border line properties object. |
int |
getcolspan()
gets the number of grid columns in the parent table's table grid which shall be spanned by the current cell. |
fillformat |
getfillformat()
gets a cell fill properties object. |
int |
getfirstcolumnindex()
gets an index of first column, covered by the cell. |
int |
getfirstrowindex()
gets an index of first row, covered by the cell. |
double |
getheight()
gets the height of the cell. |
double |
getmarginbottom()
gets the bottom margin in a textframe. |
double |
getmarginleft()
gets the left margin in a textframe. |
double |
getmarginright()
gets the right margin in a textframe. |
double |
getmargintop()
gets the top margin in a textframe. |
double |
getminimalheight()
gets the minimum height of a cell. |
double |
getoffsetx()
gets a distance from left side of a table to left side of a cell. |
double |
getoffsety()
gets a distance from top side of a table to top side of a cell. |
presentation |
getpresentation()
gets the parent presentation of a cell. |
int |
getrowspan()
gets the number of rows that a merged cell spans. |
activeslide |
getslide()
gets the parent slide of a cell. |
textanchortype |
gettextanchortype()
gets the text anchor type. |
itextframeproperties |
gettextframe()
gets the text frame of a cell. |
verticaltexttype |
getverticaltexttype()
gets the type of vertical text. |
double |
getwidth()
gets the width of the cell. |
void |
setanchorcenter(boolean value)
|
void |
setmarginbottom(double value)
sets the bottom margin in a textframe. |
void |
setmarginleft(double value)
sets the left margin in a textframe. |
void |
setmarginright(double value)
sets the right margin in a textframe. |
void |
setmargintop(double value)
sets the top margin in a textframe. |
void |
settextanchortype(textanchortype value)
sets the text anchor type. |
void |
setverticaltexttype(verticaltexttype value)
sets the type of vertical text. |
void |
split(int rowcount,
int colunmcount)
split the cell. |
void |
splitbyspan()
the cell is split into its rowspan rows in the row direction, and it is split into its colspan colunms in the colunm direction. |
constructor detail |
---|
public cell(tablerow tablerow, tablecolumn tablecolumn)
method detail |
---|
public double getoffsetx()
public double getoffsety()
public int getfirstrowindex()
public int getfirstcolumnindex()
public double getwidth()
public double getheight()
public double getminimalheight()
public textlineformat getborderleft()
public textlineformat getbordertop()
public textlineformat getborderright()
public textlineformat getborderbottom()
public textlineformat getborderdiagonaldown()
public textlineformat getborderdiagonalup()
public fillformat getfillformat()
public double getmarginleft()
public void setmarginleft(double value)
public double getmarginright()
public void setmarginright(double value)
public double getmargintop()
public void setmargintop(double value)
public double getmarginbottom()
public void setmarginbottom(double value)
public verticaltexttype getverticaltexttype()
public void setverticaltexttype(verticaltexttype value)
public textanchortype gettextanchortype()
public void settextanchortype(textanchortype value)
public boolean getanchorcenter()
public void setanchorcenter(boolean value)
public int getcolspan()
public int getrowspan()
public itextframeproperties gettextframe()
public activeslide getslide()
getslide
in interface islidecomponent
public presentation getpresentation()
getpresentation
in interface iactivepresentation
public void split(int rowcount, int colunmcount)
rowcount
- the number of cells being split in the row direction.colunmcount
- the number of cells being split in the colunm direction.
java.lang.exception
public void splitbyspan()
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |