Commit graph

96 commits

Author SHA1 Message Date
John McNamara
035a3c6fdf Refactored the insert image and chart APIs.
See #252
2019-11-11 20:56:00 +00:00
John McNamara
15b2511406 Add Windows portable version of fopen to handle utf8 filenames.
Issue #238
2019-10-11 21:05:47 +01:00
John McNamara
cb87c73a95 Initial support for adding macros to workbooks.
Initial support for adding macros extracted from existing xlsm
files to new xlsm files.

Issue #29 add_vba_project()
2019-06-16 15:46:09 +01:00
John McNamara
7d372b91c7 Fix for handling > 65k image files.
Issue #225
2019-06-12 01:06:18 +01:00
John McNamara
ebab9831b3 Refactor use_zip64 into the constructor.
Issue #228
2019-06-08 16:40:17 +01:00
John McNamara
024f25704e Fix error handling/reporting to propogate zip.c errors.
Issue #227
2019-06-08 15:05:24 +01:00
John McNamara
a0931c58b7 Added support for ZIP64 files.
Closes #228
2019-06-08 00:24:40 +01:00
John McNamara
34290c1cab Add case insensitive worksheet name check.
Add case insensitive worksheet name check, in add_worksheet() and
in workbook_validate_sheet_name(). Ignores UTF-8 chars which may
contain upper/lowercase duplicates.

Closes #230
2019-06-07 21:28:08 +01:00
John McNamara
267a09a242 Added check for reserved worksheet name.
The worksheet name "History" is reserved by Excel.
2019-06-07 20:09:54 +01:00
John McNamara
ee18f0c4c0 Add error code for worksheet name with apostrophe.
Issue #223
2019-06-07 16:58:19 +01:00
John McNamara
f34673a92f Fix for sheet names that start or end with an apostrophe.
Excel doesn't allow worksheet names to start or end with
and apostrophe.

Closes #223.
2019-06-07 00:01:15 +01:00
John McNamara
72c9b219cb Updated copyright year. 2019-02-10 21:11:46 +00:00
John McNamara
84dd312e79 Fix for issue when hashing number formats.
Issue #203
2018-10-30 23:16:32 +00:00
John McNamara
2ea3ba2a71 First fully functional chartsheet implementation.
Issue #90
2018-09-09 01:09:44 +01:00
John McNamara
8b35b62d8c Refactored internal workbook sheet handling.
Refactored workbook sheet handling to take into account two types
of sheet: worksheet and chartsheet.

Issue #90
2018-09-07 12:32:44 +01:00
John McNamara
88bf28d388 Fix for number format issue.
Fix for issue where some number formats were incorrectly treated
as duplicates and not stored/applied.

Issue #151
2018-03-16 15:34:02 +00:00
John McNamara
dc31b10bad Updated copyright year. 2018-02-03 17:15:35 +00:00
John McNamara
8ded7269c7 Fix icc compiler warnings. 2017-01-09 20:26:32 +00:00
John McNamara
062ddc5ee6 Fix scan-build warnings. 2017-01-09 00:25:14 +00:00
John McNamara
813ca50be0 Update copyright year. 2016-12-31 00:33:00 +00:00
John McNamara
e7f6bed4e2 Added docs for workbook_validate_worksheet_name(). 2016-12-26 12:51:13 +00:00
John McNamara
ddae41a23b Added worksheet name tests to add_worksheet(). 2016-12-24 00:29:31 +00:00
John McNamara
dd7f93120b Added check for valid worksheet names.
Issue #84.
2016-12-23 19:45:19 +00:00
John McNamara
ec277cefdb Added utf-8 strlen to test user paramater length.
Issue #84.
2016-12-23 03:06:46 +00:00
John McNamara
abd5a0df1c Changed unbounded strcpys to safer function. 2016-07-13 22:48:39 +01:00
John McNamara
c46b76ab9d Added tmpdir parameter to workbook constructor. 2016-07-10 23:46:51 +01:00
John McNamara
bfb9a993c9 Made all char pointers in the public api const.
Issue #59.
2016-07-04 21:47:42 +01:00
John McNamara
50dba518e5 Converted return types to explicit lxw_error.
Converted return types to explicit lxw_error for better compatibility
with C++ compilers.

Issue #56.
2016-07-03 13:53:11 +01:00
John McNamara
acd70f3dc7 Replace non ISO C90 __func__. 2016-06-24 00:44:52 +01:00
John McNamara
d710da25d2 Added more custom property types. 2016-06-11 01:03:30 +01:00
John McNamara
2fa33fe58a Initial working custom properties. 2016-06-10 00:31:09 +01:00
John McNamara
d8eed38b6e Make non-exported symbols static. 2016-05-31 23:56:53 +01:00
John McNamara
8231ead05b Refactored error handling and reporting.
Some of the previously defined error names have changed to give
a more consistent interface. Also added a lxw_strerror() function
to decode the error to a string.

Issue #49.
2016-05-30 21:16:25 +01:00
John McNamara
a719de2397 Added more error checking during package assembly.
Issue #49,
2016-05-30 00:30:08 +01:00
John McNamara
9ca8d8f522 Added range handling for chart series names. 2016-05-21 18:12:59 +01:00
John McNamara
f6d7b8dc0f Added data cache to chart titles. 2016-05-21 15:49:32 +01:00
John McNamara
dd8d0599a2 Added test for charts with sparse data. 2016-05-20 23:40:23 +01:00
John McNamara
7745394365 Added series set range functions. 2016-05-20 22:49:03 +01:00
John McNamara
d6b8d0d6ab Added tests for chart insertion order. 2016-05-20 00:37:49 +01:00
John McNamara
1b9dfe30d9 Added tests for chart insertion order. 2016-05-19 21:21:05 +01:00
John McNamara
eec7611b8c Additional test for mixed string/number cache. 2016-05-19 00:10:26 +01:00
John McNamara
9c6d68f402 Added test for mixed string/number cache. 2016-05-18 00:43:19 +01:00
John McNamara
c5f2319e92 Added string cache handling. 2016-05-18 00:06:44 +01:00
John McNamara
251400e536 Initial working axis titles. 2016-05-16 00:22:48 +01:00
John McNamara
235b4a3515 Added chart cache reading from worksheet. 2016-05-08 00:52:32 +01:00
John McNamara
722b95f1dc Added chart series validation. 2016-05-07 15:16:24 +01:00
John McNamara
bcdd241c6c Added chart validation. 2016-05-06 23:45:03 +01:00
John McNamara
b3a898e955 Refactoring of defines and test functions. 2016-05-05 23:40:06 +01:00
John McNamara
1f77cce671 Implemented worksheet lookup by name. 2016-05-05 00:49:56 +01:00
John McNamara
cb216be061 First working bar chart. 2016-05-02 21:43:37 +01:00