diff options
author | xuri <xuri.me@gmail.com> | 2020-07-09 01:24:11 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-07-09 01:24:11 +0800 |
commit | 49257c5918f3aa9f2730021a7e6a24b4835646fd (patch) | |
tree | 5b7e0b016bb008fd5680d19b59b05ab722a8d17b /picture.go | |
parent | f7bd0729c65fc82305328f7ac8fbaf329d1075c0 (diff) |
support case-sensitive doc parts to improve compatibility
Diffstat (limited to 'picture.go')
-rw-r--r-- | picture.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |