summaryrefslogtreecommitdiff
path: root/picture.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2020-07-09 01:24:11 +0800
committerxuri <xuri.me@gmail.com>2020-07-09 01:24:11 +0800
commit49257c5918f3aa9f2730021a7e6a24b4835646fd (patch)
tree5b7e0b016bb008fd5680d19b59b05ab722a8d17b /picture.go
parentf7bd0729c65fc82305328f7ac8fbaf329d1075c0 (diff)
support case-sensitive doc parts to improve compatibility
Diffstat (limited to 'picture.go')
-rw-r--r--picture.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/picture.go b/picture.go
index 79aa6ca..0e9e3bb 100644
--- a/picture.go
+++ b/picture.go
@@ -474,7 +474,7 @@ func (f *File) GetPicture(sheet, cell string) (string, []byte, error) {
return f.getPicture(row, col, drawingXML, drawingRelationships)
}
-// DeletePicture provides a function to delete charts in XLSX by given
+// DeletePicture provides a function to delete charts in spreadsheet by given
// worksheet and cell name. Note that the image file won't be deleted from the
// document currently.
func (f *File) DeletePicture(sheet, cell string) (err error) {
@@ -496,7 +496,7 @@ func (f *File) DeletePicture(sheet, cell string) (err error) {
}
// getPicture provides a function to get picture base name and raw content
-// embed in XLSX by given coordinates and drawing relationships.
+// embed in spreadsheet by given coordinates and drawing relationships.
func (f *File) getPicture(row, col int, drawingXML, drawingRelationships string) (ret string, buf []byte, err error) {
var (
wsDr *xlsxWsDr