|
|||||||||
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 |
Method Summary | |
---|---|
DocumentObject |
deepClone()
Clones this instance. |
CellFormat |
getCellFormat()
Gets cell format. |
int |
getCellIndex()
Get cell index in the table row. |
float |
getCellWidth()
Gets the width of the cell. |
CellWidthType |
getCellWidthType()
Gets the width type of the cell. |
DocumentObjectType |
getDocumentObjectType()
|
short |
getGridSpan()
Get or Set grid Span |
TableRow |
getOwnerRow()
Gets owner row of the cell. |
float |
getScaling()
Gets or sets the cell scaling. |
float |
getWidth()
Deprecated. |
void |
setCellWidth(float width,
CellWidthType widthType)
Set the width and type of the cell. |
void |
setCellWidthType(CellWidthType value)
Deprecated. |
void |
setScaling(float value)
Gets or sets the cell scaling. |
void |
setWidth(float value)
Deprecated. |
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, insertXHTML, insertXHTML, insertXHTML, isValidXHTML, isValidXHTML |
Methods inherited from class com.spire.doc.DocumentContainer |
---|
getCount, getIndex |
Methods inherited from class com.spire.doc.DocumentObject |
---|
getFirstChild, getLastChild, getNextSibling, getNextWidgetSibling, getOwner, getPreviousSibling, getPreviousWidgetSibling, isComposite, prependChild, 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)
document
- The document.Method Detail |
---|
public short getGridSpan()
public DocumentObjectType getDocumentObjectType()
getDocumentObjectType
in interface IDocumentObject
getDocumentObjectType
in class Body
public TableRow getOwnerRow()
public CellFormat getCellFormat()
@Deprecated public float getWidth()
@Deprecated public void setWidth(float value)
@Deprecated public void setCellWidthType(CellWidthType value)
public float getScaling()
public void setScaling(float value)
public DocumentObject deepClone()
deepClone
in interface IDocumentObject
deepClone
in class DocumentObject
public int getCellIndex()
public void setCellWidth(float width, CellWidthType widthType)
width
- Width of the cell.widthType
- Width type of the cell.public float getCellWidth()
public CellWidthType getCellWidthType()
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 |