1. 08 1月, 2023 1 次提交
  2. 02 1月, 2023 1 次提交
    • xurime's avatar
      This fixed worksheet protection issue · b39626fa
      xurime 提交于
      - Update example code in the documentation
      - Update unit tests
      - Rename `PictureOptions` to `GraphicOptions`
      - Adjust partial options fields data types for the `PictureOptions` and `Shape` structure
      - Update dependencies module
      b39626fa
  3. 30 12月, 2022 1 次提交
    • xurime's avatar
      Breaking change: changed the function signature for 11 exported functions · f58dabd4
      xurime 提交于
      * Change
          `func (f *File) NewConditionalStyle(style string) (int, error)`
          to
          `func (f *File) NewConditionalStyle(style *Style) (int, error)`
      * Change
          `func (f *File) NewStyle(style interface{}) (int, error)`
           to
          `func (f *File) NewStyle(style *Style) (int, error)`
      * Change
          `func (f *File) AddChart(sheet, cell, opts string, combo ...string) error`
           to
          `func (f *File) AddChart(sheet, cell string, chart *ChartOptions, combo ...*ChartOptions) error`
      * Change
          `func (f *File) AddChartSheet(sheet, opts string, combo ...string) error`
           to
          `func (f *File) AddChartSheet(sheet string, chart *ChartOptions, combo ...*ChartOptions) error`
      * Change
          `func (f *File) AddShape(sheet, cell, opts string) error`
           to
          `func (f *File) AddShape(sheet, cell string, opts *Shape) error`
      * Change
          `func (f *File) AddPictureFromBytes(sheet, cell, opts, name, extension string, file []byte) error`
           to
          `func (f *File) AddPictureFromBytes(sheet, cell, name, extension string, file []byte, opts *PictureOptions) error`
      * Change
          `func (f *File) AddTable(sheet, hCell, vCell, opts string) error`
           to
          `func (f *File) AddTable(sheet, reference string, opts *TableOptions) error`
      * Change
          `func (sw *StreamWriter) AddTable(hCell, vCell, opts string) error`
           to
          `func (sw *StreamWriter) AddTable(reference string, opts *TableOptions) error`
      * Change
          `func (f *File) AutoFilter(sheet, hCell, vCell, opts string) error`
           to
          `func (f *File) AutoFilter(sheet, reference string, opts *AutoFilterOptions) error`
      * Change
          `func (f *File) SetPanes(sheet, panes string) error`
           to
          `func (f *File) SetPanes(sheet string, panes *Panes) error`
      * Change
          `func (sw *StreamWriter) AddTable(hCell, vCell, opts string) error`
           to
          `func (sw *StreamWriter) AddTable(reference string, opts *TableOptions) error`
      * Change
          `func (f *File) SetConditionalFormat(sheet, reference, opts string) error`
           to
          `func (f *File) SetConditionalFormat(sheet, reference string, opts []ConditionalFormatOptions) error`
      * Add exported types:
        * AutoFilterListOptions
        * AutoFilterOptions
        * Chart
        * ChartAxis
        * ChartDimension
        * ChartLegend
        * ChartLine
        * ChartMarker
        * ChartPlotArea
        * ChartSeries
        * ChartTitle
        * ConditionalFormatOptions
        * PaneOptions
        * Panes
        * PictureOptions
        * Shape
        * ShapeColor
        * ShapeLine
        * ShapeParagraph
        * TableOptions
      * This added support for set sheet visible as very hidden
      * Return error when missing required parameters for set defined name
      * Update unit test and comments
      f58dabd4
  4. 23 12月, 2022 1 次提交
    • guoweikuang's avatar
      This closes #1425, breaking changes for sheet name (#1426) · 6a5ee811
      guoweikuang 提交于
      - Checking and return error for invalid sheet name instead of trim invalid characters
      - Add error return for the 4 functions: `DeleteSheet`, `GetSheetIndex`, `GetSheetVisible` and `SetSheetName`
      - Export new error 4 constants: `ErrSheetNameBlank`, `ErrSheetNameInvalid`, `ErrSheetNameLength` and `ErrSheetNameSingleQuote`
      - Rename exported error constant `ErrExistsWorksheet` to `ErrExistsSheet`
      - Update unit tests for 90 functions: `AddChart`,  `AddChartSheet`, `AddComment`, `AddDataValidation`, `AddPicture`, `AddPictureFromBytes`, `AddPivotTable`, `AddShape`, `AddSparkline`, `AddTable`, `AutoFilter`, `CalcCellValue`, `Cols`, `DeleteChart`, `DeleteComment`, `DeleteDataValidation`, `DeletePicture`, `DeleteSheet`, `DuplicateRow`, `DuplicateRowTo`, `GetCellFormula`, `GetCellHyperLink`, `GetCellRichText`, `GetCellStyle`, `GetCellType`, `GetCellValue`, `GetColOutlineLevel`, `GetCols`, `GetColStyle`, `GetColVisible`, `GetColWidth`, `GetConditionalFormats`, `GetDataValidations`, `GetMergeCells`, `GetPageLayout`, `GetPageMargins`, `GetPicture`, `GetRowHeight`, `GetRowOutlineLevel`, `GetRows`, `GetRowVisible`, `GetSheetIndex`, `GetSheetProps`, `GetSheetVisible`, `GroupSheets`, `InsertCol`, `InsertPageBreak`, `InsertRows`, `MergeCell`, `NewSheet`, `NewStreamWriter`, `ProtectSheet`, `RemoveCol`, `RemovePageBreak`, `RemoveRow`, `Rows`, `SearchSheet`, `SetCellBool`, `SetCellDefault`, `SetCellFloat`, `SetCellFormula`, `SetCellHyperLink`, `SetCellInt`, `SetCellRichText`, `SetCellStr`, `SetCellStyle`, `SetCellValue`, `SetColOutlineLevel`, `SetColStyle`, `SetColVisible`, `SetColWidth`, `SetConditionalFormat`, `SetHeaderFooter`, `SetPageLayout`, `SetPageMargins`, `SetPanes`, `SetRowHeight`, `SetRowOutlineLevel`, `SetRowStyle`, `SetRowVisible`, `SetSheetBackground`, `SetSheetBackgroundFromBytes`, `SetSheetCol`, `SetSheetName`, `SetSheetProps`, `SetSheetRow`, `SetSheetVisible`, `UnmergeCell`, `UnprotectSheet` and
      `UnsetConditionalFormat`
      - Update documentation of the set style functions
      Co-authored-by: Nguoweikuang <weikuang.guo@shopee.com>
      6a5ee811
  5. 22 11月, 2022 1 次提交
  6. 28 10月, 2022 1 次提交
    • xurime's avatar
      Fix the error on getting the range of merged cells on the worksheet which... · a410b22b
      xurime 提交于
      Fix the error on getting the range of merged cells on the worksheet which contains one cell merged cell range
      
      - Parse workbook default theme for custom theme color support in the feature
      - Variables name typo fix
      - Add system foreground and background color as RGB in the IndexedColorMapping list
      a410b22b
  7. 24 10月, 2022 1 次提交
    • xurime's avatar
      Support get cell value which contains a date in the ISO 8601 format · 14c6a198
      xurime 提交于
      - Support set and get font color with indexed color
      - New export variable `IndexedColorMapping`
      - Fix getting incorrect page margin settings when the margin is 0
      - Update unit tests and comments typo fixes
      - ref #65, new formula functions: AGGREGATE and SUBTOTAL
      14c6a198
  8. 21 10月, 2022 1 次提交
  9. 08 10月, 2022 1 次提交
  10. 28 9月, 2022 1 次提交
    • xurime's avatar
      This closes #1360, closes #1361 · efcf599d
      xurime 提交于
      - Fix default number format parse issue with a long string of digits
      - Fix creating a sheet with an empty name cause a corrupted file
      - The `GetCellStyle` function no longer return master cell style of the merge cell range
      - Using the specialized name in variables and functions
      efcf599d
  11. 18 9月, 2022 1 次提交
  12. 01 9月, 2022 1 次提交
  13. 17 8月, 2022 1 次提交
  14. 13 8月, 2022 1 次提交
  15. 14 7月, 2022 1 次提交
  16. 10 7月, 2022 1 次提交
  17. 03 7月, 2022 1 次提交
  18. 02 7月, 2022 1 次提交
  19. 01 7月, 2022 1 次提交
  20. 28 6月, 2022 1 次提交
  21. 27 6月, 2022 1 次提交
  22. 24 6月, 2022 1 次提交
  23. 22 6月, 2022 1 次提交
  24. 20 6月, 2022 1 次提交
  25. 17 6月, 2022 1 次提交
  26. 16 6月, 2022 1 次提交
  27. 14 6月, 2022 1 次提交
  28. 13 6月, 2022 1 次提交
  29. 12 6月, 2022 1 次提交
  30. 11 6月, 2022 1 次提交
  31. 10 6月, 2022 1 次提交
  32. 09 6月, 2022 1 次提交
  33. 26 5月, 2022 1 次提交
  34. 23 5月, 2022 1 次提交
  35. 18 5月, 2022 1 次提交
  36. 24 4月, 2022 1 次提交
  37. 20 4月, 2022 1 次提交
  38. 17 4月, 2022 1 次提交
  39. 16 4月, 2022 1 次提交
  40. 15 4月, 2022 1 次提交