74 Commits

Author SHA1 Message Date
John McNamara
f29cf40d38 package: update copyright year 2025-02-11 00:03:36 +00:00
John McNamara
c89c551221 worksheet: fix heap buffer overflows from empty strings
Closes #446
2024-05-24 07:39:43 +01:00
John McNamara
284b61ba0b workbook: add check for blank worksheet name
Issue #442
2024-05-09 08:20:23 +01:00
John McNamara
f6d73b0ae1 package: update copyright year 2024-02-26 18:47:32 +00:00
John McNamara
c0d12f3a5c Updated copyright year. 2022-01-16 20:22:27 +00:00
John McNamara
431f4839f9 Add filter rules for autofilters.
Feature request #254
2021-08-02 23:49:05 +01:00
John McNamara
393ded9a2d Add option to turn off bold in chart title font.
Added the LXW_EXPLICIT_FALSE variable to allow the default bold
property in chart title fonts to be turned off.

Closes #199
2021-07-12 22:33:11 +01:00
John McNamara
dcf8d418db Fix gcc -Wformat-truncation warning. 2021-06-17 20:38:07 +01:00
John McNamara
cd660913e4 Fix sonarcloud warnings for some macros. 2021-06-02 13:55:46 +01:00
John McNamara
e3fb0e2c32 Add support for GIF images. 2021-05-08 00:25:14 +01:00
John McNamara
f8919af346 Add support for R REprintf().
Added macro support for R function REprintf() instead of
fprintf(stderr).

Closes #273
2021-04-20 20:57:45 +01:00
John McNamara
c06101fcad Updated copyright year. 2021-01-13 21:25:35 +00:00
John McNamara
dfbc07c973 Fix for issue where zipfile isn't close when there is a file add error.
Issue #310
2020-09-25 19:28:29 +01:00
John McNamara
5d4a571105 Added support for conditional formatting.
Feature request #302
2020-08-30 21:06:48 +01:00
John McNamara
a0e6a362ba Removed LXW_ERROR_SHEETNAME_RESERVED warning.
Removed LXW_ERROR_SHEETNAME_RESERVED warning which was used with
the reserved worksheet name "History". However, this is an
allowed worksheet name in some Excel variants so the warning has
been turned into a documentation note instead.
2020-03-21 17:40:08 +00:00
John McNamara
2849813f36 Updated copyright year. 2020-01-12 12:59:31 +00:00
John McNamara
fac168a303 Minor fix to GCC deprecation level. 2020-01-09 00:31:01 +00:00
John McNamara
549477185f Specify GCC version for deprecated attribute.
Closes #262
2020-01-09 00:22:32 +00:00
John McNamara
85dfccd734 Added support for cell comments and options.
Issue #38
2020-01-07 23:27:04 +00:00
John McNamara
a4f9e5bad0 Initial image duplicate removal. Same worksheet only. 2019-12-24 19:17:17 +00:00
John McNamara
373ff53382 Support newer Excel hyperlink length of 2079. 2019-12-15 13:05:52 +00:00
John McNamara
3e3ce69aab Made deprection of new_workbook() function explicit.
Made the deprecation of new_workbook() funtion more explicit
and removed instances from the examples and test code. The
workbook_new() function should be used instead.

See #252
2019-11-16 20:32:37 +00: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
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
8df3ce882c Add validation checks to worksheet_write_rich_string().
Issue #37
2018-10-01 21:30:32 +01:00
John McNamara
8d50d03b65 Added additional chartsheet features. 2018-09-20 21:06:19 +01:00
John McNamara
3915bf29ae Fix for BMP image handling on big endian systems.
Issue #139
2018-02-11 22:50:57 +00:00
John McNamara
dc31b10bad Updated copyright year. 2018-02-03 17:15:35 +00:00
John McNamara
0865a040a4 Implementation of data validation.
Feature request: #31
2017-09-23 11:52:18 +01:00
John McNamara
50fce5f3c3 Fix for Xcode include paths. 2017-01-11 00:03:56 +00:00
John McNamara
e0a04310ad Add updated docs for category and value axes. 2017-01-08 20:58:38 +00:00
John McNamara
813ca50be0 Update copyright year. 2016-12-31 00:33:00 +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
ec405e007b Fix for C++ externs.
Issue #66.
2016-07-19 00:45:09 +01:00
John McNamara
abd5a0df1c Changed unbounded strcpys to safer function. 2016-07-13 22:48:39 +01:00
John McNamara
fce0f891d5 Fix OpenBSD warnings. 2016-07-12 23:36:25 +01:00
John McNamara
2cd8f8a3c2 Added extra docs for temp file handling. 2016-07-11 21:42:18 +01:00
John McNamara
93b5e0afbe Define snprintf for MCVC 2010.
Issue #58.
2016-07-04 20:59:01 +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
d3536296b0 Initial structure for custom properties. 2016-06-09 00:15:23 +01:00
John McNamara
af0063a75f Prep for release 0.3.7. 2016-06-03 01:01:57 +01:00
John McNamara
0f72143e8f Minor refactoring. 2016-06-01 23:20:27 +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