Class CellStyle


public class CellStyle extends BaseStyle
Represents the cell styles.
  • Constructor Details

    • CellStyle

      public CellStyle()
      Initializes a new instance of the CellStyle class.
    • CellStyle

      public CellStyle(String name)
      Initializes a new instance of the CellStyle class.
      Parameters:
      name - the name
  • Method Details

    • clone

      public CellStyle clone()
      Creates a new object that is a deep copy of the current instance.
      Specified by:
      clone in class BaseStyle
      Returns:
      A new object that is a copy of this instance.
    • toString

      public String toString()
      Converts the value of the current CellStyle object to its equivalent string representation.
      Overrides:
      toString in class BaseStyle
      Returns:
      the string
    • getTextProperties

      public TextProperties getTextProperties()
      Specifies formatting properties for text.
      Returns:
      the text properties
    • getParagraphProperties

      public ParagraphProperties getParagraphProperties()
      Specifies formatting properties for paragraph.
      Returns:
      the paragraph properties
    • getCellProperties

      public CellProperties getCellProperties()
      Specifies formatting properties for cell.
      Returns:
      the cell properties