Package org.docx4j.dml.chartDrawing
Class CTShape
java.lang.Object
org.docx4j.dml.chartDrawing.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.openxmlformats.org/drawingml/2006/chartDrawing}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"/>
</sequence>
<attribute name="macro" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="textlink" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="fLocksText" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="fPublished" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.BooleanfLocksTextprotected java.lang.BooleanfPublishedprotected java.lang.Stringmacroprotected CTShapeNonVisualnvSpPrprotected CTShapePropertiesspPrprotected CTShapeStylestyleprotected java.lang.Stringtextlinkprotected CTTextBodytxBody -
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.java.lang.StringgetMacro()Gets the value of the macro 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.java.lang.StringgetTextlink()Gets the value of the textlink property.CTTextBodygetTxBody()Gets the value of the txBody property.booleanisFLocksText()Gets the value of the fLocksText property.booleanisFPublished()Gets the value of the fPublished property.voidsetFLocksText(java.lang.Boolean value)Sets the value of the fLocksText property.voidsetFPublished(java.lang.Boolean value)Sets the value of the fPublished property.voidsetMacro(java.lang.String value)Sets the value of the macro 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.voidsetTextlink(java.lang.String value)Sets the value of the textlink property.voidsetTxBody(CTTextBody value)Sets the value of the txBody 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
-
macro
protected java.lang.String macro -
textlink
protected java.lang.String textlink -
fLocksText
protected java.lang.Boolean fLocksText -
fPublished
protected java.lang.Boolean fPublished
-
-
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
-
getMacro
public java.lang.String getMacro()Gets the value of the macro property.- Returns:
- possible object is
String
-
setMacro
public void setMacro(java.lang.String value)Sets the value of the macro property.- Parameters:
value- allowed object isString
-
getTextlink
public java.lang.String getTextlink()Gets the value of the textlink property.- Returns:
- possible object is
String
-
setTextlink
public void setTextlink(java.lang.String value)Sets the value of the textlink property.- Parameters:
value- allowed object isString
-
isFLocksText
public boolean isFLocksText()Gets the value of the fLocksText property.- Returns:
- possible object is
Boolean
-
setFLocksText
public void setFLocksText(java.lang.Boolean value)Sets the value of the fLocksText property.- Parameters:
value- allowed object isBoolean
-
isFPublished
public boolean isFPublished()Gets the value of the fPublished property.- Returns:
- possible object is
Boolean
-
setFPublished
public void setFPublished(java.lang.Boolean value)Sets the value of the fPublished 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.
-