summaryrefslogtreecommitdiff
path: root/comment.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-05-16 20:42:01 +0800
committerRi Xu <xuri.me@gmail.com>2017-05-16 20:42:01 +0800
commit70f6328150aa954cd9721e90883f001ea005c1ee (patch)
tree6dbadfb4b1fe1306f7794295b904e5f30fd29bb7 /comment.go
parentcf97118bfe48eb36b82c4a833b51d3ea4bfffa97 (diff)
Support set font style of shape text. Relate issue #38.
Diffstat (limited to 'comment.go')
-rw-r--r--comment.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/comment.go b/comment.go
index 48a1654..3dae11a 100644
--- a/comment.go
+++ b/comment.go
@@ -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{