fast_excel 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +5 -2
- data/Makefile +14 -0
- data/README.md +7 -2
- data/Rakefile +10 -0
- data/extconf.rb +0 -0
- data/fast_excel.gemspec +3 -1
- data/lib/fast_excel/binding.rb +3 -7
- data/lib/rubygems_plugin.rb +3 -0
- data/libxlsxwriter/.gitignore +49 -0
- data/libxlsxwriter/.indent.pro +125 -0
- data/libxlsxwriter/.travis.yml +25 -0
- data/libxlsxwriter/CONTRIBUTING.md +226 -0
- data/libxlsxwriter/Changes.txt +557 -0
- data/libxlsxwriter/LICENSE.txt +89 -0
- data/libxlsxwriter/Makefile +156 -0
- data/libxlsxwriter/Readme.md +78 -0
- data/libxlsxwriter/cocoapods/libxlsxwriter-umbrella.h +30 -0
- data/libxlsxwriter/cocoapods/libxlsxwriter.modulemap +7 -0
- data/libxlsxwriter/include/xlsxwriter/app.h +79 -0
- data/libxlsxwriter/include/xlsxwriter/chart.h +3476 -0
- data/libxlsxwriter/include/xlsxwriter/common.h +372 -0
- data/libxlsxwriter/include/xlsxwriter/content_types.h +74 -0
- data/libxlsxwriter/include/xlsxwriter/core.h +51 -0
- data/libxlsxwriter/include/xlsxwriter/custom.h +52 -0
- data/libxlsxwriter/include/xlsxwriter/drawing.h +111 -0
- data/libxlsxwriter/include/xlsxwriter/format.h +1214 -0
- data/libxlsxwriter/include/xlsxwriter/hash_table.h +76 -0
- data/libxlsxwriter/include/xlsxwriter/packager.h +80 -0
- data/libxlsxwriter/include/xlsxwriter/relationships.h +77 -0
- data/libxlsxwriter/include/xlsxwriter/shared_strings.h +83 -0
- data/libxlsxwriter/include/xlsxwriter/styles.h +77 -0
- data/libxlsxwriter/include/xlsxwriter/theme.h +47 -0
- data/libxlsxwriter/include/xlsxwriter/third_party/ioapi.h +214 -0
- data/libxlsxwriter/include/xlsxwriter/third_party/queue.h +694 -0
- data/libxlsxwriter/include/xlsxwriter/third_party/tmpfileplus.h +53 -0
- data/libxlsxwriter/include/xlsxwriter/third_party/tree.h +801 -0
- data/libxlsxwriter/include/xlsxwriter/third_party/zip.h +375 -0
- data/libxlsxwriter/include/xlsxwriter/utility.h +166 -0
- data/libxlsxwriter/include/xlsxwriter/workbook.h +757 -0
- data/libxlsxwriter/include/xlsxwriter/worksheet.h +2641 -0
- data/libxlsxwriter/include/xlsxwriter/xmlwriter.h +178 -0
- data/libxlsxwriter/include/xlsxwriter.h +23 -0
- data/libxlsxwriter/lib/.gitignore +0 -0
- data/libxlsxwriter/libxlsxwriter.podspec +47 -0
- data/libxlsxwriter/src/Makefile +130 -0
- data/libxlsxwriter/src/app.c +443 -0
- data/libxlsxwriter/src/chart.c +6346 -0
- data/libxlsxwriter/src/content_types.c +345 -0
- data/libxlsxwriter/src/core.c +293 -0
- data/libxlsxwriter/src/custom.c +224 -0
- data/libxlsxwriter/src/drawing.c +746 -0
- data/libxlsxwriter/src/format.c +729 -0
- data/libxlsxwriter/src/hash_table.c +223 -0
- data/libxlsxwriter/src/packager.c +948 -0
- data/libxlsxwriter/src/relationships.c +245 -0
- data/libxlsxwriter/src/shared_strings.c +266 -0
- data/libxlsxwriter/src/styles.c +1088 -0
- data/libxlsxwriter/src/theme.c +348 -0
- data/libxlsxwriter/src/utility.c +515 -0
- data/libxlsxwriter/src/workbook.c +1930 -0
- data/libxlsxwriter/src/worksheet.c +5022 -0
- data/libxlsxwriter/src/xmlwriter.c +355 -0
- data/libxlsxwriter/third_party/minizip/Makefile +44 -0
- data/libxlsxwriter/third_party/minizip/Makefile.am +45 -0
- data/libxlsxwriter/third_party/minizip/Makefile.orig +25 -0
- data/libxlsxwriter/third_party/minizip/MiniZip64_Changes.txt +6 -0
- data/libxlsxwriter/third_party/minizip/MiniZip64_info.txt +74 -0
- data/libxlsxwriter/third_party/minizip/README.txt +5 -0
- data/libxlsxwriter/third_party/minizip/configure.ac +32 -0
- data/libxlsxwriter/third_party/minizip/crypt.h +131 -0
- data/libxlsxwriter/third_party/minizip/ioapi.c +247 -0
- data/libxlsxwriter/third_party/minizip/ioapi.h +208 -0
- data/libxlsxwriter/third_party/minizip/iowin32.c +456 -0
- data/libxlsxwriter/third_party/minizip/iowin32.h +28 -0
- data/libxlsxwriter/third_party/minizip/make_vms.com +25 -0
- data/libxlsxwriter/third_party/minizip/miniunz.c +660 -0
- data/libxlsxwriter/third_party/minizip/miniunzip.1 +63 -0
- data/libxlsxwriter/third_party/minizip/minizip.1 +46 -0
- data/libxlsxwriter/third_party/minizip/minizip.c +520 -0
- data/libxlsxwriter/third_party/minizip/minizip.pc.in +12 -0
- data/libxlsxwriter/third_party/minizip/mztools.c +291 -0
- data/libxlsxwriter/third_party/minizip/mztools.h +37 -0
- data/libxlsxwriter/third_party/minizip/unzip.c +2125 -0
- data/libxlsxwriter/third_party/minizip/unzip.h +437 -0
- data/libxlsxwriter/third_party/minizip/zip.c +2007 -0
- data/libxlsxwriter/third_party/minizip/zip.h +367 -0
- data/libxlsxwriter/third_party/tmpfileplus/Makefile +42 -0
- data/libxlsxwriter/third_party/tmpfileplus/tmpfileplus.c +342 -0
- data/libxlsxwriter/third_party/tmpfileplus/tmpfileplus.h +53 -0
- data/libxlsxwriter/version.txt +1 -0
- metadata +89 -6
- data/binaries/libxlsxwriter-alpine.so +0 -0
- data/binaries/libxlsxwriter-darwin.dylib +0 -0
- data/binaries/libxlsxwriter-glibc.so +0 -0
|
@@ -0,0 +1,557 @@
|
|
|
1
|
+
/**
|
|
2
|
+
@page changes Changes
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## 0.6.9 January 30 2017
|
|
6
|
+
|
|
7
|
+
- Added chart trendlines. See @ref chart_trendlines and
|
|
8
|
+
@ref chart_data_tools.c.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## 0.6.8 January 28 2017
|
|
12
|
+
|
|
13
|
+
- Added chart error bars. See @ref chart_error_bars and
|
|
14
|
+
@ref chart_data_tools.c.
|
|
15
|
+
|
|
16
|
+
## 0.6.7 January 24 2017
|
|
17
|
+
|
|
18
|
+
- Added chart data labels. See @ref chart_labels.
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## 0.6.6 January 22 2017
|
|
22
|
+
|
|
23
|
+
- Added functions to set chart Up-Down bars: see `chart_set_up_down_bars()`
|
|
24
|
+
and `chart_set_up_down_bars_format()` and @ref chart_data_tools.c.
|
|
25
|
+
|
|
26
|
+
- Added functions to handle blank and hidden data in charts: see
|
|
27
|
+
`chart_show_blanks_as()` and `chart_show_hidden_data()`.
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## 0.6.5 January 21 2017
|
|
31
|
+
|
|
32
|
+
- Added functions to set the overlap and gap between series: see
|
|
33
|
+
`chart_set_series_overlap()` and `chart_set_series_gap()`.
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## 0.6.4 January 20 2017
|
|
37
|
+
|
|
38
|
+
- Added chart data table option, see `chart_set_table()` and
|
|
39
|
+
`chart_set_table_grid()`.
|
|
40
|
+
|
|
41
|
+
- Added Clustered Chart example, see @ref chart_clustered.c.
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## 0.6.3 January 19 2017
|
|
45
|
+
|
|
46
|
+
- Added `chart_set_drop_lines()` and `chart_set_high_low_lines()` functions to
|
|
47
|
+
add chart Drop and High-Low lines to indicate category values.
|
|
48
|
+
See @ref chart_data_tools.c.
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## 0.6.2 January 17 2017
|
|
52
|
+
|
|
53
|
+
- Added `chart_series_set_smooth()` function to set the line smoothing
|
|
54
|
+
property of a line or scatter chart series.
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## 0.6.1 January 16 2017
|
|
58
|
+
|
|
59
|
+
- Added option to set formatting for points in a chart. This allow the colors
|
|
60
|
+
of Pie chart segments to be defined. See @ref chart_points.
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
## 0.6.0 January 15 2017
|
|
64
|
+
|
|
65
|
+
- Added option to set the number format for a chart axis, see
|
|
66
|
+
`chart_axis_set_num_format()`.
|
|
67
|
+
|
|
68
|
+
- Added "invert if negative" option for series fills, see
|
|
69
|
+
`chart_series_set_invert_if_negative()`.
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## 0.5.9 January 14 2017
|
|
73
|
+
|
|
74
|
+
- Added support for chart axis crossing. See `chart_axis_set_crossing()` and
|
|
75
|
+
`chart_axis_set_crossing_max()`.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## 0.5.8 January 13 2017
|
|
79
|
+
|
|
80
|
+
- Added `chart_axis_set_major_tick_mark()` and
|
|
81
|
+
`chart_axis_set_minor_tick_mark()` functions to chart axis tick marks.
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
## 0.5.7 January 12 2017
|
|
85
|
+
|
|
86
|
+
- Added `chart_axis_set_display_units()` function to set chart axis display
|
|
87
|
+
units.
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## 0.5.6 January 11 2017
|
|
91
|
+
|
|
92
|
+
- Added `chart_axis_set_interval_unit()` and `chart_axis_set_interval_tick()`
|
|
93
|
+
functions to adjust category axis intervals.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## 0.5.5 January 10 2017
|
|
97
|
+
|
|
98
|
+
- Added `chart_axis_set_major_unit()` and `chart_axis_set_minor_unit()` to set
|
|
99
|
+
the major and minor units of a category axis.
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
## 0.5.4 January 9 2017
|
|
103
|
+
|
|
104
|
+
- Added `chart_axis_set_label_position()` option to position the axis labels
|
|
105
|
+
(numbers).
|
|
106
|
+
|
|
107
|
+
- Improved documentation for @ref ww_charts_axes.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## 0.5.3 January 8 2017
|
|
111
|
+
|
|
112
|
+
- Added `chart_axis_set_position()` option to position a category axis
|
|
113
|
+
horizontally on, or between, the axis tick marks.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
## 0.5.2 January 7 2017
|
|
117
|
+
|
|
118
|
+
- Added option to turn off chart axis: `chart_axis_off()`.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
## 0.5.1 January 6 2017
|
|
122
|
+
|
|
123
|
+
- Added chart major and minor gridlines handling, see:
|
|
124
|
+
|
|
125
|
+
- `chart_axis_major_gridlines_set_visible()`
|
|
126
|
+
- `chart_axis_minor_gridlines_set_visible()`
|
|
127
|
+
- `chart_axis_major_gridlines_set_line()`
|
|
128
|
+
- `chart_axis_minor_gridlines_set_line()`
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
## 0.5.0 January 5 2017
|
|
132
|
+
|
|
133
|
+
- Added chart and plot area formatting. See `chart_chartarea_set_line()` and
|
|
134
|
+
`chart_plotarea_set_line()`.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
## 0.4.9 January 4 2017
|
|
138
|
+
|
|
139
|
+
- Added support for chart patterns. See @ref chart_patterns.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
## 0.4.8 January 3 2017
|
|
143
|
+
|
|
144
|
+
- Added support for chart markers. See @ref chart_markers.
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
## 0.4.7 January 2 2017
|
|
148
|
+
|
|
149
|
+
- Added `chart_axis_set_reverse()` function to reverse the order of a chart
|
|
150
|
+
axis.
|
|
151
|
+
|
|
152
|
+
- Added `chart_axis_set_min()`and `chart_axis_set_max()` functions to set the
|
|
153
|
+
minimum and maximum value for a chart axis.
|
|
154
|
+
|
|
155
|
+
- Added `chart_axis_set_log_base()` function to set the log base of a chart
|
|
156
|
+
axis.
|
|
157
|
+
Feature request [#70][gh_70].
|
|
158
|
+
|
|
159
|
+
[gh_70]: https://github.com/jmcnamara/libxlsxwriter/issues/70
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
## 0.4.6 January 1 2017
|
|
163
|
+
|
|
164
|
+
- Added functions to set chart line and fill properties, see:
|
|
165
|
+
|
|
166
|
+
- `chart_series_set_line()`. Feature request [#83][gh_83].
|
|
167
|
+
- `chart_series_set_fill()`.
|
|
168
|
+
- `chart_axis_set_line()`.
|
|
169
|
+
- `chart_axis_set_fill()`.
|
|
170
|
+
- @ref chart_lines.
|
|
171
|
+
- @ref chart_fills.
|
|
172
|
+
|
|
173
|
+
[gh_83]: https://github.com/jmcnamara/libxlsxwriter/issues/83
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
## 0.4.5 December 31 2016
|
|
177
|
+
|
|
178
|
+
- Added functions to set chart legend properties: see `chart_legend_set_position()`,
|
|
179
|
+
`chart_legend_set_font()` and `chart_legend_delete_series()`.
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
## 0.4.4 December 30 2016
|
|
183
|
+
- Added chart fonts. See `chart_axis_set_name_font()`, `chart_axis_set_num_font()`,
|
|
184
|
+
`chart_title_set_name_font()` and @ref chart_fonts.
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
## 0.4.3 December 26 2016
|
|
188
|
+
|
|
189
|
+
- Added `workbook_get_worksheet_by_name()` function to get a worksheet
|
|
190
|
+
object from its name.
|
|
191
|
+
|
|
192
|
+
- Added `workbook_validate_worksheet_name()` function to validate a worksheet
|
|
193
|
+
name.
|
|
194
|
+
|
|
195
|
+
- Fix for parameter length check when strings are UTF-8.
|
|
196
|
+
Issue [#84][gh_84].
|
|
197
|
+
|
|
198
|
+
[gh_84]: https://github.com/jmcnamara/libxlsxwriter/issues/84
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
## 0.4.2 July 14 2016
|
|
202
|
+
|
|
203
|
+
- Added support for OpenBSD and better support for FreeBSD. See @ref gsg_bsd.
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
## 0.4.1 July 11 2016
|
|
207
|
+
|
|
208
|
+
- Switched to using
|
|
209
|
+
[tmpfileplus](http://www.di-mgt.com.au/c_function_to_create_temp_file.html)
|
|
210
|
+
for temporary file handles to work around issue when the temp directory on
|
|
211
|
+
Windows isn't writeable. The temp file directory is now also configurable at
|
|
212
|
+
runtime, see @ref gsg_tmpdir.
|
|
213
|
+
|
|
214
|
+
Issue [#63][gh_63].
|
|
215
|
+
|
|
216
|
+
[gh_63]: https://github.com/jmcnamara/libxlsxwriter/issues/63
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
## 0.4.0 July 5 2016
|
|
220
|
+
|
|
221
|
+
- Added fixes for MSVC 2010.
|
|
222
|
+
|
|
223
|
+
- Refactored public APIs to return #lxw_error instead of int.
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
## 0.3.9 July 2 2016
|
|
227
|
+
|
|
228
|
+
- Added support for MinGW, MinGW-w64, Cygwin, MSYS and MSYS2.
|
|
229
|
+
See @ref gsg_ming.
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
## 0.3.8 June 11 2016
|
|
233
|
+
|
|
234
|
+
- Added workbook functions to set custom document properties. See
|
|
235
|
+
`workbook_set_custom_property_string()` and @ref doc_custom_properties.c.
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
## 0.3.7 June 2 2016
|
|
239
|
+
|
|
240
|
+
- Added updated Cocoapods file for Cocoapods 1.0.0. This also add support for
|
|
241
|
+
the "use_frameworks" directive. Thanks to Ludovico Rossi. See @ref
|
|
242
|
+
getting_started for instructions on how to use the cocoapod.
|
|
243
|
+
|
|
244
|
+
Pull request [#50][gh_50].
|
|
245
|
+
|
|
246
|
+
[gh_50]: https://github.com/jmcnamara/libxlsxwriter/issues/50
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
## 0.3.6 June 1 2016
|
|
250
|
+
|
|
251
|
+
- Fix for `worksheet_insert_image()` issue when handling images with zero dpi.
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
## 0.3.5 May 31 2016
|
|
255
|
+
|
|
256
|
+
- Refactored the error handling and reporting for when the file creation
|
|
257
|
+
subsystem fails due to file permissions or other issues. The new error codes
|
|
258
|
+
are in `#lxw_error` and the codes can be converted to strings, for reporting,
|
|
259
|
+
using the new `lxw_strerror()` function.
|
|
260
|
+
|
|
261
|
+
Issue [#49][gh_49].
|
|
262
|
+
|
|
263
|
+
[gh_49]: https://github.com/jmcnamara/libxlsxwriter/issues/49
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
## 0.3.4 May 28 2016
|
|
267
|
+
|
|
268
|
+
- Updated the @ref getting_started docs with instructions on how to build
|
|
269
|
+
libxlsxwriter for Windows using Microsoft Visual Studio and added links to
|
|
270
|
+
the example MSVC project:
|
|
271
|
+
[MSVCLibXlsxWriter](https://github.com/jmcnamara/MSVCLibXlsxWriter).
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
## 0.3.3 May 23 2016
|
|
275
|
+
|
|
276
|
+
- Added support for charts via the @ref chart.h "The Chart object". See the
|
|
277
|
+
examples of the supported chart types:
|
|
278
|
+
|
|
279
|
+
- @ref chart_area.c "Area chart"
|
|
280
|
+
- @ref chart_bar.c "Bar chart"
|
|
281
|
+
- @ref chart_column.c "Column chart"
|
|
282
|
+
- @ref chart_line.c "Line chart"
|
|
283
|
+
- @ref chart_scatter.c "Scatter chart"
|
|
284
|
+
- @ref chart_radar.c "Radar chart"
|
|
285
|
+
- @ref chart_pie.c "Pie chart"
|
|
286
|
+
- @ref chart_doughnut.c "Doughnut chart"
|
|
287
|
+
- @ref chart_styles.c "Built-in charts styles"
|
|
288
|
+
|
|
289
|
+
Feature request [#36][gh_36].
|
|
290
|
+
|
|
291
|
+
[gh_36]: https://github.com/jmcnamara/libxlsxwriter/issues/36
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
## 0.3.2 April 8 2016
|
|
295
|
+
|
|
296
|
+
- Added the `worksheet_write_boolean()` function to write Excel boolean
|
|
297
|
+
values.
|
|
298
|
+
Feature request [#47][gh_47].
|
|
299
|
+
|
|
300
|
+
[gh_47]: https://github.com/jmcnamara/libxlsxwriter/issues/47
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
## 0.3.1 January 9 2016
|
|
304
|
+
|
|
305
|
+
- Improved performance 20-30% for large data files.
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
## 0.3.0 January 4 2016
|
|
309
|
+
|
|
310
|
+
- Renamed `worksheet_set_row()` function to `worksheet_set_row_opt()` for
|
|
311
|
+
consistency with current and future APIs. The `worksheet_set_row()` function
|
|
312
|
+
is now used without the options parameter.
|
|
313
|
+
|
|
314
|
+
Note: This is a backward incompatible change.
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
- Renamed `worksheet_set_column()` function to `worksheet_set_column_opt()`
|
|
318
|
+
for consistency with current and future APIs. The `worksheet_set_column()`
|
|
319
|
+
function is now used without the options parameter.
|
|
320
|
+
|
|
321
|
+
Note: This is a backward incompatible change.
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
## 0.2.9 January 3 2016
|
|
325
|
+
|
|
326
|
+
- Added the `worksheet_insert_image()` function to add PNG and JPG images to
|
|
327
|
+
worksheets. See @ref demo.c and @ref images.c.
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
## 0.2.8 December 22 2015
|
|
331
|
+
|
|
332
|
+
- Added `worksheet_set_default_row()` function to allow setting of default row
|
|
333
|
+
height and hiding unused rows. See the @ref hide_row_col.c example.
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
## 0.2.7 December 21 2015
|
|
337
|
+
|
|
338
|
+
- Added support for escaping control characters in strings. This prevents
|
|
339
|
+
unreadable files if string data contains control characters.
|
|
340
|
+
Issue [#42][gh_42].
|
|
341
|
+
|
|
342
|
+
[gh_42]: https://github.com/jmcnamara/libxlsxwriter/issues/42
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
## 0.2.6 December 19 2015
|
|
346
|
+
|
|
347
|
+
- Added `worksheet_protect()` function to protect Excel worksheet elements
|
|
348
|
+
from modification. See the @ref worksheet_protection.c example.
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
## 0.2.5 December 14 2015
|
|
352
|
+
|
|
353
|
+
- Added `workbook_set_properties()` function to set Excel document properties
|
|
354
|
+
such as Author and Title. See the @ref doc_properties.c example.
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
## 0.2.4 December 13 2015
|
|
358
|
+
|
|
359
|
+
- Added `worksheet_hide()` function to hide a worksheet. See the @ref
|
|
360
|
+
hide_sheet.c example.
|
|
361
|
+
|
|
362
|
+
- Added `worksheet_set_first_sheet()` function to set the first visible
|
|
363
|
+
worksheet in a workbook with a large number of worksheets.
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
## 0.2.3 December 12 2015
|
|
367
|
+
|
|
368
|
+
- Added `worksheet_set_tab_color()` function to set the worksheet tab
|
|
369
|
+
color. See the @ref tab_colors.c example.
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
## 0.2.2 December 11 2015
|
|
373
|
+
|
|
374
|
+
- Replaced shared strings hash table with a Red/Black tree implementation for
|
|
375
|
+
better performance.
|
|
376
|
+
Thanks to Martin Renters. Pull Request [#41][gh_41].
|
|
377
|
+
|
|
378
|
+
[gh_41]: https://github.com/jmcnamara/libxlsxwriter/issues/41
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
## 0.2.1 December 11 2015
|
|
382
|
+
|
|
383
|
+
- Added `worksheet_right_to_left()` function. This can be used to change the
|
|
384
|
+
default direction of the worksheet from left-to-right when creating Arabic,
|
|
385
|
+
Hebrew or other near or far eastern worksheets that use right-to-left as the
|
|
386
|
+
default direction.
|
|
387
|
+
|
|
388
|
+
- Added `worksheet_hide_zero()` function to hide zero cell values.
|
|
389
|
+
|
|
390
|
+
- Added `worksheet_set_zoom()` method to set the worksheet zoom factor.
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
## 0.2.0 December 9 2015
|
|
394
|
+
|
|
395
|
+
- Added `worksheet_set_selection()` function to set the cell selected range on
|
|
396
|
+
a worksheet.
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
## 0.1.9 December 7 2015
|
|
400
|
+
|
|
401
|
+
- Replaced main worksheet data structure with a Red/Black tree implementation
|
|
402
|
+
for better performance when data isn't added in linear row-column order.
|
|
403
|
+
Thanks to Martin Renters. Pull Request [#14][gh_14] and [#16][gh_16].
|
|
404
|
+
|
|
405
|
+
[gh_14]: https://github.com/jmcnamara/libxlsxwriter/issues/14
|
|
406
|
+
[gh_16]: https://github.com/jmcnamara/libxlsxwriter/issues/16
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
## 0.1.8 December 7 2015
|
|
410
|
+
|
|
411
|
+
- Added `worksheet_freeze_panes()` and `worksheet_split_panes()` to allow
|
|
412
|
+
setting worksheet panes. See @ref panes.c example.
|
|
413
|
+
|
|
414
|
+
- Added link to [Xcode project][libxlsxwriterCocoaExamples] for iOS and OS X
|
|
415
|
+
with Objective-C and Swift, provided by Ludovico Rossi.
|
|
416
|
+
|
|
417
|
+
- Added improved support for Windows.
|
|
418
|
+
|
|
419
|
+
[libxlsxwriterCocoaExamples]: https://github.com/lrossi/libxlsxwriterCocoaExamples
|
|
420
|
+
|
|
421
|
+
## 0.1.7 September 27 2015
|
|
422
|
+
|
|
423
|
+
- Fixed Cocoapod spec file for iOS and OS X.
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
## 0.1.6 September 27 2015
|
|
427
|
+
|
|
428
|
+
- Added Cocoapod spec file to allow the library to be installed using
|
|
429
|
+
[CocoaPods](https://cocoapods.org).
|
|
430
|
+
Pull Request [#7](https://github.com/jmcnamara/libxlsxwriter/issues/7).
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
## 0.1.5 May 3 2015
|
|
434
|
+
|
|
435
|
+
- Added `worksheet_write_url()` function to write urls/hyperlinks to
|
|
436
|
+
worksheets. See also @ref hyperlinks.c.
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
## 0.1.4 March 18 2015
|
|
440
|
+
|
|
441
|
+
- Added `worksheet_autofilter()` function to add autofilters to worksheets.
|
|
442
|
+
See also @ref autofilter.c.
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
## 0.1.3 March 15 2015
|
|
446
|
+
|
|
447
|
+
- Added `worksheet_write_array_formula()` function to allow writing of
|
|
448
|
+
array formulas in worksheets.
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
## 0.1.2 March 14 2015
|
|
452
|
+
|
|
453
|
+
- Added `worksheet_set_h_pagebreaks()` and `worksheet_set_v_pagebreaks()`
|
|
454
|
+
functions to define worksheet page breaks.
|
|
455
|
+
|
|
456
|
+
- Added LXW_FOREACH_WORKSHEET() macro to allow iteration over all the
|
|
457
|
+
worksheets in a workbook.
|
|
458
|
+
|
|
459
|
+
- Added `worksheet_set_print_scale()` function to set the scale factor for
|
|
460
|
+
the printed page.
|
|
461
|
+
|
|
462
|
+
- Added `worksheet_set_start_page()` function to set the start page number
|
|
463
|
+
when printing.
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
## 0.1.1 March 13 2015
|
|
467
|
+
|
|
468
|
+
- Added `worksheet_print_area()` function to control the print area of a
|
|
469
|
+
worksheet.
|
|
470
|
+
|
|
471
|
+
- Added `worksheet_fit_to_pages()` function to fit the printed area to a
|
|
472
|
+
specific number of pages both vertically and horizontally.
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
## 0.1.0 March 12 2015
|
|
476
|
+
|
|
477
|
+
- Added `worksheet_repeat_rows()` and `worksheet_repeat_columns()` functions
|
|
478
|
+
to control the repeated rows/columns on printed worksheets.
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
## 0.0.9 March 9 2015
|
|
482
|
+
|
|
483
|
+
- Added `worksheet_gridlines()` function to show/hide screen and print
|
|
484
|
+
gridlines.
|
|
485
|
+
|
|
486
|
+
- Added `worksheet_center_horizontally()` and `worksheet_center_vertically()`
|
|
487
|
+
functions to center worksheet on the printed page.
|
|
488
|
+
|
|
489
|
+
- Added `worksheet_print_row_col_headers()` function to enable printing of row
|
|
490
|
+
and column headers.
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
## 0.0.8 March 8 2015
|
|
494
|
+
|
|
495
|
+
- Added support for worksheet headers and footers via the
|
|
496
|
+
`worksheet_set_header()` and `worksheet_set_footer()` functions. See also
|
|
497
|
+
@ref headers_footers.c.
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
## 0.0.7 March 7 2015
|
|
501
|
+
|
|
502
|
+
- Added the `worksheet_merge_range()` method to merge worksheet cells. See
|
|
503
|
+
also @ref merge_range.c.
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
## 0.0.6 March 5 2015
|
|
507
|
+
|
|
508
|
+
- Added the `workbook_define_name()` method to create defined names and ranges
|
|
509
|
+
in a workbook or worksheet.
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
## 0.0.5 March 6 2015
|
|
513
|
+
|
|
514
|
+
- Added `worksheet_select()` function to set worksheets as selected.
|
|
515
|
+
|
|
516
|
+
- Added `worksheet_activate()` to set the active worksheet.
|
|
517
|
+
|
|
518
|
+
- Several portability fixes to fix warnings with different compilers.
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
## 0.0.4 March 1 2015
|
|
522
|
+
|
|
523
|
+
- Added `worksheet_set_margins()` function to set top, bottom, left and right
|
|
524
|
+
margins in a worksheet.
|
|
525
|
+
|
|
526
|
+
- Fix for issue where format objects were written to the file in the order of
|
|
527
|
+
creation rather than the order of use. This issue caused incorrect formats
|
|
528
|
+
in cells.
|
|
529
|
+
Issue [#3](https://github.com/jmcnamara/libxlsxwriter/issues/3).
|
|
530
|
+
|
|
531
|
+
- Fix for issue where tmp files in `constant_memory` mode weren't closed
|
|
532
|
+
until application exited.
|
|
533
|
+
Issue [#1](https://github.com/jmcnamara/libxlsxwriter/issues/1).
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
## 0.0.3 January 7 2015
|
|
537
|
+
|
|
538
|
+
- Added worksheet page setup methods.
|
|
539
|
+
|
|
540
|
+
- `worksheet_set_landscape()`
|
|
541
|
+
- `worksheet_set_portrait()`
|
|
542
|
+
- `worksheet_set_page_view()`
|
|
543
|
+
- `worksheet_set_paper()`
|
|
544
|
+
- `worksheet_print_across()`
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
## 0.0.2 June 26 2014
|
|
548
|
+
|
|
549
|
+
- First public release.
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
## 0.0.1 June 8 2014
|
|
553
|
+
|
|
554
|
+
- First GitHub release.
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
*/
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
|
|
2
|
+
Libxlsxwriter is released under a FreeBSD license:
|
|
3
|
+
|
|
4
|
+
Copyright 2014-2017, John McNamara <jmcnamara@cpan.org>
|
|
5
|
+
All rights reserved.
|
|
6
|
+
|
|
7
|
+
Redistribution and use in source and binary forms, with or without
|
|
8
|
+
modification, are permitted provided that the following conditions are
|
|
9
|
+
met:
|
|
10
|
+
|
|
11
|
+
1. Redistributions of source code must retain the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer.
|
|
13
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
14
|
+
notice, this list of conditions and the following disclaimer in the
|
|
15
|
+
documentation and/or other materials provided with the distribution.
|
|
16
|
+
|
|
17
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
18
|
+
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
19
|
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
20
|
+
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
21
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
22
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
23
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
24
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
25
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
26
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
27
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
28
|
+
|
|
29
|
+
The views and conclusions contained in the software and documentation are
|
|
30
|
+
those of the authors and should not be interpreted as representing
|
|
31
|
+
official policies, either expressed or implied, of the FreeBSD Project.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
Libxlsxwriter includes `queue.h` from FreeBSD and the `minizip` component of
|
|
35
|
+
`zlib` which have the following licenses:
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
Queue.h from FreeBSD:
|
|
39
|
+
|
|
40
|
+
Copyright (c) 1991, 1993
|
|
41
|
+
The Regents of the University of California. All rights reserved.
|
|
42
|
+
|
|
43
|
+
Redistribution and use in source and binary forms, with or without
|
|
44
|
+
modification, are permitted provided that the following conditions
|
|
45
|
+
are met:
|
|
46
|
+
1. Redistributions of source code must retain the above copyright
|
|
47
|
+
notice, this list of conditions and the following disclaimer.
|
|
48
|
+
2. Redistributions in binary form must reproduce the above copyright
|
|
49
|
+
notice, this list of conditions and the following disclaimer in the
|
|
50
|
+
documentation and/or other materials provided with the distribution.
|
|
51
|
+
4. Neither the name of the University nor the names of its contributors
|
|
52
|
+
may be used to endorse or promote products derived from this software
|
|
53
|
+
without specific prior written permission.
|
|
54
|
+
|
|
55
|
+
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
56
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
57
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
58
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
59
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
60
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
61
|
+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
62
|
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
63
|
+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
64
|
+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
65
|
+
SUCH DAMAGE.
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
Zlib has the following License/Copyright:
|
|
69
|
+
|
|
70
|
+
(C) 1995-2013 Jean-loup Gailly and Mark Adler
|
|
71
|
+
|
|
72
|
+
This software is provided 'as-is', without any express or implied
|
|
73
|
+
warranty. In no event will the authors be held liable for any damages
|
|
74
|
+
arising from the use of this software.
|
|
75
|
+
|
|
76
|
+
Permission is granted to anyone to use this software for any purpose,
|
|
77
|
+
including commercial applications, and to alter it and redistribute it
|
|
78
|
+
freely, subject to the following restrictions:
|
|
79
|
+
|
|
80
|
+
1. The origin of this software must not be misrepresented; you must not
|
|
81
|
+
claim that you wrote the original software. If you use this software
|
|
82
|
+
in a product, an acknowledgment in the product documentation would be
|
|
83
|
+
appreciated but is not required.
|
|
84
|
+
2. Altered source versions must be plainly marked as such, and must not be
|
|
85
|
+
misrepresented as being the original software.
|
|
86
|
+
3. This notice may not be removed or altered from any source distribution.
|
|
87
|
+
|
|
88
|
+
Jean-loup Gailly Mark Adler
|
|
89
|
+
jloup@gzip.org madler@alumni.caltech.edu
|