Interface IfDataTypeCellExcelTableWriter

All Superinterfaces:
IfDataTypeCellExcelTable, IfExcelTable<org.apache.poi.ss.usermodel.Cell>, IfExcelTableWriter<org.apache.poi.ss.usermodel.Cell>
All Known Implementing Classes:
CellFreeExcelTableWriter, CellOneLineHeaderExcelTableWriter

public interface IfDataTypeCellExcelTableWriter extends IfDataTypeCellExcelTable, IfExcelTableWriter<org.apache.poi.ss.usermodel.Cell>
Provides the excel table writer interface with object type obtained from the excel data is Cell.
  • Method Details

    • writeToCell

      default void writeToCell(int columnNumberFromZero, org.apache.poi.ss.usermodel.Cell sourceCellData, org.apache.poi.ss.usermodel.Cell destCell)
      Writes a value to the cell.
      Specified by:
      writeToCell in interface IfExcelTableWriter<org.apache.poi.ss.usermodel.Cell>
      Parameters:
      columnNumberFromZero - columnNumberFromZero
      sourceCellData - sourceCellData
      destCell - destCell
    • writeToCell

      default void writeToCell(int columnNumberFromZero, org.apache.poi.ss.usermodel.Cell sourceCellData, org.apache.poi.ss.usermodel.Cell destCell, boolean copiesStyleOfDataFormatOnly)
      Writes a value to the cell.
      Parameters:
      sourceCellData - sourceCellData
      destCell - destCell
      copiesStyleOfDataFormatOnly - when this is true, whole style is not copied to the destination cell, but DataFormat only.
      This means grid-line, font, font-size, cell color, etc... of the cell is not copied.
    • getColumnStyleMap

      Map<Integer,org.apache.poi.ss.usermodel.CellStyle> getColumnStyleMap()
      Gets columnStyleMap to reuse CellStyle.
      Returns:
      columnStyleMap