Class XlsxColumnCurrency

All Implemented Interfaces:
Serializable, Identified

@Component public class XlsxColumnCurrency extends XlsxColumnLong
The class extends XlsxColumnLong.
The class implements and represent the column currency of an Excel sheet.
See Also:
  • Field Details

    • _useGroupingSeparator

      protected boolean _useGroupingSeparator
    • _symbols

      protected XlsxColumnCurrency.Symbols _symbols
    • _precision

      protected String _precision
    • _currency

      protected String _currency
    • _symbolsString

      protected String _symbolsString
  • Constructor Details

    • XlsxColumnCurrency

      public XlsxColumnCurrency()
  • Method Details

    • setPRECISION

      public void setPRECISION(String p)
      Sets the precision with which the numeric values ??in the cells will be displayed.
      Parameters:
      p - The precision to set.
    • setCURRENCY

      public void setCURRENCY(String c)
      Sets the active currency in use.
      Parameters:
      c - The currency to set.
    • setSYMBOLS

      public void setSYMBOLS(String s)
      Sets the symbol string.
      Parameters:
      s - The symbol string to set.
    • setUSEGROUPING

      public void setUSEGROUPING(String s)
      Sets if you want to allow grouping the columns
      Parameters:
      s - 'true' or '1' if you want to allow grouping, 'false' or '0' otherwise.
    • giveCell

      protected org.apache.poi.ss.usermodel.Cell giveCell(org.apache.poi.ss.usermodel.Sheet sheet, ArrayList row, int rowNum, int colNum, org.apache.poi.xssf.usermodel.XSSFCellStyle cs)
      Description copied from class: XlsxCell
      Method to implement that allows to set the orientation, the font etc
      Overrides:
      giveCell in class XlsxColumnLong
      Parameters:
      sheet - The sheet
      row - The list of rows
      rowNum - The number of row
      colNum - The cell number
      cs - The XSSFCellStyle
      Returns:
      The cell
    • setupMetaData

      public void setupMetaData(DBView dbv)
      Description copied from class: XlsxColumn
      Method used for the field init starting from the DBView. The name of the column must be null in case the field is not in the DBView or in the ResultSet.
      Overrides:
      setupMetaData in class XlsxColumn
      Parameters:
      dbv - The DBView for the init
    • setupMetaData

      public void setupMetaData(HashMap dbfields)
      Description copied from class: XlsxColumn
      Method used for the field init starting from a resultSet. The name of the column must be null in case the field is not in the DBView or in the ResultSet.
      Overrides:
      setupMetaData in class XlsxColumn
      Parameters:
      dbfields - The HashMap for the init
    • setSymbolsString

      protected void setSymbolsString()