Package org.xlsx4j.sml
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 STHorizontalAlignmenthorizontalprotected java.lang.Longindentprotected java.lang.BooleanjustifyLastLineprotected java.lang.LongreadingOrderprotected java.lang.IntegerrelativeIndentprotected java.lang.BooleanshrinkToFitprotected java.lang.LongtextRotationprotected STVerticalAlignmentverticalprotected java.lang.BooleanwrapText -
Constructor Summary
Constructors Constructor Description CTCellAlignment() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.STHorizontalAlignmentgetHorizontal()Gets the value of the horizontal property.java.lang.LonggetIndent()Gets the value of the indent property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.LonggetReadingOrder()Gets the value of the readingOrder property.java.lang.IntegergetRelativeIndent()Gets the value of the relativeIndent property.java.lang.LonggetTextRotation()Gets the value of the textRotation property.STVerticalAlignmentgetVertical()Gets the value of the vertical property.java.lang.BooleanisJustifyLastLine()Gets the value of the justifyLastLine property.java.lang.BooleanisShrinkToFit()Gets the value of the shrinkToFit property.java.lang.BooleanisWrapText()Gets the value of the wrapText property.voidsetHorizontal(STHorizontalAlignment value)Sets the value of the horizontal property.voidsetIndent(java.lang.Long value)Sets the value of the indent property.voidsetJustifyLastLine(java.lang.Boolean value)Sets the value of the justifyLastLine property.voidsetParent(java.lang.Object parent)voidsetReadingOrder(java.lang.Long value)Sets the value of the readingOrder property.voidsetRelativeIndent(java.lang.Integer value)Sets the value of the relativeIndent property.voidsetShrinkToFit(java.lang.Boolean value)Sets the value of the shrinkToFit property.voidsetTextRotation(java.lang.Long value)Sets the value of the textRotation property.voidsetVertical(STVerticalAlignment value)Sets the value of the vertical property.voidsetWrapText(java.lang.Boolean value)Sets the value of the wrapText property.
-
Field Details
-
horizontal
-
vertical
-
textRotation
protected java.lang.Long textRotation -
wrapText
protected java.lang.Boolean wrapText -
indent
protected java.lang.Long indent -
relativeIndent
protected java.lang.Integer relativeIndent -
justifyLastLine
protected java.lang.Boolean justifyLastLine -
shrinkToFit
protected java.lang.Boolean shrinkToFit -
readingOrder
protected java.lang.Long readingOrder
-
-
Constructor Details
-
CTCellAlignment
public CTCellAlignment()
-
-
Method Details
-
getHorizontal
Gets the value of the horizontal property.- Returns:
- possible object is
STHorizontalAlignment
-
setHorizontal
Sets the value of the horizontal property.- Parameters:
value- allowed object isSTHorizontalAlignment
-
getVertical
Gets the value of the vertical property.- Returns:
- possible object is
STVerticalAlignment
-
setVertical
Sets the value of the vertical property.- Parameters:
value- allowed object isSTVerticalAlignment
-
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 isLong
-
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 isBoolean
-
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 isLong
-
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 isInteger
-
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 isBoolean
-
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 isBoolean
-
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 isLong
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
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.
-