Class XlsxColumnBoolean

All Implemented Interfaces:
Serializable, Identified

@Component public class XlsxColumnBoolean extends XlsxColumn
This Class extends XlsxColumn.
The class implements and represent the boolean column of an Excel sheet.
It's also used to define a custom value of 'false' and 'true' to a Boolean column.
See Also:
  • Field Details

    • _vero

      protected String _vero
    • _falso

      protected String _falso
    • _customValues

      protected boolean _customValues
  • Constructor Details

    • XlsxColumnBoolean

      public XlsxColumnBoolean()
  • Method Details

    • setVERO

      public void setVERO(String s)
      Sets the custom value for a 'true' boolean cell.
      Parameters:
      s - The custom string to set.
    • setFALSO

      public void setFALSO(String s)
      Sets the custom value for a 'false' boolean cell.
      Parameters:
      s - The custom string to set.
    • 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 XlsxColumn
      Parameters:
      sheet - The sheet
      row - The list of rows
      rowNum - The number of row
      colNum - The cell number
      cs - The XSSFCellStyle
      Returns:
      The cell