Class CTOLEObject

java.lang.Object
org.docx4j.vml.officedrawing.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="LinkType" type="{urn:schemas-microsoft-com:office:office}ST_OLELinkType" minOccurs="0"/>
         <element name="LockedField" type="{urn:schemas-microsoft-com:office:office}ST_TrueFalseBlank" minOccurs="0"/>
         <element name="FieldCodes" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
       <attribute name="Type" type="{urn:schemas-microsoft-com:office:office}ST_OLEType" />
       <attribute name="ProgID" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="ShapeID" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="DrawAspect" type="{urn:schemas-microsoft-com:office:office}ST_OLEDrawAspect" />
       <attribute name="ObjectID" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
       <attribute name="UpdateMode" type="{urn:schemas-microsoft-com:office:office}ST_OLEUpdateMode" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTOLEObject

      public CTOLEObject()
  • Method Details

    • getLinkType

      public STOLELinkType getLinkType()
      Gets the value of the linkType property.
      Returns:
      possible object is STOLELinkType
    • setLinkType

      public void setLinkType(STOLELinkType value)
      Sets the value of the linkType property.
      Parameters:
      value - allowed object is STOLELinkType
    • getLockedField

      public String getLockedField()
      Gets the value of the lockedField property.
      Returns:
      possible object is String
    • setLockedField

      public void setLockedField(String value)
      Sets the value of the lockedField property.
      Parameters:
      value - allowed object is String
    • getFieldCodes

      public String getFieldCodes()
      Gets the value of the fieldCodes property.
      Returns:
      possible object is String
    • setFieldCodes

      public void setFieldCodes(String value)
      Sets the value of the fieldCodes property.
      Parameters:
      value - allowed object is String
    • getType

      public STOLEType getType()
      Gets the value of the type property.
      Returns:
      possible object is STOLEType
    • setType

      public void setType(STOLEType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is STOLEType
    • 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
    • getShapeID

      public String getShapeID()
      Gets the value of the shapeID property.
      Returns:
      possible object is String
    • setShapeID

      public void setShapeID(String value)
      Sets the value of the shapeID property.
      Parameters:
      value - allowed object is String
    • getDrawAspect

      public STOLEDrawAspect getDrawAspect()
      Gets the value of the drawAspect property.
      Returns:
      possible object is STOLEDrawAspect
    • setDrawAspect

      public void setDrawAspect(STOLEDrawAspect value)
      Sets the value of the drawAspect property.
      Parameters:
      value - allowed object is STOLEDrawAspect
    • getObjectID

      public String getObjectID()
      Gets the value of the objectID property.
      Returns:
      possible object is String
    • setObjectID

      public void setObjectID(String value)
      Sets the value of the objectID property.
      Parameters:
      value - allowed object is String
    • getId

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

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

      public STOLEUpdateMode getUpdateMode()
      Gets the value of the updateMode property.
      Returns:
      possible object is STOLEUpdateMode
    • setUpdateMode

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