diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-05-16 20:42:01 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-05-16 20:42:01 +0800 |
commit | 70f6328150aa954cd9721e90883f001ea005c1ee (patch) | |
tree | 6dbadfb4b1fe1306f7794295b904e5f30fd29bb7 /comment.go | |
parent | cf97118bfe48eb36b82c4a833b51d3ea4bfffa97 (diff) |
Support set font style of shape text. Relate issue #38.
Diffstat (limited to 'comment.go')
-rw-r--r-- | comment.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -158,7 +158,7 @@ func (f *File) addComment(commentsXML, cell string, formatSet *formatComment) { } comments := xlsxComments{ Authors: []xlsxAuthor{ - xlsxAuthor{ + { Author: formatSet.Author, }, }, @@ -168,7 +168,7 @@ func (f *File) addComment(commentsXML, cell string, formatSet *formatComment) { AuthorID: 0, Text: xlsxText{ R: []xlsxR{ - xlsxR{ + { RPr: &xlsxRPr{ B: " ", Sz: &attrValInt{Val: 9}, @@ -180,7 +180,7 @@ func (f *File) addComment(commentsXML, cell string, formatSet *formatComment) { }, T: a, }, - xlsxR{ + { RPr: &xlsxRPr{ Sz: &attrValInt{Val: 9}, Color: &xlsxColor{ |