|
|||||||||
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.TableRow
public class TableRow
Constructor Summary | |
---|---|
TableRow(IDocument document)
Initializes a new instance of the TableRow class. |
Method Summary | |
---|---|
TableCell |
addCell()
Adds the cell. |
TableCell |
addCell(boolean isCopyFormat)
Adds the cell. |
TableRow |
deepClone()
Clones this instance. |
CellCollection |
getCells()
Gets cell collection. |
DocumentObjectCollection |
getChildObjects()
Gets the child object. |
DocumentObjectType |
getDocumentObjectType()
Gets the type of the document object. |
float |
getHeight()
Gets height of the row. |
TableRowHeightType |
getHeightType()
Get table row height type |
RowFormat |
getRowFormat()
Gets table format |
int |
getRowIndex()
Returns index of the row in owner table. |
boolean |
isHeader()
Gets whether the row is a table header. |
void |
isHeader(boolean value)
Sets whether the row is a table header. |
void |
setCells(CellCollection value)
Sets cell collection. |
void |
setHeight(float value)
sets height of the row. |
void |
setHeightType(TableRowHeightType value)
set table row height type |
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.IDocumentObject |
---|
getDocument, getNextSibling, getOwner, getPreviousSibling, isComposite |
Constructor Detail |
---|
public TableRow(IDocument document)
TableRow
class.
document
- The documentMethod Detail |
---|
public DocumentObjectCollection getChildObjects()
getChildObjects
in interface ICompositeObject
getChildObjects
in class DocumentObject
public DocumentObjectType getDocumentObjectType()
getDocumentObjectType
in interface IDocumentObject
getDocumentObjectType
in class DocumentObject
public CellCollection getCells()
public void setCells(CellCollection value)
value
- CellCollectionpublic TableRowHeightType getHeightType()
public void setHeightType(TableRowHeightType value)
value
- TableRowHeightTypepublic RowFormat getRowFormat()
public float getHeight()
public void setHeight(float value)
value
- floatpublic boolean isHeader()
public void isHeader(boolean value)
value
- valuepublic TableRow deepClone()
deepClone
in interface IDocumentObject
deepClone
in class DocumentObject
public TableCell addCell()
public TableCell addCell(boolean isCopyFormat)
isCopyFormat
- Specifies whether to apply the parent row format.
public int getRowIndex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |