Thomas Fussell
1cd5357ddb
Merge pull request #657 from Teebonne/patch-2
...
Fixes float warnings
2022-10-09 09:30:59 -05:00
Thomas Fussell
d62b267448
Merge pull request #655 from musshorn/active_sheet
...
Added the ability to set the active sheet
2022-10-09 09:27:09 -05:00
Thomas Fussell
b96d986010
Merge pull request #654 from musshorn/master
...
Update documentation to make building from source clearer
2022-10-09 09:24:15 -05:00
Teebonne
2137a7a243
Fixes float warnings
...
Fixes warning C4305: 'initializing': truncation from 'double' to 'float'
Fixes warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
2022-08-29 22:17:42 +01:00
snippet
c21014c0fd
Added the ability to set the active sheet
...
Closes #653
2022-08-29 18:30:48 +10:00
snippet
1faa8b4990
Removed zip download, they don't work with submodules. Added vcpkg command
2022-08-24 08:25:38 +10:00
Thomas Fussell
fbae8cd6c1
Merge pull request #652 from tfussell/fix-merge-cell-count
...
Ignore merge cell count
2022-08-21 20:58:40 -05:00
Thomas Fussell
4c79627553
ignore merge cell count
2022-08-21 20:42:45 -05:00
Thomas Fussell
5620e5be7a
Merge pull request #651 from tfussell/fix-range-iterator-decrement
...
Fix bug in decrement method of range_iterator for column-major order
2022-08-21 20:39:49 -05:00
Thomas Fussell
d45e831f47
fix copy-and-paste bug
2022-08-21 11:18:20 -05:00
Thomas Fussell
c689943a63
Merge pull request #650 from tfussell/defined-names
...
Implement defined names
2022-08-21 11:09:55 -05:00
Thomas Fussell
a52bcd5fef
implement defined names
2022-08-21 10:57:02 -05:00
Thomas Fussell
f1107a5b0f
Merge pull request #649 from tfussell/fix-cell-reference-hash
...
Import functional in cell_reference.hpp to fix build
2022-08-13 15:21:48 -05:00
Thomas Fussell
8a5f208b3a
fix cell_reference hash import
2022-08-13 15:07:31 -05:00
Thomas Fussell
1945691bb6
Merge pull request #647 from tfussell/shared-array-formulas
...
Implement shared and array formulas
2022-08-13 13:38:01 -05:00
Thomas Fussell
bf92dd7640
implement shared and array formulas
2022-08-13 13:20:25 -05:00
Thomas Fussell
69a20f3627
Merge pull request #646 from tfussell/fix-unhandled-values-in-switch
...
Fix unhandled enumeration values in switch statement
2022-08-13 09:15:17 -05:00
Thomas Fussell
5c2fdff70f
fix unhandled enumeration values in switch statement
2022-08-13 08:52:32 -05:00
Thomas Fussell
538f80794c
Merge pull request #635 from Blakjak88/master
...
fix writing of missing showGridLines attribute to xlsx file
2022-08-07 14:12:15 -05:00
Blakjak88
6b5755af30
Update xlsx_producer.cpp
...
show_grid_lines() is default enabled in Excel so attribute should only be written when it is set to false.
Added 'if-statement' to check for 'false' before writing attribute.
2022-08-07 11:11:15 +08:00
Thomas Fussell
f3bbaa3eeb
Merge pull request #628 from softvise/softvise/patches
...
Fix format::number_format
2022-08-06 13:53:08 -05:00
Thomas Fussell
ef4dec6ebc
Merge pull request #617 from beached/patch-1
...
Missing include in number_formatter.cpp
2022-08-06 12:13:04 -05:00
Thomas Fussell
80cdf8ff46
Merge branch 'master' into patch-1
2022-08-06 12:11:05 -05:00
Thomas Fussell
8b0cd6a935
Merge pull request #618 from tfussell/dependabot/npm_and_yarn/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6
2022-08-06 12:10:16 -05:00
Thomas Fussell
c70abb76d3
Merge branch 'master' into dependabot/npm_and_yarn/minimist-1.2.6
2022-08-06 12:10:07 -05:00
Thomas Fussell
93a46a867d
Merge pull request #634 from tfussell/dependabot/npm_and_yarn/node-fetch-2.6.7
...
Bump node-fetch from 2.6.1 to 2.6.7
2022-08-06 12:09:56 -05:00
dependabot[bot]
772cd8e9d2
Bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-06 17:05:20 +00:00
dependabot[bot]
baa41b9722
Bump node-fetch from 2.6.1 to 2.6.7
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-06 17:05:19 +00:00
Thomas Fussell
fea07a81d3
Merge pull request #645 from tfussell/dependabot/npm_and_yarn/ansi-regex-4.1.1
...
Bump ansi-regex from 4.1.0 to 4.1.1
2022-08-06 12:04:31 -05:00
dependabot[bot]
d35868d70f
Bump ansi-regex from 4.1.0 to 4.1.1
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-06 16:39:27 +00:00
Thomas Fussell
1d542f0d8b
Merge pull request #636 from tfussell/dependabot/npm_and_yarn/parse-url-6.0.2
...
Bump parse-url from 6.0.0 to 6.0.2
2022-08-06 11:39:05 -05:00
dependabot[bot]
bf0018899d
Bump parse-url from 6.0.0 to 6.0.2
...
Bumps [parse-url](https://github.com/IonicaBizau/parse-url ) from 6.0.0 to 6.0.2.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases )
- [Commits](https://github.com/IonicaBizau/parse-url/commits )
---
updated-dependencies:
- dependency-name: parse-url
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 23:42:50 +00:00
Blakjak88
dbfed051c8
Update xlsx_producer.cpp
2022-07-05 12:53:47 +08:00
Markus Färber
cef67bdc45
Fix format::number_format
...
In case number_format() is called on a format that does not have
format ID set, number_format() dereferences
d_->parent->number_formats.end() causing a crash.
This might happen when calling cell::is_date() on a cell that has type
'number' without a number format but some other styling set.
This might never occur in spreadsheet files created by commercial
applications but xlnt certainly allows to create such a file.
We therefore fix number_format here by returning the general number
format as a fallback.
2022-05-10 14:50:20 +02:00
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