Class CTWordprocessingGroup
java.lang.Object
org.docx4j.com.microsoft.schemas.office.word.x2010.wordprocessingGroup.CTWordprocessingGroup
- All Implemented Interfaces:
Child
public class CTWordprocessingGroup extends java.lang.Object implements Child
Java class for CT_WordprocessingGroup complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_WordprocessingGroup">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cNvPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_NonVisualDrawingProps" minOccurs="0"/>
<element name="cNvGrpSpPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_NonVisualGroupDrawingShapeProps"/>
<element name="grpSpPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_GroupShapeProperties"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{http://schemas.microsoft.com/office/word/2010/wordprocessingShape}wsp"/>
<element name="grpSp" type="{http://schemas.microsoft.com/office/word/2010/wordprocessingGroup}CT_WordprocessingGroup"/>
<element name="graphicFrame" type="{http://schemas.microsoft.com/office/word/2010/wordprocessingGroup}CT_GraphicFrame"/>
<element ref="{http://schemas.openxmlformats.org/drawingml/2006/picture}pic"/>
</choice>
<element name="extLst" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_OfficeArtExtensionList" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected CTNonVisualGroupDrawingShapePropscNvGrpSpPrprotected CTNonVisualDrawingPropscNvPrprotected CTOfficeArtExtensionListextLstprotected CTGroupShapePropertiesgrpSpPrprotected java.util.List<java.lang.Object>wspOrGrpSpOrGraphicFrame -
Constructor Summary
Constructors Constructor Description CTWordprocessingGroup() -
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.CTNonVisualGroupDrawingShapePropsgetCNvGrpSpPr()Gets the value of the cNvGrpSpPr property.CTNonVisualDrawingPropsgetCNvPr()Gets the value of the cNvPr property.CTOfficeArtExtensionListgetExtLst()Gets the value of the extLst property.CTGroupShapePropertiesgetGrpSpPr()Gets the value of the grpSpPr property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.util.List<java.lang.Object>getWspOrGrpSpOrGraphicFrame()Gets the value of the wspOrGrpSpOrGraphicFrame property.voidsetCNvGrpSpPr(CTNonVisualGroupDrawingShapeProps value)Sets the value of the cNvGrpSpPr property.voidsetCNvPr(CTNonVisualDrawingProps value)Sets the value of the cNvPr property.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetGrpSpPr(CTGroupShapeProperties value)Sets the value of the grpSpPr property.voidsetParent(java.lang.Object parent)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
cNvPr
-
cNvGrpSpPr
-
grpSpPr
-
wspOrGrpSpOrGraphicFrame
protected java.util.List<java.lang.Object> wspOrGrpSpOrGraphicFrame -
extLst
-
-
Constructor Details
-
CTWordprocessingGroup
public CTWordprocessingGroup()
-
-
Method Details
-
getCNvPr
Gets the value of the cNvPr property.- Returns:
- possible object is
CTNonVisualDrawingProps
-
setCNvPr
Sets the value of the cNvPr property.- Parameters:
value- allowed object isCTNonVisualDrawingProps
-
getCNvGrpSpPr
Gets the value of the cNvGrpSpPr property.- Returns:
- possible object is
CTNonVisualGroupDrawingShapeProps
-
setCNvGrpSpPr
Sets the value of the cNvGrpSpPr property.- Parameters:
value- allowed object isCTNonVisualGroupDrawingShapeProps
-
getGrpSpPr
Gets the value of the grpSpPr property.- Returns:
- possible object is
CTGroupShapeProperties
-
setGrpSpPr
Sets the value of the grpSpPr property.- Parameters:
value- allowed object isCTGroupShapeProperties
-
getWspOrGrpSpOrGraphicFrame
public java.util.List<java.lang.Object> getWspOrGrpSpOrGraphicFrame()Gets the value of the wspOrGrpSpOrGraphicFrame property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the wspOrGrpSpOrGraphicFrame property.For example, to add a new item, do as follows:
getWspOrGrpSpOrGraphicFrame().add(newItem);Objects of the following type(s) are allowed in the list
CTWordprocessingShapeCTWordprocessingGroupCTGraphicFramePic -
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
-
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.
-