public class SpreadsheetStyleFactory extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SpreadsheetStyleFactory.BorderStyle
Styling for cell borders
|
| Constructor and Description |
|---|
SpreadsheetStyleFactory(Spreadsheet spreadsheet)
Constructs a new SpreadsheetStyleFactory for the given Spreadsheet
|
| Modifier and Type | Method and Description |
|---|---|
void |
cellStyleUpdated(org.apache.poi.ss.usermodel.Cell cell,
boolean updateCustomBorders)
This should be called when a Cell's styling has been changed.
|
void |
clearCellStyle(int oldRowIndex,
int oldColumnIndex)
Clears all styles for the given cell.
|
org.apache.poi.ss.usermodel.CellStyle |
createHyperlinkCellStyle()
Creates a CellStyle to be used with hyperlinks
|
void |
loadCustomBorderStylesToState()
Sets the custom border styles to shared state for sending them to the
client side.
|
void |
reloadActiveSheetCellStyles()
Reloads all styles for the currently active sheet.
|
void |
reloadActiveSheetColumnRowStyles() |
void |
reloadWorkbookStyles()
Reloads all sheet and cell styles from the current Workbook.
|
public SpreadsheetStyleFactory(Spreadsheet spreadsheet)
spreadsheet - Target Spreadsheetpublic void reloadWorkbookStyles()
public void reloadActiveSheetColumnRowStyles()
public org.apache.poi.ss.usermodel.CellStyle createHyperlinkCellStyle()
public void clearCellStyle(int oldRowIndex,
int oldColumnIndex)
oldRowIndex - 0-basedoldColumnIndex - 0-basedpublic void cellStyleUpdated(org.apache.poi.ss.usermodel.Cell cell,
boolean updateCustomBorders)
cell - Target cellupdateCustomBorders - true to also update custom borderspublic void loadCustomBorderStylesToState()
public void reloadActiveSheetCellStyles()
Copyright © 2013–2026 Vaadin Ltd. All rights reserved.