731 Commits

Author SHA1 Message Date
John McNamara
5c160dd4e8 Added worksheet_write_rich_string_html() function.
Added workaround/optimized worksheet_write_rich_string_html()
function to write raw rich string html. This avoid an expensive
file open()/close() in each call to worksheet_write_rich_string().
2020-08-21 21:20:23 +01:00
John McNamara
5269d07825 Prep for release 0.9.9. RELEASE_0.9.9 2020-08-17 23:32:14 +01:00
John McNamara
3b1563d0e1 Update coverity client version. 2020-08-17 23:05:39 +01:00
John McNamara
9016093309 Added docs for header/footer images. 2020-08-17 23:03:25 +01:00
John McNamara
017001fc14 Added support for images in headers/footers. 2020-08-17 21:01:36 +01:00
John McNamara
644d8630ed Added worksheet_ignore_errors() function.
Added worksheet_ignore_errors() function to ignore Excel
worksheet errors/warnings in user defined ranges.
2020-08-13 17:19:33 +01:00
John McNamara
a8adce9f35 Prep for release 0.9.8. RELEASE_0.9.8 2020-08-11 20:46:24 +01:00
John McNamara
7da7225b66 Added docs for data label formatting. 2020-08-11 20:18:38 +01:00
John McNamara
0c4a9ea5a4 Update data label example with formatting. 2020-08-10 23:38:53 +01:00
John McNamara
7182ac3e47 Added formatting for custom chart data labels. 2020-08-10 19:11:51 +01:00
John McNamara
e5a6833382 Added formatting for chart data labels. 2020-08-07 00:50:09 +01:00
John McNamara
8bd18f10a7 Minor doc fix. 2020-08-04 11:54:30 +01:00
John McNamara
a097804809 Prep for release 0.9.7. RELEASE_0.9.7 2020-08-04 11:50:30 +01:00
John McNamara
2e6f3d7cdf Change lxw_chart_data_label field from .delete to .hide.
Change lxw_chart_data_label field from .delete to .hide in order
to avoid reserved word conflict with C++.

Issue #300
2020-08-04 11:16:49 +01:00
John McNamara
502e1a2e93 Prep for release 0.9.6. RELEASE_0.9.6 2020-08-04 00:09:48 +01:00
John McNamara
f7dc5ba13b Added tests for worksheet range return values. 2020-08-03 23:39:18 +01:00
John McNamara
d4424a0e7b Fix issue with write_array_formula() cell range. 2020-08-03 23:38:47 +01:00
John McNamara
12ec39608f Added docs for custom chart data labels. 2020-08-03 17:54:48 +01:00
John McNamara
ca5c2b7cb9 Added support for custom chart data labels. 2020-08-01 17:50:06 +01:00
John McNamara
eecb22ace1 Added link to QT-creator guide.wq 2020-07-31 00:46:27 +01:00
John McNamara
497eaaf389 Added worksheet_write_formula_str() function.
Added worksheet_write_formula_str() function mainly to allow
a blank string result to be written for formulas and thus
force recalculation in OpenOffice.
2020-07-31 00:07:36 +01:00
John McNamara
03ae1476a9 Fix minor PNG bug with default DPI.
Closes #295
2020-07-30 20:43:14 +01:00
John McNamara
dd958c2d08 Minor doc fix. 2020-07-30 20:41:38 +01:00
FrankenApps
ff9ff0513f Added addtional information on how to use the provided CocoaPod in Swift for iOS 2020-07-30 20:36:35 +01:00
John McNamara
2d0ab35e6f
Update FUNDING.yml 2020-06-12 10:06:13 +01:00
John McNamara
a0d920e589 Prep for release 0.9.5. RELEASE_0.9.5 2020-05-31 20:22:23 +01:00
John McNamara
db556bf7e9 Fix for hyperlinks in image buffer images.
Fix for issue where hyperlinks urls and tips were ignored for
worksheet_insert_image_buffer_opt() images.

Issue #292
2020-05-31 13:39:02 +01:00
John McNamara
714d07dd39 Added stacked and percentr stacked line charts.
Added LXW_CHART_LINE_STACKED and LXW_CHART_LINE_STACKED_PERCENT
line charts subtypes.
2020-05-31 12:59:19 +01:00
Evan Miller
b62653f382 Add image buffers without a temporary file
Use fmemopen to create an in-memory FILE for reading in image
attributes. This avoids creating a separate temporary file for every
image added to the worksheet.

Passing NULL as the first argument creates a buffer managed by fmemopen.
According to the system documentation, fclose will free the buffer, so
no further changes are needed.

fmemopen is defined by POSIX.1-2008, and on some platforms requires
_POSIX_C_SOURCE set to 200809L or greater. This is conditionally set in
the file (src/worksheet.c) where fmemopen is used.

This change includes a new USE_FMEMOPEN option for both CMake and make,
following the tradition set by USE_STANDARD_TMPFILE etc. This new option
is enabled on Travis.

See #287 #288
2020-05-08 13:48:12 +01:00
Evan Miller
cc83549bbb Modernize the Travis configuration
Require Xenial and simplify the package configuration
2020-05-08 12:57:04 +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
27a4cc4e73 Fix imaage sizing issue with older compilers.
Fix an issue with an incorrect image sizing due to multiple/divide
order on older compilers (I think).

Closes #274
2020-03-21 17:20:21 +00:00
John McNamara
1b5493e660 Test for dupliate images with hyperlinks. 2020-02-07 21:22:14 +00:00
John McNamara
d71a21eafb Fix year in Changes file. 2020-01-21 08:17:55 +00:00
John McNamara
559e391cd1 Prep for release 0.9.4. RELEASE_0.9.4 2020-01-19 16:27:05 +00:00
John McNamara
e67f2f8754 Fix for valgrind warning.
Issue #265
2020-01-19 15:04:02 +00:00
John McNamara
d3034bd7b9 Fix for uninitialized variable valgrind warning. 2020-01-19 14:30:40 +00:00
John McNamara
0f41361397 Move cmake test to end of travis build. 2020-01-19 13:11:08 +00:00
John McNamara
f66ddd75c3 Fix typo/target in make clean. 2020-01-19 13:09:29 +00:00
Sijmen J. Mulder
32b9df68ee Fix DESTDIR typo 2020-01-19 13:06:36 +00:00
John McNamara
ef2b50c53a Added docs on worksheet object positioning.
Issue #263.
2020-01-19 13:04:12 +00:00
John McNamara
139cd8cc41 Added support for object positioning.
Added support for setting the image or chart object_position
property to specify if they should be moved or sized with cell.

Issue #263
2020-01-19 11:23:58 +00:00
John McNamara
3b7cf20de1 Minor changes additions. 2020-01-14 19:49:43 +00:00
John McNamara
fc4daa8e93 Added -Wstrict-prototypes build warning. 2020-01-14 00:05:56 +00:00
John McNamara
5de3c005c6 Prep for release 0.9.3. RELEASE_0.9.3 2020-01-13 23:50:48 +00:00
John McNamara
78f6d7760a Fix xcode void arg warning. 2020-01-13 23:05:15 +00:00
John McNamara
bbfea4c901 Prep for release 0.9.2. RELEASE_0.9.2 2020-01-13 22:56:00 +00:00
John McNamara
9be53288e9 Made write_comment() string const. 2020-01-13 22:42:58 +00:00
John McNamara
2849813f36 Updated copyright year. 2020-01-12 12:59:31 +00:00
John McNamara
db582a7ae4 Fix for default worksheet VBA codenames.
Issue #256
2020-01-11 16:38:43 +00:00