Exemplo n.º 1
0
 public IDataValidationConstraint CreateintConstraint(int operatorType, String formula1, String formula2)
 {
     return(DVConstraint.CreateNumericConstraint(ValidationType.INTEGER, operatorType, formula1, formula2));
 }
Exemplo n.º 2
0
 /*
  * (non-Javadoc)
  *
  * @see
  * 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));
 }
Exemplo n.º 3
0
 /*
  * (non-Javadoc)
  *
  * @see
  * 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));
 }