summaryrefslogtreecommitdiff
path: root/styles.go
Commit message (Collapse)AuthorAge
* Fix #411, change font size to float typexuri2019-06-07
|
* Add the ability to change the default fontHarris2019-05-23
| | | | Closes #390
* Resolve #404, get sheet map by target rels.xuri2019-05-17
|
* godoc update and typo fixedxuri2019-04-20
|
* Resolve #382, rewrite prepareSheetXML to scale linearly (#383)Michael2019-04-16
| | | | | | | | | | | | | | * 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
* Resolve #369,#370xuri2019-04-15
| | | | | | | | | | | | | | | | | | add error return value exported functions: GetMergeCells ProtectSheet UnprotectSheet UpdateLinkedValue GetMergeCells SetSheetVisible inner functions: workSheetReader copySheet
* 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
* 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
* Do not create a blank fill if no fill is specified in the style formatMichael W. Mitton2019-01-09
|
* README updatedxuri2019-01-01
|
* resolve #276, add OfficeOpenXML-XMLSchema-Strict mode supportxuri2018-10-17
|
* Comments style changed.xuri2018-09-14
|
* Comments style changed.xuri2018-09-14
|
* Comments style changed.xuri2018-09-14
|
* Fix golint errors under confidence 0.1xuri2018-09-12
|
* Fixes #256 and format document.xuri2018-08-06
|
* Use min/mid/max value for 2 and 3 color scale conditional formattingAlex Whitney2018-07-25
|
* GoDoc updated.xuri2018-07-13
|
* - Initialize theme support;xuri2018-07-07
| | | | | - RGBA, HSL color convert has been added; - go test updated
* - Update Travis CI to include GOARCH=386 tests, relate issue #239 and #244;xuri2018-06-30
| | | | - Fix doc typo
* - Add error return value for functions: `AddChart()`, `AddComment()`, ↵xuri2018-05-27
| | | | | | `AddPicture()`, `AddShape()`, `AddTable()` and `SetConditionalFormat()` - go test has been updated
* - Bugfix: set font family not works, relate issue #222;xuri2018-05-08
| | | | | - Remove useless function `replaceWorkSheetsRelationshipsNameSpace()`; - Make test cases use strict error checking
* save bytes on memory instead of stringLunny Xiao2018-05-07
|
* Fix document typo.Ri Xu2018-05-03
|
* Fix typo and adding Chinese version document.Ri Xu2018-04-23
|
* - Add protection properties associated with the cell support, relate issue #191;Ri Xu2018-03-07
| | | | - godoc and go test has been updated
* - gofmted with -s;Ri Xu2018-01-31
| | | | | - Fix ineffectual assignments in Go code; - Godoc has been updated
* Avoid looping over unused rows and columns in SetCellStyle.Martin Sandve Alnæs2018-01-29
| | | | | | | | | 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.
* make SetCellStyle quicker by skipping conversions in checkCellInArea, and ↵mbresson2018-01-19
| | | | | | skipping area checks when we are sure the cell can't be before or past the current row/col Signed-off-by: Matthieu Bresson
* Travis CI config updated and typo fixed.Ri Xu2017-12-01
|
* - 24 hour time format supported, relate issue #163;Ri Xu2017-12-01
| | | | - godoc and go test updated
* Improve code readability.Ri Xu2017-09-30
|
* Handle coordinate parse exception, relate issue #122.Ri Xu2017-09-19
|
* - API changed, use worksheet name instead of "sheet" + index, related issue ↵Ri Xu2017-09-13
| | | | | | #25, #43, #47, #51, #89, #101, #116 and #120. - go test updated
* - Conditional format with formula support, relate issue #75;Ri Xu2017-08-18
| | | | - go test and readme update
* Document updated.Ri Xu2017-08-11
|
* - Init conditional format support, relate issue #75;Ri Xu2017-08-11
| | | | - go test and godoc updated
* Add missing element `xfId` of the styles to fix issue #93.Ri Xu2017-08-07
|
* - Fix `completeCol()` make extra rows, relate issue #87;Ri Xu2017-07-27
| | | | - godoc updated
* - Support set custom number format, relate issue #86;Ri Xu2017-07-27
| | | | - go test and godoc updated
* - Add number format code with unicode values, relate issue #86;Ri Xu2017-07-26
| | | | - godoc updated
* - Fix missing element in worksheet, workbook and styles. Related issue #81;Ri Xu2017-07-15
| | | | - Format code and update readme
* Currency format code added.Ri Xu2017-07-15
|
* Add currency format code and go test updated.Ri Xu2017-07-15
|
* - Display negative numbers by applying a red color supported;Ri Xu2017-07-15
| | | | - go test updated
* - Currency format supported, relate issue #80;Ri Xu2017-07-14
| | | | - go test and godoc updated
* - New function `NewStyle()` added and function `SetCellStyle()` has been ↵Ri Xu2017-06-29
| | | | | | exported, relate issue #72; - go test and go doc updated
* Function `GetCellValue()` performance improvement by avoid repeating ↵Ri Xu2017-06-29
| | | | deserialization, relate issue #70.
* - Make function `TitleToNumber()` exportable, note that function ↵Ri Xu2017-06-27
| | | | | | `ToAlphaString()` return value calculation changes, get more info from go doc. Relate issue #63; - Readme and go doc updated
* - Function `formattedValue()` performance improvement by avoid repeating ↵Ri Xu2017-06-26
| | | | | | deserialization, relate issue #64; - Make function `ToAlphaString()` exportable, relate issue #63