public class CTTable extends Object
Java class for CT_Table complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Table"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="tblPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TableProperties" minOccurs="0"/> <element name="tblGrid" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TableGrid"/> <element name="tr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TableRow" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected CTTableGrid |
tblGrid |
protected CTTableProperties |
tblPr |
protected List<CTTableRow> |
tr |
Constructor and Description |
---|
CTTable() |
Modifier and Type | Method and Description |
---|---|
CTTableGrid |
getTblGrid()
Gets the value of the tblGrid property.
|
CTTableProperties |
getTblPr()
Gets the value of the tblPr property.
|
List<CTTableRow> |
getTr()
Gets the value of the tr property.
|
void |
setTblGrid(CTTableGrid value)
Sets the value of the tblGrid property.
|
void |
setTblPr(CTTableProperties value)
Sets the value of the tblPr property.
|
protected CTTableProperties tblPr
protected CTTableGrid tblGrid
protected List<CTTableRow> tr
public CTTableProperties getTblPr()
CTTableProperties
public void setTblPr(CTTableProperties value)
value
- allowed object is
CTTableProperties
public CTTableGrid getTblGrid()
CTTableGrid
public void setTblGrid(CTTableGrid value)
value
- allowed object is
CTTableGrid
public List<CTTableRow> getTr()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the tr property.
For example, to add a new item, do as follows:
getTr().add(newItem);
Objects of the following type(s) are allowed in the list
CTTableRow
Copyright © 2007-2019. All Rights Reserved.