Class CTStylesheet

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

public class CTStylesheet extends Object implements 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 Details

  • Constructor Details

    • CTStylesheet

      public CTStylesheet()
  • Method Details

    • getNumFmts

      public CTNumFmts getNumFmts()
      Gets the value of the numFmts property.
      Returns:
      possible object is CTNumFmts
    • setNumFmts

      public void setNumFmts(CTNumFmts value)
      Sets the value of the numFmts property.
      Parameters:
      value - allowed object is CTNumFmts
    • getFonts

      public CTFonts getFonts()
      Gets the value of the fonts property.
      Returns:
      possible object is CTFonts
    • setFonts

      public void setFonts(CTFonts value)
      Sets the value of the fonts property.
      Parameters:
      value - allowed object is CTFonts
    • getFills

      public CTFills getFills()
      Gets the value of the fills property.
      Returns:
      possible object is CTFills
    • setFills

      public void setFills(CTFills value)
      Sets the value of the fills property.
      Parameters:
      value - allowed object is CTFills
    • getBorders

      public CTBorders getBorders()
      Gets the value of the borders property.
      Returns:
      possible object is CTBorders
    • setBorders

      public void setBorders(CTBorders value)
      Sets the value of the borders property.
      Parameters:
      value - allowed object is CTBorders
    • getCellStyleXfs

      public CTCellStyleXfs getCellStyleXfs()
      Gets the value of the cellStyleXfs (Formatting Records) property.
      Returns:
      possible object is CTCellStyleXfs
    • setCellStyleXfs

      public void setCellStyleXfs(CTCellStyleXfs value)
      Sets the value of the cellStyleXfs property.
      Parameters:
      value - allowed object is CTCellStyleXfs
    • getCellXfs

      public CTCellXfs 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

      public void setCellXfs(CTCellXfs value)
      Sets the value of the cellXfs (Cell Formats) property.
      Parameters:
      value - allowed object is CTCellXfs
    • getCellStyles

      public CTCellStyles getCellStyles()
      Gets the value of the cellStyles property; the list of named cell style in this workbook.
      Returns:
      possible object is CTCellStyles
    • setCellStyles

      public void setCellStyles(CTCellStyles value)
      Sets the value of the cellStyles property.
      Parameters:
      value - allowed object is CTCellStyles
    • getDxfs

      public CTDxfs getDxfs()
      Gets the value of the dxfs (differential Formats) property.
      Returns:
      possible object is CTDxfs
    • setDxfs

      public void setDxfs(CTDxfs value)
      Sets the value of the dxfs property.
      Parameters:
      value - allowed object is CTDxfs
    • getTableStyles

      public CTTableStyles getTableStyles()
      Gets the value of the tableStyles property.
      Returns:
      possible object is CTTableStyles
    • setTableStyles

      public void setTableStyles(CTTableStyles value)
      Sets the value of the tableStyles property.
      Parameters:
      value - allowed object is CTTableStyles
    • getColors

      public CTColors getColors()
      Gets the value of the colors property.
      Returns:
      possible object is CTColors
    • setColors

      public void setColors(CTColors value)
      Sets the value of the colors property.
      Parameters:
      value - allowed object is CTColors
    • getExtLst

      public CTExtensionList getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTExtensionList
    • setExtLst

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