From d84050921eddf5c4221f8723477be2ac93f56ecc Mon Sep 17 00:00:00 2001 From: xuri Date: Tue, 23 Feb 2021 00:05:19 +0800 Subject: check empty rich text run properties; new formula fn: LEFT, LEFTB, RIGHT, RIGHTB --- sheet.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sheet.go') diff --git a/sheet.go b/sheet.go index 26c0081..d4362b1 100644 --- a/sheet.go +++ b/sheet.go @@ -1762,6 +1762,7 @@ func prepareSheetXML(ws *xlsxWorksheet, col int, row int) { fillColumns(rowData, col, row) } +// fillColumns fill cells in the column of the row as contiguous. func fillColumns(rowData *xlsxRow, col, row int) { cellCount := len(rowData.C) if cellCount < col { @@ -1772,6 +1773,7 @@ func fillColumns(rowData *xlsxRow, col, row int) { } } +// makeContiguousColumns make columns in specific rows as contiguous. func makeContiguousColumns(ws *xlsxWorksheet, fromRow, toRow, colCount int) { for ; fromRow < toRow; fromRow++ { rowData := &ws.SheetData.Row[fromRow-1] -- cgit v1.2.1