Class CTCommentPr

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

public class CTCommentPr extends Object implements Child

Java class for CT_CommentPr complex type.

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

 <complexType name="CT_CommentPr">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="anchor" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ObjectAnchor"/>
       </sequence>
       <attribute name="locked" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="defaultSize" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="print" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="disabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="autoFill" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="autoLine" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="altText" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="textHAlign" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_TextHAlign" default="left" />
       <attribute name="textVAlign" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_TextVAlign" default="top" />
       <attribute name="lockText" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="justLastX" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="autoScale" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • CTCommentPr

      public CTCommentPr()
  • Method Details

    • getAnchor

      public CTObjectAnchor getAnchor()
      Gets the value of the anchor property.
      Returns:
      possible object is CTObjectAnchor
    • setAnchor

      public void setAnchor(CTObjectAnchor value)
      Sets the value of the anchor property.
      Parameters:
      value - allowed object is CTObjectAnchor
    • isLocked

      public boolean isLocked()
      Gets the value of the locked property.
      Returns:
      possible object is Boolean
    • setLocked

      public void setLocked(Boolean value)
      Sets the value of the locked property.
      Parameters:
      value - allowed object is Boolean
    • isDefaultSize

      public boolean isDefaultSize()
      Gets the value of the defaultSize property.
      Returns:
      possible object is Boolean
    • setDefaultSize

      public void setDefaultSize(Boolean value)
      Sets the value of the defaultSize property.
      Parameters:
      value - allowed object is Boolean
    • isPrint

      public boolean isPrint()
      Gets the value of the print property.
      Returns:
      possible object is Boolean
    • setPrint

      public void setPrint(Boolean value)
      Sets the value of the print property.
      Parameters:
      value - allowed object is Boolean
    • isDisabled

      public boolean isDisabled()
      Gets the value of the disabled property.
      Returns:
      possible object is Boolean
    • setDisabled

      public void setDisabled(Boolean value)
      Sets the value of the disabled property.
      Parameters:
      value - allowed object is Boolean
    • isAutoFill

      public boolean isAutoFill()
      Gets the value of the autoFill property.
      Returns:
      possible object is Boolean
    • setAutoFill

      public void setAutoFill(Boolean value)
      Sets the value of the autoFill property.
      Parameters:
      value - allowed object is Boolean
    • isAutoLine

      public boolean isAutoLine()
      Gets the value of the autoLine property.
      Returns:
      possible object is Boolean
    • setAutoLine

      public void setAutoLine(Boolean value)
      Sets the value of the autoLine property.
      Parameters:
      value - allowed object is Boolean
    • getAltText

      public String getAltText()
      Gets the value of the altText property.
      Returns:
      possible object is String
    • setAltText

      public void setAltText(String value)
      Sets the value of the altText property.
      Parameters:
      value - allowed object is String
    • getTextHAlign

      public STTextHAlign getTextHAlign()
      Gets the value of the textHAlign property.
      Returns:
      possible object is STTextHAlign
    • setTextHAlign

      public void setTextHAlign(STTextHAlign value)
      Sets the value of the textHAlign property.
      Parameters:
      value - allowed object is STTextHAlign
    • getTextVAlign

      public STTextVAlign getTextVAlign()
      Gets the value of the textVAlign property.
      Returns:
      possible object is STTextVAlign
    • setTextVAlign

      public void setTextVAlign(STTextVAlign value)
      Sets the value of the textVAlign property.
      Parameters:
      value - allowed object is STTextVAlign
    • isLockText

      public boolean isLockText()
      Gets the value of the lockText property.
      Returns:
      possible object is Boolean
    • setLockText

      public void setLockText(Boolean value)
      Sets the value of the lockText property.
      Parameters:
      value - allowed object is Boolean
    • isJustLastX

      public boolean isJustLastX()
      Gets the value of the justLastX property.
      Returns:
      possible object is Boolean
    • setJustLastX

      public void setJustLastX(Boolean value)
      Sets the value of the justLastX property.
      Parameters:
      value - allowed object is Boolean
    • isAutoScale

      public boolean isAutoScale()
      Gets the value of the autoScale property.
      Returns:
      possible object is Boolean
    • setAutoScale

      public void setAutoScale(Boolean value)
      Sets the value of the autoScale 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.