Class CTWordprocessingCanvas
java.lang.Object
org.docx4j.com.microsoft.schemas.office.word.x2010.wordprocessingCanvas.CTWordprocessingCanvas
- All Implemented Interfaces:
Child
public class CTWordprocessingCanvas extends java.lang.Object implements Child
Java class for CT_WordprocessingCanvas complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_WordprocessingCanvas">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="bg" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_BackgroundFormatting" minOccurs="0"/>
<element name="whole" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_WholeE2oFormatting" minOccurs="0"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{http://schemas.microsoft.com/office/word/2010/wordprocessingShape}wsp"/>
<element ref="{http://schemas.openxmlformats.org/drawingml/2006/picture}pic"/>
<element ref="{http://schemas.microsoft.com/office/word/2010/wordml}contentPart"/>
<element ref="{http://schemas.microsoft.com/office/word/2010/wordprocessingGroup}wgp"/>
<element name="graphicFrame" type="{http://schemas.microsoft.com/office/word/2010/wordprocessingGroup}CT_GraphicFrame"/>
</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 CTBackgroundFormattingbgprotected CTOfficeArtExtensionListextLstprotected CTWholeE2OFormattingwholeprotected java.util.List<java.lang.Object>wspOrPicOrContentPart -
Constructor Summary
Constructors Constructor Description CTWordprocessingCanvas() -
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.CTBackgroundFormattinggetBg()Gets the value of the bg property.CTOfficeArtExtensionListgetExtLst()Gets the value of the extLst property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.CTWholeE2OFormattinggetWhole()Gets the value of the whole property.java.util.List<java.lang.Object>getWspOrPicOrContentPart()Gets the value of the wspOrPicOrContentPart property.voidsetBg(CTBackgroundFormatting value)Sets the value of the bg property.voidsetExtLst(CTOfficeArtExtensionList value)Sets the value of the extLst property.voidsetParent(java.lang.Object parent)voidsetWhole(CTWholeE2OFormatting value)Sets the value of the whole property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
bg
-
whole
-
wspOrPicOrContentPart
protected java.util.List<java.lang.Object> wspOrPicOrContentPart -
extLst
-
-
Constructor Details
-
CTWordprocessingCanvas
public CTWordprocessingCanvas()
-
-
Method Details
-
getBg
Gets the value of the bg property.- Returns:
- possible object is
CTBackgroundFormatting
-
setBg
Sets the value of the bg property.- Parameters:
value- allowed object isCTBackgroundFormatting
-
getWhole
Gets the value of the whole property.- Returns:
- possible object is
CTWholeE2OFormatting
-
setWhole
Sets the value of the whole property.- Parameters:
value- allowed object isCTWholeE2OFormatting
-
getWspOrPicOrContentPart
public java.util.List<java.lang.Object> getWspOrPicOrContentPart()Gets the value of the wspOrPicOrContentPart 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 wspOrPicOrContentPart property.For example, to add a new item, do as follows:
getWspOrPicOrContentPart().add(newItem);Objects of the following type(s) are allowed in the list
CTWordprocessingShapePicCTWordContentPartCTWordprocessingGroupCTGraphicFrame -
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.
-