| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
* #386 regression test added
* closes #386 string to bigint on GOARCH=386
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Update testing case
|
| |
|
|
|
|
| |
Closes #390
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rewrite prepareSheetXML to scale linearly
We don't need to backfill columns into every row for most purposes
Provided makeContiguousColumns for setting styles where we do
need it for a specific region.
Added a benchmark to monitor progress. For 50,000 rows this went
from about 11 seconds to 1 second. The improvements are more
dramatic as the row/column count increases.
* Assigning that row value was redundant
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add error return value
exported functions:
GetMergeCells
ProtectSheet
UnprotectSheet
UpdateLinkedValue
GetMergeCells
SetSheetVisible
inner functions:
workSheetReader
copySheet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Exported functions:
SetCellStyle
InsertCol
RemoveCol
RemoveRow
InsertRow
DuplicateRow
DuplicateRowTo
SetRowHeight
GetRowHeight
GetCellValue
GetCellFormula
GetCellHyperLink
SetCellHyperLink
SetCellInt
SetCellBool
SetCellFloat
SetCellStr
SetCellDefault
GetCellStyle
SetCellValue
MergeCell
SetSheetRow
SetRowVisible
GetRowVisible
SetRowOutlineLevel
GetRowOutlineLevel
GetRows
Columns
SearchSheet
AddTable
GetPicture
AutoFilter
GetColVisible
SetColVisible
GetColOutlineLevel
SetColOutlineLevel
SetColWidth
GetColWidth
inner functions:
adjustHelper
adjustMergeCells
adjustAutoFilter
prepareCell
setDefaultTimeStyle
timeToExcelTime
addDrawingChart
addDrawingVML
addDrawingPicture
getTotalRowsCols
checkRow
addDrawingShape
addTable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Huge refactorig for consistent col/row numbering
Started from simply changing ToALphaString()/TitleToNumber() logic and related fixes.
But have to go deeper, do fixes, after do related fixes and again and again.
Major improvements:
1. Tests made stronger again (But still be weak).
2. "Empty" returns for incorrect input replaces with panic.
3. Check for correct col/row/cell naming & addressing by default.
4. Removed huge amount of duplicated code.
5. Removed ToALphaString(), TitleToNumber() and it helpers functions at all,
and replaced with SplitCellName(), JoinCellName(), ColumnNameToNumber(), ColumnNumberToName(), CellNameToCoordinates(), CoordinatesToCellName().
6. Minor fixes for internal variable naming for code readability (ex. col, row for input params, colIdx, rowIdx for slice indexes etc).
* Formatting fixes
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- RGBA, HSL color convert has been added;
- go test updated
|
|
|
|
| |
- Fix doc typo
|
|
|
|
|
|
| |
`AddPicture()`, `AddShape()`, `AddTable()` and `SetConditionalFormat()`
- go test has been updated
|
|
|
|
|
| |
- Remove useless function `replaceWorkSheetsRelationshipsNameSpace()`;
- Make test cases use strict error checking
|
| |
|
| |
|
| |
|
|
|
|
| |
- godoc and go test has been updated
|
|
|
|
|
| |
- Fix ineffectual assignments in Go code;
- Godoc has been updated
|
|
|
|
|
|
|
|
|
| |
The recent improvement to SetCellStyle still loops
over all the rows before the area, moving the area checks
into the loop is more concise and faster.
Since the loop now covers the correct area by construction,
the inner loop check checkCellInArea is no longer needed.
|
|
|
|
|
|
| |
skipping area checks when we are sure the cell can't be before or past the current row/col
Signed-off-by: Matthieu Bresson
|
| |
|
|
|
|
| |
- godoc and go test updated
|
| |
|
| |
|
|
|
|
|
|
| |
#25, #43, #47, #51, #89, #101, #116 and #120.
- go test updated
|
|
|
|
| |
- go test and readme update
|
| |
|
|
|
|
| |
- go test and godoc updated
|
| |
|
|
|
|
| |
- godoc updated
|
|
|
|
| |
- go test and godoc updated
|
|
|
|
| |
- godoc updated
|