Class XlsxColumnSwitch

All Implemented Interfaces:
Serializable, Identified

@Component public class XlsxColumnSwitch extends XlsxColumn
This class extends XlsxColumn.
The class implement and represent the column/cell switch of an Excel sheet.
See Also:
  • Field Details

    • _switch

      protected HashMap _switch
    • _childCols

      protected XlsxCell[] _childCols
  • Constructor Details

    • XlsxColumnSwitch

      public XlsxColumnSwitch()
  • Method Details

    • setSWITCH

      public void setSWITCH(String s)
      Sets the switch with the datas to the cell/column.
      Parameters:
      s - The set of datas to populate the switch, seprarated by comma.
    • _calcChildCols

      protected void _calcChildCols()
    • giveCell

      public org.apache.poi.ss.usermodel.Cell giveCell(org.apache.poi.ss.usermodel.Sheet sheet, ArrayList row, int rowNum, int cellNum, 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
      cellNum - The cell number
      cs - The XSSFCellStyle
      Returns:
      The cell