1. 28 12月, 2023 1 次提交
  2. 08 12月, 2023 1 次提交
  3. 07 12月, 2023 1 次提交
  4. 14 11月, 2023 1 次提交
  5. 13 11月, 2023 1 次提交
    • xurime's avatar
      Support 5 new kinds of conditional formatting types · 2499bf6b
      xurime 提交于
      - New conditional formatting types: text, blanks, no blanks, errors, and no errors
      - Support calculate formula with multiple dash arithmetic symbol
      - Fix empty calculate result with numeric arguments in LEN, LOWER, PROPER, REPT, UPPER, and IF formula functions
      - Uniform double quote in calculation unit tests
      - Update unit tests
      2499bf6b
  6. 10 11月, 2023 1 次提交
  7. 03 11月, 2023 1 次提交
    • xurime's avatar
      This closes #1706 and closes #1708 · 4e936daf
      xurime 提交于
      - Add export ChartLineType enumeration to specify the chart line type
      - Add new Border field in the Chart type to set the chart area border
      - Add new Type field in the ChartLine type to set the line type
      - Fix some format missing on get style definition
      - Update the unit tests
      4e936daf
  8. 20 10月, 2023 1 次提交
  9. 17 10月, 2023 1 次提交
  10. 11 10月, 2023 1 次提交
    • xurime's avatar
      This closes #1687 and closes #1688 · d9a0da7b
      xurime 提交于
      - Using sync map internally to get cell value concurrency safe
      - Support set the height and width for the comment box
      - Update the unit test
      d9a0da7b
  11. 02 10月, 2023 1 次提交
  12. 27 9月, 2023 1 次提交
  13. 21 9月, 2023 1 次提交
    • xurime's avatar
      This fix #1665, supports getting formula string cell value · 9c079e5e
      xurime 提交于
      - Improve compatibility for absolute path drawing part
      - Fix incorrect table ID generated in the workbook which contains single table cells
      - Fix missing relationship parts in the content types in some cases
      - Upgrade number format parser to fix missing literal tokens in some cases
      - Update built-in zh-cn and zh-tw language number format
      - Ref #65, init new formula function: TEXT
      - Remove duplicate style-related variables
      - Update the unit tests
      9c079e5e
  14. 16 9月, 2023 1 次提交
    • xurime's avatar
      Introduce the new exported function `AddSlicer` for adding table slicer · e3b7dad6
      xurime 提交于
      - Fix a v2.8.0 regression bug, generate workbook corruption caused by incorrect MRU colors style parts
      - Fix corrupted workbooks generated when adding tables in some cases
      - Added several exported extension list child element URI constants
      - Move part of the internal constant and variables definition to the template source code file
      - Updated unit tests
      e3b7dad6
  15. 08 9月, 2023 1 次提交
    • xurime's avatar
      This fixes #1643, fixes #1647 and fixes #1653 · ae64bcaa
      xurime 提交于
      - Correction cell type when formatting date type cell value
      - Add check for MID and MIDB formula functions num_chars arguments, prevent panic on specifying a negative number
      - Ref #65, add support for 2 formula functions: SEARCH and SEARCHB
      - Fix a v2.8.0 regression bug, error on set print area and print titles with built-in special defined name
      - Add new exported function `GetPivotTables` for get pivot tables
      - Add a new `Name` field in the `PivotTableOptions` to support specify pivot table name
      - Using relative cell reference in the pivot table docs and unit tests
      - Support adding slicer content type part internally
      - Add new exported source relationship and namespace `NameSpaceSpreadSheetXR10`, `ContentTypeSlicer`, `ContentTypeSlicerCache`, and `SourceRelationshipSlicer`
      - Add new exported extended URI `ExtURIPivotCacheDefinition`
      - Fix formula argument wildcard match issues
      - Update GitHub Actions configuration, test on Go 1.21.x with 1.21.1 and later
      - Avoid corrupted workbooks generated by improving compatibility with internally indexed color styles
      ae64bcaa
  16. 28 8月, 2023 1 次提交
  17. 24 8月, 2023 1 次提交
  18. 17 8月, 2023 1 次提交
  19. 08 7月, 2023 1 次提交
    • xurime's avatar
      This closes #1572 · 8418bd7a
      xurime 提交于
      - Breaking changes: changed the data type for the `DecimalPlaces` to pointer of integer
      - Fallback to default 2 zero placeholder for invalid decimal places
      - Update unit tests
      8418bd7a
  20. 30 5月, 2023 1 次提交
  21. 16 5月, 2023 1 次提交
  22. 11 5月, 2023 1 次提交
    • xurime's avatar
      Ref #1199, this support applies partial built-in language number format code · 49234fb9
      xurime 提交于
      - Remove the `Lang` field in the `Style` data type
      - Rename field name `ShortDateFmtCode` to `ShortDatePattern` in the `Options` data type
      - Rename field name `LongDateFmtCode` to `LongDatePattern` in the `Options` data type
      - Rename field name `LongTimeFmtCode` to `LongTimePattern` in the `Options` data type
      - Apply built-in language number format code number when creating a new style
      - Checking and returning error if the date and time pattern was invalid
      - Add new `Options` field `CultureInfo` and new exported data type `CultureName`
      - Add new culture name types enumeration for country code
      - Update unit tests
      - Move built-in number format code and currency number format code definition source code
      - Remove the built-in language number format code mapping with Unicode values
      - Fix incorrect number formatted result for date and time with 12 hours at AM
      49234fb9
  23. 04 5月, 2023 1 次提交
  24. 30 4月, 2023 1 次提交
  25. 25 4月, 2023 1 次提交
    • xurime's avatar
      This closes #1528, closes #1533 · 612f6f10
      xurime 提交于
      - Avoid format text cell value as a numeric
      - Fix race conditions for concurrency safety functions
      612f6f10
  26. 24 4月, 2023 1 次提交
  27. 19 4月, 2023 1 次提交
  28. 14 3月, 2023 1 次提交
  29. 27 2月, 2023 1 次提交
  30. 22 2月, 2023 1 次提交
  31. 08 2月, 2023 1 次提交
  32. 07 2月, 2023 1 次提交
    • xurime's avatar
      This closes #1462 and closes #1464 · 3e240609
      xurime 提交于
      - Support creating a conditional format with a "stop if true" rule
      - Support set border color and create solid color for the color data bar
      - Fix incorrect cell type when modifying string cell with the time number
      - Update unit test for the add pivot table to avoid pivot table range overlap
      3e240609
  33. 05 2月, 2023 1 次提交
  34. 03 2月, 2023 1 次提交
  35. 01 2月, 2023 1 次提交
  36. 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
  37. 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
  38. 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
  39. 13 11月, 2022 1 次提交
  40. 12 11月, 2022 1 次提交