Annotation Type ExcelSubtotal


@Documented @Retention(RUNTIME) @Target(FIELD) public @interface ExcelSubtotal
The Interface ExcelSubtotal.
ExcelSubtotal and ExcelSubtotals are used To calculate the subtotals grouped by the value of the first column, the function type is defined by the "dataConsolidateFunction" property.
This annotation is added to fields within classes of type "RowSheet".
The property ExcelCellLayout define the cell layout.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    org.apache.poi.ss.usermodel.DataConsolidateFunction
    Data consolidate function.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Enable.
    Excel cell layout.
  • Element Details

    • dataConsolidateFunction

      org.apache.poi.ss.usermodel.DataConsolidateFunction dataConsolidateFunction
      Data consolidate function.
      Returns:
      the data consolidate function
    • excelCellLayout

      ExcelCellLayout excelCellLayout
      Excel cell layout.
      Returns:
      the excel cell layout
      Default:
      @bld.generator.report.excel.annotation.ExcelCellLayout(horizontalAlignment=RIGHT, [email protected](bold=true))
    • enable

      boolean enable
      Enable.
      Returns:
      true, if successful
      Default:
      true