Class Styles
java.lang.Object
ch.tocco.nice2.reporting.api.excel.Styles
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.poi.ss.usermodel.FontgetBoldFont(org.apache.poi.ss.usermodel.Workbook workbook) static org.apache.poi.ss.usermodel.FontgetItalicFont(org.apache.poi.ss.usermodel.Workbook workbook) static Function<SheetLocation, Optional<org.apache.poi.ss.usermodel.CellStyle>> withBoldRows(Integer... boldRows) returns aFunctionwhich will add a bold cell style to the given rows
-
Method Details
-
withBoldRows
public static Function<SheetLocation,Optional<org.apache.poi.ss.usermodel.CellStyle>> withBoldRows(Integer... boldRows) returns aFunctionwhich 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)
-