1. 13 8月, 2021 1 次提交
  2. 06 8月, 2021 1 次提交
  3. 10 7月, 2021 1 次提交
  4. 10 5月, 2021 1 次提交
  5. 04 4月, 2021 1 次提交
  6. 30 3月, 2021 1 次提交
  7. 02 2月, 2021 1 次提交
    • xurime's avatar
      This closes #774, closes #775 and closes #776 · 1f329e8f
      xurime 提交于
      - correct adjust calculation chain in duplicate rows
      - correct adjust defined name in the workbook when delete worksheet
      - use absolute reference in the auto filters defined name to make it compatible with OpenOffice
      - API `CoordinatesToCellName` have a new optional param to specify if using an absolute reference format
      - Fix cyclomatic complexity issue of internal function `newFills` and `parseToken`
      1f329e8f
  8. 11 11月, 2020 1 次提交
  9. 14 8月, 2020 1 次提交
  10. 22 6月, 2020 1 次提交
  11. 05 4月, 2020 1 次提交
  12. 29 12月, 2019 2 次提交
    • xurime's avatar
      Improve code coverage unit tests · 09485b3f
      xurime 提交于
      09485b3f
    • C
      Stream to Excel table (#530) · 5c87effc
      Cameron Howey 提交于
      * Support all datatypes for StreamWriter
      
      * Support setting styles with StreamWriter
      
      **NOTE:** This is a breaking change. Values are now explicitly
      passed as a []interface{} for simplicity. We also let styles to be
      set at the same time.
      
      * Create function to write stream into a table
      
      * Write rows directly to buffer
      
      Avoiding the xml.Encoder makes the streamer faster and use less
      memory.
      
      Using the included benchmark, the results went from:
      
      > BenchmarkStreamWriter-4   514  2576155 ns/op  454918 B/op  6592 allocs/op
      
      down to:
      
      > BenchmarkStreamWriter-4  1614   777480 ns/op  147608 B/op  5570 allocs/op
      
      * Use AddTable instead of SetTable
      
      This requires reading the cells after they have been written,
      which requires additional structure for the temp file.
      
      As a bonus, we now efficiently allocate only one buffer when
      reading the file back into memory, using the same approach
      as ioutil.ReadFile.
      
      * Use an exported Cell type to handle inline styles for StreamWriter
      5c87effc
  13. 23 12月, 2019 1 次提交
  14. 14 12月, 2019 1 次提交
  15. 11 8月, 2019 1 次提交
  16. 03 8月, 2019 1 次提交
  17. 20 7月, 2019 1 次提交
  18. 12 6月, 2019 1 次提交
  19. 08 6月, 2019 1 次提交
  20. 15 4月, 2019 1 次提交
    • xurime's avatar
      Resolve #369,#370 · f2df3447
      xurime 提交于
      add error return value
      
      exported functions:
      
      GetMergeCells
      ProtectSheet
      UnprotectSheet
      UpdateLinkedValue
      GetMergeCells
      SetSheetVisible
      
      inner functions:
      
      workSheetReader
      copySheet
      f2df3447
  21. 23 3月, 2019 1 次提交
    • xurime's avatar
      refactor: handler error instead of panic, · 40ff5dc1
      xurime 提交于
      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
      40ff5dc1
  22. 20 3月, 2019 2 次提交
    • xurime's avatar
      Typo fixed and godoc updated · beff7b4f
      xurime 提交于
      beff7b4f
    • V
      Huge refactorig for consistent col/row numbering (#356) · dc012645
      Veniamin Albaev 提交于
      * 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
      dc012645