Class CTShape
java.lang.Object
org.docx4j.dml.spreadsheetdrawing.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.openxmlformats.org/drawingml/2006/spreadsheetDrawing}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
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Booleanprotected Stringprotected CTShapeNonVisualprotected CTShapePropertiesprotected CTShapeStyleprotected Stringprotected CTTextBody -
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.getMacro()Gets the value of the macro 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 textlink property.Gets the value of the txBody property.booleanGets the value of the fLocksText property.booleanGets the value of the fPublished property.voidsetFLocksText(Boolean value) Sets the value of the fLocksText property.voidsetFPublished(Boolean value) Sets the value of the fPublished property.voidSets the value of the macro 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.voidsetTextlink(String value) Sets the value of the textlink property.voidsetTxBody(CTTextBody value) Sets the value of the txBody property.
-
Field Details
-
nvSpPr
-
spPr
-
style
-
txBody
-
macro
-
textlink
-
fLocksText
-
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
Gets the value of the macro property.- Returns:
- possible object is
String
-
setMacro
Sets the value of the macro property.- Parameters:
value- allowed object isString
-
getTextlink
Gets the value of the textlink property.- Returns:
- possible object is
String
-
setTextlink
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
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
Sets the value of the fPublished 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.
-