| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| public static void | optimiseCellStyles(HSSFWorkbook
The workbook in which to optimise the cell styles workbook)Goes through the Wokrbook, optimising the cell styles by removing duplicate ones, and ones that aren't used. |
| public static void | optimiseFonts(HSSFWorkbook
The workbook in which to optimise the fonts workbook)Goes through the Workbook, optimising the fonts by removing duplicate ones. |
| HSSFOptimiser | back to summary |
|---|---|
| public HSSFOptimiser() | |
| isUserDefined | back to summary |
|---|---|
| private static boolean isUserDefined(HSSFWorkbook workbook, int index) | |
| optimiseCellStyles | back to summary |
|---|---|
| public static void optimiseCellStyles(HSSFWorkbook workbook) Goes through the Wokrbook, optimising the cell styles
by removing duplicate ones, and ones that aren't used.
For best results, optimise the fonts via a call to
| |
| optimiseFonts | back to summary |
|---|---|
| public static void optimiseFonts(HSSFWorkbook workbook) Goes through the Workbook, optimising the fonts by
removing duplicate ones.
For now, only works on fonts used in
| |