You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading from an old 1.3 version of Excelize to 2.4.1 to gain the StreamWriter feature, setting a cell style as described by the documentation results in the bold styling not displaying in Apple Numbers on Big Sur version of MacOS. Other styling options such as Alignment and Font Color are working. Viewing the resulting excel file in Google Sheets does display the formatting as expected.
Steps to reproduce the issue:
Start a write flow using StreamWriter
Create a NewStyle() with {"font":{"bold":true},"alignment":{"horizontal":"center"}}
Allocate some excelize.Cell{} structs, setting each StyleID with the previously created style, and add them to a slice
Use SetRow() to write the slice to a row (in my case, the row begins at "C1")
Flush and Save the file
Open the file in Apple Numbers and observe the styling.
Describe the results you received:
The cells in the row are styled with the correct alignment, but not the correct Bold font styling. (font colors also work)
Describe the results you expected:
The cells row to be styled with the correct Bold font styling.
Output of go version:
go version go1.17.2 darwin/amd64
Excelize version or commit ID:
2.4.1
Environment details (OS, Microsoft Excel™ version, physical, etc.):
MacOS Big Sur
The text was updated successfully, but these errors were encountered:
Description
Upgrading from an old 1.3 version of Excelize to 2.4.1 to gain the StreamWriter feature, setting a cell style as described by the documentation results in the bold styling not displaying in Apple Numbers on Big Sur version of MacOS. Other styling options such as Alignment and Font Color are working. Viewing the resulting excel file in Google Sheets does display the formatting as expected.
Steps to reproduce the issue:
NewStyle()
with{"font":{"bold":true},"alignment":{"horizontal":"center"}}
excelize.Cell{}
structs, setting eachStyleID
with the previously created style, and add them to a sliceSetRow()
to write the slice to a row (in my case, the row begins at "C1")Describe the results you received:
The cells in the row are styled with the correct alignment, but not the correct Bold font styling. (font colors also work)
Describe the results you expected:
The cells row to be styled with the correct Bold font styling.
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
MacOS Big Sur
The text was updated successfully, but these errors were encountered: