Package org.xlsx4j.sml
Class CTStylesheet
java.lang.Object
org.xlsx4j.sml.CTStylesheet
- All Implemented Interfaces:
Child
Java class for CT_Stylesheet complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Stylesheet">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="numFmts" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_NumFmts" minOccurs="0"/>
<element name="fonts" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Fonts" minOccurs="0"/>
<element name="fills" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Fills" minOccurs="0"/>
<element name="borders" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Borders" minOccurs="0"/>
<element name="cellStyleXfs" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellStyleXfs" minOccurs="0"/>
<element name="cellXfs" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellXfs" minOccurs="0"/>
<element name="cellStyles" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CellStyles" minOccurs="0"/>
<element name="dxfs" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Dxfs" minOccurs="0"/>
<element name="tableStyles" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_TableStyles" minOccurs="0"/>
<element name="colors" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Colors" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CTBordersprotected CTCellStylesprotected CTCellStyleXfsprotected CTCellXfsprotected CTColorsprotected CTDxfsprotected CTExtensionListprotected CTFillsprotected CTFontsprotected CTNumFmtsprotected CTTableStyles -
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 borders property.Gets the value of the cellStyles property; the list of named cell style in this workbook.Gets the value of the cellStyleXfs (Formatting Records) property.Gets the value of the cellXfs (Cell Formats) property.Gets the value of the colors property.getDxfs()Gets the value of the dxfs (differential Formats) property.Gets the value of the extLst property.getFills()Gets the value of the fills property.getFonts()Gets the value of the fonts property.Gets the value of the numFmts property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the tableStyles property.voidsetBorders(CTBorders value) Sets the value of the borders property.voidsetCellStyles(CTCellStyles value) Sets the value of the cellStyles property.voidsetCellStyleXfs(CTCellStyleXfs value) Sets the value of the cellStyleXfs property.voidsetCellXfs(CTCellXfs value) Sets the value of the cellXfs (Cell Formats) property.voidSets the value of the colors property.voidSets the value of the dxfs property.voidsetExtLst(CTExtensionList value) Sets the value of the extLst property.voidSets the value of the fills property.voidSets the value of the fonts property.voidsetNumFmts(CTNumFmts value) Sets the value of the numFmts property.voidvoidsetTableStyles(CTTableStyles value) Sets the value of the tableStyles property.
-
Field Details
-
numFmts
-
fonts
-
fills
-
borders
-
cellStyleXfs
-
cellXfs
-
cellStyles
-
dxfs
-
tableStyles
-
colors
-
extLst
-
-
Constructor Details
-
CTStylesheet
public CTStylesheet()
-
-
Method Details
-
getNumFmts
Gets the value of the numFmts property.- Returns:
- possible object is
CTNumFmts
-
setNumFmts
Sets the value of the numFmts property.- Parameters:
value- allowed object isCTNumFmts
-
getFonts
Gets the value of the fonts property.- Returns:
- possible object is
CTFonts
-
setFonts
Sets the value of the fonts property.- Parameters:
value- allowed object isCTFonts
-
getFills
Gets the value of the fills property.- Returns:
- possible object is
CTFills
-
setFills
Sets the value of the fills property.- Parameters:
value- allowed object isCTFills
-
getBorders
Gets the value of the borders property.- Returns:
- possible object is
CTBorders
-
setBorders
Sets the value of the borders property.- Parameters:
value- allowed object isCTBorders
-
getCellStyleXfs
Gets the value of the cellStyleXfs (Formatting Records) property.- Returns:
- possible object is
CTCellStyleXfs
-
setCellStyleXfs
Sets the value of the cellStyleXfs property.- Parameters:
value- allowed object isCTCellStyleXfs
-
getCellXfs
Gets the value of the cellXfs (Cell Formats) property. This element contains the master formatting records (xf) which define the formatting applied to cells in this workbook. These records are the starting point for determining the formatting for a cell. Cells in the Sheet Part reference the xf records by zero-based index.- Returns:
- possible object is
CTCellXfs
-
setCellXfs
Sets the value of the cellXfs (Cell Formats) property.- Parameters:
value- allowed object isCTCellXfs
-
getCellStyles
Gets the value of the cellStyles property; the list of named cell style in this workbook.- Returns:
- possible object is
CTCellStyles
-
setCellStyles
Sets the value of the cellStyles property.- Parameters:
value- allowed object isCTCellStyles
-
getDxfs
Gets the value of the dxfs (differential Formats) property.- Returns:
- possible object is
CTDxfs
-
setDxfs
Sets the value of the dxfs property.- Parameters:
value- allowed object isCTDxfs
-
getTableStyles
Gets the value of the tableStyles property.- Returns:
- possible object is
CTTableStyles
-
setTableStyles
Sets the value of the tableStyles property.- Parameters:
value- allowed object isCTTableStyles
-
getColors
Gets the value of the colors property.- Returns:
- possible object is
CTColors
-
setColors
Sets the value of the colors property.- Parameters:
value- allowed object isCTColors
-
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
-
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.
-