diff options
author | xuri <xuri.me@gmail.com> | 2021-02-23 00:05:19 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2021-02-23 00:05:19 +0800 |
commit | d84050921eddf5c4221f8723477be2ac93f56ecc (patch) | |
tree | ac3fdf2326fafc7de687a5f912e00ab63e65969e /sheet.go | |
parent | bbb8ebfa8cc648ec09094d16eddebb03240baecf (diff) |
check empty rich text run properties; new formula fn: LEFT, LEFTB, RIGHT, RIGHTB
Diffstat (limited to 'sheet.go')
-rw-r--r-- | sheet.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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] |