diff options
author | tonnyzhang <450024933@qq.com> | 2021-02-22 06:04:13 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-22 20:04:13 +0800 |
commit | bbb8ebfa8cc648ec09094d16eddebb03240baecf (patch) | |
tree | 95e74fa22a61bebc3f51023589e4e081fe898799 /comment.go | |
parent | 283339534741d3f0ff01c2ed2adc7c87445edf07 (diff) |
add GetCellRichText method and test (#789)
Diffstat (limited to 'comment.go')
-rw-r--r-- | comment.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -253,6 +253,7 @@ func (f *File) addComment(commentsXML, cell string, formatSet *formatComment) { } } defaultFont := f.GetDefaultFont() + bold := "" cmt := xlsxComment{ Ref: cell, AuthorID: 0, @@ -260,7 +261,7 @@ func (f *File) addComment(commentsXML, cell string, formatSet *formatComment) { R: []xlsxR{ { RPr: &xlsxRPr{ - B: " ", + B: &bold, Sz: &attrValFloat{Val: float64Ptr(9)}, Color: &xlsxColor{ Indexed: 81, |