https://bz.apache.org/bugzilla/show_bug.cgi?id=60868
Bug ID: 60868
Summary: CTRow#isSetCustomHeight not working when customHeight
set to "false"
Product: POI
Version: 3.15-FINAL
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
If I call CTRow#isSetCustomHeight() on a row tag which has customHeight="false"
the method call actually returns true.
ECMA 376 specifications (on 18.3.1.73) say that the possible values for
attribute "customHeight" of "row" node are defined by the W3C XML Schema
boolean datatype so both "0" and "false" values should be accepted.
Please note that Microsoft Excel writes "1" for "true" and removes the
attribute for "false": in both cases CTRow#isSetCustomHeight() works fine,
whereas CTRow#setCustomHeight(false) actually writes "false", which is not
properly recognized by CTRow#isSetCustomHeight().
--
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]