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.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +5 -2
  3. data/Makefile +14 -0
  4. data/README.md +7 -2
  5. data/Rakefile +10 -0
  6. data/extconf.rb +0 -0
  7. data/fast_excel.gemspec +3 -1
  8. data/lib/fast_excel/binding.rb +3 -7
  9. data/lib/rubygems_plugin.rb +3 -0
  10. data/libxlsxwriter/.gitignore +49 -0
  11. data/libxlsxwriter/.indent.pro +125 -0
  12. data/libxlsxwriter/.travis.yml +25 -0
  13. data/libxlsxwriter/CONTRIBUTING.md +226 -0
  14. data/libxlsxwriter/Changes.txt +557 -0
  15. data/libxlsxwriter/LICENSE.txt +89 -0
  16. data/libxlsxwriter/Makefile +156 -0
  17. data/libxlsxwriter/Readme.md +78 -0
  18. data/libxlsxwriter/cocoapods/libxlsxwriter-umbrella.h +30 -0
  19. data/libxlsxwriter/cocoapods/libxlsxwriter.modulemap +7 -0
  20. data/libxlsxwriter/include/xlsxwriter/app.h +79 -0
  21. data/libxlsxwriter/include/xlsxwriter/chart.h +3476 -0
  22. data/libxlsxwriter/include/xlsxwriter/common.h +372 -0
  23. data/libxlsxwriter/include/xlsxwriter/content_types.h +74 -0
  24. data/libxlsxwriter/include/xlsxwriter/core.h +51 -0
  25. data/libxlsxwriter/include/xlsxwriter/custom.h +52 -0
  26. data/libxlsxwriter/include/xlsxwriter/drawing.h +111 -0
  27. data/libxlsxwriter/include/xlsxwriter/format.h +1214 -0
  28. data/libxlsxwriter/include/xlsxwriter/hash_table.h +76 -0
  29. data/libxlsxwriter/include/xlsxwriter/packager.h +80 -0
  30. data/libxlsxwriter/include/xlsxwriter/relationships.h +77 -0
  31. data/libxlsxwriter/include/xlsxwriter/shared_strings.h +83 -0
  32. data/libxlsxwriter/include/xlsxwriter/styles.h +77 -0
  33. data/libxlsxwriter/include/xlsxwriter/theme.h +47 -0
  34. data/libxlsxwriter/include/xlsxwriter/third_party/ioapi.h +214 -0
  35. data/libxlsxwriter/include/xlsxwriter/third_party/queue.h +694 -0
  36. data/libxlsxwriter/include/xlsxwriter/third_party/tmpfileplus.h +53 -0
  37. data/libxlsxwriter/include/xlsxwriter/third_party/tree.h +801 -0
  38. data/libxlsxwriter/include/xlsxwriter/third_party/zip.h +375 -0
  39. data/libxlsxwriter/include/xlsxwriter/utility.h +166 -0
  40. data/libxlsxwriter/include/xlsxwriter/workbook.h +757 -0
  41. data/libxlsxwriter/include/xlsxwriter/worksheet.h +2641 -0
  42. data/libxlsxwriter/include/xlsxwriter/xmlwriter.h +178 -0
  43. data/libxlsxwriter/include/xlsxwriter.h +23 -0
  44. data/libxlsxwriter/lib/.gitignore +0 -0
  45. data/libxlsxwriter/libxlsxwriter.podspec +47 -0
  46. data/libxlsxwriter/src/Makefile +130 -0
  47. data/libxlsxwriter/src/app.c +443 -0
  48. data/libxlsxwriter/src/chart.c +6346 -0
  49. data/libxlsxwriter/src/content_types.c +345 -0
  50. data/libxlsxwriter/src/core.c +293 -0
  51. data/libxlsxwriter/src/custom.c +224 -0
  52. data/libxlsxwriter/src/drawing.c +746 -0
  53. data/libxlsxwriter/src/format.c +729 -0
  54. data/libxlsxwriter/src/hash_table.c +223 -0
  55. data/libxlsxwriter/src/packager.c +948 -0
  56. data/libxlsxwriter/src/relationships.c +245 -0
  57. data/libxlsxwriter/src/shared_strings.c +266 -0
  58. data/libxlsxwriter/src/styles.c +1088 -0
  59. data/libxlsxwriter/src/theme.c +348 -0
  60. data/libxlsxwriter/src/utility.c +515 -0
  61. data/libxlsxwriter/src/workbook.c +1930 -0
  62. data/libxlsxwriter/src/worksheet.c +5022 -0
  63. data/libxlsxwriter/src/xmlwriter.c +355 -0
  64. data/libxlsxwriter/third_party/minizip/Makefile +44 -0
  65. data/libxlsxwriter/third_party/minizip/Makefile.am +45 -0
  66. data/libxlsxwriter/third_party/minizip/Makefile.orig +25 -0
  67. data/libxlsxwriter/third_party/minizip/MiniZip64_Changes.txt +6 -0
  68. data/libxlsxwriter/third_party/minizip/MiniZip64_info.txt +74 -0
  69. data/libxlsxwriter/third_party/minizip/README.txt +5 -0
  70. data/libxlsxwriter/third_party/minizip/configure.ac +32 -0
  71. data/libxlsxwriter/third_party/minizip/crypt.h +131 -0
  72. data/libxlsxwriter/third_party/minizip/ioapi.c +247 -0
  73. data/libxlsxwriter/third_party/minizip/ioapi.h +208 -0
  74. data/libxlsxwriter/third_party/minizip/iowin32.c +456 -0
  75. data/libxlsxwriter/third_party/minizip/iowin32.h +28 -0
  76. data/libxlsxwriter/third_party/minizip/make_vms.com +25 -0
  77. data/libxlsxwriter/third_party/minizip/miniunz.c +660 -0
  78. data/libxlsxwriter/third_party/minizip/miniunzip.1 +63 -0
  79. data/libxlsxwriter/third_party/minizip/minizip.1 +46 -0
  80. data/libxlsxwriter/third_party/minizip/minizip.c +520 -0
  81. data/libxlsxwriter/third_party/minizip/minizip.pc.in +12 -0
  82. data/libxlsxwriter/third_party/minizip/mztools.c +291 -0
  83. data/libxlsxwriter/third_party/minizip/mztools.h +37 -0
  84. data/libxlsxwriter/third_party/minizip/unzip.c +2125 -0
  85. data/libxlsxwriter/third_party/minizip/unzip.h +437 -0
  86. data/libxlsxwriter/third_party/minizip/zip.c +2007 -0
  87. data/libxlsxwriter/third_party/minizip/zip.h +367 -0
  88. data/libxlsxwriter/third_party/tmpfileplus/Makefile +42 -0
  89. data/libxlsxwriter/third_party/tmpfileplus/tmpfileplus.c +342 -0
  90. data/libxlsxwriter/third_party/tmpfileplus/tmpfileplus.h +53 -0
  91. data/libxlsxwriter/version.txt +1 -0
  92. metadata +89 -6
  93. data/binaries/libxlsxwriter-alpine.so +0 -0
  94. data/binaries/libxlsxwriter-darwin.dylib +0 -0
  95. data/binaries/libxlsxwriter-glibc.so +0 -0
@@ -0,0 +1,348 @@
1
+ /*****************************************************************************
2
+ * theme - A library for creating Excel XLSX theme files.
3
+ *
4
+ * Used in conjunction with the libxlsxwriter library.
5
+ *
6
+ * Copyright 2014-2017, John McNamara, jmcnamara@cpan.org. See LICENSE.txt.
7
+ *
8
+ */
9
+
10
+ #include <string.h>
11
+
12
+ #include "xlsxwriter/xmlwriter.h"
13
+ #include "xlsxwriter/theme.h"
14
+ #include "xlsxwriter/utility.h"
15
+
16
+ const char *theme_strs[] = {
17
+ "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n",
18
+ "<a:theme xmlns:a=\"http://schemas.openxmlformats.org/",
19
+ "drawingml/2006/main\" name=\"Office Theme\">",
20
+ "<a:themeElements>",
21
+ "<a:clrScheme name=\"Office\"><a:dk1>",
22
+ "<a:sysClr val=\"windowText\" lastClr=\"000000\"/>",
23
+ "</a:dk1><a:lt1>",
24
+ "<a:sysClr val=\"window\" lastClr=\"FFFFFF\"/></a:lt1><a:dk2>",
25
+ "<a:srgbClr val=\"1F497D\"/></a:dk2><a:lt2>",
26
+ "<a:srgbClr val=\"EEECE1\"/></a:lt2><a:accent1>",
27
+ "<a:srgbClr val=\"4F81BD\"/></a:accent1><a:accent2>",
28
+ "<a:srgbClr val=\"C0504D\"/></a:accent2><a:accent3>",
29
+ "<a:srgbClr val=\"9BBB59\"/></a:accent3><a:accent4>",
30
+ "<a:srgbClr val=\"8064A2\"/></a:accent4><a:accent5>",
31
+ "<a:srgbClr val=\"4BACC6\"/></a:accent5><a:accent6>",
32
+ "<a:srgbClr val=\"F79646\"/></a:accent6><a:hlink>",
33
+ "<a:srgbClr val=\"0000FF\"/></a:hlink><a:folHlink>",
34
+ "<a:srgbClr val=\"800080\"/></a:folHlink></a:clrScheme>",
35
+ "<a:fontScheme name=\"Office\"><a:majorFont>",
36
+ "<a:latin typeface=\"Cambria\"/><a:ea typeface=\"\"/>",
37
+ "<a:cs typeface=\"\"/>",
38
+ "<a:font script=\"Jpan\" typeface=\"MS Pゴシック\"/>",
39
+ "<a:font script=\"Hang\" typeface=\"맑은 고딕\"/>",
40
+ "<a:font script=\"Hans\" typeface=\"宋体\"/>",
41
+ "<a:font script=\"Hant\" typeface=\"新細明體\"/>",
42
+ "<a:font script=\"Arab\" typeface=\"Times New Roman\"/>",
43
+ "<a:font script=\"Hebr\" typeface=\"Times New Roman\"/>",
44
+ "<a:font script=\"Thai\" typeface=\"Tahoma\"/>",
45
+ "<a:font script=\"Ethi\" typeface=\"Nyala\"/>",
46
+ "<a:font script=\"Beng\" typeface=\"Vrinda\"/>",
47
+ "<a:font script=\"Gujr\" typeface=\"Shruti\"/>",
48
+ "<a:font script=\"Khmr\" typeface=\"MoolBoran\"/>",
49
+ "<a:font script=\"Knda\" typeface=\"Tunga\"/>",
50
+ "<a:font script=\"Guru\" typeface=\"Raavi\"/>",
51
+ "<a:font script=\"Cans\" typeface=\"Euphemia\"/>",
52
+ "<a:font script=\"Cher\" typeface=\"Plantagenet Cherokee\"/>",
53
+ "<a:font script=\"Yiii\" typeface=\"Microsoft Yi Baiti\"/>",
54
+ "<a:font script=\"Tibt\" typeface=\"Microsoft Himalaya\"/>",
55
+ "<a:font script=\"Thaa\" typeface=\"MV Boli\"/>",
56
+ "<a:font script=\"Deva\" typeface=\"Mangal\"/>",
57
+ "<a:font script=\"Telu\" typeface=\"Gautami\"/>",
58
+ "<a:font script=\"Taml\" typeface=\"Latha\"/>",
59
+ "<a:font script=\"Syrc\" typeface=\"Estrangelo Edessa\"/>",
60
+ "<a:font script=\"Orya\" typeface=\"Kalinga\"/>",
61
+ "<a:font script=\"Mlym\" typeface=\"Kartika\"/>",
62
+ "<a:font script=\"Laoo\" typeface=\"DokChampa\"/>",
63
+ "<a:font script=\"Sinh\" typeface=\"Iskoola Pota\"/>",
64
+ "<a:font script=\"Mong\" typeface=\"Mongolian Baiti\"/>",
65
+ "<a:font script=\"Viet\" typeface=\"Times New Roman\"/>",
66
+ "<a:font script=\"Uigh\" typeface=\"Microsoft Uighur\"/>",
67
+ "</a:majorFont>",
68
+ "<a:minorFont>",
69
+ "<a:latin typeface=\"Calibri\"/>",
70
+ "<a:ea typeface=\"\"/>",
71
+ "<a:cs typeface=\"\"/>",
72
+ "<a:font script=\"Jpan\" typeface=\"MS Pゴシック\"/>",
73
+ "<a:font script=\"Hang\" typeface=\"맑은 고딕\"/>",
74
+ "<a:font script=\"Hans\" typeface=\"宋体\"/>",
75
+ "<a:font script=\"Hant\" typeface=\"新細明體\"/>",
76
+ "<a:font script=\"Arab\" typeface=\"Arial\"/>",
77
+ "<a:font script=\"Hebr\" typeface=\"Arial\"/>",
78
+ "<a:font script=\"Thai\" typeface=\"Tahoma\"/>",
79
+ "<a:font script=\"Ethi\" typeface=\"Nyala\"/>",
80
+ "<a:font script=\"Beng\" typeface=\"Vrinda\"/>",
81
+ "<a:font script=\"Gujr\" typeface=\"Shruti\"/>",
82
+ "<a:font script=\"Khmr\" typeface=\"DaunPenh\"/>",
83
+ "<a:font script=\"Knda\" typeface=\"Tunga\"/>",
84
+ "<a:font script=\"Guru\" typeface=\"Raavi\"/>",
85
+ "<a:font script=\"Cans\" typeface=\"Euphemia\"/>",
86
+ "<a:font script=\"Cher\" typeface=\"Plantagenet Cherokee\"/>",
87
+ "<a:font script=\"Yiii\" typeface=\"Microsoft Yi Baiti\"/>",
88
+ "<a:font script=\"Tibt\" typeface=\"Microsoft Himalaya\"/>",
89
+ "<a:font script=\"Thaa\" typeface=\"MV Boli\"/>",
90
+ "<a:font script=\"Deva\" typeface=\"Mangal\"/>",
91
+ "<a:font script=\"Telu\" typeface=\"Gautami\"/>",
92
+ "<a:font script=\"Taml\" typeface=\"Latha\"/>",
93
+ "<a:font script=\"Syrc\" typeface=\"Estrangelo Edessa\"/>",
94
+ "<a:font script=\"Orya\" typeface=\"Kalinga\"/>",
95
+ "<a:font script=\"Mlym\" typeface=\"Kartika\"/>",
96
+ "<a:font script=\"Laoo\" typeface=\"DokChampa\"/>",
97
+ "<a:font script=\"Sinh\" typeface=\"Iskoola Pota\"/>",
98
+ "<a:font script=\"Mong\" typeface=\"Mongolian Baiti\"/>",
99
+ "<a:font script=\"Viet\" typeface=\"Arial\"/>",
100
+ "<a:font script=\"Uigh\" typeface=\"Microsoft Uighur\"/>",
101
+ "</a:minorFont>",
102
+ "</a:fontScheme><a:fmtScheme name=\"Office\">",
103
+ "<a:fillStyleLst>",
104
+ "<a:solidFill>",
105
+ "<a:schemeClr val=\"phClr\"/>",
106
+ "</a:solidFill>",
107
+ "<a:gradFill rotWithShape=\"1\">",
108
+ "<a:gsLst>",
109
+ "<a:gs pos=\"0\">",
110
+ "<a:schemeClr val=\"phClr\">",
111
+ "<a:tint val=\"50000\"/>",
112
+ "<a:satMod val=\"300000\"/>",
113
+ "</a:schemeClr>",
114
+ "</a:gs>",
115
+ "<a:gs pos=\"35000\">",
116
+ "<a:schemeClr val=\"phClr\">",
117
+ "<a:tint val=\"37000\"/>",
118
+ "<a:satMod val=\"300000\"/>",
119
+ "</a:schemeClr>",
120
+ "</a:gs>",
121
+ "<a:gs pos=\"100000\">",
122
+ "<a:schemeClr val=\"phClr\">",
123
+ "<a:tint val=\"15000\"/>",
124
+ "<a:satMod val=\"350000\"/>",
125
+ "</a:schemeClr>",
126
+ "</a:gs>",
127
+ "</a:gsLst>",
128
+ "<a:lin ang=\"16200000\" scaled=\"1\"/>",
129
+ "</a:gradFill>",
130
+ "<a:gradFill rotWithShape=\"1\">",
131
+ "<a:gsLst>",
132
+ "<a:gs pos=\"0\">",
133
+ "<a:schemeClr val=\"phClr\">",
134
+ "<a:shade val=\"51000\"/>",
135
+ "<a:satMod val=\"130000\"/>",
136
+ "</a:schemeClr>",
137
+ "</a:gs>",
138
+ "<a:gs pos=\"80000\">",
139
+ "<a:schemeClr val=\"phClr\">",
140
+ "<a:shade val=\"93000\"/>",
141
+ "<a:satMod val=\"130000\"/>",
142
+ "</a:schemeClr>",
143
+ "</a:gs>",
144
+ "<a:gs pos=\"100000\">",
145
+ "<a:schemeClr val=\"phClr\">",
146
+ "<a:shade val=\"94000\"/>",
147
+ "<a:satMod val=\"135000\"/>",
148
+ "</a:schemeClr>",
149
+ "</a:gs>",
150
+ "</a:gsLst>",
151
+ "<a:lin ang=\"16200000\" scaled=\"0\"/>",
152
+ "</a:gradFill>",
153
+ "</a:fillStyleLst>",
154
+ "<a:lnStyleLst>",
155
+ "<a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\">",
156
+ "<a:solidFill>",
157
+ "<a:schemeClr val=\"phClr\">",
158
+ "<a:shade val=\"95000\"/>",
159
+ "<a:satMod val=\"105000\"/>",
160
+ "</a:schemeClr>",
161
+ "</a:solidFill>",
162
+ "<a:prstDash val=\"solid\"/>",
163
+ "</a:ln>",
164
+ "<a:ln w=\"25400\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\">",
165
+ "<a:solidFill>",
166
+ "<a:schemeClr val=\"phClr\"/>",
167
+ "</a:solidFill>",
168
+ "<a:prstDash val=\"solid\"/>",
169
+ "</a:ln>",
170
+ "<a:ln w=\"38100\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\">",
171
+ "<a:solidFill>",
172
+ "<a:schemeClr val=\"phClr\"/>",
173
+ "</a:solidFill>",
174
+ "<a:prstDash val=\"solid\"/>",
175
+ "</a:ln>",
176
+ "</a:lnStyleLst>",
177
+ "<a:effectStyleLst>",
178
+ "<a:effectStyle>",
179
+ "<a:effectLst>",
180
+ "<a:outerShdw blurRad=\"40000\" dist=\"20000\" ",
181
+ "dir=\"5400000\" rotWithShape=\"0\">",
182
+ "<a:srgbClr val=\"000000\">",
183
+ "<a:alpha val=\"38000\"/>",
184
+ "</a:srgbClr>",
185
+ "</a:outerShdw>",
186
+ "</a:effectLst>",
187
+ "</a:effectStyle>",
188
+ "<a:effectStyle>",
189
+ "<a:effectLst>",
190
+ "<a:outerShdw blurRad=\"40000\" dist=\"23000\" ",
191
+ "dir=\"5400000\" rotWithShape=\"0\">",
192
+ "<a:srgbClr val=\"000000\">",
193
+ "<a:alpha val=\"35000\"/>",
194
+ "</a:srgbClr>",
195
+ "</a:outerShdw>",
196
+ "</a:effectLst>",
197
+ "</a:effectStyle>",
198
+ "<a:effectStyle>",
199
+ "<a:effectLst>",
200
+ "<a:outerShdw blurRad=\"40000\" dist=\"23000\" ",
201
+ "dir=\"5400000\" rotWithShape=\"0\">",
202
+ "<a:srgbClr val=\"000000\">",
203
+ "<a:alpha val=\"35000\"/>",
204
+ "</a:srgbClr>",
205
+ "</a:outerShdw>",
206
+ "</a:effectLst>",
207
+ "<a:scene3d>",
208
+ "<a:camera prst=\"orthographicFront\">",
209
+ "<a:rot lat=\"0\" lon=\"0\" rev=\"0\"/>",
210
+ "</a:camera>",
211
+ "<a:lightRig rig=\"threePt\" dir=\"t\">",
212
+ "<a:rot lat=\"0\" lon=\"0\" rev=\"1200000\"/>",
213
+ "</a:lightRig>",
214
+ "</a:scene3d>",
215
+ "<a:sp3d>",
216
+ "<a:bevelT w=\"63500\" h=\"25400\"/>",
217
+ "</a:sp3d>",
218
+ "</a:effectStyle>",
219
+ "</a:effectStyleLst>",
220
+ "<a:bgFillStyleLst>",
221
+ "<a:solidFill>",
222
+ "<a:schemeClr val=\"phClr\"/>",
223
+ "</a:solidFill>",
224
+ "<a:gradFill rotWithShape=\"1\">",
225
+ "<a:gsLst>",
226
+ "<a:gs pos=\"0\">",
227
+ "<a:schemeClr val=\"phClr\">",
228
+ "<a:tint val=\"40000\"/>",
229
+ "<a:satMod val=\"350000\"/>",
230
+ "</a:schemeClr>",
231
+ "</a:gs>",
232
+ "<a:gs pos=\"40000\">",
233
+ "<a:schemeClr val=\"phClr\">",
234
+ "<a:tint val=\"45000\"/>",
235
+ "<a:shade val=\"99000\"/>",
236
+ "<a:satMod val=\"350000\"/>",
237
+ "</a:schemeClr>",
238
+ "</a:gs>",
239
+ "<a:gs pos=\"100000\">",
240
+ "<a:schemeClr val=\"phClr\">",
241
+ "<a:shade val=\"20000\"/>",
242
+ "<a:satMod val=\"255000\"/>",
243
+ "</a:schemeClr>",
244
+ "</a:gs>",
245
+ "</a:gsLst>",
246
+ "<a:path path=\"circle\">",
247
+ "<a:fillToRect l=\"50000\" t=\"-80000\" r=\"50000\" b=\"180000\"/>",
248
+ "</a:path>",
249
+ "</a:gradFill>",
250
+ "<a:gradFill rotWithShape=\"1\">",
251
+ "<a:gsLst>",
252
+ "<a:gs pos=\"0\">",
253
+ "<a:schemeClr val=\"phClr\">",
254
+ "<a:tint val=\"80000\"/>",
255
+ "<a:satMod val=\"300000\"/>",
256
+ "</a:schemeClr>",
257
+ "</a:gs>",
258
+ "<a:gs pos=\"100000\">",
259
+ "<a:schemeClr val=\"phClr\">",
260
+ "<a:shade val=\"30000\"/>",
261
+ "<a:satMod val=\"200000\"/>",
262
+ "</a:schemeClr>",
263
+ "</a:gs>",
264
+ "</a:gsLst>",
265
+ "<a:path path=\"circle\">",
266
+ "<a:fillToRect l=\"50000\" t=\"50000\" r=\"50000\" b=\"50000\"/>",
267
+ "</a:path>",
268
+ "</a:gradFill>",
269
+ "</a:bgFillStyleLst>",
270
+ "</a:fmtScheme>",
271
+ "</a:themeElements>",
272
+ "<a:objectDefaults/>",
273
+ "<a:extraClrSchemeLst/>",
274
+ "</a:theme>\n",
275
+ ""
276
+ };
277
+
278
+ /*
279
+ * Forward declarations.
280
+ */
281
+
282
+ /*****************************************************************************
283
+ *
284
+ * Private functions.
285
+ *
286
+ ****************************************************************************/
287
+
288
+ /*
289
+ * Create a new theme object.
290
+ */
291
+ lxw_theme *
292
+ lxw_theme_new()
293
+ {
294
+ lxw_theme *theme = calloc(1, sizeof(lxw_theme));
295
+ GOTO_LABEL_ON_MEM_ERROR(theme, mem_error);
296
+
297
+ return theme;
298
+
299
+ mem_error:
300
+ lxw_theme_free(theme);
301
+ return NULL;
302
+ }
303
+
304
+ /*
305
+ * Free a theme object.
306
+ */
307
+ void
308
+ lxw_theme_free(lxw_theme *theme)
309
+ {
310
+ if (!theme)
311
+ return;
312
+
313
+ free(theme);
314
+ }
315
+
316
+ /*****************************************************************************
317
+ *
318
+ * XML functions.
319
+ *
320
+ ****************************************************************************/
321
+
322
+ /* This library isn't a xmlwriter. */
323
+
324
+ /*****************************************************************************
325
+ *
326
+ * XML file assembly functions.
327
+ *
328
+ ****************************************************************************/
329
+
330
+ /*
331
+ * Assemble and write the XML file.
332
+ */
333
+ void
334
+ lxw_theme_assemble_xml_file(lxw_theme *self)
335
+ {
336
+ int i = 0;
337
+
338
+ while (strlen(theme_strs[i])) {
339
+ fprintf(self->file, "%s", theme_strs[i]);
340
+ i++;
341
+ }
342
+ }
343
+
344
+ /*****************************************************************************
345
+ *
346
+ * Public functions.
347
+ *
348
+ ****************************************************************************/