diff options
Diffstat (limited to 'comment.go')
-rw-r--r-- | comment.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -109,6 +109,7 @@ func (f *File) AddComment(sheet, cell, format string) error { sheetRels := "xl/worksheets/_rels/" + strings.TrimPrefix(f.sheetMap[trimSheetName(sheet)], "xl/worksheets/") + ".rels" rID := f.addRels(sheetRels, SourceRelationshipDrawingVML, sheetRelationshipsDrawingVML, "") f.addRels(sheetRels, SourceRelationshipComments, sheetRelationshipsComments, "") + f.addSheetNameSpace(sheet, SourceRelationship) f.addSheetLegacyDrawing(sheet, rID) } commentsXML := "xl/comments" + strconv.Itoa(commentID) + ".xml" |