Esempio n. 1
0
 public IDataValidationConstraint CreateintConstraint(int operatorType, String formula1, String formula2)
 {
     return(DVConstraint.CreateNumericConstraint(ValidationType.INTEGER, operatorType, formula1, formula2));
 }
Esempio n. 2
0
 /*
  * (non-Javadoc)
  *
  * @see
  * Chama.Utils.NPOI.SS.UserModel.DataValidationHelper#CreateNumericConstraint
  * (int, java.lang.String, java.lang.String)
  */
 public IDataValidationConstraint CreateDecimalConstraint(int operatorType, String formula1, String formula2)
 {
     return(DVConstraint.CreateNumericConstraint(ValidationType.DECIMAL, operatorType, formula1, formula2));
 }
Esempio n. 3
0
 /*
  * (non-Javadoc)
  *
  * @see
  * Chama.Utils.NPOI.SS.UserModel.DataValidationHelper#CreateTextLengthConstraint
  * (int, java.lang.String, java.lang.String)
  */
 public IDataValidationConstraint CreateTextLengthConstraint(int operatorType, String formula1, String formula2)
 {
     return(DVConstraint.CreateNumericConstraint(ValidationType.TEXT_LENGTH, operatorType, formula1, formula2));
 }