Package 

Class Sheet

  • All Implemented Interfaces:

    
    public final class Sheet
    extends ExcelElement
                        

    Represents a sheet in a workbook

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final XSSFSheet xssfSheet
      private final XSSFWorkbook xssfWorkbook
    • Constructor Summary

      Constructors 
      Constructor Description
      Sheet(XSSFWorkbook xssfWorkbook, XSSFCellStyle style, String name)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final XSSFSheet getXssfSheet()
      XSSFWorkbook getXssfWorkbook()
      final Row row(XSSFCellStyle style, Function1<Row, Unit> init) Creates a new row in the sheet
      • Methods inherited from class io.github.evanrupert.excelkt.Sheet

        createCellStyle, createFont
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Sheet

        Sheet(XSSFWorkbook xssfWorkbook, XSSFCellStyle style, String name)
        Parameters:
        name - name given to this sheet
    • Method Detail

      • row

         final Row row(XSSFCellStyle style, Function1<Row, Unit> init)

        Creates a new row in the sheet

        Parameters:
        style - optional cell style to be applied to all cells in row
        init - block function where cells can be added