Interface BeforeHeaderWriter

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BeforeHeaderWriter
A functional interface for writing custom content before the column header row.

Called on every sheet (including rollover sheets), so the implementation must always produce the same number of rows.

Since:
2025-07-19
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Writes custom content to the sheet before the column headers.
  • Method Details

    • write

      int write(SheetContext context)
      Writes custom content to the sheet before the column headers.
      Parameters:
      context - provides the current sheet, workbook, starting row index, and column metadata
      Returns:
      the next available row index where the column header should start