Class CTOleObject

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

public class CTOleObject extends Object implements Child

Java class for CT_OleObject complex type.

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

 <complexType name="CT_OleObject">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice>
         <element name="embed" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_OleObjectEmbed"/>
         <element name="link" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_OleObjectLink"/>
         <element name="pic" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_Picture"/>
       </choice>
       <attGroup ref="{http://schemas.openxmlformats.org/presentationml/2006/main}AG_Ole"/>
       <attribute name="progId" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTOleObject

      public CTOleObject()
  • Method Details

    • getSpid

      public String getSpid()
    • setSpid

      public void setSpid(String value)
    • getEmbed

      public CTOleObjectEmbed getEmbed()
      Gets the value of the embed property.
      Returns:
      possible object is CTOleObjectEmbed
    • setEmbed

      public void setEmbed(CTOleObjectEmbed value)
      Sets the value of the embed property.
      Parameters:
      value - allowed object is CTOleObjectEmbed
    • getLink

      public CTOleObjectLink getLink()
      Gets the value of the link property.
      Returns:
      possible object is CTOleObjectLink
    • setLink

      public void setLink(CTOleObjectLink value)
      Sets the value of the link property.
      Parameters:
      value - allowed object is CTOleObjectLink
    • getPic

      public Pic getPic()
      Gets the value of the pic property.
      Returns:
      possible object is Pic
    • setPic

      public void setPic(Pic value)
      Sets the value of the pic property.
      Parameters:
      value - allowed object is Pic
    • getProgId

      public String getProgId()
      Gets the value of the progId property.
      Returns:
      possible object is String
    • setProgId

      public void setProgId(String value)
      Sets the value of the progId property.
      Parameters:
      value - allowed object is String
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • isShowAsIcon

      public boolean isShowAsIcon()
      Gets the value of the showAsIcon property.
      Returns:
      possible object is Boolean
    • setShowAsIcon

      public void setShowAsIcon(Boolean value)
      Sets the value of the showAsIcon property.
      Parameters:
      value - allowed object is Boolean
    • getId

      public String getId()
      Relationship ID
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • getImgW

      public Integer getImgW()
      Gets the value of the imgW property.
      Returns:
      possible object is Integer
    • setImgW

      public void setImgW(Integer value)
      Sets the value of the imgW property.
      Parameters:
      value - allowed object is Integer
    • getImgH

      public Integer getImgH()
      Gets the value of the imgH property.
      Returns:
      possible object is Integer
    • setImgH

      public void setImgH(Integer value)
      Sets the value of the imgH property.
      Parameters:
      value - allowed object is Integer
    • 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.