Annotation Type ExcelHeaderCellLayout


@Retention(RUNTIME) @Target(FIELD) public @interface ExcelHeaderCellLayout
The Interface ExcelHeaderCellLayout.
ExcelHeaderCellLayout is used to define the header cell style.
It is set on fields of RowSheet classes or it is a property of the annotation ExcelHeaderLayout.
The header cell style is composed by:
  • Border - to set borders types
  • HorizontalAlignment - to set horizontal alignment
  • VerticalAlignment - to set vertical alignment
  • Font - to set font type
  • wrap - to enable and disable wrap text into cell
  • rgbFont - to set the font color
  • rgbForeground - to set the background color
  • fillPatternType - to set fill pattern style
  • precision - to set the precision number, if the value is not a number then it can be ignored
  • locked - to enable and disable cell editable
  • rotation - to set the cell rotation
  • Element Details

    • border

      ExcelBorder border
      Border.
      Returns:
      the excel border
      Default:
      @bld.generator.report.excel.annotation.ExcelBorder(top=THIN, bottom=THIN, left=THIN, right=THIN)
    • wrap

      boolean wrap
      Wrap.
      Returns:
      true, if successful
      Default:
      true
    • rgbFont

      ExcelRgbColor rgbFont
      Rgb font.
      Returns:
      the excel rgb color
      Default:
      @bld.generator.report.excel.annotation.ExcelRgbColor(red=(byte)0x00, green=(byte)0x61, blue=(byte)0x00)
    • rgbForeground

      ExcelRgbColor rgbForeground
      Rgb foreground.
      Returns:
      the excel rgb color
      Default:
      @bld.generator.report.excel.annotation.ExcelRgbColor(red=(byte)0xc6, green=(byte)0xef, blue=(byte)0xce)
    • font

      ExcelFont font
      Font.
      Returns:
      the excel font
      Default:
      @bld.generator.report.excel.annotation.ExcelFont(bold=true)
    • horizontalAlignment

      org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignment
      Horizontal alignment.
      Returns:
      the horizontal alignment
      Default:
      CENTER
    • verticalAlignment

      org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignment
      Vertical alignment.
      Returns:
      the vertical alignment
      Default:
      CENTER
    • fillPatternType

      org.apache.poi.ss.usermodel.FillPatternType fillPatternType
      Fill pattern type.
      Returns:
      the fill pattern type
      Default:
      SOLID_FOREGROUND
    • rotation

      int rotation
      Rotation.
      Returns:
      the int
      Default:
      0
    • locked

      boolean locked
      Locked.
      Returns:
      true, if successful
      Default:
      false