xuri
bc3c7d51a2
ref #65 : new formula function PRICE
...
- fix COUPPCD result accuracy issue
- update close spreadsheet example in documentation and README
3 years ago
xuri
57275db22e
This closes #1057 , merge column styles to reduce spreadsheet size
3 years ago
xuri
adecf447e1
This closes #1059 , represent boolean in XML as 0/1 rather than true/false
3 years ago
xuri
a68bc34b0c
ref #65 : new formula functions PERCENTRANK.EXC, PERCENTRANK.INC and PERCENTRANK
3 years ago
xuri
790c363cce
This closes #833 , closes #845 , and closes #1022 , breaking changes
...
- Close spreadsheet and row's iterator required
- New options `WorksheetUnzipMemLimit` have been added
- Improve streaming reading performance, memory usage decrease about 93.7%
3 years ago
xuri
c3d1d7dddd
Preserve XML control character in bstrUnmarshal result
3 years ago
xuri
a55f354eb3
This closes #989 , closes #990
...
New API: `SetRowStyle` support for set style for the rows
Update documentation for the `GetRows`, `SetCellStyle` and `SetColStyle`
3 years ago
raochq
b02f864eab
This closes #844 , support get shared formula
3 years ago
xuri
48c16de8bf
Improve security and simplify code
...
- Make variable name more semantic
- Reduce cyclomatic complexities for the formula calculate function
- Support specified unzip size limit on open file options, avoid zip bombs vulnerability attack
- Typo fix for documentation and error message
3 years ago
three
f6f14f507e
Speed up merge cells
3 years ago
xuri
cf9fbafdd8
This closes #979 , fix the data validation deletion issue and tidy the internal function in the source code
4 years ago
xuri
1ec0207fb5
Fix code security issue
4 years ago
xuri
544ef18a8c
- Support concurrency iterate rows and columns
...
- Rename exported field `File.XLSX` to `File.Pkg`
- Exported error message
4 years ago
xuri
2cfcf9eb5f
encode the escaped string literal which not permitted in an XML 1.0 document
4 years ago
xuri
e354db69b0
string pattern match context check instead of regex lookahead assertion
4 years ago
xuri
5faa36430c
skip XML control character in the escape literal string, and update dependencies
4 years ago
xuri
83e12cc4e5
support escaped string literal basic string and use GitHub Action instead of TravisCI
...
- Note that: travis-ci.org will shutdown on June 15th, 2021, and I don't have enough permission to migrate this project to travis-ci.com currently
4 years ago
xuri
be12cc27f1
This closes #652 , new SetColWidth API, support set column width in stream writing mode, and export error message
4 years ago
xuri
7e429c5b46
Fixe issue generated file corrupted caused by incorrect default XML namespace attributes
4 years ago
xuri
737b7839a2
Fixed #819 , read empty after streaming data writing
...
#65 fn: IMAGINARY, IMARGUMENT, IMCONJUGATE and IMDIV
4 years ago
xuri
f8f699a172
Go 1.15 and later required, #65 fn: IMABS, IMCOS, IMCOSH, IMCOT, IMCSC, IMCSCH, IMEXP, IMLN and IMLOG10
4 years ago
xuri
2af96c0714
#65 fn: N, PERCENTILE.INC and T
...
typo fixed
4 years ago
xuri
afe2ebc261
This improves compatibility for absolute XML path, Windows-style directory separator and inline namespace;
4 years ago
xuri
36b7990d6b
lint issue fixed and new formula function: ATAN, AVERAGE, AVERAGEA, CONCAT, CONCATENATE, COUNT, COUNTBLANK, MAX
4 years ago
xuri
1f329e8f96
This closes #774 , closes #775 and closes #776
...
- correct adjust calculation chain in duplicate rows
- correct adjust defined name in the workbook when delete worksheet
- use absolute reference in the auto filters defined name to make it compatible with OpenOffice
- API `CoordinatesToCellName` have a new optional param to specify if using an absolute reference format
- Fix cyclomatic complexity issue of internal function `newFills` and `parseToken`
4 years ago
xuri
b84bd1abc0
new formula fn: IF, LEN; not equal operator support and faster numeric precision process
4 years ago
xuri
c82a185af8
Compatibility improvement: parse document core part (workbook) dynamically
4 years ago
Ted
fcca8a3838
optimize memory allocation ( #722 )
...
* optimize marshal
* optimize mem alloc
* add benchmark testing
* add NewSheetWithRowNum testing
* sync struct fields order
* add BenchmarkNewSheetWithStreamWriter
* delete NewSheetWithRowNum and benchmark test
4 years ago
xuri
c3e92a51d7
Compatible with Go 1.15, fix unit test failed on Windows and fixed #689 potential race condition
4 years ago
xuri
843bd24e56
This closes #677 and closes #679 , fix panic when enabling compiler inline flags
5 years ago
xuri
13e7bce6d2
improvement compatibility for the XML ignorable namespace
5 years ago
xuri
ca43c65115
Update test for addTable
5 years ago
xuri
c922c32fb7
support parse and generate XML element namespace dynamic, fix #651
5 years ago
xuri
49257c5918
support case-sensitive doc parts to improve compatibility
5 years ago
xuri
15fd56853f
Update docs and typo fixed
5 years ago
xuri
5221729bc3
make columns iterator read cell streamingly and add max column limit on ColumnNumberToName
5 years ago
xuri
2ae631376b
add limits for total columns, row and filename length
5 years ago
xuri
7f78464f7f
add test for ReadZipReader, close #642
5 years ago
sachin-puranik
82bb1153d7
Improved error handling and stoped the crash due to fatel error ( #593 ) close #624
5 years ago
xuri
2efc7107ff
- transform the range to the matrix on the first arg of the formula
...
- typo fix
- reset cell with and height when insert picture into merged cell with autofit
5 years ago
xuri
48fc4c08a2
init formula calculation engine, ref #65 and #599
5 years ago
xuri
0f2a905324
Performance improvements
5 years ago
xuri
09485b3f9f
Improve code coverage unit tests
5 years ago
xuri
4e4a5b9b3e
Improve compatibility, fix workbook's rels ID calc error
5 years ago
Michael
9fe267ffcf
Pre-allocate some memory when reading files ( #510 )
5 years ago
xuri
9c70d0ac86
Documentation updated, Go 1.10+ required
6 years ago
xuri
0660f30cdd
godoc update and typo fixed
6 years ago
xuri
40ff5dc1a7
refactor: handler error instead of panic,
...
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
6 years ago
xuri
beff7b4f3c
Typo fixed and godoc updated
6 years ago
Veniamin Albaev
dc01264562
Huge refactorig for consistent col/row numbering ( #356 )
...
* 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
6 years ago