Package org.xlsx4j.sml
Class CTXf
java.lang.Object
org.xlsx4j.sml.CTXf
- All Implemented Interfaces:
Child
A single xf (format) element describes all of the formatting for a cell.
Java class for CT_Xf complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Xf">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="alignment" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellAlignment" minOccurs="0"/>
<element name="protection" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellProtection" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="numFmtId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_NumFmtId" />
<attribute name="fontId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_FontId" />
<attribute name="fillId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_FillId" />
<attribute name="borderId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_BorderId" />
<attribute name="xfId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellStyleXfId" />
<attribute name="quotePrefix" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="pivotButton" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="applyNumberFormat" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="applyFont" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="applyFill" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="applyBorder" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="applyAlignment" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="applyProtection" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CTCellAlignmentprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Longprotected CTExtensionListprotected Longprotected Longprotected Longprotected Booleanprotected CTCellProtectionprotected Booleanprotected Long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the alignment property.Gets the value of the borderId property.Gets the value of the extLst property.Gets the value of the fillId property.Gets the value of the fontId property.Gets the value of the numFmtId property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the protection property.getXfId()Gets the value of the xfId property.Gets the value of the applyAlignment property.Gets the value of the applyBorder property.Gets the value of the applyFill property.Gets the value of the applyFont property.Gets the value of the applyNumberFormat property.Gets the value of the applyProtection property.booleanGets the value of the pivotButton property.booleanGets the value of the quotePrefix property.voidsetAlignment(CTCellAlignment value) Sets the value of the alignment property.voidsetApplyAlignment(Boolean value) Sets the value of the applyAlignment property.voidsetApplyBorder(Boolean value) Sets the value of the applyBorder property.voidsetApplyFill(Boolean value) Sets the value of the applyFill property.voidsetApplyFont(Boolean value) Sets the value of the applyFont property.voidsetApplyNumberFormat(Boolean value) Sets the value of the applyNumberFormat property.voidsetApplyProtection(Boolean value) Sets the value of the applyProtection property.voidsetBorderId(Long value) Sets the value of the borderId property.voidsetExtLst(CTExtensionList value) Sets the value of the extLst property.voidSets the value of the fillId property.voidSets the value of the fontId property.voidsetNumFmtId(Long value) Sets the value of the numFmtId property.voidvoidsetPivotButton(Boolean value) Sets the value of the pivotButton property.voidsetProtection(CTCellProtection value) Sets the value of the protection property.voidsetQuotePrefix(Boolean value) Sets the value of the quotePrefix property.voidSets the value of the xfId property.
-
Field Details
-
alignment
-
protection
-
extLst
-
numFmtId
-
fontId
-
fillId
-
borderId
-
xfId
-
quotePrefix
-
pivotButton
-
applyNumberFormat
-
applyFont
-
applyFill
-
applyBorder
-
applyAlignment
-
applyProtection
-
-
Constructor Details
-
CTXf
public CTXf()
-
-
Method Details
-
getAlignment
Gets the value of the alignment property.- Returns:
- possible object is
CTCellAlignment
-
setAlignment
Sets the value of the alignment property.- Parameters:
value- allowed object isCTCellAlignment
-
getProtection
Gets the value of the protection property.- Returns:
- possible object is
CTCellProtection
-
setProtection
Sets the value of the protection property.- Parameters:
value- allowed object isCTCellProtection
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTExtensionList
-
getNumFmtId
Gets the value of the numFmtId property.- Returns:
- possible object is
Long
-
setNumFmtId
Sets the value of the numFmtId property.- Parameters:
value- allowed object isLong
-
getFontId
Gets the value of the fontId property.- Returns:
- possible object is
Long
-
setFontId
Sets the value of the fontId property.- Parameters:
value- allowed object isLong
-
getFillId
Gets the value of the fillId property.- Returns:
- possible object is
Long
-
setFillId
Sets the value of the fillId property.- Parameters:
value- allowed object isLong
-
getBorderId
Gets the value of the borderId property.- Returns:
- possible object is
Long
-
setBorderId
Sets the value of the borderId property.- Parameters:
value- allowed object isLong
-
getXfId
Gets the value of the xfId property.- Returns:
- possible object is
Long
-
setXfId
Sets the value of the xfId property.- Parameters:
value- allowed object isLong
-
isQuotePrefix
public boolean isQuotePrefix()Gets the value of the quotePrefix property.- Returns:
- possible object is
Boolean
-
setQuotePrefix
Sets the value of the quotePrefix property.- Parameters:
value- allowed object isBoolean
-
isPivotButton
public boolean isPivotButton()Gets the value of the pivotButton property.- Returns:
- possible object is
Boolean
-
setPivotButton
Sets the value of the pivotButton property.- Parameters:
value- allowed object isBoolean
-
isApplyNumberFormat
Gets the value of the applyNumberFormat property.- Returns:
- possible object is
Boolean
-
setApplyNumberFormat
Sets the value of the applyNumberFormat property.- Parameters:
value- allowed object isBoolean
-
isApplyFont
Gets the value of the applyFont property.- Returns:
- possible object is
Boolean
-
setApplyFont
Sets the value of the applyFont property.- Parameters:
value- allowed object isBoolean
-
isApplyFill
Gets the value of the applyFill property.- Returns:
- possible object is
Boolean
-
setApplyFill
Sets the value of the applyFill property.- Parameters:
value- allowed object isBoolean
-
isApplyBorder
Gets the value of the applyBorder property.- Returns:
- possible object is
Boolean
-
setApplyBorder
Sets the value of the applyBorder property.- Parameters:
value- allowed object isBoolean
-
isApplyAlignment
Gets the value of the applyAlignment property.- Returns:
- possible object is
Boolean
-
setApplyAlignment
Sets the value of the applyAlignment property.- Parameters:
value- allowed object isBoolean
-
isApplyProtection
Gets the value of the applyProtection property.- Returns:
- possible object is
Boolean
-
setApplyProtection
Sets the value of the applyProtection property.- Parameters:
value- allowed object isBoolean
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-