fast_excel 0.2.2 → 0.4.0

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.
Files changed (100) hide show
  1. checksums.yaml +5 -5
  2. data/.dockerignore +2 -0
  3. data/.gitignore +7 -0
  4. data/.travis.yml +32 -9
  5. data/CHANGELOG.md +36 -1
  6. data/Dockerfile.test +17 -0
  7. data/Gemfile +2 -1
  8. data/Gemfile.lock +33 -24
  9. data/LICENSE +21 -0
  10. data/Makefile +13 -0
  11. data/README.md +177 -40
  12. data/Rakefile +11 -1
  13. data/benchmarks/1k_rows.rb +17 -4
  14. data/benchmarks/20k_rows.rb +4 -0
  15. data/benchmarks/auto_width.rb +37 -0
  16. data/benchmarks/init.rb +14 -2
  17. data/benchmarks/memory.rb +8 -0
  18. data/benchmarks/profiler.rb +27 -0
  19. data/benchmarks/write_value.rb +62 -0
  20. data/examples/example.rb +3 -3
  21. data/examples/example_auto_width.rb +26 -0
  22. data/examples/example_filters.rb +36 -0
  23. data/examples/example_formula.rb +1 -3
  24. data/examples/example_hyperlink.rb +20 -0
  25. data/ext/fast_excel/extconf.rb +3 -0
  26. data/ext/fast_excel/text_width_ext.c +460 -0
  27. data/fast_excel.gemspec +3 -4
  28. data/letters.html +114 -0
  29. data/lib/fast_excel.rb +131 -25
  30. data/lib/fast_excel/binding.rb +33 -21
  31. data/lib/fast_excel/binding/chart.rb +20 -1
  32. data/lib/fast_excel/binding/format.rb +11 -4
  33. data/lib/fast_excel/binding/workbook.rb +10 -2
  34. data/lib/fast_excel/binding/worksheet.rb +44 -27
  35. data/libxlsxwriter/.gitignore +1 -0
  36. data/libxlsxwriter/.indent.pro +8 -0
  37. data/libxlsxwriter/.travis.yml +12 -0
  38. data/libxlsxwriter/CMakeLists.txt +338 -0
  39. data/libxlsxwriter/CONTRIBUTING.md +1 -1
  40. data/libxlsxwriter/Changes.txt +162 -0
  41. data/libxlsxwriter/LICENSE.txt +65 -4
  42. data/libxlsxwriter/Makefile +33 -11
  43. data/libxlsxwriter/Readme.md +3 -1
  44. data/libxlsxwriter/cocoapods/libxlsxwriter-umbrella.h +2 -1
  45. data/libxlsxwriter/cocoapods/libxlsxwriter.modulemap +2 -2
  46. data/libxlsxwriter/include/xlsxwriter.h +2 -2
  47. data/libxlsxwriter/include/xlsxwriter/app.h +2 -2
  48. data/libxlsxwriter/include/xlsxwriter/chart.h +164 -13
  49. data/libxlsxwriter/include/xlsxwriter/chartsheet.h +544 -0
  50. data/libxlsxwriter/include/xlsxwriter/common.h +35 -6
  51. data/libxlsxwriter/include/xlsxwriter/content_types.h +5 -2
  52. data/libxlsxwriter/include/xlsxwriter/core.h +2 -2
  53. data/libxlsxwriter/include/xlsxwriter/custom.h +2 -2
  54. data/libxlsxwriter/include/xlsxwriter/drawing.h +3 -2
  55. data/libxlsxwriter/include/xlsxwriter/format.h +8 -8
  56. data/libxlsxwriter/include/xlsxwriter/hash_table.h +1 -1
  57. data/libxlsxwriter/include/xlsxwriter/packager.h +18 -8
  58. data/libxlsxwriter/include/xlsxwriter/relationships.h +2 -2
  59. data/libxlsxwriter/include/xlsxwriter/shared_strings.h +5 -3
  60. data/libxlsxwriter/include/xlsxwriter/styles.h +10 -5
  61. data/libxlsxwriter/include/xlsxwriter/theme.h +2 -2
  62. data/libxlsxwriter/include/xlsxwriter/utility.h +35 -5
  63. data/libxlsxwriter/include/xlsxwriter/workbook.h +234 -57
  64. data/libxlsxwriter/include/xlsxwriter/worksheet.h +780 -91
  65. data/libxlsxwriter/include/xlsxwriter/xmlwriter.h +4 -2
  66. data/libxlsxwriter/libxlsxwriter.podspec +4 -2
  67. data/libxlsxwriter/src/Makefile +31 -6
  68. data/libxlsxwriter/src/app.c +2 -2
  69. data/libxlsxwriter/src/chart.c +116 -23
  70. data/libxlsxwriter/src/chartsheet.c +508 -0
  71. data/libxlsxwriter/src/content_types.c +12 -4
  72. data/libxlsxwriter/src/core.c +11 -11
  73. data/libxlsxwriter/src/custom.c +3 -3
  74. data/libxlsxwriter/src/drawing.c +114 -17
  75. data/libxlsxwriter/src/format.c +5 -5
  76. data/libxlsxwriter/src/hash_table.c +1 -1
  77. data/libxlsxwriter/src/packager.c +378 -61
  78. data/libxlsxwriter/src/relationships.c +2 -2
  79. data/libxlsxwriter/src/shared_strings.c +18 -4
  80. data/libxlsxwriter/src/styles.c +59 -12
  81. data/libxlsxwriter/src/theme.c +2 -2
  82. data/libxlsxwriter/src/utility.c +93 -6
  83. data/libxlsxwriter/src/workbook.c +379 -61
  84. data/libxlsxwriter/src/worksheet.c +1240 -174
  85. data/libxlsxwriter/src/xmlwriter.c +18 -9
  86. data/libxlsxwriter/third_party/minizip/Makefile +6 -1
  87. data/libxlsxwriter/third_party/minizip/ioapi.c +10 -0
  88. data/libxlsxwriter/third_party/minizip/zip.c +2 -0
  89. data/libxlsxwriter/third_party/tmpfileplus/tmpfileplus.c +2 -2
  90. data/libxlsxwriter/version.txt +1 -1
  91. data/test/auto_width_test.rb +19 -0
  92. data/test/date_test.rb +34 -0
  93. data/test/format_test.rb +8 -0
  94. data/test/reopen_test.rb +22 -0
  95. data/test/test_helper.rb +8 -5
  96. data/test/text_width_test.rb +80 -0
  97. data/test/tmpfile_test.rb +1 -0
  98. data/test/validations_test.rb +47 -0
  99. data/test/worksheet_test.rb +44 -1
  100. metadata +33 -9
@@ -24,7 +24,7 @@ the `xlsxwriter.h` header file or by adding the following to your program:
24
24
 
25
25
  int main() {
26
26
 
27
- printf("Libxlsxwriter version = %s\n", LXW_VERSION);
27
+ printf("Libxlsxwriter version = %s\n", lxw_version());
28
28
 
29
29
  return 0;
30
30
  }
@@ -1,6 +1,168 @@
1
1
  /**
2
2
  @page changes Changes
3
3
 
4
+ ## 0.8.6 April 7 2019
5
+
6
+ - Fixed issue where images that started in hidden rows/columns weren't placed
7
+ correctly in the worksheet.
8
+
9
+ - Fixed the mime-type reported by system `file(1)`. The mime-type reported
10
+ by "file --mime-type"/magic was incorrect for XlsxWriter files since it
11
+ expected the `[Content_types]` to be the first file in the zip container.
12
+
13
+
14
+ ## 0.8.5 February 10 2019
15
+
16
+ - Fix compile-time warnings with strict prototypes enabled.
17
+ Issue [#208][gh_208].
18
+
19
+ [gh_208]: https://github.com/jmcnamara/libxlsxwriter/issues/208
20
+
21
+ - Make py.test name configurable.
22
+ Pull request [#206][gh_206].
23
+
24
+ [gh_206]: https://github.com/jmcnamara/libxlsxwriter/pull/206
25
+
26
+
27
+ ## 0.8.4 November 10 2018
28
+
29
+ - Fix for issue when hashing number formats.
30
+ Issue [#203][gh_203].
31
+
32
+ [gh_203]: https://github.com/jmcnamara/libxlsxwriter/issues/203
33
+
34
+
35
+ ## 0.8.3 October 1 2018
36
+
37
+ - Added `worksheet_write_rich_string()` function to allow writing of
38
+ multi-format rich strings. See @ref rich_strings.c
39
+ Feature request [#37][gh_37].
40
+
41
+ [gh_37]: https://github.com/jmcnamara/libxlsxwriter/issues/37
42
+
43
+
44
+ ## 0.8.2 September 16 2018
45
+
46
+ - Added new chartsheet functionality: `chartsheet_set_tab_color()`, and
47
+ `chartsheet_set_zoom()`.
48
+
49
+
50
+ ## 0.8.1 September 15 2018
51
+
52
+ - Fix for chartsheet and worksheet ordering issue.
53
+
54
+ - Added new chartsheet functionality: `chartsheet_protect()`,
55
+ `chartsheet_hide()`, `chartsheet_select()` and
56
+ `chartsheet_set_first_sheet()`.
57
+
58
+
59
+ ## 0.8.0 September 12 2018
60
+
61
+ - Added chartsheet support. A chartsheet is a type of worksheet that only
62
+ contains a chart. See the @ref chartsheet.h "Chartsheet" object and @ref
63
+ chartsheet.c.
64
+
65
+
66
+ ## 0.7.9 September 1 2018
67
+
68
+ - Added `chart_axis_set_label_align()` function to set the alignment of chart
69
+ category axis labels.
70
+ Feature request [#186][gh_186].
71
+
72
+ [gh_186]: https://github.com/jmcnamara/libxlsxwriter/issues/186
73
+
74
+ - Added `lxw_version()` function to get the library version.
75
+ Feature request [#194][gh_194].
76
+
77
+ [gh_194]: https://github.com/jmcnamara/libxlsxwriter/pull/194
78
+
79
+
80
+ ## 0.7.8 August 30 2018
81
+
82
+ - Added `worksheet_insert_image_buffer()` function to insert images from
83
+ memory buffers. See @ref image_buffer.c.
84
+ Feature request [#125][gh_125].
85
+
86
+ [gh_125]: https://github.com/jmcnamara/libxlsxwriter/issues/125
87
+
88
+
89
+ ## 0.7.7 May 16 2018
90
+
91
+ - Fix to ensure the use of wide filenames on Windows with Microsoft Visual
92
+ C++.
93
+ Issue [#153][gh_153].
94
+
95
+ [gh_153]: https://github.com/jmcnamara/libxlsxwriter/issues/153
96
+
97
+ - Added docs on building an app with Cmake and Microsoft Visual C++ on
98
+ Windows. See @ref gsg_cmake_app.
99
+
100
+
101
+ ## 0.7.6 January 11 2018
102
+
103
+ - Added support for worksheet Grouping and Outlines.
104
+ See @ref working_with_outlines.
105
+ Feature request [#30][gh_30].
106
+
107
+ [gh_30]: https://github.com/jmcnamara/libxlsxwriter/issues/30
108
+
109
+ - Fix include of libxlsxwriter as a Cocoapod on macOS.
110
+ Issue [#94][gh_94].
111
+
112
+ [gh_94]: https://github.com/jmcnamara/libxlsxwriter/issues/94
113
+
114
+
115
+ ## 0.7.5 September 25 2017
116
+
117
+ - Added support for data validations and dropdown lists. See @ref
118
+ working_with_data_validation and @ref data_validate.c.
119
+ Feature request [#31][gh_31].
120
+
121
+ [gh_31]: https://github.com/jmcnamara/libxlsxwriter/issues/31
122
+
123
+
124
+ ## 0.7.4 August 20 2017
125
+
126
+ - Fix make build system "install" target for compatibility with macOS
127
+ [brew/homebrew](https://brew.sh) installer. See @ref gsg_brew.
128
+
129
+
130
+ ## 0.7.3 August 12 2017
131
+
132
+
133
+ - Build system fixes for Gentoo.
134
+ Issue [#116][gh_116].
135
+
136
+ [gh_116]: https://github.com/jmcnamara/libxlsxwriter/issues/116
137
+
138
+
139
+ ## 0.7.2 July 26 2017
140
+
141
+ - Changed font sizes from integer to double to allow fractional font sizes.
142
+ Issue [#114][gh_114].
143
+
144
+ [gh_114]: https://github.com/jmcnamara/libxlsxwriter/issues/114
145
+
146
+
147
+ ## 0.7.1 July 24 2017
148
+
149
+ - Fixed issue where internal file creation and modification dates were in the
150
+ local timezone instead of UTC.
151
+ Issue [#110][gh_110].
152
+
153
+ [gh_110]: https://github.com/jmcnamara/libxlsxwriter/issues/110
154
+
155
+
156
+ ## 0.7.0 June 26 2017
157
+
158
+ - Added support for CMake build system. See @ref gsg_cmake.
159
+ Thanks to Alex Huszagh.
160
+
161
+ - Fixed issue where image filehandles weren't closed until the overall file
162
+ was closed causing the system to run out of filehandles.
163
+ Issue [#106][gh_106].
164
+
165
+ [gh_106]: https://github.com/jmcnamara/libxlsxwriter/issues/106
4
166
 
5
167
  ## 0.6.9 January 30 2017
6
168
 
@@ -1,7 +1,10 @@
1
+ /**
2
+
3
+ @page license License
1
4
 
2
5
  Libxlsxwriter is released under a FreeBSD license:
3
6
 
4
- Copyright 2014-2017, John McNamara <jmcnamara@cpan.org>
7
+ Copyright 2014-2019, John McNamara <jmcnamara@cpan.org>
5
8
  All rights reserved.
6
9
 
7
10
  Redistribution and use in source and binary forms, with or without
@@ -31,8 +34,8 @@ Libxlsxwriter is released under a FreeBSD license:
31
34
  official policies, either expressed or implied, of the FreeBSD Project.
32
35
 
33
36
 
34
- Libxlsxwriter includes `queue.h` from FreeBSD and the `minizip` component of
35
- `zlib` which have the following licenses:
37
+ Libxlsxwriter includes `queue.h` and `tree.h` from FreeBSD, the `minizip`
38
+ component of `zlib` and `tmpfileplus` which have the following licenses:
36
39
 
37
40
 
38
41
  Queue.h from FreeBSD:
@@ -65,7 +68,35 @@ Queue.h from FreeBSD:
65
68
  SUCH DAMAGE.
66
69
 
67
70
 
68
- Zlib has the following License/Copyright:
71
+ Tree.h from FreeBSD:
72
+
73
+ Copyright 2002 Niels Provos <provos@citi.umich.edu>
74
+ All rights reserved.
75
+
76
+ Redistribution and use in source and binary forms, with or without
77
+ modification, are permitted provided that the following conditions
78
+ are met:
79
+ 1. Redistributions of source code must retain the above copyright
80
+ notice, this list of conditions and the following disclaimer.
81
+ 2. Redistributions in binary form must reproduce the above copyright
82
+ notice, this list of conditions and the following disclaimer in the
83
+ documentation and/or other materials provided with the distribution.
84
+
85
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
86
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
87
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
88
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
89
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
90
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
91
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
92
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
93
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
94
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
95
+
96
+
97
+ The `minizip` files used in the libxlsxwriter source tree are taken from the
98
+ `zlib` ` contrib/minizip` directory. [Zlib](http://www.zlib.net) has the
99
+ following License/Copyright:
69
100
 
70
101
  (C) 1995-2013 Jean-loup Gailly and Mark Adler
71
102
 
@@ -87,3 +118,33 @@ Zlib has the following License/Copyright:
87
118
 
88
119
  Jean-loup Gailly Mark Adler
89
120
  jloup@gzip.org madler@alumni.caltech.edu
121
+
122
+ The `minizip` files have the following additional copyright declarations:
123
+
124
+ Copyright (C) 1998-2010 Gilles Vollant
125
+ (minizip) ( http://www.winimage.com/zLibDll/minizip.html )
126
+
127
+ Modifications for Zip64 support
128
+ Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com )
129
+
130
+ Note, it is possible to compile libxlsxwriter without statically linking the
131
+ `minizip` files and instead dynamically linking to `lminizip`, see
132
+ @ref gsg_minizip.
133
+
134
+ [Tmpfileplus](http://www.di-mgt.com.au/c_function_to_create_temp_file.html)
135
+ has the following license:
136
+
137
+ This Source Code Form is subject to the terms of the Mozilla Public
138
+ License, v. 2.0. If a copy of the MPL was not distributed with this
139
+ file, You can obtain one at http://mozilla.org/MPL/2.0/.
140
+
141
+ Copyright (c) 2012-16 David Ireland, DI Management Services Pty Ltd
142
+ <http://www.di-mgt.com.au/contact/>.
143
+
144
+ See the [Mozilla Public License, v. 2.0](http://mozilla.org/MPL/2.0/).
145
+
146
+ Note, it is possible to compile libxlsxwriter using the standard library
147
+ `tmpfile()` function instead of `tmpfileplus`, see @ref gsg_tmpdir.
148
+
149
+ Next: @ref changes
150
+ */
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # Makefile for libxlsxwriter library.
4
4
  #
5
- # Copyright 2014-2017, John McNamara, jmcnamara@cpan.org
5
+ # Copyright 2014-2019, John McNamara, jmcnamara@cpan.org
6
6
  #
7
7
 
8
8
  # Keep the output quiet by default.
@@ -11,11 +11,17 @@ ifdef V
11
11
  Q=
12
12
  endif
13
13
 
14
+ INSTALL_DIR ?= /usr/local
15
+
16
+ PYTEST ?= py.test
17
+
14
18
  .PHONY: docs tags examples
15
19
 
16
20
  # Build the libs.
17
21
  all :
22
+ ifndef USE_SYSTEM_MINIZIP
18
23
  $(Q)$(MAKE) -C third_party/minizip
24
+ endif
19
25
  ifndef USE_STANDARD_TMPFILE
20
26
  $(Q)$(MAKE) -C third_party/tmpfileplus
21
27
  endif
@@ -28,14 +34,16 @@ examples :
28
34
  # Clean src and test directories.
29
35
  clean :
30
36
  $(Q)$(MAKE) clean -C src
31
- $(Q)$(MAKE) clean -C test/unit
32
- $(Q)$(MAKE) clean -C test/functional/src
33
- $(Q)$(MAKE) clean -C examples
34
- $(Q)$(MAKE) clean -C third_party/minizip
37
+ # $(Q)$(MAKE) clean -C test/unit
38
+ # $(Q)$(MAKE) clean -C test/functional/src
39
+ # $(Q)$(MAKE) clean -C examples
35
40
  $(Q)rm -rf docs/html
36
41
  $(Q)rm -rf test/functional/__pycache__
37
42
  $(Q)rm -f test/functional/*.pyc
38
43
  $(Q)rm -f lib/*
44
+ ifndef USE_STANDARD_TMPFILE
45
+ $(Q)$(MAKE) clean -C third_party/minizip
46
+ endif
39
47
  ifndef USE_STANDARD_TMPFILE
40
48
  $(Q)$(MAKE) clean -C third_party/tmpfileplus
41
49
  endif
@@ -43,15 +51,23 @@ endif
43
51
  # Run the unit tests.
44
52
  test : all test_functional test_unit
45
53
 
54
+ # Test for C++ const correctness on APIs.
55
+ test_const : all
56
+ $(Q)$(MAKE) clean -C test/functional/src
57
+ $(Q)! $(MAKE) -C test/functional/src CFLAGS=-Wwrite-strings 2>&1 | grep -A 1 "note:"
58
+
59
+
46
60
  # Run the functional tests.
47
61
  test_functional : all
48
62
  $(Q)$(MAKE) -C test/functional/src
49
- $(Q)py.test test/functional -v
63
+ $(Q)$(PYTEST) test/functional -v
50
64
 
51
65
  # Run all tests.
52
66
  test_unit :
53
67
  @echo "Compiling unit tests ..."
68
+ ifndef USE_SYSTEM_MINIZIP
54
69
  $(Q)$(MAKE) -C third_party/minizip
70
+ endif
55
71
  ifndef USE_STANDARD_TMPFILE
56
72
  $(Q)$(MAKE) -C third_party/tmpfileplus
57
73
  endif
@@ -83,14 +99,16 @@ docs:
83
99
  $(Q)$(MAKE) -C docs
84
100
 
85
101
  # Simple minded install.
86
- install:
87
- $(Q)cp -r include/* /usr/include
88
- $(Q)cp lib/* /usr/lib
102
+ install: all
103
+ $(Q)mkdir -p $(INSTALL_DIR)/include
104
+ $(Q)cp -R include/* $(INSTALL_DIR)/include
105
+ $(Q)mkdir -p $(INSTALL_DIR)/lib
106
+ $(Q)cp lib/* $(INSTALL_DIR)/lib
89
107
 
90
108
  # Simpler minded uninstall.
91
109
  uninstall:
92
- $(Q)rm -rf /usr/include/xlsxwriter*
93
- $(Q)rm /usr/lib/libxlsxwriter.*
110
+ $(Q)rm -rf $(INSTALL_DIR)/include/xlsxwriter*
111
+ $(Q)rm $(INSTALL_DIR)/lib/libxlsxwriter.*
94
112
 
95
113
  # Strip the lib files.
96
114
  strip:
@@ -98,7 +116,9 @@ strip:
98
116
 
99
117
  # Run a coverity static analysis.
100
118
  coverity:
119
+ ifndef USE_SYSTEM_MINIZIP
101
120
  $(Q)$(MAKE) -C third_party/minizip
121
+ endif
102
122
  ifndef USE_STANDARD_TMPFILE
103
123
  $(Q)$(MAKE) -C third_party/tmpfileplus
104
124
  endif
@@ -113,7 +133,9 @@ endif
113
133
 
114
134
  # Run a scan-build static analysis.
115
135
  scan_build:
136
+ ifndef USE_SYSTEM_MINIZIP
116
137
  $(Q)$(MAKE) -C third_party/minizip
138
+ endif
117
139
  ifndef USE_STANDARD_TMPFILE
118
140
  $(Q)$(MAKE) -C third_party/tmpfileplus
119
141
  endif
@@ -20,6 +20,7 @@ It supports features such as:
20
20
  - Defined names.
21
21
  - Autofilters.
22
22
  - Charts.
23
+ - Data validation and drop down lists.
23
24
  - Worksheet PNG/JPEG images.
24
25
  - Memory optimization mode for writing large files.
25
26
  - Source code available on [GitHub](https://github.com/jmcnamara/libxlsxwriter).
@@ -28,6 +29,7 @@ It supports features such as:
28
29
  - Works with GCC, Clang, Xcode, MSVC 2015, ICC, TCC, MinGW, MingGW-w64/32.
29
30
  - Works on Linux, FreeBSD, OpenBSD, OS X, iOS and Windows. Also works on MSYS/MSYS2 and Cygwin.
30
31
  - Compiles for 32 and 64 bit.
32
+ - Compiles and works on big and little endian systems.
31
33
  - The only dependency is on `zlib`.
32
34
 
33
35
  Here is an example that was used to create the spreadsheet shown above:
@@ -57,7 +59,7 @@ int main() {
57
59
  /* Text with formatting. */
58
60
  worksheet_write_string(worksheet, 1, 0, "World", format);
59
61
 
60
- /* Writer some numbers. */
62
+ /* Write some numbers. */
61
63
  worksheet_write_number(worksheet, 2, 0, 123, NULL);
62
64
  worksheet_write_number(worksheet, 3, 0, 123.456, NULL);
63
65
 
@@ -1,8 +1,9 @@
1
- #import <UIKit/UIKit.h>
1
+ #import <Foundation/Foundation.h>
2
2
 
3
3
  #import "../xlsxwriter.h"
4
4
  #import "app.h"
5
5
  #import "chart.h"
6
+ #import "chartsheet.h"
6
7
  #import "common.h"
7
8
  #import "content_types.h"
8
9
  #import "core.h"
@@ -1,6 +1,6 @@
1
1
  framework module xlsxwriter {
2
- umbrella header "libxlsxwriter-umbrella.h"
3
- header "../xlsxwriter.h"
2
+ umbrella header "xlsxwriter/libxlsxwriter-umbrella.h"
3
+ header "xlsxwriter.h"
4
4
 
5
5
  export *
6
6
  module * { export * }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  * libxlsxwriter
3
3
  *
4
- * Copyright 2014-2017, John McNamara, jmcnamara@cpan.org. See LICENSE.txt.
4
+ * Copyright 2014-2019, John McNamara, jmcnamara@cpan.org. See LICENSE.txt.
5
5
  */
6
6
 
7
7
  /**
@@ -18,6 +18,6 @@
18
18
  #include "xlsxwriter/format.h"
19
19
  #include "xlsxwriter/utility.h"
20
20
 
21
- #define LXW_VERSION "0.6.9"
21
+ #define LXW_VERSION "0.8.6"
22
22
 
23
23
  #endif /* __LXW_XLSXWRITER_H__ */