Class CTPicture

java.lang.Object
org.docx4j.dml.chartDrawing.CTPicture
All Implemented Interfaces:
Child

public class CTPicture
extends java.lang.Object
implements Child

Java class for CT_Picture complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_Picture">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="nvPicPr" type="{http://schemas.openxmlformats.org/drawingml/2006/chartDrawing}CT_PictureNonVisual"/>
         <element name="blipFill" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_BlipFillProperties"/>
         <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"/>
       </sequence>
       <attribute name="macro" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
       <attribute name="fPublished" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTPicture

      public CTPicture()
  • Method Details

    • getNvPicPr

      public CTPictureNonVisual getNvPicPr()
      Gets the value of the nvPicPr property.
      Returns:
      possible object is CTPictureNonVisual
    • setNvPicPr

      public void setNvPicPr​(CTPictureNonVisual value)
      Sets the value of the nvPicPr property.
      Parameters:
      value - allowed object is CTPictureNonVisual
    • getBlipFill

      public CTBlipFillProperties getBlipFill()
      Gets the value of the blipFill property.
      Returns:
      possible object is CTBlipFillProperties
    • setBlipFill

      public void setBlipFill​(CTBlipFillProperties value)
      Sets the value of the blipFill property.
      Parameters:
      value - allowed object is CTBlipFillProperties
    • getSpPr

      public CTShapeProperties getSpPr()
      Gets the value of the spPr property.
      Returns:
      possible object is CTShapeProperties
    • setSpPr

      public void setSpPr​(CTShapeProperties value)
      Sets the value of the spPr property.
      Parameters:
      value - allowed object is CTShapeProperties
    • getStyle

      public CTShapeStyle getStyle()
      Gets the value of the style property.
      Returns:
      possible object is CTShapeStyle
    • setStyle

      public void setStyle​(CTShapeStyle value)
      Sets the value of the style property.
      Parameters:
      value - allowed object is CTShapeStyle
    • getMacro

      public java.lang.String getMacro()
      Gets the value of the macro property.
      Returns:
      possible object is String
    • setMacro

      public void setMacro​(java.lang.String value)
      Sets the value of the macro property.
      Parameters:
      value - allowed object is String
    • isFPublished

      public boolean isFPublished()
      Gets the value of the fPublished property.
      Returns:
      possible object is Boolean
    • setFPublished

      public void setFPublished​(java.lang.Boolean value)
      Sets the value of the fPublished property.
      Parameters:
      value - allowed object is Boolean
    • 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.