Annotation Type ExcelSubtotals


@Documented @Retention(RUNTIME) @Target(TYPE) public @interface ExcelSubtotals
The Interface ExcelSubtotals.
ExcelSubtotals and ExcelSubtotal are used To calculate the subtotals grouped by the value of the first column, the function type is defined within of ExcelSubtotal, here instead you set the "startLabel" and "endLabel" properties to be concatenated to the first column and to define the subtotal label that groups all rows.
This annotation is defined within classes of type "RowSheet".
The property ExcelCellLayout define the cell layout instead the property sumForGroup enable the subtotals grouped by the value of the first column.
  • Element Details

    • startLabel

      String startLabel
      Start label.
      Returns:
      the string
      Default:
      ""
    • excelCellLayout

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

      String endLabel
      End label.
      Returns:
      the string
      Default:
      ""
    • labelTotalGroup

      String labelTotalGroup
      Label total group.
      Returns:
      the string
    • sumForGroup

      String[] sumForGroup
      Sum for group.
      Returns:
      the string[]
      Default:
      {}