A class used to store fonts and styles for reuse in workbooks
| Constructor and description |
|---|
WorkbookCache
(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook) |
| Type | Name and description |
|---|---|
java.lang.Boolean |
containsFont(java.lang.Object obj)Determines if a font has been built for a given set of options |
java.lang.Boolean |
containsStyle(java.lang.Object obj)Determines if a style has been built for a given set of options |
org.apache.poi.xssf.usermodel.XSSFFont |
getFont(java.lang.Object obj)@param obj Font options |
org.apache.poi.xssf.usermodel.XSSFCellStyle |
getStyle(java.lang.Object obj)@param obj Style options |
void |
putFont(java.lang.Object obj, org.apache.poi.xssf.usermodel.XSSFFont font)Adds a font to the cache |
void |
putStyle(java.lang.Object obj, org.apache.poi.xssf.usermodel.XSSFCellStyle style)Adds a style to the cache |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Determines if a font has been built for a given set of options
obj - Font optionsDetermines if a style has been built for a given set of options
obj - Style options
obj - Font options
obj - Style optionsAdds a font to the cache
obj - Font optionsfont - Font objectAdds a style to the cache
obj - Style optionsstyle - Style objectGroovy Documentation