poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60803] in XSSF files getErrorStyle() and setErrorStyle() have mismatching enum values
Date Mon, 06 Mar 2017 17:07:07 GMT

--- Comment #6 from Javen O'Neal <onealj@apache.org> ---
STDataValidationErrorStyle is generated code, generated from the OOXML schema.

The DataValidationErrorStyle cannot reference the ST* enum if it's also used by
HSSF, since we don't require users to have the poi-ooxml.jar or
poi-ooxml-schemas.jar files in their classpath if they're using the binary

I was thinking about using a true enums rather than an interface or class to
contain the constants. It'd then be up to XSSFDataValidation to convert between
DataValidationErrorStyle and STDataValidationErrorStyle. Likewise,
HSSFDataValidation would have to provide its own translation from enum to

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org

View raw message