Class CTWordprocessingCanvas
java.lang.Object
org.docx4j.com.microsoft.schemas.office.word.x2010.wordprocessingCanvas.CTWordprocessingCanvas
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected CTBackgroundFormattingprotected CTOfficeArtExtensionListprotected CTWholeE2OFormatting -
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.getBg()Gets the value of the bg property.Gets the value of the extLst property.Gets the parent object in the object tree representing the unmarshalled xml document.getWhole()Gets the value of the whole property.Gets the value of the wspOrPicOrContentPart property.voidsetBg(CTBackgroundFormatting value) Sets the value of the bg property.voidSets the value of the extLst property.voidvoidsetWhole(CTWholeE2OFormatting value) Sets the value of the whole property.
-
Field Details
-
bg
-
whole
-
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
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
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.
-