https://bz.apache.org/bugzilla/show_bug.cgi?id=60971
Bug ID: 60971
Summary: XSSFChart getTitle(), setTitle(String) only handle
static text, not expressions
Product: POI
Version: 3.16-dev
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
OOXML stores static text differently than expression strings. The current code
only works for static text chart titles.
POI needs some additional logic and methods in XSSFChart:
1) deprecate the existing methods
2) document they only apply to static text titles
3) point them to renamed versions:
getTitleText()
setTitleText(String)
4) add new methods to handle expressions:
getTitleFormula()
setTitleFormula(String)
I'm proposing "formula" method names since that's what is used elsewhere, such
as data validations.
Callers would then need to use their current formula evaluation context to
evaluate the chart title expression/formula.
--
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]