https://bz.apache.org/bugzilla/show_bug.cgi?id=60803
Bug ID: 60803
Summary: in XSSF files getErrorStyle() and setErrorStyle() have
mismatching enum values
Product: POI
Version: 3.15-FINAL
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: POI Overall
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Enums used for getErrorStyle() are 1,2,3, while the list allowed for
setErrorStyle() is built up on values 0,1,2. If you want to retrieve the error
style of a data validation and apply it to another data validation a "-1" is
necessary to apply it correctly.
i.e :
newDataValidation.setErrorStyle(anotherDataValidation.getErrorStyle() - 1);
--
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]