xuri
e7581ebf3e
Fix corrupted Excel file issue #413
5 years ago
xuri
2e791fa433
Optimize code of Getting/Setting Page Margins
5 years ago
streboryaj
2d21b5b50f
Added accessors for Getting/Setting Page Margins ( #497 )
...
* Added accessors for Getting/Setting Page Margins
* Added test cases
5 years ago
xuri
8922f65978
Combine functions:
...
workBookRelsWriter, drawingRelsWriter into relsWriter;
drawingRelsReader, workbookRelsReader, workSheetRelsReader into relsReader;
addDrawingRelationships, addSheetRelationships into addRels
5 years ago
xuri
9c70d0ac86
Documentation updated, Go 1.10+ required
6 years ago
Harris
faaaa52cb8
Get sheet names based on index
...
SheetID only seems to indicate the file name for the sheet.
Check the sheets list based on index instead. Reordering sheets
in Excel changes the order they appear in that list.
Fixes #457
6 years ago
xuri
cbe919fdf6
New feature: sparkline supported
6 years ago
xuri
b5f7d4a78e
Merge pull request #447 from dongkai16z/master
...
Fix #443
6 years ago
Sustainedhhh
0c9e5137e3
Fix #442
6 years ago
董凯
53e653f28e
Fix #443
6 years ago
xuri
e14d2febc8
Resolve #432 , supplement the function of SetPageLayout
...
SetPageLayout support to set fit to width and height
6 years ago
xuri
8b2d4cb697
New feature: group and ungroup sheets support
...
New functions `GroupSheets` and `UngroupSheets` added
Refactor sheet index calculation
6 years ago
xuri
dc8210d4a7
Update GoDoc and typo fixed
6 years ago
xuri
a335be7e4e
New functions: SetDefinedName and GetDefinedName added
6 years ago
xuri
421f945f51
Fixed #418 , #420 , #421 , init adjust calculation chain support
...
Update testing case
6 years ago
xuri
f91f548614
Resolve #404 , get sheet map by target rels.
6 years ago
xuri
69b38ddcd6
Resolve #394 , init set header and footer support
6 years ago
xuri
01a418bda8
Resolve #392 , compatible with strict relations name space inspection
6 years ago
xuri
0660f30cdd
godoc update and typo fixed
6 years ago
Michael
0f9170a03b
Resolve #382 , rewrite prepareSheetXML to scale linearly ( #383 )
...
* 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
6 years ago
xuri
a88459d5f1
add unit tests to functions
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
Aplulu
841ff4a03e
Fix out of range panic when removing formula.
...
Fix file corruption issue when deleting a sheet containing a formula.
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
Michael
2874d75555
Add benchmark for adding images to sheet ( #367 )
...
* Add benchmark for adding images to sheet
This should help track performance regressions in future changes.
* Only transform sheet name if necessary
6 years ago
xuri
40ea8eb014
resolve #360 , fix axis parse issue when add / get pictures;
...
typo fixed and go test 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
xuri
f66212da9b
Resolve #106 , #294 performance optimization for add hyperlink
6 years ago
xuri
0072bb7310
resolve the issue corrupted xlsx after deleting formula of cell, reference #346
6 years ago
kkxkkxkkgh
81948d9e1e
The function SetPageLayout support set paper size
6 years ago
zhangleijlu
034de7acd8
Resolve #318 , add new functions and
6 years ago
xuri
fabd9d013f
README updated
6 years ago
xuri
9a6f66a996
New feature: the function `SearchSheet` now support regular expression, relate pull request #316
6 years ago
r-uchino
9b8baf75ad
Add RegSearchSheet ( #316 )
6 years ago
xuri
e728ff1498
Fixes #308 , refactor `NewSheet()`, `DeleteSheet()`, `SetActiveSheet()` and `GetActiveSheetIndex()`
6 years ago
xuri
81b43da7b6
Fix comments according to best practices by effective go
6 years ago
xuri
b89f75c896
Add new logo for excelize
6 years ago
taomin597715379
1bb59f75ea
resolve #297 , fix GetSheetMap() failed
...
Change-Id: I585a4a017867b89bd39cb6e711467a46eaa757be
6 years ago
q523591
51857a217d
New function `UnprotectSheet()` has been added
6 years ago
HcySunYang
4dbc78ce0a
resolve #273 new feature: protect sheet support
...
new feature: protect sheet support, relate issue #273
6 years ago
peng
e2e58a3a44
New function: `SearchSheet()`, relate issue #277
6 years ago
xuri
1c45425f12
resolve #276 , add OfficeOpenXML-XMLSchema-Strict mode support
6 years ago
xuri
204139739a
Merge branch 'master' into master
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
6ced438f39
New function `AddPictureFromBytes()` has been added, this resolve #259 and close #271 .
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
a3571ee39b
Bugfix: create worksheet cause file issue. Relate issue #249 .
7 years ago