|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.documentobject
com.spire.doc.documentbase
com.spire.doc.documentcontainer
com.spire.doc.body
com.spire.doc.tablecell
public class tablecell
constructor summary | |
---|---|
tablecell(idocument document)
initializes a new instance of the tablecell class. |
method summary | |
---|---|
documentobject |
deepclone()
clones this instance. |
cellformat |
getcellformat()
gets cell format. |
int |
getcellindex()
get cell index in the table row. |
cellwidthtype |
getcellwidthtype()
gets cell width type |
documentobjecttype |
getdocumentobjecttype()
gets the type of the document object. |
short |
getgridspan()
get grid span |
tablerow |
getownerrow()
gets owner row of the cell. |
float |
getscaling()
gets the cell scaling. |
float |
getwidth()
gets cell width. |
void |
setcellwidth(float width,
cellwidthtype widthtype)
set cell width |
void |
setcellwidthtype(cellwidthtype value)
sets cell width type |
void |
setscaling(float value)
sets the cell scaling. |
void |
setwidth(float value)
sets cell width. |
void |
splitcell(int columnnum,
int rownum)
the one cell splits into two or more cells. |
methods inherited from class com.spire.doc.body |
---|
addparagraph, addtable, addtable, ensureminimum, getchildobjects, getfirstparagraph, getformfields, getlastparagraph, getparagraphs, gettables, hassdt, insertxhtml, insertxhtml, insertxhtml, isvalidxhtml, isvalidxhtml |
methods inherited from class com.spire.doc.documentobject |
---|
getfirstchild, getlastchild, getnextsibling, getowner, getprevioussibling, iscomposite, tostring |
methods inherited from class com.spire.doc.ownerholder |
---|
getdocument |
methods inherited from interface com.spire.doc.interfaces.icompositeobject |
---|
getchildobjects |
methods inherited from interface com.spire.doc.interfaces.idocumentobject |
---|
getdocument, getnextsibling, getowner, getprevioussibling, iscomposite |
constructor detail |
---|
public tablecell(idocument document)
tablecell
class.
document
- the documentmethod detail |
---|
public short getgridspan()
public documentobjecttype getdocumentobjecttype()
getdocumentobjecttype
in interface idocumentobject
getdocumentobjecttype
in class body
public tablerow getownerrow()
public cellformat getcellformat()
public float getwidth()
public void setwidth(float value)
value
- floatpublic cellwidthtype getcellwidthtype()
public void setcellwidthtype(cellwidthtype value)
value
- cellwidthtypepublic float getscaling()
public void setscaling(float value)
value
- the scaling.public documentobject deepclone()
deepclone
in interface idocumentobject
deepclone
in class documentobject
public int getcellindex()
public void setcellwidth(float width, cellwidthtype widthtype)
width
- widthwidthtype
- widthtypepublic void splitcell(int columnnum, int rownum)
columnnum
- the split column number. must be greater than or equal to 1 is only valid.rownum
- the split row number. must be greater than or equal to 1 is only valid.
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |