Commit Graph

1716 Commits (master)

Author SHA1 Message Date
Darrell Wright 4da810eaef
Missing include in number_formatter.cpp
Limits isn't being transitively included on gcc 11.2.0/ubuntu.  Added as it produces an error
2022-03-18 18:46:27 -04:00
Thomas Fussell d88c901faa
Merge pull request #608 from imgspc/iter_has_value
Add has_value to cell_iterator
2022-01-09 17:42:00 -05:00
Thomas Fussell 0246c7bece
Merge pull request #607 from doomlaur/bugfix/windows_utf16_paths
Paths on Windows are now correctly converted from UTF-8 to UTF-16
2022-01-09 17:41:18 -05:00
Thomas Fussell 69f651e3a1
Merge pull request #601 from doomlaur/bugfix/system_default_date_time
Added support for the System Default locale for the Time and Long Date types
2022-01-09 17:39:04 -05:00
Thomas Fussell 09dd4797b4
Merge pull request #600 from doomlaur/bugfix/streaming_reader_clean_cell_state
The streaming cell now always begins with a clean state when using the xlnt::streaming_workbook_reader
2022-01-09 17:37:18 -05:00
Thomas Fussell 0193ae7b37
Merge pull request #584 from wuganhao/feature/print-settings
Fix - Print Settings (Page Size, margins, etc) not saved when loading a file and save it.
2022-01-09 17:35:32 -05:00
Thomas Fussell 7e90dad59c
Merge branch 'master' into feature/print-settings 2022-01-09 16:43:16 -05:00
Félix Bourbonnais 5ff980854a
Merge branch 'master' into iter_has_value 2021-12-09 14:13:21 -05:00
Laurențiu Leahu-Vlăducu 732cbe05b5
Merge branch 'master' into bugfix/windows_utf16_paths 2021-12-09 16:49:46 +01:00
Laurențiu Leahu-Vlăducu 8c584321a5
Paths on Windows are now correctly converted from UTF-8 to UTF-16 instead of UCS-2. This fixes issues with file paths that use 2 wchar_t characters / 4 bytes, also called surrogate pairs. Modified the unit tests to test this case. 2021-12-09 16:42:18 +01:00
Félix Bourbonnais 28f7e6fa69 Add has_value to cell_iterator
When iterating over a range that doesn't ignore null rows/columns,
the operator*() throws when dereferencing an iterator to a null cell.
Add has_value() to cell_iterator to be able to make a check without
relying on exceptions.
And add a test case.
2021-12-08 15:49:14 -05:00
Thomas Fussell 0cc90971b0
Merge pull request #604 from daixtrose/patch-1
add c++ code syntax highlighting
2021-12-06 16:18:26 -06:00
Markus Werle 919d341fb9
add c++ code rendering to markdwon text 2021-12-06 21:30:07 +01:00
Laurențiu Leahu-Vlăducu 2f2e0a37a4
Adapted the format_locale enum to include the System Default locale for the Date and Time types. 2021-12-01 23:34:20 +01:00
Laurențiu Leahu-Vlăducu 147307c90b
Added support for the System Default locale for the Time and Long Date types in Excel, as explained here: https://bz.apache.org/ooo/show_bug.cgi?id=70003
This fixes issues with some locales where "system default" is the default setting for times and dates. This happens, for example, when using German (Austria) as a locale in Windows, or when setting it manually in Excel.
2021-12-01 19:58:25 +01:00
Laurențiu Leahu-Vlăducu f6f4adca7d
Fixed a bug when using the xlnt::streaming_workbook_reader where a streaming cell could still contain information from the previously streamed cell. This could happen if the new cell did not contain information that could override the information of the previous cell, e.g. when the cell in XML only contained something like <c r="H4"/>, so the streamed cell still contained the type and the string/value of the previously streamed cell. 2021-12-01 14:09:37 +01:00
Wu, Ganhao c9d896c816 Fix character set error when compiling under non-English Windows. 2021-09-04 02:15:55 +08:00
Wu, Ganhao b81d76a223 Fix test case - page size now optional. 2021-09-04 02:15:19 +08:00
Wu, Ganhao 1be73c40f8 Fix character set error when compiling under non-English Windows. 2021-09-04 01:18:38 +08:00
Wu, Ganhao 5946eec32e Fix - Print Settings (Page Size, margins, etc) not saved when loading a file and save it. 2021-08-29 02:56:57 +08:00
Thomas Fussell 3a279fcaab
Merge pull request #580 from pomer/master
LibreOffice color names support
2021-08-22 09:04:11 -04:00
Thomas Fussell 94d784f68e
Merge pull request #575 from LorenDB/patch-1
Add shell description of AUR package
2021-08-22 09:03:06 -04:00
Thomas Fussell a736834902
Merge branch 'master' into patch-1 2021-08-22 09:01:00 -04:00
Thomas Fussell 10ff20c943 Merge branch 'imgspc-Issue484/fix-calculate-dimension-when-not-skipping-nulls' 2021-08-22 08:59:57 -04:00
Thomas Fussell 50a792a01a Merge branch 'Issue484/fix-calculate-dimension-when-not-skipping-nulls' of https://github.com/imgspc/xlnt into imgspc-Issue484/fix-calculate-dimension-when-not-skipping-nulls 2021-08-22 08:59:05 -04:00
Thomas Fussell bb7bc8c01d
Merge pull request #539 from sphawk/master
Minimum support for xlsm
2021-08-22 08:49:33 -04:00
Thomas Fussell 04b6b97577
Merge branch 'master' into master 2021-08-22 08:41:01 -04:00
Thomas Fussell febb4c6043
Merge pull request #582 from tfussell/maintenance
General maintenance
2021-08-22 08:36:50 -04:00
Thomas Fussell 04ebd7ef9d fix warnings, bump copyright, fix typo, update npm libs 2021-08-22 08:23:18 -04:00
Vladimir S. Yakovlev 99372e3f11 LibreOffice color names support 2021-08-17 00:46:39 +03:00
Loren Burkholder 5d89cf32c9
Add shell description of AUR package
Seems like this should at least be documented...
2021-07-19 16:52:34 -04:00
Sewon Park c160db4ef6
Merge branch 'master' into master 2021-06-24 15:45:51 +09:00
vkovec 4294e31253 include first empty rows and columns in range if skip_null false 2021-04-16 11:44:13 -04:00
Thomas Fussell 20f3dac28b reenable tests 2021-02-23 19:36:07 -04:00
Thomas Fussell 74fc642676 work on strikethrough for #530 2021-02-21 16:52:03 -04:00
Thomas Fussell 7f51eed107 os-independent weekday calculation 2021-02-21 08:18:26 -04:00
Thomas Fussell 70eb0d4e66 undef min and max, fixes #545 2021-02-21 08:00:10 -04:00
Thomas Fussell 65252b3a7d appveyor too 2021-02-20 22:43:57 -04:00
Thomas Fussell 705827c88e fix syntax 2021-02-20 22:34:24 -04:00
Thomas Fussell d0844421e5 checkout submodules in circleci 2021-02-20 22:33:30 -04:00
Thomas Fussell 60b2d9cfd1 ignore nullptr warning in libstudxml, update to latest beta 9, and switch to submodule 2021-02-20 22:29:59 -04:00
Thomas Fussell e15e47590c remove libstudxml 2021-02-20 18:34:53 -04:00
Sewon Park 7f44dc2274 minimum support for xlsm 2021-01-21 21:45:24 +09:00
Thomas Fussell e66e417b0c
Merge pull request #525 from kbelyaev/memory_leaks_fix
Memory leaks fix
2021-01-03 19:44:46 -05:00
Thomas Fussell f0da7f61bb
Merge branch 'master' into memory_leaks_fix 2021-01-03 19:31:11 -05:00
Thomas Fussell 7fca8fc9b9
Merge pull request #537 from tfussell/warning-and-memory
Fix compiler warnings and some valgrind problems
2021-01-03 19:30:38 -05:00
Thomas Fussell 6987c1f233 add constructor 2021-01-03 19:04:41 -05:00
Thomas Fussell a8b631bcbb replace enable_if_t 2021-01-03 18:42:56 -05:00
Thomas Fussell c007dafe33 add include 2021-01-03 18:26:48 -05:00
Thomas Fussell 1868128dda
Merge branch 'master' into memory_leaks_fix 2021-01-03 12:22:12 -05:00