How to change the pivot table style from default blue to other colors using apache-poi
问题 When i create a pivot table using the below code, it comes with some default template style(blue). How to change this default style of pivot table using apache-poi library pivotTable = sheet2.createPivotTable(aref, new CellReference("A4"), sheet1); What I want. What i am able to generate through code 回答1: XXSPivotTable is using named style PivotStyleLight16 per default. See setDefaultPivotTableDefinition. There is no method for changing this in high level XSSF classes until now. Bu we can get