Commit graph

714 commits

Author SHA1 Message Date
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. 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. 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. 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. 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
John McNamara
5485479a86 Added docs for worksheet comment functions.
Issue #38
2020-01-11 15:40:41 +00:00
John McNamara
87df446d49 Added support for cell comments in constant_memory mode.
Added support for cell comments in constant_memory mode
and also refactored the internal data structure for
handling comments.

Issue #38
2020-01-11 09:02:07 +00:00
John McNamara
73a47db741 Added advanced cell comments sample code. 2020-01-09 21:25:48 +00:00
John McNamara
fac168a303 Minor fix to GCC deprecation level. 2020-01-09 00:31:01 +00:00
John McNamara
b70d0c5bde Removed deprecated functions. 2020-01-09 00:26:21 +00:00
John McNamara
549477185f Specify GCC version for deprecated attribute.
Closes #262
2020-01-09 00:22:32 +00:00
John McNamara
6ab739e9d2 Fix for issue with default comment font. 2020-01-08 23:16:56 +00:00
John McNamara
c4c65b5697 Minor static analysis fixes. 2020-01-08 22:59:23 +00:00
John McNamara
18252b714e Renamed MD5 functions and struct to avoid conflict with openssl.
Issue #260
2020-01-07 23:45:34 +00:00
John McNamara
85dfccd734 Added support for cell comments and options.
Issue #38
2020-01-07 23:27:04 +00:00
Sijmen J. Mulder
31a76c613a Use PREFIX for install_name
Not DESTDIR because that's just the staging directory; the final location
will be at PREFIX.

Succeeds #209
2019-12-27 12:58:19 +00:00
Sijmen J. Mulder
4daf725bae Use DESTDIR and PREFIX instead of INSTALL_LOCATION
PREFIX is the final location on the user's system. DESTDIR could
be staging directory for a package build, a chroot, etc. The
distinction is important because you don't want DESTDIR to end up
in paths compiled into the program, e.g. the location of a helpfile
or library.

(Applies only to the makefiles, not CMake)

Resolves #216
2019-12-27 12:58:19 +00:00
John McNamara
fdf542de80 Prep for release 0.9.1. 2019-12-27 11:40:12 +00:00
John McNamara
18b4d265cb Prep for release 0.9.0. 2019-12-26 18:59:41 +00:00
John McNamara
e89474fabd Only run Cmake tests in 64bit builds. For now. 2019-12-26 17:45:46 +00:00
John McNamara
e4136bf06a Minor indentation fix. 2019-12-26 17:14:06 +00:00
John McNamara
10cd43179b Added cmake test to Travis CI build. 2019-12-26 17:13:43 +00:00