Class Styles

java.lang.Object
ch.tocco.nice2.reporting.api.excel.Styles

public class Styles extends Object
  • Method Details

    • withBoldRows

      public static Function<SheetLocation,Optional<org.apache.poi.ss.usermodel.CellStyle>> withBoldRows(Integer... boldRows)
      returns a Function which will add a bold cell style to the given rows
      Parameters:
      boldRows - the rows to print bold
    • getBoldFont

      public static org.apache.poi.ss.usermodel.Font getBoldFont(org.apache.poi.ss.usermodel.Workbook workbook)
    • getItalicFont

      public static org.apache.poi.ss.usermodel.Font getItalicFont(org.apache.poi.ss.usermodel.Workbook workbook)