diff --git a/go.mod b/go.mod index ba041bb706..a732a05547 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/xuri/nfp v0.0.0-20240318013403-ab9948c2c4a7 golang.org/x/crypto v0.31.0 golang.org/x/image v0.18.0 - golang.org/x/net v0.32.0 + golang.org/x/net v0.33.0 golang.org/x/text v0.21.0 ) diff --git a/go.sum b/go.sum index 559cbcc0a4..40e347c144 100644 --- a/go.sum +++ b/go.sum @@ -19,8 +19,8 @@ golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/image v0.18.0 h1:jGzIakQa/ZXI1I0Fxvaa9W7yP25TqT6cHIHn+6CqvSQ= golang.org/x/image v0.18.0/go.mod h1:4yyo5vMFQjVjUcVk4jEQcU9MGy/rulF5WvUILseCM2E= -golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI= -golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs= +golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= +golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= diff --git a/xmlStyles.go b/xmlStyles.go index 9e9deb5761..c23388abfe 100644 --- a/xmlStyles.go +++ b/xmlStyles.go @@ -159,14 +159,16 @@ type xlsxBorders struct { // border formats (left, right, top, bottom, diagonal). Color is optional. When // missing, 'automatic' is implied. type xlsxBorder struct { - DiagonalDown bool `xml:"diagonalDown,attr,omitempty"` - DiagonalUp bool `xml:"diagonalUp,attr,omitempty"` - Outline bool `xml:"outline,attr,omitempty"` - Left xlsxLine `xml:"left,omitempty"` - Right xlsxLine `xml:"right,omitempty"` - Top xlsxLine `xml:"top,omitempty"` - Bottom xlsxLine `xml:"bottom,omitempty"` - Diagonal xlsxLine `xml:"diagonal,omitempty"` + DiagonalDown bool `xml:"diagonalDown,attr,omitempty"` + DiagonalUp bool `xml:"diagonalUp,attr,omitempty"` + Outline bool `xml:"outline,attr,omitempty"` + Left xlsxLine `xml:"left"` + Right xlsxLine `xml:"right"` + Top xlsxLine `xml:"top"` + Bottom xlsxLine `xml:"bottom"` + Diagonal xlsxLine `xml:"diagonal"` + Vertical *xlsxLine `xml:"vertical"` + Horizontal *xlsxLine `xml:"horizontal"` } // xlsxCellStyles directly maps the cellStyles element. This element contains