https://bz.apache.org/bugzilla/show_bug.cgi?id=59127
Bug ID: 59127
Summary: Ability to replace the default font
Product: POI
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
The default font is important because the cell sizes are derived from it.
POI adds a default font because Excel requires there to be one; we used to swap
it for our own like this:
workbook,getStylseSource().getFonts().clear()
// create a font as normal, it becomes the default by virtue of being first
Unfortunately that no longer works as Javen (quite reasonably) made the
returned list an unmodifiable one in r1721857.
So I propose we add some proper API to replace the default font, e.g. add to
StylesTable:
void replaceDefaultFont(XSSFFont font)
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]