public interface IExcelCell
Represents of an Excel cell.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
    Defines the supported Excel cell types.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns string representation of the Excel cell content.
    Returns the date formats of the Excel cell.
    Returns the style of an Excel cell.
    void
    Sets the type of the Excel cell to the specified type.
    void
    setContent(String content)
    Sets the content of the Excel cell to the specified value.
    void
    Sets the date format for the Excel cell to the specified format.
    void
    setHeight(float height)
    Sets the height of the Excel cell to the specified value.
    void
    setLocalize(boolean shouldLocalize)
    Sets whether the content of the Excel cell should be localized.
    void
    Sets the style of an Excel cell to the specified style.
    boolean
    Returns whether the content of the Excel cell should be localized.
  • Method Details

    • getStyle

      IExcelCellStyle getStyle()
      Returns the style of an Excel cell.
      Returns:
      the style
    • setStyle

      void setStyle(IExcelCellStyle style)
      Sets the style of an Excel cell to the specified style.
      Parameters:
      style - the style to set
    • setContent

      void setContent(String content)
      Sets the content of the Excel cell to the specified value.
      Parameters:
      content - the string representation of the value to set
    • getContent

      String getContent()
      Returns string representation of the Excel cell content.
      Returns:
      content to get
    • getDateFormat

      DateFormat getDateFormat()
      Returns the date formats of the Excel cell.
      Returns:
      the date format
    • setDateFormat

      void setDateFormat(DateFormat format)
      Sets the date format for the Excel cell to the specified format.
      Parameters:
      format - the date format to set
    • setCellType

      void setCellType(IExcelCell.CellType cellType)
      Sets the type of the Excel cell to the specified type.
      Parameters:
      cellType - the type to set
    • setHeight

      void setHeight(float height)
      Sets the height of the Excel cell to the specified value.
      Parameters:
      height - the height to set
    • shouldLocalize

      boolean shouldLocalize()
      Returns whether the content of the Excel cell should be localized.
      Returns:
      true if the cell content should be localized, false otherwise
    • setLocalize

      void setLocalize(boolean shouldLocalize)
      Sets whether the content of the Excel cell should be localized.
      Parameters:
      shouldLocalize - true if the content should be localized, false otherwise