Class CTOleObject

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

public class CTOleObject
extends java.lang.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 Summary

    Fields 
    Modifier and Type Field Description
    protected CTOleObjectEmbed embed  
    protected java.lang.String id  
    protected java.lang.Integer imgH  
    protected java.lang.Integer imgW  
    protected CTOleObjectLink link  
    protected java.lang.String name  
    protected Pic pic  
    protected java.lang.String progId  
    protected java.lang.Boolean showAsIcon  
    protected java.lang.String spid  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTOleObject()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    CTOleObjectEmbed getEmbed()
    Gets the value of the embed property.
    java.lang.String getId()
    Relationship ID
    java.lang.Integer getImgH()
    Gets the value of the imgH property.
    java.lang.Integer getImgW()
    Gets the value of the imgW property.
    CTOleObjectLink getLink()
    Gets the value of the link property.
    java.lang.String getName()
    Gets the value of the name property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    Pic getPic()
    Gets the value of the pic property.
    java.lang.String getProgId()
    Gets the value of the progId property.
    java.lang.String getSpid()  
    boolean isShowAsIcon()
    Gets the value of the showAsIcon property.
    void setEmbed​(CTOleObjectEmbed value)
    Sets the value of the embed property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setImgH​(java.lang.Integer value)
    Sets the value of the imgH property.
    void setImgW​(java.lang.Integer value)
    Sets the value of the imgW property.
    void setLink​(CTOleObjectLink value)
    Sets the value of the link property.
    void setName​(java.lang.String value)
    Sets the value of the name property.
    void setParent​(java.lang.Object parent)  
    void setPic​(Pic value)
    Sets the value of the pic property.
    void setProgId​(java.lang.String value)
    Sets the value of the progId property.
    void setShowAsIcon​(java.lang.Boolean value)
    Sets the value of the showAsIcon property.
    void setSpid​(java.lang.String value)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • getSpid

      public java.lang.String getSpid()
    • setSpid

      public void setSpid​(java.lang.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 java.lang.String getProgId()
      Gets the value of the progId property.
      Returns:
      possible object is String
    • setProgId

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

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

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

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

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

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

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

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

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