Package 

Class ExcelElement

  • All Implemented Interfaces:

    
    public abstract class ExcelElement
    
                        

    Super class for all Excel elements

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

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

      Constructors 
      Constructor Description
      ExcelElement()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract XSSFWorkbook getXssfWorkbook()
      final XSSFCellStyle createCellStyle(Function1<XSSFCellStyle, Unit> init) Creates a new XSSFCellStyle from the options specified in the init block
      final XSSFFont createFont(Function1<XSSFFont, Unit> init) Creates a new XSSFFont from the options specified in the init block
      • Methods inherited from class java.lang.Object

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

      • ExcelElement

        ExcelElement()
    • Method Detail

      • createCellStyle

         final XSSFCellStyle createCellStyle(Function1<XSSFCellStyle, Unit> init)

        Creates a new XSSFCellStyle from the options specified in the init block

        Parameters:
        init - block function where style attributes can be specified
      • createFont

         final XSSFFont createFont(Function1<XSSFFont, Unit> init)

        Creates a new XSSFFont from the options specified in the init block

        Parameters:
        init - block function where font attributes can be specified