Package org.docx4j.dml
Class CTTableCell
java.lang.Object
org.docx4j.dml.CTTableCell
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected CTOfficeArtExtensionListprotected Integerprotected Booleanprotected Integerprotected CTTableCellPropertiesprotected CTTextBodyprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the extLst property.intGets the value of the gridSpan property.Gets the parent object in the object tree representing the unmarshalled xml document.intGets the value of the rowSpan property.getTcPr()Gets the value of the tcPr property.Gets the value of the txBody property.booleanisHMerge()Gets the value of the hMerge property.booleanisVMerge()Gets the value of the vMerge property.voidSets the value of the extLst property.voidsetGridSpan(Integer value) Sets the value of the gridSpan property.voidSets the value of the hMerge property.voidvoidsetRowSpan(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.voidSets the value of the vMerge property.
-
Field Details
-
txBody
-
tcPr
-
extLst
-
rowSpan
-
gridSpan
-
hMerge
-
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
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
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
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
Sets the value of the vMerge property.- Parameters:
value- allowed object isBoolean
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-