1. 29 12月, 2019 1 次提交
  2. 24 12月, 2019 1 次提交
  3. 23 12月, 2019 1 次提交
  4. 22 12月, 2019 1 次提交
  5. 14 12月, 2019 1 次提交
  6. 26 10月, 2019 1 次提交
  7. 24 10月, 2019 1 次提交
  8. 23 9月, 2019 1 次提交
  9. 22 9月, 2019 1 次提交
    • C
      Allow access to more formula attributes in SetCellFormula (#484) · 3280e1b6
      Christian Fiedler 提交于
      * Allow access to more formula attributes in SetCellFormula
      
      Make SetCellFormula variadic to not break API.
      The new arguments are option arguments in which the type of
      the formula and the ref attribute may be set.
      These need to be set for an array formula to work.
      
      * Add TestWriteArrayFormula to test optional parameters of SetCellFormula
      
      TestWriteArrayFormula writes a document to the test directory that
      contains array formulas that are used to calculate standard deviations.
      The file also contains values calculated by the Go testcase, so the
      results can be verified. It should be tested, if the array formula
      works (i.e. shows a number, not an error) and that the values calculated
      by the formula and those calculated by Go are the same.
      3280e1b6
  10. 21 8月, 2019 1 次提交
  11. 09 8月, 2019 1 次提交
    • H
      Handle multi row inline strings · acd76425
      Harris 提交于
      The inline string struct is actually the same
      as the shared strings struct, reuse it.
      
      Note that Go version 1.10 is required.
      
      Fixes #462
      acd76425
  12. 07 8月, 2019 1 次提交
    • H
      Further improve read performance · e07581e9
      Harris 提交于
      Instead of re-encoding the full sheet to change the namespaces
      in the encoded bytes, read the sheet again and do the byte
      replacements there.
      
      In this case, file access ends up being more performant than
      marshaling the sheet back to XML.
      
      In the SharedStrings test, ensure the strings are actually read.
      
      Fix #439
      e07581e9
  13. 21 7月, 2019 1 次提交
  14. 27 6月, 2019 1 次提交
  15. 18 6月, 2019 1 次提交
  16. 09 6月, 2019 1 次提交
  17. 05 6月, 2019 1 次提交
  18. 16 5月, 2019 1 次提交
  19. 05 5月, 2019 1 次提交
  20. 02 5月, 2019 1 次提交
  21. 21 4月, 2019 1 次提交
  22. 16 4月, 2019 1 次提交
  23. 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
  24. 24 3月, 2019 1 次提交
  25. 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
  26. 20 3月, 2019 2 次提交
    • xurime's avatar
      resolve #360, fix axis parse issue when add / get pictures; · 40ea8eb0
      xurime 提交于
      typo fixed and go test updated
      40ea8eb0
    • 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
  27. 07 3月, 2019 1 次提交
  28. 06 3月, 2019 1 次提交
    • V
      Implement consistent row addressing by Excel row number starting with 1 (#350) · 12c1e248
      Veniamin Albaev 提交于
      * Implement consistent row addressing by Excel row number starting with 1
      
      1. Added second versions for all row manipulation methods with zero-based row addressing.
      2. Fixed methods documentation to explicitly describe which row addressing used in method.
      3. Added WARNING to README.md.
      4. Cosmetic change: All row test moved to file `rows_test.go`.
      
      * TravisCI: go1.12 added to tests matrix
      
      * BACKWARD INCOMPARTIBLE: Use only Excel numbering logic from 1 row
      
      * README updated
      12c1e248
  29. 25 2月, 2019 1 次提交
  30. 22 2月, 2019 1 次提交
  31. 02 2月, 2019 1 次提交
    • O
      Faster TitleToNumber (#343) · e780e41e
      Olivier Mengué 提交于
      * TestTitleToNumber: more test cases
      
      * TitleToNumber: drop use of math.Pow()
      
      Compute using pure integers
      
      * TitleToNumber: simplify
      
      Remove unecessary casts to int
      e780e41e
  32. 10 1月, 2019 1 次提交
    • V
      New feature: File.DuplicateRowTo() duplicate row to specified row position. · 725c1a0c
      Veniamin Albaev 提交于
      DuplicateRowTo() is similar to DuplicateRow() but copies specified row not just after specified source row
      but to any other specified position below or above source row.
      
      Also I made minor modifications of tests: using filepath.Join() instead of direct unix-way paths strings
      to avoid possible tests fails on other OS.
      725c1a0c
  33. 01 1月, 2019 1 次提交
  34. 27 12月, 2018 1 次提交
    • V
      Tests refactoring · 35426ed5
      Veniamin Albaev 提交于
      Primary motivation: Avoid statefull tests with not ignorable git file tree changes.
      Multiple tests reads and overwrites signle file for won needs.
      Multiple tests reads and overwrites file under version control.
      
      Secondary motivation: Minimal tests logic aligment, separate error expectation
      and not error expectation tests. Introduce sub-test over test data sets and so far.
      
      This commit is not ideal but necessary (IMHO)
      35426ed5
  35. 26 12月, 2018 3 次提交
  36. 23 12月, 2018 1 次提交
  37. 19 12月, 2018 1 次提交