Package org.docx4j.dml.diagram2008
Class CTShape
java.lang.Object
org.docx4j.dml.diagram2008.CTShape
- All Implemented Interfaces:
Child
public class CTShape extends java.lang.Object implements Child
Java class for CT_Shape complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Shape">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nvSpPr" type="{http://schemas.microsoft.com/office/drawing/2008/diagram}CT_ShapeNonVisual"/>
<element name="spPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ShapeProperties"/>
<element name="style" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_ShapeStyle" minOccurs="0"/>
<element name="txBody" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_TextBody" minOccurs="0"/>
<element name="txXfrm" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Transform2D" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
</sequence>
<attribute name="modelId" use="required" type="{http://schemas.openxmlformats.org/drawingml/2006/diagram}ST_ModelId" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTOfficeArtExtensionListextLstprotected java.lang.StringmodelIdprotected CTShapeNonVisualnvSpPrprotected CTShapePropertiesspPrprotected CTShapeStylestyleprotected CTTextBodytxBodyprotected CTTransform2DtxXfrm -
Constructor Summary
Constructors Constructor Description CTShape() -
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.java.lang.StringgetModelId()Gets the value of the modelId property.CTShapeNonVisualgetNvSpPr()Gets the value of the nvSpPr property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTShapePropertiesgetSpPr()Gets the value of the spPr property.CTShapeStylegetStyle()Gets the value of the style property.CTTextBodygetTxBody()Gets the value of the txBody property.CTTransform2DgetTxXfrm()Gets the value of the txXfrm property.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetModelId(java.lang.String value)Sets the value of the modelId property.voidsetNvSpPr(CTShapeNonVisual value)Sets the value of the nvSpPr property.voidsetParent(java.lang.Object parent)voidsetSpPr(CTShapeProperties value)Sets the value of the spPr property.voidsetStyle(CTShapeStyle value)Sets the value of the style property.voidsetTxBody(CTTextBody value)Sets the value of the txBody property.voidsetTxXfrm(CTTransform2D value)Sets the value of the txXfrm property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
nvSpPr
-
spPr
-
style
-
txBody
-
txXfrm
-
extLst
-
modelId
protected java.lang.String modelId
-
-
Constructor Details
-
CTShape
public CTShape()
-
-
Method Details
-
getNvSpPr
Gets the value of the nvSpPr property.- Returns:
- possible object is
CTShapeNonVisual
-
setNvSpPr
Sets the value of the nvSpPr property.- Parameters:
value- allowed object isCTShapeNonVisual
-
getSpPr
Gets the value of the spPr property.- Returns:
- possible object is
CTShapeProperties
-
setSpPr
Sets the value of the spPr property.- Parameters:
value- allowed object isCTShapeProperties
-
getStyle
Gets the value of the style property.- Returns:
- possible object is
CTShapeStyle
-
setStyle
Sets the value of the style property.- Parameters:
value- allowed object isCTShapeStyle
-
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
-
getTxXfrm
Gets the value of the txXfrm property.- Returns:
- possible object is
CTTransform2D
-
setTxXfrm
Sets the value of the txXfrm property.- Parameters:
value- allowed object isCTTransform2D
-
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
-
getModelId
public java.lang.String getModelId()Gets the value of the modelId property.- Returns:
- possible object is
String
-
setModelId
public void setModelId(java.lang.String value)Sets the value of the modelId property.- Parameters:
value- allowed object isString
-
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.
-