|
|
@@ -232,19 +232,19 @@ type xlsxCellDataValidations struct {
|
|
|
|
|
|
// xlsxCellDataValidation single data validation
|
|
|
type xlsxCellDataValidation struct {
|
|
|
- AllowBlank string `xml:"allowBlank,attr"` // allow empty
|
|
|
- ShowInputMessage string `xml:"showInputMessage,attr"` // 1, true,0,false, select cell, Whether the input message is displayed
|
|
|
- ShowErrorMessage string `xml:"showErrorMessage,attr"` // 1, true,0,false, input error value, Whether the error message is displayed
|
|
|
+ AllowBlank bool `xml:"allowBlank,attr"` // allow empty
|
|
|
+ ShowInputMessage bool `xml:"showInputMessage,attr"` // 1, true,0,false, select cell, Whether the input message is displayed
|
|
|
+ ShowErrorMessage bool `xml:"showErrorMessage,attr"` // 1, true,0,false, input error value, Whether the error message is displayed
|
|
|
ErrorStyle *string `xml:"errorStyle,attr"` //error icon style, warning, infomation,stop
|
|
|
ErrorTitle *string `xml:"errorTitle,attr"` // error title
|
|
|
Operator string `xml:"operator,attr,omitempty"` //
|
|
|
Error *string `xml:"error,attr"` // input error value, notice message
|
|
|
PromptTitle *string `xml:"promptTitle,attr"`
|
|
|
Prompt *string `xml:"prompt,attr"`
|
|
|
- Type string `xml:"type,attr"` //data type, none,custom,date,decimal,list, textLength,time,whole
|
|
|
- Sqref string `xml:"sqref,attr"` //Validity of data validation rules, cell and range, eg: A1 OR A1:A20
|
|
|
- Formula1 string `xml:"formula1"` // data validation role
|
|
|
- Formula2 string `xml:"formula2"` //data validation role
|
|
|
+ Type string `xml:"type,attr"` //data type, none,custom,date,decimal,list, textLength,time,whole
|
|
|
+ Sqref string `xml:"sqref,attr,omitempty"` //Validity of data validation rules, cell and range, eg: A1 OR A1:A20
|
|
|
+ Formula1 string `xml:"formula1"` // data validation role
|
|
|
+ Formula2 string `xml:"formula2,omitempty"` //data validation role
|
|
|
minRow int //`xml:"-"`
|
|
|
maxRow int //`xml:"-"`
|
|
|
//minCol int `xml:"-"` //spare
|