Class CTOleObject

java.lang.Object
org.xlsx4j.sml.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">
       <sequence>
         <element name="objectPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ObjectPr" minOccurs="0"/>
       </sequence>
       <attribute name="progId" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="dvAspect" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DvAspect" default="DVASPECT_CONTENT" />
       <attribute name="link" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="oleUpdate" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_OleUpdate" />
       <attribute name="autoLoad" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="shapeId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • objectPr

      protected CTObjectPr objectPr
    • progId

      protected String progId
    • dvAspect

      protected STDvAspect dvAspect
    • oleUpdate

      protected STOleUpdate oleUpdate
    • autoLoad

      protected Boolean autoLoad
    • shapeId

      protected long shapeId
    • id

      protected String id
  • Constructor Details

    • CTOleObject

      public CTOleObject()
  • Method Details

    • getObjectPr

      public CTObjectPr getObjectPr()
      Gets the value of the objectPr property.
      Returns:
      possible object is CTObjectPr
    • setObjectPr

      public void setObjectPr(CTObjectPr value)
      Sets the value of the objectPr property.
      Parameters:
      value - allowed object is CTObjectPr
    • 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
    • getDvAspect

      public STDvAspect getDvAspect()
      Gets the value of the dvAspect property.
      Returns:
      possible object is STDvAspect
    • setDvAspect

      public void setDvAspect(STDvAspect value)
      Sets the value of the dvAspect property.
      Parameters:
      value - allowed object is STDvAspect
    • getLink

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

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

      public STOleUpdate getOleUpdate()
      Gets the value of the oleUpdate property.
      Returns:
      possible object is STOleUpdate
    • setOleUpdate

      public void setOleUpdate(STOleUpdate value)
      Sets the value of the oleUpdate property.
      Parameters:
      value - allowed object is STOleUpdate
    • isAutoLoad

      public boolean isAutoLoad()
      Gets the value of the autoLoad property.
      Returns:
      possible object is Boolean
    • setAutoLoad

      public void setAutoLoad(Boolean value)
      Sets the value of the autoLoad property.
      Parameters:
      value - allowed object is Boolean
    • getShapeId

      public long getShapeId()
      Gets the value of the shapeId property.
    • setShapeId

      public void setShapeId(long value)
      Sets the value of the shapeId property.
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

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