Class CTObjectAnchor

java.lang.Object
org.xlsx4j.sml.CTObjectAnchor
All Implemented Interfaces:
Child

public class CTObjectAnchor extends Object implements Child

Java class for CT_ObjectAnchor complex type.

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

 <complexType name="CT_ObjectAnchor">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}from"/>
         <element ref="{http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing}to"/>
       </sequence>
       <attribute name="moveWithCells" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="sizeWithCells" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • from

      protected CTMarker from
    • to

      protected CTMarker to
    • moveWithCells

      protected Boolean moveWithCells
    • sizeWithCells

      protected Boolean sizeWithCells
  • Constructor Details

    • CTObjectAnchor

      public CTObjectAnchor()
  • Method Details

    • getFrom

      public CTMarker getFrom()
      Gets the value of the from property.
      Returns:
      possible object is CTMarker
    • setFrom

      public void setFrom(CTMarker value)
      Sets the value of the from property.
      Parameters:
      value - allowed object is CTMarker
    • getTo

      public CTMarker getTo()
      Gets the value of the to property.
      Returns:
      possible object is CTMarker
    • setTo

      public void setTo(CTMarker value)
      Sets the value of the to property.
      Parameters:
      value - allowed object is CTMarker
    • isMoveWithCells

      public boolean isMoveWithCells()
      Gets the value of the moveWithCells property.
      Returns:
      possible object is Boolean
    • setMoveWithCells

      public void setMoveWithCells(Boolean value)
      Sets the value of the moveWithCells property.
      Parameters:
      value - allowed object is Boolean
    • isSizeWithCells

      public boolean isSizeWithCells()
      Gets the value of the sizeWithCells property.
      Returns:
      possible object is Boolean
    • setSizeWithCells

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