summaryrefslogtreecommitdiff
path: root/excelize.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2018-12-26 14:48:14 +0800
committerxuri <xuri.me@gmail.com>2018-12-26 14:48:14 +0800
commit9a6f66a996eb83f16da13416c5fca361afe575b0 (patch)
treec1d8fe12285df44f51edc1f3f453ab9cba41d71a /excelize.go
parent7b7ca99f5d570c30f7eee92c38c5e632b7815239 (diff)
New feature: the function `SearchSheet` now support regular expression, relate pull request #316
Diffstat (limited to 'excelize.go')
-rw-r--r--excelize.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/excelize.go b/excelize.go
index b162b79..35ff75a 100644
--- a/excelize.go
+++ b/excelize.go
@@ -243,6 +243,8 @@ func (f *File) adjustRowDimensions(xlsx *xlsxWorksheet, rowIndex, offset int) {
}
}
+// ajustSingleRowDimensions provides a function to ajust single row
+// dimensions.
func (f *File) ajustSingleRowDimensions(r *xlsxRow, offset int) {
r.R += offset
for i, col := range r.C {