Commit graph

88 commits

Author SHA1 Message Date
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
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
Evan Miller
ebba115435 Fix compile-time warnings with strict prototypes enabled.
The C standard and -Wstrict-prototypes requires that functions which
take no arguments be declared as foobar(void) instead of foobar().

Fixes #208
2019-01-30 14:00:00 +00:00
John McNamara
e85ad362ec Initial working rich strings.
Issue #37
2018-09-28 16:55:29 +01:00
John McNamara
4a67554236 Added chartsheet protect() function. 2018-09-15 14:36:47 +01:00
John McNamara
2ea3ba2a71 First fully functional chartsheet implementation.
Issue #90
2018-09-09 01:09:44 +01:00
John McNamara
970120a063 Initial skeleton for chartsheet class.
Issue #90
2018-09-07 10:37:44 +01:00
John McNamara
14421b6629 Add user defined function for formatting doubles. 2018-04-24 23:34:38 +01:00
John McNamara
7d440b66a6 Updated copyright year. 2018-02-11 23:06:54 +00:00
John McNamara
dc31b10bad Updated copyright year. 2018-02-03 17:15:35 +00:00
John McNamara
3137b60647 Add docs for data validation 2017-09-25 00:27:24 +01:00
John McNamara
0865a040a4 Implementation of data validation.
Feature request: #31
2017-09-23 11:52:18 +01:00
John McNamara
b0a7c691ad Added option to use system minizip in make build.
Additional fixes for using system minizip in the Makefile make system.

Issue #119.
2017-08-20 11:33:02 +01:00
John McNamara
856a45a292 Added option to use system minizip in make build.
Added option to use system minizip in the Makefile make system.

Issue #119.
2017-08-14 20:08:57 +01:00
John McNamara
3333909632 Changed file creation time to utc.
Issue #110
2017-07-24 20:34:14 +01:00
Alexhuszagh
0278e18042 Updated CTest to work with MSVC 2017-07-10 17:52:19 -07:00
John McNamara
062ddc5ee6 Fix scan-build warnings. 2017-01-09 00:25:14 +00:00
John McNamara
038cece4ad Update copyright year. 2016-12-31 00:48:27 +00:00
John McNamara
813ca50be0 Update copyright year. 2016-12-31 00:33:00 +00:00
John McNamara
7d06d560a7 Initial working chart legend. 2016-12-30 14:12:14 +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
9e055707e6 Fix OpenBSD warnings. 2016-07-12 23:18:52 +01:00
John McNamara
c2097b2891 Changed the unit tests to use lxw_tmpfile(). 2016-07-11 00:17:37 +01:00
John McNamara
8c37848647 Fix makefiles for msys2/mingw64. 2016-06-25 02:47:45 +01:00
John McNamara
d3536296b0 Initial structure for custom properties. 2016-06-09 00:15:23 +01:00
John McNamara
a9018a7189 Update copyright year. 2016-05-31 20:01:58 +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
7745394365 Added series set range functions. 2016-05-20 22:49:03 +01:00
John McNamara
722b95f1dc Added chart series validation. 2016-05-07 15:16:24 +01:00
John McNamara
b3a898e955 Refactoring of defines and test functions. 2016-05-05 23:40:06 +01:00
John McNamara
d6c6231d55 Added initial chart example. 2016-05-03 00:19:14 +01:00
John McNamara
cb216be061 First working bar chart. 2016-05-02 21:43:37 +01:00
John McNamara
3fafd81f16 Initial structural work for charts. 2016-05-01 23:48:22 +01:00
John McNamara
bf84e5606e Renamed non-static but non-public function names.
Renamed non-static but non-public (i.e., non-documented) function names
to avoid clashes and conflicts.
2016-01-05 00:27:12 +00:00
John McNamara
fd6f125bdc Renamed non-static but non-public function names.
Renamed non-static but non-public (i.e., non-documented) function names
to avoid clashes and conflicts.
2016-01-04 23:37:08 +00:00
John McNamara
37dbca6b21 Renamed non-static but non-public function names.
Renamed non-static but non-public (i.e., non-documented) function names
to avoid clashes and conflicts.
2016-01-04 23:36:55 +00:00
John McNamara
ac88bfe815 Renamed non-static but non-public function names in utility.
Renamed non-static but non-public (i.e., non-documented) function names
to avoid clashes and conflicts.
2016-01-04 23:36:29 +00:00
John McNamara
1c7250d261 Renamed non-static but non-public function names in worksheet.
Renamed non-static but non-public (i.e., non-documented) function names
to avoid clashes and conflicts.
2016-01-04 23:36:11 +00:00
John McNamara
9e277b91c8 Renamed non-static but non-public function names in workbook.
Renamed non-static but non-public (i.e., non-documented) function names
to avoid clashes and conflicts.
2016-01-04 23:35:59 +00:00
John McNamara
bd66719cd0 Renamed new_workbook() to workbook_new().
Renamed new_workbook() to workbook_new() and new_workbook_opt() to
workbook_new_opt() for consistency.

The older function names are still availble but deprecated.
2016-01-04 19:48:16 +00:00
John McNamara
51d97e7f41 Update copyright year. 2016-01-03 19:47:16 +00:00
John McNamara
edc547bbe4 Additional tests for insert_image(). 2016-01-02 00:14:44 +00:00
John McNamara
73362ae8d2 Additional tests for insert_image(). 2016-01-01 23:14:51 +00:00
John McNamara
03e5deaa8f First functional test of insert_image(). 2015-12-30 00:40:12 +00:00
John McNamara
89b6f9f3c1 Initial structure for insert_image(). 2015-12-26 17:18:06 +00:00