Class CTCellAlignment

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

public class CTCellAlignment extends 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 Details

    • horizontal

      protected STHorizontalAlignment horizontal
    • vertical

      protected STVerticalAlignment vertical
    • textRotation

      protected Long textRotation
    • wrapText

      protected Boolean wrapText
    • indent

      protected Long indent
    • relativeIndent

      protected Integer relativeIndent
    • justifyLastLine

      protected Boolean justifyLastLine
    • shrinkToFit

      protected Boolean shrinkToFit
    • readingOrder

      protected Long readingOrder
  • Constructor Details

    • CTCellAlignment

      public CTCellAlignment()
  • 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 Long getTextRotation()
      Gets the value of the textRotation property.
      Returns:
      possible object is Long
    • setTextRotation

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

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

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

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

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

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

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

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

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

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

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

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

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