File tree Expand file tree Collapse file tree
src/main/java/com/northconcepts/datapipeline/examples/cookbook Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,11 +26,13 @@ public static void main(String[] args) {
2626 writer .addHeaderCellStyle (FieldLocationPredicate .all (), ExcelCellStyleDecorator .bold ()
2727 .and (ExcelCellStyleDecorator .backgroundColor (ExcelColorPalette .DARK_YELLOW ))
2828 .and (ExcelCellStyleDecorator .fontColor (ExcelColorPalette .LIGHT_GREEN ))
29+ .and (ExcelCellStyleDecorator .underline ())
2930 );
3031
3132 // Add Formatting & Cell Style for Data
3233 writer .addDataCellStyle (FieldLocationPredicate .negativeNumber (), ExcelCellStyleDecorator .fontColor (ExcelColorPalette .RED )
33- .and (ExcelCellStyleDecorator .italic ()));
34+ .and (ExcelCellStyleDecorator .italic ())
35+ .and (ExcelCellStyleDecorator .underline ()));
3436 writer .addDataCellStyle (FieldLocationPredicate .evenRowIndex (), ExcelCellStyleDecorator .backgroundColor (ExcelColorPalette .GREY_25_PERCENT ));
3537
3638 Job .run (reader , writer );
You can’t perform that action at this time.
0 commit comments