diff options
author | xuri <xuri.me@gmail.com> | 2020-05-21 22:57:58 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-05-21 22:57:58 +0800 |
commit | 2efc7107ff30dc7f1e1a798082616ee488f99489 (patch) | |
tree | 80ea9e1e9f9246369685acabd0e5dac8271e7d97 /picture.go | |
parent | 98221a332ff9c37c9b20c44e9efdbe4c22a5cf5c (diff) |
- transform the range to the matrix on the first arg of the formula
- typo fix
- reset cell with and height when insert picture into merged cell with autofit
Diffstat (limited to 'picture.go')
-rw-r--r-- | picture.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -607,6 +607,7 @@ func (f *File) drawingResize(sheet string, cell string, width, height float64, f } } if inMergeCell { + cellWidth, cellHeight = 0, 0 c, r = rng[0], rng[1] for col := rng[0] - 1; col < rng[2]; col++ { cellWidth += f.getColWidth(sheet, col) |