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 Details

  • Constructor Details

    • CTWordprocessingCanvas

      public CTWordprocessingCanvas()
  • Method Details

    • getBg

      public CTBackgroundFormatting getBg()
      Gets the value of the bg property.
      Returns:
      possible object is CTBackgroundFormatting
    • setBg

      public void setBg​(CTBackgroundFormatting value)
      Sets the value of the bg property.
      Parameters:
      value - allowed object is CTBackgroundFormatting
    • getWhole

      public CTWholeE2OFormatting getWhole()
      Gets the value of the whole property.
      Returns:
      possible object is CTWholeE2OFormatting
    • setWhole

      public void setWhole​(CTWholeE2OFormatting value)
      Sets the value of the whole property.
      Parameters:
      value - allowed object is CTWholeE2OFormatting
    • 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 set method 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 CTWordprocessingShape Pic CTWordContentPart CTWordprocessingGroup CTGraphicFrame

    • getExtLst

      public CTOfficeArtExtensionList getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTOfficeArtExtensionList
    • setExtLst

      public void setExtLst​(CTOfficeArtExtensionList value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTOfficeArtExtensionList
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.