From 49257c5918f3aa9f2730021a7e6a24b4835646fd Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 9 Jul 2020 01:24:11 +0800 Subject: support case-sensitive doc parts to improve compatibility --- picture.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'picture.go') 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 -- cgit v1.2.1