Package org.docx4j.dml.diagram2008
Class CTShape
java.lang.Object
org.docx4j.dml.diagram2008.CTShape
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected CTOfficeArtExtensionListprotected Stringprotected CTShapeNonVisualprotected CTShapePropertiesprotected CTShapeStyleprotected CTTextBodyprotected CTTransform2D -
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.Gets the value of the modelId property.Gets the value of the nvSpPr property.Gets the parent object in the object tree representing the unmarshalled xml document.getSpPr()Gets the value of the spPr property.getStyle()Gets the value of the style property.Gets the value of the txBody property.Gets the value of the txXfrm property.voidSets the value of the extLst property.voidsetModelId(String value) Sets the value of the modelId property.voidsetNvSpPr(CTShapeNonVisual value) Sets the value of the nvSpPr property.voidvoidsetSpPr(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.
-
Field Details
-
nvSpPr
-
spPr
-
style
-
txBody
-
txXfrm
-
extLst
-
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
Gets the value of the modelId property.- Returns:
- possible object is
String
-
setModelId
Sets the value of the modelId property.- Parameters:
value- allowed object isString
-
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.
-