Beispiel #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="worksheet">worksheet that owns the validation</param>
 /// <param name="itemElementNode">Xml top node (dataValidations)</param>
 /// <param name="validationType">Data validation type</param>
 /// <param name="address">address for data validation</param>
 internal ExcelDataValidation(ExcelWorksheet worksheet, string address, ExcelDataValidationType validationType, XmlNode itemElementNode)
     : this(worksheet, address, validationType, itemElementNode, null)
 {
 }
Beispiel #2
0
 internal ExcelDataValidation(ExcelWorksheet worksheet, string address, ExcelDataValidationType validationType)
     : this(worksheet, address, validationType, null)
 {
 }
Beispiel #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="worksheet"></param>
 /// <param name="address"></param>
 /// <param name="validationType"></param>
 /// <param name="itemElementNode"></param>
 /// <param name="namespaceManager">Namespace manager, for test purposes</param>
 internal ExcelDataValidationList(ExcelWorksheet worksheet, string address, ExcelDataValidationType validationType, XmlNode itemElementNode, XmlNamespaceManager namespaceManager)
     : base(worksheet, address, validationType, itemElementNode, namespaceManager)
 {
     Formula = new ExcelDataValidationFormulaList(NameSpaceManager, TopNode, _formula1Path);
 }
Beispiel #4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="worksheet"></param>
 /// <param name="address"></param>
 /// <param name="validationType"></param>
 internal ExcelDataValidationList(ExcelWorksheet worksheet, string address, ExcelDataValidationType validationType)
     : base(worksheet, address, validationType)
 {
     Formula = new ExcelDataValidationFormulaList(NameSpaceManager, TopNode, _formula1Path);
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="worksheet">Worksheet that owns the validation</param>
 /// <param name="itemElementNode">Xml top node (dataValidations)</param>
 /// <param name="validationType">Data validation type</param>
 /// <param name="address">address for data validation</param>
 /// <param name="namespaceManager">for test purposes</param>
 internal ExcelDataValidationWithFormula2(ExcelWorksheet worksheet, string address, ExcelDataValidationType validationType, XmlNode itemElementNode, XmlNamespaceManager namespaceManager)
     : base(worksheet, address, validationType, itemElementNode, namespaceManager)
 {
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="worksheet"></param>
 /// <param name="address"></param>
 /// <param name="validationType"></param>
 /// <param name="itemElementNode"></param>
 internal ExcelDataValidationDateTime(ExcelWorksheet worksheet, string address, ExcelDataValidationType validationType, XmlNode itemElementNode)
     : base(worksheet, address, validationType, itemElementNode)
 {
     Formula  = new ExcelDataValidationFormulaDateTime(NameSpaceManager, TopNode, _formula1Path);
     Formula2 = new ExcelDataValidationFormulaDateTime(NameSpaceManager, TopNode, _formula2Path);
 }