Class CTCellStyle

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

public class CTCellStyle
extends java.lang.Object
implements Child

Java class for CT_CellStyle complex type.

This element expresses the name and related formatting records for a named cell style in this workbook.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_CellStyle">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="name" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="xfId" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellStyleXfId" />
       <attribute name="builtinId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="iLevel" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="customBuiltin" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.Long builtinId  
    protected java.lang.Boolean customBuiltin  
    protected CTExtensionList extLst  
    protected java.lang.Boolean hidden  
    protected java.lang.Long iLevel  
    protected java.lang.String name  
    protected long xfId  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTCellStyle()  
  • Method Summary

    Modifier and Type Method Description
    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.
    java.lang.Long getBuiltinId()
    Gets the value of the builtinId property.
    CTExtensionList getExtLst()
    Gets the value of the extLst property.
    java.lang.Long getILevel()
    Gets the value of the iLevel property.
    java.lang.String getName()
    Gets the value of the name property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    long getXfId()
    Gets the value of the xfId property.
    java.lang.Boolean isCustomBuiltin()
    Gets the value of the customBuiltin property.
    java.lang.Boolean isHidden()
    Gets the value of the hidden property.
    void setBuiltinId​(java.lang.Long value)
    Sets the value of the builtinId property.
    void setCustomBuiltin​(java.lang.Boolean value)
    Sets the value of the customBuiltin property.
    void setExtLst​(CTExtensionList value)
    Sets the value of the extLst property.
    void setHidden​(java.lang.Boolean value)
    Sets the value of the hidden property.
    void setILevel​(java.lang.Long value)
    Sets the value of the iLevel property.
    void setName​(java.lang.String value)
    Sets the value of the name property.
    void setParent​(java.lang.Object parent)  
    void setXfId​(long value)
    Sets the value of the xfId property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • 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
    • getName

      public java.lang.String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName​(java.lang.String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getXfId

      public long getXfId()
      Gets the value of the xfId property.
    • setXfId

      public void setXfId​(long value)
      Sets the value of the xfId property.
    • getBuiltinId

      public java.lang.Long getBuiltinId()
      Gets the value of the builtinId property.
      Returns:
      possible object is Long
    • setBuiltinId

      public void setBuiltinId​(java.lang.Long value)
      Sets the value of the builtinId property.
      Parameters:
      value - allowed object is Long
    • getILevel

      public java.lang.Long getILevel()
      Gets the value of the iLevel property.
      Returns:
      possible object is Long
    • setILevel

      public void setILevel​(java.lang.Long value)
      Sets the value of the iLevel property.
      Parameters:
      value - allowed object is Long
    • isHidden

      public java.lang.Boolean isHidden()
      Gets the value of the hidden property.
      Returns:
      possible object is Boolean
    • setHidden

      public void setHidden​(java.lang.Boolean value)
      Sets the value of the hidden property.
      Parameters:
      value - allowed object is Boolean
    • isCustomBuiltin

      public java.lang.Boolean isCustomBuiltin()
      Gets the value of the customBuiltin property.
      Returns:
      possible object is Boolean
    • setCustomBuiltin

      public void setCustomBuiltin​(java.lang.Boolean value)
      Sets the value of the customBuiltin property.
      Parameters:
      value - allowed object is Boolean
    • getParent

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.