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
Thomas Fussell
04ebd7ef9d
fix warnings, bump copyright, fix typo, update npm libs
2021-08-22 08:23:18 -04:00
Thomas Fussell
e8ee585897
bump copyright year to 2020
2020-02-08 12:12:59 -05:00
Thomas Fussell
a560756b35
use clang-format, fix some small warnings
2019-12-26 12:03:12 -05:00
Thomas Fussell
50850ffb8a
work on round-tripping for #230
2018-04-24 17:58:17 -04:00
Thomas Fussell
90633d0e8e
copyright year bump (2018)
2018-01-22 09:38:48 -05:00
Thomas Fussell
b2a5110939
organize detail files, start wiring up encryption logic
2017-04-20 14:03:03 -04:00
Thomas Fussell
83d2d18d1f
finish documenting all headers (well enough). closes #28
2017-03-30 23:52:57 -04:00
Thomas Fussell
c3d9b85530
document some style classes, start implementing builtin styles more correctly
2017-03-26 10:30:26 -04:00
Thomas Fussell
4ed8dae49c
minor cleanup
2017-02-18 20:33:59 -06:00
sukoi26
bb8202f779
update for xf pivotButton quotedPrefix attributes
2017-02-14 22:02:51 +01:00
Thomas Fussell
45428c7f2b
update copyright dates for 2017
2017-01-02 20:35:18 -05:00
Thomas Fussell
66b5187e73
stop trying to produce non-excel style xlsx files
2016-12-29 18:36:29 -05:00
Thomas Fussell
c637f412b6
continue working through xml problems as a result of fixing xml comparison
2016-12-26 09:38:26 -05:00
Thomas Fussell
c8f2ca204b
clang-format all source files, fix broken test helpers--lots of cleanup necessary as a result [ci skip]
2016-12-24 10:04:57 -05:00
Thomas Fussell
c55aac9ecf
rename getters and setters to the property name, many breaking changes\!
2016-12-02 14:37:50 +01:00
Thomas Fussell
f90e35e007
optimize format garbage collection and apply style fills to formats correctly, fixes #79 , fix cell iteration, closes #73 , add third-party licenses to LICENSE.md, update README, fix all clang and msvc warnings
2016-11-09 19:52:18 -05:00
Thomas Fussell
ca692790fa
implement garbage collection to remove unreferenced formats and constituent parts
2016-11-07 21:11:30 -05:00
Thomas Fussell
1474c8ab82
begin trying to garbage collect cell formats
2016-11-03 19:26:11 -04:00
Thomas Fussell
f9e349ce8d
Revert "working on styles, don't use yet"
...
This reverts commit 4e51e9e0e5
.
2016-11-02 22:04:51 -04:00
Thomas Fussell
4e51e9e0e5
working on styles, don't use yet
2016-11-02 18:16:34 -04:00
Thomas Fussell
eeba8ffa86
copy previous formatting when changing the format of a cell, closes #76
2016-11-01 08:50:29 -04:00
Thomas Fussell
cb5a9d8802
continue fixing up border and fill round tripping
2016-09-10 10:05:06 -04:00
Thomas Fussell
80ef8259c5
test_produce::test_produce_simple_excel() creates a file that opens in excel now
2016-09-07 18:02:46 -04:00
Thomas Fussell
f9a45313a0
improve styles
2016-08-18 07:34:18 -04:00
Thomas Fussell
94881ce660
begin correctly implementing styles and formats
2016-08-16 00:23:49 -04:00
Thomas Fussell
85e1b4a333
refactor styles... again
2016-06-10 13:40:50 -04:00
Thomas Fussell
365e2f93fc
fix round-tripping of text runs with formatting
2016-05-15 11:51:32 -04:00
Thomas Fussell
74cc503215
clarify naming of styles and formats
2016-05-14 13:57:07 -04:00
Thomas Fussell
9bd6e92297
not done yet. I can't beleive how complicated this is
2016-04-30 16:19:45 -04:00
Thomas Fussell
5a9c18834d
work on round-tripping of a workbook with complex formatting
2016-03-10 17:12:51 +08:00