Package org.docx4j.dml
Class CTTableCell
java.lang.Object
org.docx4j.dml.CTTableCell
- All Implemented Interfaces:
Child
public class CTTableCell extends java.lang.Object implements Child
Java class for CT_TableCell complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_TableCell">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="txBody" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextBody" minOccurs="0"/>
<element name="tcPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TableCellProperties" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
</sequence>
<attribute name="rowSpan" type="{http://www.w3.org/2001/XMLSchema}int" default="1" />
<attribute name="gridSpan" type="{http://www.w3.org/2001/XMLSchema}int" default="1" />
<attribute name="hMerge" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="vMerge" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTOfficeArtExtensionListextLstprotected java.lang.IntegergridSpanprotected java.lang.BooleanhMergeprotected java.lang.IntegerrowSpanprotected CTTableCellPropertiestcPrprotected CTTextBodytxBodyprotected java.lang.BooleanvMerge -
Constructor Summary
Constructors Constructor Description CTTableCell() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTOfficeArtExtensionListgetExtLst()Gets the value of the extLst property.intgetGridSpan()Gets the value of the gridSpan property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.intgetRowSpan()Gets the value of the rowSpan property.CTTableCellPropertiesgetTcPr()Gets the value of the tcPr property.CTTextBodygetTxBody()Gets the value of the txBody property.booleanisHMerge()Gets the value of the hMerge property.booleanisVMerge()Gets the value of the vMerge property.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetGridSpan(java.lang.Integer value)Sets the value of the gridSpan property.voidsetHMerge(java.lang.Boolean value)Sets the value of the hMerge property.voidsetParent(java.lang.Object parent)voidsetRowSpan(java.lang.Integer value)Sets the value of the rowSpan property.voidsetTcPr(CTTableCellProperties value)Sets the value of the tcPr property.voidsetTxBody(CTTextBody value)Sets the value of the txBody property.voidsetVMerge(java.lang.Boolean value)Sets the value of the vMerge property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
txBody
-
tcPr
-
extLst
-
rowSpan
protected java.lang.Integer rowSpan -
gridSpan
protected java.lang.Integer gridSpan -
hMerge
protected java.lang.Boolean hMerge -
vMerge
protected java.lang.Boolean vMerge
-
-
Constructor Details
-
CTTableCell
public CTTableCell()
-
-
Method Details
-
getTxBody
Gets the value of the txBody property.- Returns:
- possible object is
CTTextBody
-
setTxBody
Sets the value of the txBody property.- Parameters:
value- allowed object isCTTextBody
-
getTcPr
Gets the value of the tcPr property.- Returns:
- possible object is
CTTableCellProperties
-
setTcPr
Sets the value of the tcPr property.- Parameters:
value- allowed object isCTTableCellProperties
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTOfficeArtExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTOfficeArtExtensionList
-
getRowSpan
public int getRowSpan()Gets the value of the rowSpan property.- Returns:
- possible object is
Integer
-
setRowSpan
public void setRowSpan(java.lang.Integer value)Sets the value of the rowSpan property.- Parameters:
value- allowed object isInteger
-
getGridSpan
public int getGridSpan()Gets the value of the gridSpan property.- Returns:
- possible object is
Integer
-
setGridSpan
public void setGridSpan(java.lang.Integer value)Sets the value of the gridSpan property.- Parameters:
value- allowed object isInteger
-
isHMerge
public boolean isHMerge()Gets the value of the hMerge property.- Returns:
- possible object is
Boolean
-
setHMerge
public void setHMerge(java.lang.Boolean value)Sets the value of the hMerge property.- Parameters:
value- allowed object isBoolean
-
isVMerge
public boolean isVMerge()Gets the value of the vMerge property.- Returns:
- possible object is
Boolean
-
setVMerge
public void setVMerge(java.lang.Boolean value)Sets the value of the vMerge property.- Parameters:
value- allowed object isBoolean
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-