Class Pic

java.lang.Object
org.pptx4j.pml.Pic
All Implemented Interfaces:
Child

public class Pic extends 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">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="cNvPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_NonVisualDrawingProps"/>
                   <element name="cNvPicPr" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_NonVisualPictureProperties"/>
                   <element name="nvPr" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_ApplicationNonVisualDrawingProps"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <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"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_ExtensionListModify" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Pic

      public Pic()
  • Method Details

    • getNvPicPr

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

      public void setNvPicPr(Pic.NvPicPr value)
      Sets the value of the nvPicPr property.
      Parameters:
      value - allowed object is Pic.NvPicPr
    • 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
    • getExtLst

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

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

      public 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(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.