Package org.pptx4j.pml
Class Shape
java.lang.Object
org.pptx4j.pml.Shape
- 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">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cNvPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_NonVisualDrawingProps"/>
<element name="cNvSpPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_NonVisualDrawingShapeProps"/>
<element name="nvPr" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_ApplicationNonVisualDrawingProps"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<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="extLst" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_ExtensionListModify" minOccurs="0"/>
</sequence>
<attribute name="useBgFill" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CTExtensionListModifyprotected Shape.NvSpPrprotected CTShapePropertiesprotected CTShapeStyleprotected 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.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.booleanGets the value of the useBgFill property.voidsetExtLst(CTExtensionListModify value) Sets the value of the extLst property.voidsetNvSpPr(Shape.NvSpPr 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.voidsetUseBgFill(Boolean value) Sets the value of the useBgFill property.
-
Field Details
-
nvSpPr
-
spPr
-
style
-
txBody
-
extLst
-
useBgFill
-
-
Constructor Details
-
Shape
public Shape()
-
-
Method Details
-
getNvSpPr
Gets the value of the nvSpPr property.- Returns:
- possible object is
Shape.NvSpPr
-
setNvSpPr
Sets the value of the nvSpPr property.- Parameters:
value- allowed object isShape.NvSpPr
-
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
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTExtensionListModify
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTExtensionListModify
-
isUseBgFill
public boolean isUseBgFill()Gets the value of the useBgFill property.- Returns:
- possible object is
Boolean
-
setUseBgFill
Sets the value of the useBgFill 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.
-