Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: qax-os/excelize
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.0
Choose a base ref
...
head repository: qax-os/excelize
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.3.0
Choose a head ref
Loading
Showing with 2,663 additions and 594 deletions.
  1. +2 −2 .travis.yml
  2. +6 −6 README.md
  3. +5 −3 adjust.go
  4. +668 −166 calc.go
  5. +111 −6 calc_test.go
  6. +5 −3 calcchain.go
  7. +58 −20 cell.go
  8. +20 −0 cell_test.go
  9. +8 −4 chart.go
  10. +113 −0 chart_test.go
  11. +189 −3 col.go
  12. +151 −0 col_test.go
  13. +7 −4 comment.go
  14. +5 −3 datavalidation.go
  15. +5 −3 date.go
  16. +5 −3 docProps.go
  17. +14 −6 drawing.go
  18. +5 −3 errors.go
  19. +38 −19 excelize.go
  20. +31 −22 excelize_test.go
  21. +9 −3 file.go
  22. +143 −33 lib.go
  23. +21 −1 lib_test.go
  24. +5 −3 merge.go
  25. +68 −14 picture.go
  26. +26 −0 picture_test.go
  27. +5 −3 pivotTable.go
  28. +46 −27 rows.go
  29. +2 −0 rows_test.go
  30. +6 −3 shape.go
  31. +41 −29 sheet.go
  32. +200 −5 sheetpr.go
  33. +160 −0 sheetpr_test.go
  34. +5 −3 sheetview.go
  35. +6 −4 sparkline.go
  36. +8 −6 stream.go
  37. +229 −39 styles.go
  38. +16 −3 styles_test.go
  39. +49 −23 table.go
  40. +7 −1 table_test.go
  41. +5 −3 templates.go
  42. +5 −3 vmlDrawing.go
  43. +5 −3 xmlApp.go
  44. +5 −3 xmlCalcChain.go
  45. +7 −3 xmlChart.go
  46. +5 −3 xmlComments.go
  47. +5 −3 xmlContentTypes.go
  48. +5 −3 xmlCore.go
  49. +5 −3 xmlDecodeDrawing.go
  50. +23 −7 xmlDrawing.go
  51. +11 −0 xmlPivotCache.go
  52. +5 −3 xmlPivotTable.go
  53. +12 −7 xmlSharedStrings.go
  54. +12 −17 xmlStyles.go
  55. +5 −3 xmlTable.go
  56. +8 −6 xmlTheme.go
  57. +9 −7 xmlWorkbook.go
  58. +33 −41 xmlWorksheet.go
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -19,8 +19,8 @@ env:
- GOARCH=386

script:
- go vet ./...
- go test ./... -v -coverprofile=coverage.txt -covermode=atomic
- env GO111MODULE=on go vet ./...
- env GO111MODULE=on go test ./... -v -coverprofile=coverage.txt -covermode=atomic

after_success:
- bash <(curl -s https://codecov.io/bash)
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -29,9 +29,9 @@ go get github.com/360EntSecGroup-Skylar/excelize
go get github.com/360EntSecGroup-Skylar/excelize/v2
```

### Create XLSX file
### Create spreadsheet

Here is a minimal example usage that will create XLSX file.
Here is a minimal example usage that will create spreadsheet file.

```go
package main
@@ -58,9 +58,9 @@ func main() {
}
```

### Reading XLSX file
### Reading spreadsheet

The following constitutes the bare to read a XLSX document.
The following constitutes the bare to read a spreadsheet document.

```go
package main
@@ -95,7 +95,7 @@ func main() {
}
```

### Add chart to XLSX file
### Add chart to spreadsheet file

With Excelize chart generation and management is as easy as a few lines of code. You can build charts based off data in your worksheet or generate charts without any data in your worksheet at all.

@@ -131,7 +131,7 @@ func main() {
}
```

### Add picture to XLSX file
### Add picture to spreadsheet file

```go
package main
8 changes: 5 additions & 3 deletions adjust.go
Original file line number Diff line number Diff line change
@@ -3,9 +3,11 @@
// the LICENSE file.
//
// Package excelize providing a set of functions that allow you to write to
// and read from XLSX files. Support reads and writes XLSX file generated by
// Microsoft Excel™ 2007 and later. Support save file without losing original
// charts of XLSX. This library needs Go version 1.10 or later.
// and read from XLSX / XLSM / XLTM files. Supports reading and writing
// spreadsheet documents generated by Microsoft Exce™ 2007 and later. Supports
// complex components by high compatibility, and provided streaming API for
// generating or reading data from a worksheet with huge amounts of data. This
// library needs Go version 1.10 or later.

package excelize

Loading