From 70f6328150aa954cd9721e90883f001ea005c1ee Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Tue, 16 May 2017 20:42:01 +0800 Subject: Support set font style of shape text. Relate issue #38. --- comment.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'comment.go') 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{ -- cgit v1.2.1