Class CTCommentPr

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

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

    Fields
    Modifier and Type Field Description
    protected java.lang.String altText  
    protected CTObjectAnchor anchor  
    protected java.lang.Boolean autoFill  
    protected java.lang.Boolean autoLine  
    protected java.lang.Boolean autoScale  
    protected java.lang.Boolean defaultSize  
    protected java.lang.Boolean disabled  
    protected java.lang.Boolean justLastX  
    protected java.lang.Boolean locked  
    protected java.lang.Boolean lockText  
    protected java.lang.Boolean print  
    protected STTextHAlign textHAlign  
    protected STTextVAlign textVAlign  
  • Constructor Summary

    Constructors
    Constructor Description
    CTCommentPr()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    java.lang.String getAltText()
    Gets the value of the altText property.
    CTObjectAnchor getAnchor()
    Gets the value of the anchor property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    STTextHAlign getTextHAlign()
    Gets the value of the textHAlign property.
    STTextVAlign getTextVAlign()
    Gets the value of the textVAlign property.
    boolean isAutoFill()
    Gets the value of the autoFill property.
    boolean isAutoLine()
    Gets the value of the autoLine property.
    boolean isAutoScale()
    Gets the value of the autoScale property.
    boolean isDefaultSize()
    Gets the value of the defaultSize property.
    boolean isDisabled()
    Gets the value of the disabled property.
    boolean isJustLastX()
    Gets the value of the justLastX property.
    boolean isLocked()
    Gets the value of the locked property.
    boolean isLockText()
    Gets the value of the lockText property.
    boolean isPrint()
    Gets the value of the print property.
    void setAltText​(java.lang.String value)
    Sets the value of the altText property.
    void setAnchor​(CTObjectAnchor value)
    Sets the value of the anchor property.
    void setAutoFill​(java.lang.Boolean value)
    Sets the value of the autoFill property.
    void setAutoLine​(java.lang.Boolean value)
    Sets the value of the autoLine property.
    void setAutoScale​(java.lang.Boolean value)
    Sets the value of the autoScale property.
    void setDefaultSize​(java.lang.Boolean value)
    Sets the value of the defaultSize property.
    void setDisabled​(java.lang.Boolean value)
    Sets the value of the disabled property.
    void setJustLastX​(java.lang.Boolean value)
    Sets the value of the justLastX property.
    void setLocked​(java.lang.Boolean value)
    Sets the value of the locked property.
    void setLockText​(java.lang.Boolean value)
    Sets the value of the lockText property.
    void setParent​(java.lang.Object parent)  
    void setPrint​(java.lang.Boolean value)
    Sets the value of the print property.
    void setTextHAlign​(STTextHAlign value)
    Sets the value of the textHAlign property.
    void setTextVAlign​(STTextVAlign value)
    Sets the value of the textVAlign property.

    Methods inherited from class java.lang.Object

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

    • anchor

      protected CTObjectAnchor anchor
    • locked

      protected java.lang.Boolean locked
    • defaultSize

      protected java.lang.Boolean defaultSize
    • print

      protected java.lang.Boolean print
    • disabled

      protected java.lang.Boolean disabled
    • autoFill

      protected java.lang.Boolean autoFill
    • autoLine

      protected java.lang.Boolean autoLine
    • altText

      protected java.lang.String altText
    • textHAlign

      protected STTextHAlign textHAlign
    • textVAlign

      protected STTextVAlign textVAlign
    • lockText

      protected java.lang.Boolean lockText
    • justLastX

      protected java.lang.Boolean justLastX
    • autoScale

      protected java.lang.Boolean autoScale
  • 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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.Boolean value)
      Sets the value of the autoLine property.
      Parameters:
      value - allowed object is Boolean
    • getAltText

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

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