summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #381 from aplulu/fix_calcchainxuri2019-04-13
|\ | | | | Fix two bugs related to Formula
| * Fix out of range panic when removing formula.Aplulu2019-04-09
| | | | | | | | Fix file corruption issue when deleting a sheet containing a formula.
* | Merge pull request #379 from yoshhiide/bug-calc-position-objectxuri2019-04-12
|\ \ | |/ |/| fix calc object position for addPicture
| * Adjust coding stylenabeyama yoshihide2019-04-04
| |
| * Fixed bug in the calculation target cell(row).nabeyama yoshihide2019-04-04
| | | | | | | | The target cell for calclator the height was shifted by 1.
| * Fixed bug in column cell to check.nabeyama yoshihide2019-04-04
| | | | | | | | The target cell for calclator the width was shifted by 1.
* | Resolve #377, avoid empty column in GetRows resultxuri2019-04-07
|/
* resolve #359, optimize for saving duplicate imagesxuri2019-03-26
|\ | | | | Do not save duplicate images
| * Do not save duplicate imagesMichael2019-03-25
|/ | | | | | | Adding the same image should create a drawing referencing the already stored copy of the image. Closes #359
* Add unit test to improve testing coveragexuri2019-03-24
|
* refactor: handler error instead of panic,xuri2019-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add benchmark for adding images to sheet (#367)Michael2019-03-23
| | | | | | | | * Add benchmark for adding images to sheet This should help track performance regressions in future changes. * Only transform sheet name if necessary
* resolve #366 fix image duplicationxuri2019-03-22
|
* Fixed PR #356 regression RemoveCol() broken (#365)Veniamin Albaev2019-03-21
|
* Use bitSize for float32 type numbers conversion, relate PR #361xuri2019-03-21
|
* SetCellFloat for floats with specific precision (#361)Michael2019-03-21
| | | | | | This allows the user to set a floating point value into a cell with a specific number of places after the decimal. Closes #357
* resolve #360, fix axis parse issue when add / get pictures;xuri2019-03-20
| | | | typo fixed and go test updated
* Typo fixed and godoc updatedxuri2019-03-20
|
* Huge refactorig for consistent col/row numbering (#356)Veniamin Albaev2019-03-20
| | | | | | | | | | | | | | | | | | | * 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
* Merge pull request #352 from caozhiyi/masterxuri2019-03-07
|\ | | | | update go test and function docs
| * update go test and function docscaozhiyi2019-03-07
|/
* update README and functions docs (#351)Kimxu2019-03-07
| | | | | | * update README and functions docs * update README and functions docs
* Implement consistent row addressing by Excel row number starting with 1 (#350)Veniamin Albaev2019-03-06
| | | | | | | | | | | | | | | * Implement consistent row addressing by Excel row number starting with 1 1. Added second versions for all row manipulation methods with zero-based row addressing. 2. Fixed methods documentation to explicitly describe which row addressing used in method. 3. Added WARNING to README.md. 4. Cosmetic change: All row test moved to file `rows_test.go`. * TravisCI: go1.12 added to tests matrix * BACKWARD INCOMPARTIBLE: Use only Excel numbering logic from 1 row * README updated
* Resolve #106, #294 performance optimization for add hyperlinkxuri2019-02-26
|
* Resolve #274, performance optimization for add images, charts and shapesxuri2019-02-25
|
* Resolve #235, performance optimization for add comments (#347)BluesJhao2019-02-25
|
* Resolve #345, get comments by target referencexuri2019-02-23
|
* resolve the issue corrupted xlsx after deleting formula of cell, reference #346xuri2019-02-22
|
* Faster TitleToNumber (#343)Olivier Mengué2019-02-02
| | | | | | | | | | | | * TestTitleToNumber: more test cases * TitleToNumber: drop use of math.Pow() Compute using pure integers * TitleToNumber: simplify Remove unecessary casts to int
* Update readmexuri2019-01-29
|
* Merge pull request #340 from rentiansheng/datavalidation_formula_errorxuri2019-01-24
|\ | | | | fix: datavalidation list error, formula > 255 issue #339
| * fix: datavalidation list error, formula > 255 issue #339rentiansheng2019-01-23
|/
* Merge pull request #337 from kkxkkxkkgh/paper-sizexuri2019-01-17
|\ | | | | The function SetPageLayout support set paper size
| * The function SetPageLayout support set paper sizekkxkkxkkgh2019-01-13
|/
* Merge pull request #334 from albenik/duplicate_rowxuri2019-01-11
|\ | | | | Resolve #333 New feature: File.DuplicateRowTo() duplicate row to a specified row position
| * New feature: File.DuplicateRowTo() duplicate row to specified row position.Veniamin Albaev2019-01-10
|/ | | | | | | | DuplicateRowTo() is similar to DuplicateRow() but copies specified row not just after specified source row but to any other specified position below or above source row. Also I made minor modifications of tests: using filepath.Join() instead of direct unix-way paths strings to avoid possible tests fails on other OS.
* Merge pull request #332 from mmitton/331_style_fillxuri2019-01-10
|\ | | | | Do not create a blank fill if no fill is specified in the style format
| * Do not create a blank fill if no fill is specified in the style formatMichael W. Mitton2019-01-09
|/
* Merge pull request #330 from zhangleijlu/masterxuri2019-01-07
|\ | | | | Resolve #318, add new functions `SetPageLayout` and `GetPageLayout`
| * Resolve #318, add new functions andzhangleijlu2019-01-06
|/
* Resolve #329, add copyright agreement statement on README and LICENSExuri2019-01-05
|
* Fixes #195: Make GetRows return value avoid empty cellRafael Barros2019-01-01
| | | | | | | | * #195: proposed resolution to the issue * Make GetRows return value avoid empty cell * Update test file to fix broken testing.
* README updatedxuri2019-01-01
|
* Merge pull request #326 from fossabot/masterxuri2018-12-31
|\ | | | | Add license scan report and status
| * Add license scan report and statusfossabot2018-12-30
|/ | | Signed-off-by: fossabot <badges@fossa.io>
* Merge pull request #323 from albenik/tests_fixxuri2018-12-30
|\ | | | | Tests refactoring
| * Tests refactoringVeniamin Albaev2018-12-27
|/ | | | | | | | | | | Primary motivation: Avoid statefull tests with not ignorable git file tree changes. Multiple tests reads and overwrites signle file for won needs. Multiple tests reads and overwrites file under version control. Secondary motivation: Minimal tests logic aligment, separate error expectation and not error expectation tests. Introduce sub-test over test data sets and so far. This commit is not ideal but necessary (IMHO)
* New feature: the function `SearchSheet` now support regular expression, ↵xuri2018-12-26
| | | | relate pull request #316
* Duplicate row (#317)Veniamin Albaev2018-12-26
| | | | | | * go mod tidy applied * File.DuplicateRow() method added
* Add RegSearchSheet (#316)r-uchino2018-12-26
|