java.lang.Object
com.independentsoft.office.spreadsheet.styles.Format

public class Format extends Object
The Class Format.
  • Constructor Details

  • Method Details

    • clone

      public Format clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAlignment

      public CellAlignment getAlignment()
      Gets the alignment.
      Returns:
      the alignment
    • setAlignment

      public void setAlignment(CellAlignment alignment)
      Sets the alignment.
      Parameters:
      alignment - the new alignment
    • getBorder

      public CellBorder getBorder()
      Gets the border.
      Returns:
      the border
    • setBorder

      public void setBorder(CellBorder border)
      Sets the border.
      Parameters:
      border - the new border
    • getFill

      public Fill getFill()
      Gets the fill.
      Returns:
      the fill
    • setFill

      public void setFill(Fill fill)
      Sets the fill.
      Parameters:
      fill - the new fill
    • getFont

      public Font getFont()
      Gets the font.
      Returns:
      the font
    • setFont

      public void setFont(Font font)
      Sets the font.
      Parameters:
      font - the new font
    • getNumberFormat

      public NumberFormat getNumberFormat()
      Gets the number format.
      Returns:
      the number format
    • setNumberFormat

      public void setNumberFormat(NumberFormat numberFormat)
      Sets the number format.
      Parameters:
      numberFormat - the new number format
    • getProtection

      public Protection getProtection()
      Gets the protection.
      Returns:
      the protection
    • setProtection

      public void setProtection(Protection protection)
      Sets the protection.
      Parameters:
      protection - the new protection