We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
Create test_rich_text.xlsx in Excel,Sheet1:
test_rich_text.xlsx
Sheet1
Run:
func TestRichText (t *testing.T) { file, err := excelize.OpenFile("test_rich_text.xlsx") if err != nil { fmt.Println(err) } sheet := "Sheet1" for i := 0; i < 9; i++ { cell, _ := excelize.CoordinatesToCellName(1, i + 1) richtext, err := file.GetCellRichText(sheet, cell) if err != nil { fmt.Println(err) } fmt.Println(richtext) } file.Close() }
Describe the results you received:
[{<nil> TEST} {0x140005b5950 rich text}] [] [] [] [] [] [] [] [{<nil> TEST} {0x140005b59a0 rich text}]
Describe the results you expected:
[{<nil> TEST} {0x140005b5950 rich text}] [] [] [] [] [] [] [] []
Output of go version:
go version
go version go1.18.1 darwin/arm64
Excelize version or commit ID:
version 2.6.0
Environment details (OS, Microsoft Excel™ version, physical, etc.): macOS: Microsoft Excel
The text was updated successfully, but these errors were encountered:
0f93bd2
Thanks for your issue, I have fixed it. Please upgrade to the master branch code, and this patch will be released in the next version.
Sorry, something went wrong.
This closes qax-os#1213, fix get incorrect rich text value caused by …
8a77505
…missing cell type checking
ec500fc
19d3784
No branches or pull requests
Description
Create
test_rich_text.xlsx
in Excel,Sheet1
:textRun:
Describe the results you received:
Describe the results you expected:
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
macOS: Microsoft Excel
The text was updated successfully, but these errors were encountered: