xuri
efcf599dfe
This closes #1360 , closes #1361
...
- Fix default number format parse issue with a long string of digits
- Fix creating a sheet with an empty name cause a corrupted file
- The `GetCellStyle` function no longer return master cell style of the merge cell range
- Using the specialized name in variables and functions
2 years ago
xuri
3f702999e6
Using the specialized name in a variable and making comments clear
...
- Add JSON tags for `AppProperties`, `PivotTableOption` and `PivotTableField` structure
2 years ago
xuri
b6cc43d824
This makes 6 functions concurrency safety
...
- These 6 functions now support concurrency safe: SetColWidth, GetColWidth, SetColVisible, GetColVisible, SetColStyle and GetColStyle
2 years ago
Cooper de Nicola
0e9378fec2
This closes #1247 , add new function `SetSheetCol` for set worksheet column values ( #1320 )
...
Signed-off-by: cdenicola <cooper.denicola@instabase.com>
Co-authored-by: cdenicola <cooper.denicola@instabase.com>
2 years ago
xuri
551fb8a9e4
This closes #1244 and closes #1314 , improving the compatibility with Google Sheet
...
- Format code with `gofmt`
2 years ago
xuri
ebea684ae5
Fix potential file corrupted and change worksheet name case-insensitive
...
- Using sheet ID instead of sheet index when delete the cell in calculation chain
- Update documentation for exported functions
- Using `sheet` represent the sheet name in the function parameters
3 years ago
xuri
40ed1d1b81
Fix potential file corrupted when changing cell value or the col/row
...
- Remove shared formula subsequent cell when setting the cell values
- Support adjust table range when removing and inserting column/row
3 years ago
yeshu
18afc88759
This closes #1264 , fix can't modify cell content issue in some cases
...
Remove inline rich text when setting cell value and cell formulas
3 years ago
jialei
d490a0f86f
RichTextRun support set superscript and subscript by vertAlign attribute ( #1252 )
...
check vertical align enumeration, update set rich text docs and test
3 years ago
xuri
8f16a76781
This fixes a part of staticcheck issues and updates the code of conduct
...
Update example for set cell hyperlinks with `HyperlinkOpts`
3 years ago
xuri
19a0cf3cec
This closed #1163 , fix set cell value with column and row style inherit issue
3 years ago
xuri
eed431e0fc
This closes #1219 , fixes cell value reading issue, improves performance, and 1904 date system support
...
- Fix incorrect cell data types casting results when number formatting
- Support set cell value on 1904 date system enabled, ref #1212
- Improve performance for set sheet row and the merging cells, fix performance impact when resolving #1129
3 years ago
xuri
773d4afa32
This closes #1217 , support update cell hyperlink
...
Ref #1129 , make `SetRowStyle` overwrite style of the cells
3 years ago
xuri
856ee57c40
This closes #1212 , init support for 1900 or 1904 date system
3 years ago
xuri
0f93bd23c9
This closes #1213 , fix get incorrect rich text value caused by missing cell type checking
3 years ago
xuri
29d63f6ae0
ref #65 , new formula functions: HYPGEOM.DIST and HYPGEOMDIST
3 years ago
xuri
8a335225c7
Format code, update documentation and remove exported variable `XMLHeaderByte`
3 years ago
xuri
94f197c4fe
This improved formula calculate precision and added zero placeholder number format support
3 years ago
xuri
4220bf4327
ref #65 , new formula functions: LOGNORM.INV and LOGINV
...
* Update docs for the function `SetCellHyperLink`
3 years ago
xuri
07be993631
Fixed parsing decimal precision issue
3 years ago
xuri
f87c39c41d
This closes #1148 , resolve limitations when adding VBA project to the workbook
...
Added two exported functions `SetWorkbookPrOptions` and `GetWorkbookPrOptions` to support setting and getting the code name property of the workbook
Re-order fields of the workbook properties group to improve the compatibility
Go Modules dependencies upgrade
Put workbook related operating in new `workbook.go` source code
Library introduction docs block updated
3 years ago
xuri
4b64b26c52
Ref: #660 , #764 , #1093 , #1112 , #1133 This improve number format support
...
- Introduced NFP (number format parser) dependencies module
- Initialize custom dates and times number format support
- Dependencies module upgraded
3 years ago
xuri
3f8f4f52e6
This closes #1139 , `SetCellDefault` support non-numeric value
...
- Add default value on getting `View` property of sheet views
- Add examples and unit test for set sheet views
- Re-order field on sheet view options
- Fix incorrect build-in number format: 42
- Simplify code for the `stylesReader` function
3 years ago
xuri
156bf6d16e
This closes #1129 , make cell support inheritance columns/rows style
...
Correct cells style in merge range
Fix incorrect style ID returned on getting cell style in some cases
Unit test updated and simplified code
3 years ago
xuri
891e5baac1
ref #1096 , reduce memory usage by about 50% for large data spreadsheet
3 years ago
xuri
2245fccca0
Typo fix, rename exported constants, dependencies modules and copyright update
...
Rename exported constants `NameSpaceDublinCoreMetadataIntiative` to `NameSpaceDublinCoreMetadataInitiative`
3 years ago
xuri
9e64df6a96
Update create style example, using a pointer of the structure instead of JSON
3 years ago
xuri
e37e060d6f
This closes #1107 , stream writer will create a time number format for time type cells
...
Unit test coverage improved
3 years ago
vst
c5990ea348
Preserve horizontal tab character when set the cell value ( #1108 )
3 years ago
xuri
89b85934f6
This closes #1096 , memory usage optimization and another 4 changes
...
- Unzip shared string table to system temporary file when large inner XML, reduce memory usage about 70%
- Remove unnecessary exported variable `XMLHeader`, we can using `encoding/xml` package's `xml.Header` instead of it
- Using constant instead of inline text for default XML path
- Rename exported option field `WorksheetUnzipMemLimit` to `UnzipXMLSizeLimit`
- Unit test and documentation updated
3 years ago
xuri
7907650a97
This closes #1069 , support time zone location when set cell value
3 years ago
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
de38402f74
This closes #1031 , fix small float parsed error in some case
...
- new formula function: YEARFRAC, ref #65
- update the codecov version
- remove unused variable
3 years ago
xuri
490f3063c2
This closes #1026 , time parse accuracy issue and typo fixed
3 years ago
xuri
2add938798
- new formula functions: DATEVALUE, ref #65
...
- fix ineffectual variable assignments
- timeout in go test
3 years ago
xuri
dad8f490cc
This closes #417 and closes #520 , new API `GetCellType` has been added
3 years ago
xuri
32b23ef42d
This closes #998
...
- Support text comparison in the formula, also ref #65
- `GetCellValue`, `GetRows`, `GetCols`, `Rows` and `Cols` support to specify read cell with raw value, ref #621
- Add missing properties for the cell formula
- Update the unit test for the `CalcCellValue`
3 years ago
xuri
2616aa88cb
Add set shared formula support and documentation for the `SetCellFormula`
3 years ago
raochq
b02f864eab
This closes #844 , support get shared formula
3 years ago
three
f6f14f507e
Speed up merge cells
3 years ago
xuri
43a057b1ea
This closes #986 , fix set data validation drop list failed in some cases
...
Update documentation for `GetCellValue` and simplify code
3 years ago
xuri
c49e7aab30
Reduce cyclomatic complexities for the formula calculate function and update documentation for the API: `MergeCell` and `GetCellValue`
3 years ago
Arnie97
eaf9781e7e
Improve compatibility for SetRichText ( #976 )
...
- support escaped string literal
- maximum character limit added
- fix missing preserve character in some case
Co-authored-by: xuri <xuri.me@gmail.com>
4 years ago
xuri
e9ae9b45b2
change go module import path to github.com/xuri/excelize
4 years ago
xuri
90d200a10b
Make the functions `SetSheetRow`, `New Style` and `SetCellStyle` concurrency safety
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
be12cc27f1
This closes #652 , new SetColWidth API, support set column width in stream writing mode, and export error message
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