This is a list of the updated methods/parameters you need with apache poi 4
stepFont.setBold(true);
pathIdCellStyle.setAlignment(HorizontalAlignment.CENTER);
pathIdCellStyle.setVerticalAlignment(VerticalAlignment.CENTER);
pathIdCellStyle.setFillForegroundColor(IndexedColors.GREY_25_PERCENT.getIndex());
pathIdCellStyle.setFillPattern(FillPatternType.THIN_FORWARD_DIAG);
I am not aware of a migration guide, so the most convenient way I found (using Eclipse IDE) is to type the variable name (e.g. pathIdCellStyle
), add the dot for a method call and then let auto-complete do its job. It suggest you all available methods as well as the parameters you need to pass in (with the actual class you need to use)