Class CTCellAlignment

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

public class CTCellAlignment
extends java.lang.Object
implements Child

Java class for CT_CellAlignment complex type.

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

 <complexType name="CT_CellAlignment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="horizontal" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_HorizontalAlignment" />
       <attribute name="vertical" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_VerticalAlignment" />
       <attribute name="textRotation" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="wrapText" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="indent" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="relativeIndent" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="justifyLastLine" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="shrinkToFit" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="readingOrder" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected STHorizontalAlignment horizontal  
    protected java.lang.Long indent  
    protected java.lang.Boolean justifyLastLine  
    protected java.lang.Long readingOrder  
    protected java.lang.Integer relativeIndent  
    protected java.lang.Boolean shrinkToFit  
    protected java.lang.Long textRotation  
    protected STVerticalAlignment vertical  
    protected java.lang.Boolean wrapText  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTCellAlignment()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    STHorizontalAlignment getHorizontal()
    Gets the value of the horizontal property.
    java.lang.Long getIndent()
    Gets the value of the indent property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.lang.Long getReadingOrder()
    Gets the value of the readingOrder property.
    java.lang.Integer getRelativeIndent()
    Gets the value of the relativeIndent property.
    java.lang.Long getTextRotation()
    Gets the value of the textRotation property.
    STVerticalAlignment getVertical()
    Gets the value of the vertical property.
    java.lang.Boolean isJustifyLastLine()
    Gets the value of the justifyLastLine property.
    java.lang.Boolean isShrinkToFit()
    Gets the value of the shrinkToFit property.
    java.lang.Boolean isWrapText()
    Gets the value of the wrapText property.
    void setHorizontal​(STHorizontalAlignment value)
    Sets the value of the horizontal property.
    void setIndent​(java.lang.Long value)
    Sets the value of the indent property.
    void setJustifyLastLine​(java.lang.Boolean value)
    Sets the value of the justifyLastLine property.
    void setParent​(java.lang.Object parent)  
    void setReadingOrder​(java.lang.Long value)
    Sets the value of the readingOrder property.
    void setRelativeIndent​(java.lang.Integer value)
    Sets the value of the relativeIndent property.
    void setShrinkToFit​(java.lang.Boolean value)
    Sets the value of the shrinkToFit property.
    void setTextRotation​(java.lang.Long value)
    Sets the value of the textRotation property.
    void setVertical​(STVerticalAlignment value)
    Sets the value of the vertical property.
    void setWrapText​(java.lang.Boolean value)
    Sets the value of the wrapText property.

    Methods inherited from class java.lang.Object

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

  • Constructor Details

  • Method Details

    • getHorizontal

      public STHorizontalAlignment getHorizontal()
      Gets the value of the horizontal property.
      Returns:
      possible object is STHorizontalAlignment
    • setHorizontal

      public void setHorizontal​(STHorizontalAlignment value)
      Sets the value of the horizontal property.
      Parameters:
      value - allowed object is STHorizontalAlignment
    • getVertical

      public STVerticalAlignment getVertical()
      Gets the value of the vertical property.
      Returns:
      possible object is STVerticalAlignment
    • setVertical

      public void setVertical​(STVerticalAlignment value)
      Sets the value of the vertical property.
      Parameters:
      value - allowed object is STVerticalAlignment
    • getTextRotation

      public java.lang.Long getTextRotation()
      Gets the value of the textRotation property.
      Returns:
      possible object is Long
    • setTextRotation

      public void setTextRotation​(java.lang.Long value)
      Sets the value of the textRotation property.
      Parameters:
      value - allowed object is Long
    • isWrapText

      public java.lang.Boolean isWrapText()
      Gets the value of the wrapText property.
      Returns:
      possible object is Boolean
    • setWrapText

      public void setWrapText​(java.lang.Boolean value)
      Sets the value of the wrapText property.
      Parameters:
      value - allowed object is Boolean
    • getIndent

      public java.lang.Long getIndent()
      Gets the value of the indent property.
      Returns:
      possible object is Long
    • setIndent

      public void setIndent​(java.lang.Long value)
      Sets the value of the indent property.
      Parameters:
      value - allowed object is Long
    • getRelativeIndent

      public java.lang.Integer getRelativeIndent()
      Gets the value of the relativeIndent property.
      Returns:
      possible object is Integer
    • setRelativeIndent

      public void setRelativeIndent​(java.lang.Integer value)
      Sets the value of the relativeIndent property.
      Parameters:
      value - allowed object is Integer
    • isJustifyLastLine

      public java.lang.Boolean isJustifyLastLine()
      Gets the value of the justifyLastLine property.
      Returns:
      possible object is Boolean
    • setJustifyLastLine

      public void setJustifyLastLine​(java.lang.Boolean value)
      Sets the value of the justifyLastLine property.
      Parameters:
      value - allowed object is Boolean
    • isShrinkToFit

      public java.lang.Boolean isShrinkToFit()
      Gets the value of the shrinkToFit property.
      Returns:
      possible object is Boolean
    • setShrinkToFit

      public void setShrinkToFit​(java.lang.Boolean value)
      Sets the value of the shrinkToFit property.
      Parameters:
      value - allowed object is Boolean
    • getReadingOrder

      public java.lang.Long getReadingOrder()
      Gets the value of the readingOrder property.
      Returns:
      possible object is Long
    • setReadingOrder

      public void setReadingOrder​(java.lang.Long value)
      Sets the value of the readingOrder property.
      Parameters:
      value - allowed object is Long
    • 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​(javax.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.