summaryrefslogtreecommitdiff
path: root/stream_test.go
Commit message (Collapse)AuthorAge
* This update docs and tests for workbook encryptionxuri2022-05-31
|
* Format code, update documentation and remove exported variable `XMLHeaderByte`xuri2022-03-24
|
* Update create style example, using a pointer of the structure instead of JSONxuri2022-01-05
|
* This closes #1107, stream writer will create a time number format for time ↵xuri2021-12-31
| | | | | | type cells Unit test coverage improved
* Export 7 errors so users can act differently on different type of errorsxuri2021-12-07
|
* Now support set row style in the stream writerxuri2021-09-29
|
* This closes #833, closes #845, and closes #1022, breaking changesxuri2021-09-19
| | | | | | - Close spreadsheet and row's iterator required - New options `WorksheetUnzipMemLimit` have been added - Improve streaming reading performance, memory usage decrease about 93.7%
* This closes #882, support set rows height and hidden row by stream writerxuri2021-07-25
|
* - Support concurrency iterate rows and columnsxuri2021-07-05
| | | | | - Rename exported field `File.XLSX` to `File.Pkg` - Exported error message
* This closes #409 Remove UTC timezone requirement from date.go (#853)Alluuu2021-06-04
| | | | | | | According to issue #409 There is absolutely no reason for the timezone to be in UTC, and converting the local times to UTC while keeping values is hacky at least. Excel has no understanding of timezones, hence the user of this library should know what timezone their values are supposed to be, by following the timezone within their timeTime structs.
* This closes #838, fix wrong worksheet XML path of the stream writer in some casexuri2021-05-14
|
* This closes #652, new SetColWidth API, support set column width in stream ↵xuri2021-05-10
| | | | writing mode, and export error message
* Fixe issue generated file corrupted caused by incorrect default XML ↵xuri2021-04-30
| | | | namespace attributes
* #826, support merge cell in streaming modexuri2021-04-28
|
* #65 fn: N, PERCENTILE.INC and Txuri2021-03-30
| | | | typo fixed
* #625, support setting formula for cell in streaming APIxuri2021-03-07
|
* lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, ↵xuri2021-02-15
| | | | CONCATENATE, COUNT, COUNTBLANK, MAX
* This improves compatibility for worksheet relative XML path and multi rules ↵xuri2021-02-11
| | | | auto filter
* Fix #724, standardize variable naming and update unit testsxuri2020-11-11
|
* Compatible with Go 1.15, fix unit test failed on Windows and fixed #689 ↵xuri2020-08-15
| | | | potential race condition
* Fix #576, serialize by fields order on stream flushxuri2020-02-13
|
* Improve code coverage unit testsxuri2019-12-29
|
* Stream to Excel table (#530)Cameron Howey2019-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support all datatypes for StreamWriter * Support setting styles with StreamWriter **NOTE:** This is a breaking change. Values are now explicitly passed as a []interface{} for simplicity. We also let styles to be set at the same time. * Create function to write stream into a table * Write rows directly to buffer Avoiding the xml.Encoder makes the streamer faster and use less memory. Using the included benchmark, the results went from: > BenchmarkStreamWriter-4 514 2576155 ns/op 454918 B/op 6592 allocs/op down to: > BenchmarkStreamWriter-4 1614 777480 ns/op 147608 B/op 5570 allocs/op * Use AddTable instead of SetTable This requires reading the cells after they have been written, which requires additional structure for the temp file. As a bonus, we now efficiently allocate only one buffer when reading the file back into memory, using the same approach as ioutil.ReadFile. * Use an exported Cell type to handle inline styles for StreamWriter
* Improve compatibility, fix workbook's rels ID calc errorxuri2019-12-23
|
* Improve code coverage unit testsxuri2019-12-22
|
* Fix #523, add stream writer for generate new worksheet with huge amounts of dataxuri2019-12-10