tablerow-ag凯发旗舰厅



com.spire.doc
class tablerow

java.lang.object
  extended by com.spire.doc.ownerholder
      extended by com.spire.doc.documents.xml.documentserializable
          extended by com.spire.doc.documentobject
              extended by com.spire.doc.documentbase
                  extended by com.spire.doc.tablerow
all implemented interfaces:
icompositeobject, idocumentobject
direct known subclasses:
structuredocumenttagrow

public class tablerow
extends documentbase
implements icompositeobject

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

tablerow

public tablerow(idocument document)
initializes a new instance of the tablerow class.
parameters:
document - the document
method detail

getchildobjects

public documentobjectcollection getchildobjects()
gets the child object.
specified by:
getchildobjects in interface icompositeobject
specified by:
getchildobjects in class documentobject
returns:
the child object.

getdocumentobjecttype

public documentobjecttype getdocumentobjecttype()
gets the type of the document object.
specified by:
getdocumentobjecttype in interface idocumentobject
specified by:
getdocumentobjecttype in class documentobject
returns:
the type of the document object.

getcells

public cellcollection getcells()
gets cell collection.
returns:
cellcollection

setcells

public void setcells(cellcollection value)
sets cell collection.
parameters:
value - cellcollection

getheighttype

public tablerowheighttype getheighttype()
get table row height type
returns:
tablerowheighttype

setheighttype

public void setheighttype(tablerowheighttype value)
set table row height type
parameters:
value - tablerowheighttype

getrowformat

public rowformat getrowformat()
gets table format
returns:
rowformat

getheight

public float getheight()
gets height of the row.
returns:
float

setheight

public void setheight(float value)
sets height of the row.
parameters:
value - float

isheader

public boolean isheader()
gets whether the row is a table header.
returns:
boolean

isheader

public void isheader(boolean value)
sets whether the row is a table header.
parameters:
value - value

deepclone

public tablerow deepclone()
clones this instance.
specified by:
deepclone in interface idocumentobject
overrides:
deepclone in class documentobject
returns:
tablerow

addcell

public tablecell addcell()
adds the cell.
returns:
tablecell

addcell

public tablecell addcell(boolean iscopyformat)
adds the cell.
parameters:
iscopyformat - specifies whether to apply the parent row format.
returns:
tablecell

getrowindex

public int getrowindex()
returns index of the row in owner table.
returns:
row index


网站地图