xuri
4897276c68
Make fitToHeight tag omit empty
6 years ago
xuri
cff16fa811
- Supplemental worksheet struct fields and field order adjustment
...
- Testing case for set and get doc properties
- Update charts struct XML tags
6 years ago
xuri
72701e89c7
Fix structs fields definition errors and keep double quotes in data validation formula
6 years ago
kkxkkxkkgh
81948d9e1e
The function SetPageLayout support set paper size
6 years ago
xuri
fabd9d013f
README updated
6 years ago
Harris
faa7285a4f
Add support to flip outline summaries
...
This adds outlinePr support, with the summaryBelow attribute
which defaults to true.
Closes #304
Signed-off-by: Michael Harris
6 years ago
HcySunYang
4dbc78ce0a
resolve #273 new feature: protect sheet support
...
new feature: protect sheet support, relate issue #273
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
ba459dc659
DataValidation struct changed
...
Change `allowBlank`, `ShowErrorMessage` and `ShowInputMessage` type as boolean, add new field `ShowDropDown`, change fields orders follow as ECMA-376-1:2016 18.3.1.32.
6 years ago
rentiansheng
24a8d64f93
add datavalidation test and fixed struct bug issue #240
6 years ago
rentiansheng
0548852190
data validation funcation
7 years ago
Alex Whitney
db7a605cf8
Use min/mid/max value for 2 and 3 color scale conditional formatting
7 years ago
Ri Xu
2b97c3bb46
- Support to read inlineStr type cell value, relate issue #208 , PR #209 ;
...
- go test and godoc has been updated
7 years ago
Olivier Mengué
954612157b
Add {G,S}etSheetPrOptions()
...
Add SetSheetPrOptions and GetSheetPrOptions to allow to set options on
<sheetPr> and <pageSetUpPr>.
The following options are implemented:
- CodeName (string)
- EnableFormatConditionsCalculation (bool)
- Published (bool)
- FitToPage (bool)
- AutoPageBreaks (bool)
7 years ago
xuri
90998bfb4d
Merge pull request #149 from dolmen-go/feature/SheetView-options
...
Add SetSheetViewOptions()
7 years ago
Olivier Mengué
88e48e079a
Add SetSheetViewOptions and GetSheetViewOptions ( #145 )
...
Two new methods:
- SetSheetViewOptions(sheetName string, viewIndex int, opts ...SheetViewOption) error
- GetSheetViewOptions(sheetName string, viewIndex int, opts ...SheetViewOptionPtr) error
The option values are given by the user through types that have privates methods
that implement the private SheetViewOption and SheetViewOptionPtr interfaces:
- DefaultGridColor(bool)
- RightToLeft(bool)
- ShowFormulas(bool)
- ShowGridLines(bool)
- ShowRowColHeaders(bool)
Examples:
err := xl.SetSheetViewOptions("Sheet1", -1, excelize.ShowGridLines(true))
var showGridLines excelize.ShowGridLines
err := xl.GetSheetViewOptions("Sheet1", -1, &showGridLines)
Fixes #145 .
7 years ago
Ri Xu
96b3e1ea74
Bugfix: corrupted xlsx after write operation, relate issue #152 .
...
Signed-off-by: Ri Xu <xuri.me@gmail.com>
7 years ago
Ri Xu
5354074fc2
Update struct define to fix issue #112 .
7 years ago
Ri Xu
845e339755
Document updated.
8 years ago
Ri Xu
67636039f6
- Init conditional format support, relate issue #75 ;
...
- go test and godoc updated
8 years ago
Ri Xu
bbed2f6dc9
- Init create or remove panes support;
...
- go test updated
8 years ago
Ri Xu
4f942255e4
- Fix missing element in worksheet, workbook and styles. Related issue #81 ;
...
- Format code and update readme
8 years ago
Ri Xu
86466654e2
- Unify the index row number index of functions `SetRowHeight()` and `GetRowHeight()` relate issue #68 ;
...
- Unify the return value data type of functions `SetColWidth()` and `GetColWidth()`;
- go test updated
8 years ago
Ri Xu
c89d842352
Init auto filter support, relate issue #59 .
8 years ago
Ri Xu
fbc3d1cd01
- Worksheet conditional formatting support added, relate issue #56 ;
...
- gofmted with -s
8 years ago
Ri Xu
bee487c445
Leading space(s) character in cell value detection added. Related issue #32 .
8 years ago
Ri Xu
5384756d64
- Complete the element `sheetFormatPr` struct definition;
...
- Partial logic performance optimization, use pointer reference instead of a pass the variable value;
- Add comments for content types struct definition;
- Update go test `TestSetBorder` section
8 years ago
Ri Xu
1f73f08185
- New feature: border setting support (Related issue #21 );
...
- Function parameter code is simplified;
- Fix element `Tint` value parsing error in worksheet;
- Update go test
8 years ago
Ri Xu
48722e6482
Fix data validation property is missing after saved. Related issue issue #28 .
8 years ago
Ri Xu
52796f6e58
Format commants, break comments after 80 characters.
8 years ago
Ri Xu
f05df2a018
- New function `SetSheetName` and `SetColWidth` added, support rename sheet and set column width;
...
- Add escape characters of sheet name;
- Update go test and fix typo
8 years ago
Ri Xu
2497ccb876
Fix issue struct field `paperHeight` has xml tag but is not exported.
8 years ago
Ri Xu
9e8d36ce59
- Performance improvement, remove `replaceRelationshipsID` and `workBookCompatibility` functions;
...
- New functions `GetActiveSheetIndex`, `GetSheetName` and `GetSheetMap` added.
8 years ago
Ri Xu
f958f05a3b
- Fix issue: sheet protection and conditional formatting proprietary missing after save;
...
- Update workbook and sheet relationships and self-close tag replacement hack functions
8 years ago
Ri Xu
c5cc500b88
- Fix issue: pivot cache and extending spreadsheetML missing;
...
- Compatibility improved: relationship namespace in `workbook.xml` has been changed (`xmlns:mc`, `xmlns:x15` and `mc:Ignorable` added)
8 years ago
Ri Xu
b84bfa7eab
- Update maximum 31 characters allowed in sheet title;
...
- Fix issue XML tag `headerFooter` and `sheetPr` element self-close errors cause file corruption;
- Fix issue `Section` and `Pane` element order make file corruption in some case;
- Change sheet `rId` calculation method in `/xl/workbook.xml`, fix makes file corruption in some case;
- Compatibility improved: add `xlsxTabColor` struct and some XML element for worksheet
8 years ago
Ri Xu
a08c8eb1ae
- Fix issue comments missing after save;
...
- Update import PKG syntax in struct;
- Update test XLSX file (include table, charts, functions, comments and hyperlink on Sheet1)
8 years ago
Ri Xu
ddeed48fc1
- Fix issue background image and table missing after save;
...
- Update test template for this fix
8 years ago
Ri Xu
6e1475a242
Fix hyperlink missing after save issue and update completion row element logic to enhance compatibility.
8 years ago
Ri Xu
75abc628fe
Update godoc of package.
8 years ago
Ri Xu
d877d9f246
Fix zoom scale and page layout view setting of XLSX.
8 years ago
Ri Xu
9e0aca2223
Add custom height and zero height attributes in sheetFormatPr element.
8 years ago
Ri Xu
9c14741a6b
Fix missing show grid lines property and godoc updated.
8 years ago
Ri Xu
192af02a40
Format code with golint rules
9 years ago
Ri Xu
0e61ae7eda
1) Update readme file credits and go report badge added; 2) Remove use less function; 3) Update test file.
9 years ago
Ri Xu
a9d3ee2869
Init commit.
9 years ago