|
|
@ -16,6 +16,7 @@ type xlsxWorksheet struct {
|
|
|
|
SheetProtection *xlsxSheetProtection `xml:"sheetProtection"`
|
|
|
|
SheetProtection *xlsxSheetProtection `xml:"sheetProtection"`
|
|
|
|
MergeCells *xlsxMergeCells `xml:"mergeCells,omitempty"`
|
|
|
|
MergeCells *xlsxMergeCells `xml:"mergeCells,omitempty"`
|
|
|
|
ConditionalFormatting *xlsxConditionalFormatting `xml:"conditionalFormatting"`
|
|
|
|
ConditionalFormatting *xlsxConditionalFormatting `xml:"conditionalFormatting"`
|
|
|
|
|
|
|
|
DataValidations *xlsxDataValidations `xml:"dataValidations"`
|
|
|
|
Hyperlinks *xlsxHyperlinks `xml:"hyperlinks"`
|
|
|
|
Hyperlinks *xlsxHyperlinks `xml:"hyperlinks"`
|
|
|
|
PrintOptions *xlsxPrintOptions `xml:"printOptions"`
|
|
|
|
PrintOptions *xlsxPrintOptions `xml:"printOptions"`
|
|
|
|
PageMargins *xlsxPageMargins `xml:"pageMargins"`
|
|
|
|
PageMargins *xlsxPageMargins `xml:"pageMargins"`
|
|
|
@ -282,6 +283,16 @@ type xlsxMergeCells struct {
|
|
|
|
Cells []*xlsxMergeCell `xml:"mergeCell,omitempty"`
|
|
|
|
Cells []*xlsxMergeCell `xml:"mergeCell,omitempty"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// xlsxDataValidations expresses all data validation information for cells in a
|
|
|
|
|
|
|
|
// sheet which have data validation features applied.
|
|
|
|
|
|
|
|
type xlsxDataValidations struct {
|
|
|
|
|
|
|
|
Count int `xml:"count,attr,omitempty"`
|
|
|
|
|
|
|
|
DisablePrompts bool `xml:"disablePrompts,attr,omitempty"`
|
|
|
|
|
|
|
|
XWindow int `xml:"xWindow,attr,omitempty"`
|
|
|
|
|
|
|
|
YWindow int `xml:"yWindow,attr,omitempty"`
|
|
|
|
|
|
|
|
DataValidation string `xml:",innerxml"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// xlsxC directly maps the c element in the namespace
|
|
|
|
// xlsxC directly maps the c element in the namespace
|
|
|
|
// http://schemas.openxmlformats.org/spreadsheetml/2006/main - currently I have
|
|
|
|
// http://schemas.openxmlformats.org/spreadsheetml/2006/main - currently I have
|
|
|
|
// not checked it for completeness - it does as much as I need.
|
|
|
|
// not checked it for completeness - it does as much as I need.
|
|
|
|