From 49c9ea40d7cf7c20e9b94723c84780f4d048f4a4 Mon Sep 17 00:00:00 2001 From: xuri Date: Mon, 29 Nov 2021 01:21:03 +0800 Subject: ref #65: new formula function YIELD --- merge.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'merge.go') diff --git a/merge.go b/merge.go index 1cd8acd..2d699a2 100644 --- a/merge.go +++ b/merge.go @@ -269,15 +269,15 @@ func (m *MergeCell) GetCellValue() string { return (*m)[1] } -// GetStartAxis returns the merge start axis. -// example: "C2" +// GetStartAxis returns the top left cell coordinates of merged range, for +// example: "C2". func (m *MergeCell) GetStartAxis() string { axis := strings.Split((*m)[0], ":") return axis[0] } -// GetEndAxis returns the merge end axis. -// example: "D4" +// GetEndAxis returns the bottom right cell coordinates of merged range, for +// example: "D4". func (m *MergeCell) GetEndAxis() string { axis := strings.Split((*m)[0], ":") return axis[1] -- cgit v1.2.1