Class XSSFDataValidationConstraint

    • Constructor Detail

      • XSSFDataValidationConstraint

        public XSSFDataValidationConstraint​(java.lang.String[] explicitListOfValues)
        list literal constructor
      • XSSFDataValidationConstraint

        public XSSFDataValidationConstraint​(int validationType,
                                            java.lang.String formula1)
      • XSSFDataValidationConstraint

        public XSSFDataValidationConstraint​(int validationType,
                                            int operator,
                                            java.lang.String formula1)
      • XSSFDataValidationConstraint

        public XSSFDataValidationConstraint​(int validationType,
                                            int operator,
                                            java.lang.String formula1,
                                            java.lang.String formula2)
        This is the constructor called using the OOXML raw data. Excel overloads formula1 to also encode explicit value lists, so this constructor has to check for and parse that syntax.
        Parameters:
        validationType -
        operator -
        formula1 - Overloaded: formula1 or list of explicit values
        formula2 - (formula1 is a list of explicit values, this is ignored: use null)