|
|||||||||
| 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 document| Method Detail |
|---|
public short getGridSpan()
public DocumentObjectType getDocumentObjectType()
getDocumentObjectType in interface IDocumentObjectgetDocumentObjectType in class Bodypublic 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 IDocumentObjectdeepClone in class DocumentObjectpublic int getCellIndex()
public void setCellWidth(float width,
CellWidthType widthType)
width - widthwidthType - widthType
public 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 | ||||||||