Package org.pptx4j.pml
Class Shape
java.lang.Object
org.pptx4j.pml.Shape
- All Implemented Interfaces:
Child
public class Shape 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">
<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 Classes Modifier and Type Class Description static classShape.NvSpPrJava class for anonymous complex type. -
Field Summary
Fields Modifier and Type Field Description protected CTExtensionListModifyextLstprotected Shape.NvSpPrnvSpPrprotected CTShapePropertiesspPrprotected CTShapeStylestyleprotected CTTextBodytxBodyprotected java.lang.BooleanuseBgFill -
Constructor Summary
Constructors Constructor Description Shape() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTExtensionListModifygetExtLst()Gets the value of the extLst property.Shape.NvSpPrgetNvSpPr()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.booleanisUseBgFill()Gets 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.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.voidsetUseBgFill(java.lang.Boolean value)Sets the value of the useBgFill property.
-
Field Details
-
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
public void setUseBgFill(java.lang.Boolean value)Sets the value of the useBgFill 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(javax.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.
-