xuri
46a3632ee0
Fix #422 , avoid accent theme color index overflow
6 years ago
xuri
b1f632d408
Resolve #393 , upgrade Go module to v2
6 years ago
xuri
b45c4b094c
Add a check for maximum limit hyperlinks in a worksheet
...
typo fixed
6 years ago
xuri
f2df344739
Resolve #369,#370
...
add error return value
exported functions:
GetMergeCells
ProtectSheet
UnprotectSheet
UpdateLinkedValue
GetMergeCells
SetSheetVisible
inner functions:
workSheetReader
copySheet
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
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
xuri
1aed1d744b
Resolve #274 , performance optimization for add images, charts and shapes
6 years ago
xuri
fabd9d013f
README updated
6 years ago
xuri
b04107c4a3
Resolve #311 , create 2D/3D area, stacked area, 100% stacked area chart support
6 years ago
xuri
1c45425f12
resolve #276 , add OfficeOpenXML-XMLSchema-Strict mode support
6 years ago
xuri
3e004d900b
Comments style changed.
6 years ago
xuri
13a9769cc5
Comments style changed.
6 years ago
xuri
2f146c923c
Comments style changed.
6 years ago
xuri
b4a6e61ec3
Fix golint errors under confidence 0.1
6 years ago
xuri
ec37b114c3
Fixes #256 and format document.
7 years ago
xuri
79dfe1c307
GoDoc updated.
7 years ago
xuri
9e463b4614
- Add error return value for functions: `AddChart()`, `AddComment()`, `AddPicture()`, `AddShape()`, `AddTable()` and `SetConditionalFormat()`
...
- go test has been updated
7 years ago
xuri
eb62256d16
Simplify testing code, add test case for outline functions and update the godoc.
7 years ago
Eugene Dzhurinsky
1787c3533b
Use format string for chart dimension.
...
Signed-off-by: Eugene Dzhurinsky <jdevelop@gmail.com>
7 years ago
Eugene Dzhurinsky
e09e47d988
Custom chart size.
...
Added helper functions to set the chart size.
Added the unit test
Signed-off-by: Eugene Dzhurinsky <jdevelop@gmail.com>
7 years ago
Lunny Xiao
38ad20efc1
save bytes on memory instead of string
7 years ago
Ri Xu
a9c7d6637c
- Support to set the positioning of a picture, relate issue #214 ;
...
- go test and godoc has been updated
7 years ago
Ri Xu
9ee57fdb38
Fix typo and adding Chinese version document.
7 years ago
Ri Xu
dcbde4b831
- Add categories or values on reverse order (orientation of the chart) support, and set auto or fixed maximum, minimum of the axis, relate issue #202 ;
...
- go test and godoc has been updated
7 years ago
Ri Xu
06e54bf1c6
Readme and godoc has been updated.
7 years ago
Ri Xu
45c31c4764
- Update the function `AddChart()`: clustered, stacked and 100% stacked bar and column series charts supported, relate issue #190 ;
...
- go test and godoc has been updated
7 years ago
Ri Xu
9d7b94d760
Update godoc to make charts compatibility with WPS, relate issue #187 .
7 years ago
Ri Xu
7621927573
- Add a hyperlink to an image support for the function `AddPicture()`, relate issue #185 ;
...
- go test and document has been updated.
7 years ago
Ri Xu
638bd44dd5
- gofmted with -s;
...
- Fix ineffectual assignments in Go code;
- Godoc has been updated
7 years ago
Ri Xu
6f4e4d9ef1
Revert "The godoc and readme page has been updated."
...
This reverts commit e4611e9e25
.
7 years ago
Ri Xu
e4611e9e25
The godoc and readme page has been updated.
7 years ago
Ri Xu
50cdaed5a3
- Add 3D column and 3D 100% stacked column chart support, relate issue #160 ;
...
- go test updated
7 years ago
xuri
443695732e
Merge pull request #153 from jinzhu/master
...
Rename import path to github.com/360EntSecGroup-Skylar/excelize
7 years ago
Rohan Allison
cc1d3fefc2
Add stacked bar chart
7 years ago
Jinzhu
21214a514d
Rename import path to github.com/360EntSecGroup-Skylar/excelize
7 years ago
Ri Xu
f10ee929d0
- Bugfix: use sheet name in func `AddPicture`, relate issue #142 ;
...
- godoc updated
7 years ago
Ri Xu
9b5b74d480
Performance optimization, use the array index instead of the value in range.
7 years ago
Ri Xu
905be463ed
Improve code readability.
7 years ago
Ri Xu
8493fea373
- Add number format code with unicode values, relate issue #86 ;
...
- godoc updated
8 years ago
Ri Xu
bc31e545c8
- Currency format supported, relate issue #80 ;
...
- go test and godoc updated
8 years ago
Ri Xu
20aae4e0e6
Repo URI changed.
8 years ago
Ri Xu
66e5d1fa80
API changed, use `NewFile()` instead of `CreateFile()` and use `SaveAs()` instead of `WriteTo()`.
8 years ago
Ri Xu
555e2ba9a8
- Make function `TitleToNumber()` exportable, note that function `ToAlphaString()` return value calculation changes, get more info from go doc. Relate issue #63 ;
...
- Readme and go doc updated
8 years ago
Ri Xu
c5dc632951
- Fix missing relationships in drawing content type shall, relate issue #58 ;
...
- Add a donation link, related issue #57 ^_^
8 years ago
Ri Xu
7c3f91ada4
Fix non-visual canvas properties ID calculator.
8 years ago
Ri Xu
fbc3d1cd01
- Worksheet conditional formatting support added, relate issue #56 ;
...
- gofmted with -s
8 years ago
Ri Xu
dea57dd0ae
Code optimize.
8 years ago
Ri Xu
70f6328150
Support set font style of shape text. Relate issue #38 .
8 years ago
Ri Xu
cf97118bfe
- The max author and text in comment limit added;
...
- go doc and go test updated
8 years ago
Ri Xu
7f30a6c943
- Initialize shape support: new function `AddShape()` added. Relate issue #38 ;
...
- Drawing `nvPicPr` element ID property calculation changed;
- go test updated
8 years ago