https://bz.apache.org/bugzilla/show_bug.cgi?id=60803

--- Comment #5 from gstr...@imolinfo.it ---
hi everyone, thank s for your replies. After a walkaround inside the librery, i
ve found out that the Interface "DataValidation" works with enum type in a
range of 0-2.

public interface DataValidation {
        /**
         * Error style constants for error box
         */
        public static final class ErrorStyle {
        /** STOP style */
        public static final int STOP    = 0x00;
        /** WARNING style */
        public static final int WARNING = 0x01;
        /** INFO style */
        public static final int INFO    = 0x02;
        }    
     ...

I think the right way to improve a solution is to get fit to this scenario. To
do it i've dug more inside and i ve found out that the XSSFDataValidation
getErrorStyle depends on STDataValidationErrorStyle. 

public interface STDataValidationErrorStyle extends XmlString {

    int INT_STOP = 1;
    int INT_WARNING = 2;
    int INT_INFORMATION = 3;
    ...

This class is inside the external dependency ooxml-schemas-1.3-sources.jar, so
in order to provide a patch i need the privilege to edit the source file. If
you havge more suggestions i'll be pleased to hear them

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

Reply via email to