bonio-axlsx 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (325) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +9 -0
  3. data/.yardopts_guide +19 -0
  4. data/CHANGELOG.md +239 -0
  5. data/LICENSE +22 -0
  6. data/README.md +258 -0
  7. data/Rakefile +30 -0
  8. data/examples/2010_comments.rb +17 -0
  9. data/examples/anchor_swapping.rb +28 -0
  10. data/examples/auto_filter.rb +25 -0
  11. data/examples/basic_charts.rb +58 -0
  12. data/examples/chart_colors.rb +88 -0
  13. data/examples/colored_links.rb +59 -0
  14. data/examples/conditional_formatting/example_conditional_formatting.rb +89 -0
  15. data/examples/conditional_formatting/getting_barred.rb +37 -0
  16. data/examples/conditional_formatting/hitting_the_high_notes.rb +37 -0
  17. data/examples/conditional_formatting/scaled_colors.rb +39 -0
  18. data/examples/conditional_formatting/stop_and_go.rb +37 -0
  19. data/examples/data_validation.rb +50 -0
  20. data/examples/example.rb +875 -0
  21. data/examples/extractive.rb +45 -0
  22. data/examples/image1.jpeg +0 -0
  23. data/examples/ios_preview.rb +14 -0
  24. data/examples/merge_cells.rb +17 -0
  25. data/examples/no_grid_with_borders.rb +18 -0
  26. data/examples/page_setup.rb +11 -0
  27. data/examples/pivot_table.rb +39 -0
  28. data/examples/pivot_test.rb +63 -0
  29. data/examples/sheet_protection.rb +10 -0
  30. data/examples/skydrive/real_example.rb +63 -0
  31. data/examples/split.rb +16 -0
  32. data/examples/styles.rb +66 -0
  33. data/examples/underline.rb +13 -0
  34. data/examples/wrap_text.rb +21 -0
  35. data/lib/axlsx.rb +168 -0
  36. data/lib/axlsx/content_type/abstract_content_type.rb +32 -0
  37. data/lib/axlsx/content_type/content_type.rb +26 -0
  38. data/lib/axlsx/content_type/default.rb +25 -0
  39. data/lib/axlsx/content_type/override.rb +25 -0
  40. data/lib/axlsx/doc_props/app.rb +235 -0
  41. data/lib/axlsx/doc_props/core.rb +39 -0
  42. data/lib/axlsx/drawing/ax_data_source.rb +26 -0
  43. data/lib/axlsx/drawing/axes.rb +61 -0
  44. data/lib/axlsx/drawing/axis.rb +190 -0
  45. data/lib/axlsx/drawing/bar_3D_chart.rb +151 -0
  46. data/lib/axlsx/drawing/bar_series.rb +82 -0
  47. data/lib/axlsx/drawing/bubble_chart.rb +59 -0
  48. data/lib/axlsx/drawing/bubble_series.rb +63 -0
  49. data/lib/axlsx/drawing/cat_axis.rb +85 -0
  50. data/lib/axlsx/drawing/chart.rb +274 -0
  51. data/lib/axlsx/drawing/d_lbls.rb +90 -0
  52. data/lib/axlsx/drawing/drawing.rb +164 -0
  53. data/lib/axlsx/drawing/graphic_frame.rb +54 -0
  54. data/lib/axlsx/drawing/hyperlink.rb +100 -0
  55. data/lib/axlsx/drawing/line_3D_chart.rb +68 -0
  56. data/lib/axlsx/drawing/line_chart.rb +99 -0
  57. data/lib/axlsx/drawing/line_series.rb +110 -0
  58. data/lib/axlsx/drawing/marker.rb +84 -0
  59. data/lib/axlsx/drawing/num_data.rb +52 -0
  60. data/lib/axlsx/drawing/num_data_source.rb +62 -0
  61. data/lib/axlsx/drawing/num_val.rb +34 -0
  62. data/lib/axlsx/drawing/one_cell_anchor.rb +98 -0
  63. data/lib/axlsx/drawing/pic.rb +213 -0
  64. data/lib/axlsx/drawing/picture_locking.rb +42 -0
  65. data/lib/axlsx/drawing/pie_3D_chart.rb +47 -0
  66. data/lib/axlsx/drawing/pie_series.rb +74 -0
  67. data/lib/axlsx/drawing/scaling.rb +60 -0
  68. data/lib/axlsx/drawing/scatter_chart.rb +74 -0
  69. data/lib/axlsx/drawing/scatter_series.rb +98 -0
  70. data/lib/axlsx/drawing/ser_axis.rb +45 -0
  71. data/lib/axlsx/drawing/series.rb +69 -0
  72. data/lib/axlsx/drawing/series_title.rb +23 -0
  73. data/lib/axlsx/drawing/str_data.rb +42 -0
  74. data/lib/axlsx/drawing/str_val.rb +34 -0
  75. data/lib/axlsx/drawing/title.rb +96 -0
  76. data/lib/axlsx/drawing/two_cell_anchor.rb +92 -0
  77. data/lib/axlsx/drawing/val_axis.rb +37 -0
  78. data/lib/axlsx/drawing/view_3D.rb +115 -0
  79. data/lib/axlsx/drawing/vml_drawing.rb +42 -0
  80. data/lib/axlsx/drawing/vml_shape.rb +66 -0
  81. data/lib/axlsx/package.rb +363 -0
  82. data/lib/axlsx/rels/relationship.rb +129 -0
  83. data/lib/axlsx/rels/relationships.rb +29 -0
  84. data/lib/axlsx/stylesheet/border.rb +71 -0
  85. data/lib/axlsx/stylesheet/border_pr.rb +71 -0
  86. data/lib/axlsx/stylesheet/cell_alignment.rb +132 -0
  87. data/lib/axlsx/stylesheet/cell_protection.rb +41 -0
  88. data/lib/axlsx/stylesheet/cell_style.rb +72 -0
  89. data/lib/axlsx/stylesheet/color.rb +76 -0
  90. data/lib/axlsx/stylesheet/dxf.rb +79 -0
  91. data/lib/axlsx/stylesheet/fill.rb +35 -0
  92. data/lib/axlsx/stylesheet/font.rb +148 -0
  93. data/lib/axlsx/stylesheet/gradient_fill.rb +103 -0
  94. data/lib/axlsx/stylesheet/gradient_stop.rb +37 -0
  95. data/lib/axlsx/stylesheet/num_fmt.rb +86 -0
  96. data/lib/axlsx/stylesheet/pattern_fill.rb +73 -0
  97. data/lib/axlsx/stylesheet/styles.rb +420 -0
  98. data/lib/axlsx/stylesheet/table_style.rb +54 -0
  99. data/lib/axlsx/stylesheet/table_style_element.rb +77 -0
  100. data/lib/axlsx/stylesheet/table_styles.rb +46 -0
  101. data/lib/axlsx/stylesheet/xf.rb +147 -0
  102. data/lib/axlsx/util/accessors.rb +64 -0
  103. data/lib/axlsx/util/constants.rb +397 -0
  104. data/lib/axlsx/util/mime_type_utils.rb +11 -0
  105. data/lib/axlsx/util/options_parser.rb +16 -0
  106. data/lib/axlsx/util/parser.rb +44 -0
  107. data/lib/axlsx/util/serialized_attributes.rb +89 -0
  108. data/lib/axlsx/util/simple_typed_list.rb +179 -0
  109. data/lib/axlsx/util/storage.rb +146 -0
  110. data/lib/axlsx/util/string.rb +7 -0
  111. data/lib/axlsx/util/validators.rb +311 -0
  112. data/lib/axlsx/version.rb +5 -0
  113. data/lib/axlsx/workbook/defined_name.rb +128 -0
  114. data/lib/axlsx/workbook/defined_names.rb +21 -0
  115. data/lib/axlsx/workbook/shared_strings_table.rb +77 -0
  116. data/lib/axlsx/workbook/workbook.rb +375 -0
  117. data/lib/axlsx/workbook/workbook_view.rb +78 -0
  118. data/lib/axlsx/workbook/workbook_views.rb +22 -0
  119. data/lib/axlsx/workbook/worksheet/auto_filter/auto_filter.rb +77 -0
  120. data/lib/axlsx/workbook/worksheet/auto_filter/filter_column.rb +94 -0
  121. data/lib/axlsx/workbook/worksheet/auto_filter/filters.rb +244 -0
  122. data/lib/axlsx/workbook/worksheet/break.rb +35 -0
  123. data/lib/axlsx/workbook/worksheet/cell.rb +475 -0
  124. data/lib/axlsx/workbook/worksheet/cell_serializer.rb +166 -0
  125. data/lib/axlsx/workbook/worksheet/cfvo.rb +60 -0
  126. data/lib/axlsx/workbook/worksheet/cfvos.rb +15 -0
  127. data/lib/axlsx/workbook/worksheet/col.rb +141 -0
  128. data/lib/axlsx/workbook/worksheet/col_breaks.rb +35 -0
  129. data/lib/axlsx/workbook/worksheet/color_scale.rb +110 -0
  130. data/lib/axlsx/workbook/worksheet/cols.rb +20 -0
  131. data/lib/axlsx/workbook/worksheet/comment.rb +91 -0
  132. data/lib/axlsx/workbook/worksheet/comments.rb +82 -0
  133. data/lib/axlsx/workbook/worksheet/conditional_formatting.rb +82 -0
  134. data/lib/axlsx/workbook/worksheet/conditional_formatting_rule.rb +220 -0
  135. data/lib/axlsx/workbook/worksheet/conditional_formattings.rb +25 -0
  136. data/lib/axlsx/workbook/worksheet/data_bar.rb +129 -0
  137. data/lib/axlsx/workbook/worksheet/data_validation.rb +246 -0
  138. data/lib/axlsx/workbook/worksheet/data_validations.rb +28 -0
  139. data/lib/axlsx/workbook/worksheet/date_time_converter.rb +30 -0
  140. data/lib/axlsx/workbook/worksheet/dimension.rb +64 -0
  141. data/lib/axlsx/workbook/worksheet/header_footer.rb +52 -0
  142. data/lib/axlsx/workbook/worksheet/icon_set.rb +81 -0
  143. data/lib/axlsx/workbook/worksheet/merged_cells.rb +37 -0
  144. data/lib/axlsx/workbook/worksheet/outline_pr.rb +33 -0
  145. data/lib/axlsx/workbook/worksheet/page_margins.rb +97 -0
  146. data/lib/axlsx/workbook/worksheet/page_set_up_pr.rb +44 -0
  147. data/lib/axlsx/workbook/worksheet/page_setup.rb +240 -0
  148. data/lib/axlsx/workbook/worksheet/pane.rb +139 -0
  149. data/lib/axlsx/workbook/worksheet/pivot_table.rb +289 -0
  150. data/lib/axlsx/workbook/worksheet/pivot_table_cache_definition.rb +66 -0
  151. data/lib/axlsx/workbook/worksheet/pivot_tables.rb +24 -0
  152. data/lib/axlsx/workbook/worksheet/print_options.rb +39 -0
  153. data/lib/axlsx/workbook/worksheet/protected_range.rb +47 -0
  154. data/lib/axlsx/workbook/worksheet/protected_ranges.rb +34 -0
  155. data/lib/axlsx/workbook/worksheet/rich_text.rb +35 -0
  156. data/lib/axlsx/workbook/worksheet/rich_text_run.rb +254 -0
  157. data/lib/axlsx/workbook/worksheet/row.rb +161 -0
  158. data/lib/axlsx/workbook/worksheet/row_breaks.rb +33 -0
  159. data/lib/axlsx/workbook/worksheet/selection.rb +101 -0
  160. data/lib/axlsx/workbook/worksheet/sheet_calc_pr.rb +29 -0
  161. data/lib/axlsx/workbook/worksheet/sheet_data.rb +27 -0
  162. data/lib/axlsx/workbook/worksheet/sheet_format_pr.rb +60 -0
  163. data/lib/axlsx/workbook/worksheet/sheet_pr.rb +87 -0
  164. data/lib/axlsx/workbook/worksheet/sheet_protection.rb +118 -0
  165. data/lib/axlsx/workbook/worksheet/sheet_view.rb +213 -0
  166. data/lib/axlsx/workbook/worksheet/table.rb +102 -0
  167. data/lib/axlsx/workbook/worksheet/table_style_info.rb +49 -0
  168. data/lib/axlsx/workbook/worksheet/tables.rb +31 -0
  169. data/lib/axlsx/workbook/worksheet/worksheet.rb +799 -0
  170. data/lib/axlsx/workbook/worksheet/worksheet_comments.rb +58 -0
  171. data/lib/axlsx/workbook/worksheet/worksheet_drawing.rb +58 -0
  172. data/lib/axlsx/workbook/worksheet/worksheet_hyperlink.rb +74 -0
  173. data/lib/axlsx/workbook/worksheet/worksheet_hyperlinks.rb +38 -0
  174. data/lib/schema/dc.xsd +118 -0
  175. data/lib/schema/dcmitype.xsd +52 -0
  176. data/lib/schema/dcterms.xsd +331 -0
  177. data/lib/schema/dml-chart.xsd +1499 -0
  178. data/lib/schema/dml-chartDrawing.xsd +146 -0
  179. data/lib/schema/dml-compatibility.xsd +14 -0
  180. data/lib/schema/dml-diagram.xsd +1091 -0
  181. data/lib/schema/dml-lockedCanvas.xsd +11 -0
  182. data/lib/schema/dml-main.xsd +3048 -0
  183. data/lib/schema/dml-picture.xsd +23 -0
  184. data/lib/schema/dml-spreadsheetDrawing.xsd +185 -0
  185. data/lib/schema/dml-wordprocessingDrawing.xsd +185 -0
  186. data/lib/schema/opc-contentTypes.xsd +42 -0
  187. data/lib/schema/opc-coreProperties.xsd +54 -0
  188. data/lib/schema/opc-digSig.xsd +49 -0
  189. data/lib/schema/opc-relationships.xsd +33 -0
  190. data/lib/schema/pml.xsd +1676 -0
  191. data/lib/schema/shared-additionalCharacteristics.xsd +28 -0
  192. data/lib/schema/shared-bibliography.xsd +144 -0
  193. data/lib/schema/shared-commonSimpleTypes.xsd +166 -0
  194. data/lib/schema/shared-customXmlDataProperties.xsd +25 -0
  195. data/lib/schema/shared-customXmlSchemaProperties.xsd +18 -0
  196. data/lib/schema/shared-documentPropertiesCustom.xsd +59 -0
  197. data/lib/schema/shared-documentPropertiesExtended.xsd +56 -0
  198. data/lib/schema/shared-documentPropertiesVariantTypes.xsd +195 -0
  199. data/lib/schema/shared-math.xsd +582 -0
  200. data/lib/schema/shared-relationshipReference.xsd +25 -0
  201. data/lib/schema/sml.xsd +4434 -0
  202. data/lib/schema/vml-main.xsd +569 -0
  203. data/lib/schema/vml-officeDrawing.xsd +509 -0
  204. data/lib/schema/vml-presentationDrawing.xsd +12 -0
  205. data/lib/schema/vml-spreadsheetDrawing.xsd +108 -0
  206. data/lib/schema/vml-wordprocessingDrawing.xsd +96 -0
  207. data/lib/schema/wml.xsd +3644 -0
  208. data/lib/schema/xml.xsd +116 -0
  209. data/test/benchmark.rb +72 -0
  210. data/test/content_type/tc_content_type.rb +76 -0
  211. data/test/content_type/tc_default.rb +16 -0
  212. data/test/content_type/tc_override.rb +14 -0
  213. data/test/doc_props/tc_app.rb +43 -0
  214. data/test/doc_props/tc_core.rb +42 -0
  215. data/test/drawing/tc_axes.rb +8 -0
  216. data/test/drawing/tc_axis.rb +112 -0
  217. data/test/drawing/tc_bar_3D_chart.rb +71 -0
  218. data/test/drawing/tc_bar_series.rb +37 -0
  219. data/test/drawing/tc_bubble_chart.rb +44 -0
  220. data/test/drawing/tc_bubble_series.rb +21 -0
  221. data/test/drawing/tc_cat_axis.rb +31 -0
  222. data/test/drawing/tc_cat_axis_data.rb +27 -0
  223. data/test/drawing/tc_chart.rb +110 -0
  224. data/test/drawing/tc_d_lbls.rb +57 -0
  225. data/test/drawing/tc_data_source.rb +23 -0
  226. data/test/drawing/tc_drawing.rb +80 -0
  227. data/test/drawing/tc_graphic_frame.rb +27 -0
  228. data/test/drawing/tc_hyperlink.rb +64 -0
  229. data/test/drawing/tc_line_3d_chart.rb +47 -0
  230. data/test/drawing/tc_line_chart.rb +39 -0
  231. data/test/drawing/tc_line_series.rb +71 -0
  232. data/test/drawing/tc_marker.rb +44 -0
  233. data/test/drawing/tc_named_axis_data.rb +27 -0
  234. data/test/drawing/tc_num_data.rb +31 -0
  235. data/test/drawing/tc_num_val.rb +29 -0
  236. data/test/drawing/tc_one_cell_anchor.rb +66 -0
  237. data/test/drawing/tc_pic.rb +106 -0
  238. data/test/drawing/tc_picture_locking.rb +72 -0
  239. data/test/drawing/tc_pie_3D_chart.rb +28 -0
  240. data/test/drawing/tc_pie_series.rb +32 -0
  241. data/test/drawing/tc_scaling.rb +36 -0
  242. data/test/drawing/tc_scatter_chart.rb +48 -0
  243. data/test/drawing/tc_scatter_series.rb +45 -0
  244. data/test/drawing/tc_ser_axis.rb +31 -0
  245. data/test/drawing/tc_series.rb +23 -0
  246. data/test/drawing/tc_series_title.rb +33 -0
  247. data/test/drawing/tc_str_data.rb +18 -0
  248. data/test/drawing/tc_str_val.rb +30 -0
  249. data/test/drawing/tc_title.rb +49 -0
  250. data/test/drawing/tc_two_cell_anchor.rb +36 -0
  251. data/test/drawing/tc_val_axis.rb +24 -0
  252. data/test/drawing/tc_view_3D.rb +54 -0
  253. data/test/drawing/tc_vml_drawing.rb +25 -0
  254. data/test/drawing/tc_vml_shape.rb +106 -0
  255. data/test/profile.rb +24 -0
  256. data/test/rels/tc_relationship.rb +44 -0
  257. data/test/rels/tc_relationships.rb +37 -0
  258. data/test/stylesheet/tc_border.rb +37 -0
  259. data/test/stylesheet/tc_border_pr.rb +32 -0
  260. data/test/stylesheet/tc_cell_alignment.rb +81 -0
  261. data/test/stylesheet/tc_cell_protection.rb +29 -0
  262. data/test/stylesheet/tc_cell_style.rb +57 -0
  263. data/test/stylesheet/tc_color.rb +43 -0
  264. data/test/stylesheet/tc_dxf.rb +81 -0
  265. data/test/stylesheet/tc_fill.rb +18 -0
  266. data/test/stylesheet/tc_font.rb +121 -0
  267. data/test/stylesheet/tc_gradient_fill.rb +72 -0
  268. data/test/stylesheet/tc_gradient_stop.rb +31 -0
  269. data/test/stylesheet/tc_num_fmt.rb +30 -0
  270. data/test/stylesheet/tc_pattern_fill.rb +43 -0
  271. data/test/stylesheet/tc_styles.rb +235 -0
  272. data/test/stylesheet/tc_table_style.rb +44 -0
  273. data/test/stylesheet/tc_table_style_element.rb +45 -0
  274. data/test/stylesheet/tc_table_styles.rb +29 -0
  275. data/test/stylesheet/tc_xf.rb +120 -0
  276. data/test/tc_axlsx.rb +82 -0
  277. data/test/tc_helper.rb +10 -0
  278. data/test/tc_package.rb +233 -0
  279. data/test/util/tc_mime_type_utils.rb +13 -0
  280. data/test/util/tc_serialized_attributes.rb +19 -0
  281. data/test/util/tc_simple_typed_list.rb +77 -0
  282. data/test/util/tc_validators.rb +210 -0
  283. data/test/workbook/tc_defined_name.rb +49 -0
  284. data/test/workbook/tc_shared_strings_table.rb +58 -0
  285. data/test/workbook/tc_workbook.rb +145 -0
  286. data/test/workbook/tc_workbook_view.rb +50 -0
  287. data/test/workbook/worksheet/auto_filter/tc_auto_filter.rb +38 -0
  288. data/test/workbook/worksheet/auto_filter/tc_filter_column.rb +76 -0
  289. data/test/workbook/worksheet/auto_filter/tc_filters.rb +50 -0
  290. data/test/workbook/worksheet/tc_break.rb +49 -0
  291. data/test/workbook/worksheet/tc_cell.rb +373 -0
  292. data/test/workbook/worksheet/tc_cfvo.rb +31 -0
  293. data/test/workbook/worksheet/tc_col.rb +78 -0
  294. data/test/workbook/worksheet/tc_color_scale.rb +58 -0
  295. data/test/workbook/worksheet/tc_comment.rb +72 -0
  296. data/test/workbook/worksheet/tc_comments.rb +57 -0
  297. data/test/workbook/worksheet/tc_conditional_formatting.rb +224 -0
  298. data/test/workbook/worksheet/tc_data_bar.rb +46 -0
  299. data/test/workbook/worksheet/tc_data_validation.rb +265 -0
  300. data/test/workbook/worksheet/tc_date_time_converter.rb +124 -0
  301. data/test/workbook/worksheet/tc_header_footer.rb +151 -0
  302. data/test/workbook/worksheet/tc_icon_set.rb +45 -0
  303. data/test/workbook/worksheet/tc_outline_pr.rb +19 -0
  304. data/test/workbook/worksheet/tc_page_margins.rb +97 -0
  305. data/test/workbook/worksheet/tc_page_set_up_pr.rb +15 -0
  306. data/test/workbook/worksheet/tc_page_setup.rb +143 -0
  307. data/test/workbook/worksheet/tc_pane.rb +54 -0
  308. data/test/workbook/worksheet/tc_pivot_table.rb +140 -0
  309. data/test/workbook/worksheet/tc_pivot_table_cache_definition.rb +54 -0
  310. data/test/workbook/worksheet/tc_print_options.rb +72 -0
  311. data/test/workbook/worksheet/tc_protected_range.rb +17 -0
  312. data/test/workbook/worksheet/tc_rich_text.rb +44 -0
  313. data/test/workbook/worksheet/tc_rich_text_run.rb +172 -0
  314. data/test/workbook/worksheet/tc_row.rb +122 -0
  315. data/test/workbook/worksheet/tc_selection.rb +55 -0
  316. data/test/workbook/worksheet/tc_sheet_calc_pr.rb +18 -0
  317. data/test/workbook/worksheet/tc_sheet_format_pr.rb +88 -0
  318. data/test/workbook/worksheet/tc_sheet_pr.rb +49 -0
  319. data/test/workbook/worksheet/tc_sheet_protection.rb +117 -0
  320. data/test/workbook/worksheet/tc_sheet_view.rb +214 -0
  321. data/test/workbook/worksheet/tc_table.rb +68 -0
  322. data/test/workbook/worksheet/tc_table_style_info.rb +53 -0
  323. data/test/workbook/worksheet/tc_worksheet.rb +594 -0
  324. data/test/workbook/worksheet/tc_worksheet_hyperlink.rb +55 -0
  325. metadata +582 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 5caa00be1db952f9a273fe51a4cf2dd28b03d4e4
4
+ data.tar.gz: 75d2b646921733abe583a71496c87e9b71987955
5
+ SHA512:
6
+ metadata.gz: 8e5790814c6fd4e917cba9944d27c6cab98dd4d047b5f4e2d728c7b20c641c157f8387b96701237998df487f10206d5429babbd6df4f09c881542036c79a0ba8
7
+ data.tar.gz: 8906958454a9448a6eed7288b3b0efbec23609e15c3e57f61f45289a7136b0851d4e6132fd9e07dc238e06b0dc28731bfe577991d593c7640a6bd9ad9c321259
data/.yardopts ADDED
@@ -0,0 +1,9 @@
1
+ --protected
2
+ --no-private
3
+ --title "AXLSX"
4
+ --readme README.md
5
+ --markup markdown
6
+ --markup-provider kramdown
7
+ -
8
+ CHANGELOG.md
9
+ LICENSE
data/.yardopts_guide ADDED
@@ -0,0 +1,19 @@
1
+ -t guide
2
+ --title YARD
3
+ -o doc_guide
4
+ --exclude /server/templates/
5
+ --exclude /yard/rubygems/
6
+ --asset docs/images:images
7
+ -
8
+ docs/WhatsNew.md
9
+ docs/GettingStarted.md
10
+ docs/Overview.md
11
+ docs/CodeObjects.md
12
+ docs/Tags.md
13
+ docs/Parser.md
14
+ docs/Handlers.md
15
+ docs/Templates.md
16
+ docs/Glossary.md
17
+ ChangeLog
18
+ LICENSE
19
+ LEGAL
data/CHANGELOG.md ADDED
@@ -0,0 +1,239 @@
1
+ CHANGELOG
2
+ ---------
3
+ - **November.25.12**:1.3.4
4
+ - Support for headers and footers for worksheets
5
+ - bug fix: Properly escape hyperlink urls
6
+ - Improvements in color_scale generation for conditional formatting
7
+ - Improvements in autowidth calculation.
8
+ - **November.8.12**:1.3.3
9
+ - Patched cell run styles for u and validation for family
10
+
11
+ - **November.5.12**:1.3.2
12
+ - MASSIVE REFACTORING
13
+ - Patch for apostrophes in worksheet names
14
+ - added sheet_by_name for workbook so you can now find your worksheets
15
+ by name
16
+ - added insert_worksheet so you can now add a worksheet to an
17
+ arbitrary position in the worksheets list.
18
+ - reduced memory consumption for package parts post serialization
19
+ - **September.30.12**: 1.3.1
20
+ - Improved control character handling
21
+ - Added stored auto filter values and date grouping items
22
+ - Improved support for autowidth when custom styles are applied
23
+ - Added support for table style info that lets you take advantage of
24
+ all the predefined table styles.
25
+ - Improved style management for fonts so they merge undefined values
26
+ from the initial master.
27
+ - **September.8.12**: 1.2.3
28
+ - enhance exponential float/bigdecimal values rendering as strings intead
29
+ of 'numbers' in excel.
30
+ - added support for :none option on chart axis labels
31
+ - added support for paper_size option on worksheet.page_setup
32
+ - **August.27.12**: 1.2.2
33
+ - minor patch for auto-filters
34
+ - minor documentation improvements.
35
+ - **August.12.12**: 1.2.1
36
+ - Add support for hyperlinks in worksheets
37
+ - Fix example that was using old style cell merging with concact.
38
+ - Fix bug that occurs when calculating the font_size for cells that use a user specified style which does not define sz
39
+ - **August.5.12**: 1.2.0
40
+ - rebuilt worksheet serialization to clean up the code base a bit.
41
+ - added data labels for charts
42
+ - added table header printing for each sheet via defined_name. This
43
+ means that when you print your worksheet, the header rows show for every page
44
+ - **July.??.12**: 1.1.9 release
45
+ - lots of code clean up for worksheet
46
+ - added in data labels for pie charts, line charts and bar charts.
47
+ - bugfix chard with data in a sheet that has a space in the name are
48
+ now auto updating formula based values
49
+ - **July.14.12**: 1.1.8 release
50
+ - added html entity encoding for sheet names. This allows you to use
51
+ characters like '<' and '&' in your sheet names.
52
+ - new - first round google docs interoperability
53
+ - added filter to strip out control characters from cell data.
54
+ - added in interop requirements so that charts are properly exported
55
+ to PDF from Libra Office
56
+ - various readability improvements and work standardizing attribute
57
+ names to snake_case. Aliases are provided for backward compatiblity
58
+ - **June.11.12**: 1.1.7 release
59
+ - fix chart rendering issue when label offset is specified as a
60
+ percentage in serialization and ensure that formula are not stored
61
+ in value caches
62
+ - fix bug that causes repair warnings when using a text only title reference.
63
+ - Add title property to axis so you can lable the x/y/series axis for
64
+ charts.
65
+ - Add sheet views with panes
66
+ - **May.30.12**: 1.1.6 release
67
+ - data protection with passwords for sheets
68
+ - cell level input validators
69
+ - added support for two cell anchors for images
70
+ - test coverage now back up to 100%
71
+ - bugfix for merge cell sorting algorithm
72
+ - added fit_to method for page_setup to simplify managing witdh/height
73
+ - added ph (phonetics) and s (style) attributes for row.
74
+ - resolved all warnings generating from this gem.
75
+ - improved comment relationship management for multiple comments
76
+ - **May.13.12**: 1.1.5 release
77
+ - MOAR print options! You can now specify paper size, orientation,
78
+ fit to width, page margings and gridlines for printing.
79
+ - Support for adding comments to your worksheets
80
+ - bugfix for applying style to empty cells
81
+ - bugfix for parsing formula with multiple '='
82
+
83
+ - **May.3.12:**: 1.1.4 release
84
+ - MOAR examples
85
+ - added outline level for rows and columns
86
+ - rebuild of numeric and axis data sources for charts
87
+ - added delete to axis
88
+ - added tick and label mark skipping for cat axis in charts
89
+ - bugfix for table headers method
90
+ - sane(er) defaults for chart positioning
91
+ - bugfix in val_axis_data to properly serialize value axis data. Excel does not mind as it reads from the sheet, but nokogiri has a fit if the elements are empty.
92
+ - Added support for specifying the color of data series in charts.
93
+ - bugfix using add_cell on row mismanaged calls to update_column_info.
94
+
95
+ - ** April.25.12:**: 1.1.3 release
96
+ - Primarily because I am stupid.....Updates to readme to properly report version, add in missing docs and restructure example directory.
97
+
98
+ - ** April.25.12:**: 1.1.2 release
99
+ - Conditional Formatting completely implemented.
100
+ - refactoring / documentation for Style#add_style
101
+ - added in label rotation for chart axis labels
102
+ - bugfix to properly assign style and type info to cells when only partial information is provided in the types/style option
103
+
104
+ - ** April.18.12**: 1.1.1 release
105
+ - bugfix for autowidth calculations across multiple rows
106
+ - bugfix for dimension calculations with nil cells.
107
+ - REMOVED RMAGICK dependency WOOT!
108
+ - Update readme to show screenshot of gem output.
109
+ - Cleanup benchmark and add benchmark rake task
110
+
111
+ - ** April.3.12**: 1.1.0 release
112
+ - bugfix patch name_to_indecies to properly handle extended ranges.
113
+ - bugfix properly serialize chart title.
114
+ - lower rake minimum requirement for 1.8.7 apps that don't want to move on to 0.9 NOTE this will be reverted for 2.0.0 with workbook parsing!
115
+ - Added Fit to Page printing
116
+ - added support for turning off gridlines in charts.
117
+ - added support for turning off gridlines in worksheet.
118
+ - bugfix some apps like libraoffice require apply[x] attributes to be true. applyAlignment is now properly set.
119
+ - added option use_autowidth. When this is false RMagick will not be loaded or used in the stack. However it is still a requirement in the gem.
120
+ - added border style specification to styles#add_style. See the example in the readme.
121
+ - Support for tables added in - Note: Pre 2011 versions of Mac office do not support this feature and will warn.
122
+ - Support for splatter charts added
123
+ - Major (like 7x faster!) performance updates.
124
+ - Gem now supports for JRuby 1.6.7, as well as experimental support for Rubinius
125
+
126
+ - ** March.5.12**: 1.0.18 release
127
+ https://github.com/randym/axlsx/compare/1.0.17...1.0.18
128
+ - bugfix custom borders are not properly applied when using styles.add_style
129
+ - interop worksheet names must be 31 characters or less or some versions of office complain about repairs
130
+ - added type support for :boolean and :date types cell values
131
+ - added support for fixed column widths
132
+ - added support for page_margins
133
+ - added << alias for add_row
134
+ - removed presetting of date1904 based on authoring platform. Now defaults to use 1900 epoch (date1904 = false)
135
+
136
+ - ** February.14.12**: 1.0.17 release
137
+ https://github.com/randym/axlsx/compare/1.0.16...1.0.17
138
+ - Added in support for serializing to StringIO
139
+ - Added in support for using shared strings table. This makes most of the features in axlsx interoperable with iWorks Numbers
140
+ - Added in support for fixed column_widths
141
+ - Removed unneeded dependencies on active-support and i18n
142
+
143
+ - ** February.2.12**: 1.0.16 release
144
+ https://github.com/randym/axlsx/compare/1.0.15...1.0.16
145
+ - Bug fix for schema file locations when validating in rails
146
+ - Added hyperlink to images
147
+ - date1904 now automatically set in BSD and mac environments
148
+ - removed whitespace/indentation from xml outputs
149
+ - col_style now skips rows that do not contain cells at the column index
150
+
151
+ - **January.6.12**: 1.0.15 release
152
+ https://github.com/randym/axlsx/compare/1.0.14...1.0.15
153
+ - Bug fix add_style specified number formats must be explicity applied for libraOffice
154
+ - performance improvements from ochko when creating cells with options.
155
+ - Bug fix setting types=>[:n] when adding a row incorrectly determines the cell type to be string as the value is null during creation.
156
+ - Release in preparation for password protection merge
157
+
158
+ - **December.14.11**: 1.0.14 release
159
+ - Added support for merging cells
160
+ - Added support for auto filters
161
+ - Improved auto width calculations
162
+ - Improved charts
163
+ - Updated examples to output to a single workbook with multiple sheets
164
+ - Added access to app and core package objects so you can set the creator and other properties of the package
165
+ - The beginning of password protected xlsx files - roadmapped for January release.
166
+
167
+ - **December.8.11**: 1.0.13 release
168
+ - Fixing .gemspec errors that caused gem to miss the lib directory. Sorry about that.
169
+
170
+ - **December.7.11**: 1.0.12 release
171
+ DO NOT USE THIS VERSION = THE GEM IS BROKEN
172
+ - changed dependency from 'zip' gem to 'rubyzip' and added conditional code to force binary encoding to resolve issue with excel 2011
173
+ - Patched bug in app.xml that would ignore user specified properties.
174
+ - **December.5.11**: 1.0.11 release
175
+ - Added [] methods to worksheet and workbook to provide name based access to cells.
176
+ - Added support for functions as cell values
177
+ - Updated color creation so that two character shorthand values can be used like 'FF' for 'FFFFFFFF' or 'D8' for 'FFD8D8D8'
178
+ - Examples for all this fun stuff added to the readme
179
+ - Clean up and support for 1.9.2 and travis integration
180
+ - Added support for string based cell referencing to chart start_at and end_at. That means you can now use :start_at=>"A1" when using worksheet.add_chart, or chart.start_at ="A1" in addition to passing a cell or the x, y coordinates.
181
+
182
+ - **October.30.11**: 1.0.10 release
183
+ - Updating gemspec to lower gem version requirements.
184
+ - Added row.style assignation for updating the cell style for an entire row
185
+ - Added col_style method to worksheet upate a the style for a column of cells
186
+ - Added cols for an easy reference to columns in a worksheet.
187
+ - prep for pre release of acts_as_xlsx gem
188
+ - added in travis.ci configuration and build status
189
+ - fixed out of range bug in time calculations for 32bit time.
190
+ - added i18n for active support
191
+
192
+ - **October.26.11**: 1.0.9 release
193
+ - Updated to support ruby 1.9.3
194
+ - Updated to eliminate all warnings originating in this gem
195
+
196
+ - **October.23.11**: 1.0.8 release
197
+ - Added support for images (jpg, gif, png) in worksheets.
198
+
199
+ - **October.23.11**: 1.0.7 released
200
+ - Added support for 3D options when creating a new chart. This lets you set the persective, rotation and other 3D attributes when using worksheet.add_chart
201
+ - Updated serialization write test to verify write permissions and warn if it cannot run the test due to permission restrcitions.
202
+ - updated rake to include build, genoc and deploy tasks.
203
+ - rebuilt documentation.
204
+ - moved version constant to its own file
205
+ - fixed bug in SerAxis that was requiring tickLblSkip and tickMarkSkip to be boolean. Should be unsigned int.
206
+ - Review and improve docs
207
+ - rebuild of anchor positioning to remove some spagetti code. Chart now supports a start_at and end_at method that accept an arrar for col/row positioning. See example6 for an example. You can still pass :start_at and :end_at options to worksheet.add_chart.
208
+ - Refactored cat and val axis data to keep series serialization a bit more DRY
209
+
210
+ ##October.22.11: 1.0.6 release
211
+ - Bumping version to include docs. Bug in gemspec pointing to incorrect directory.
212
+
213
+ ##October.22.11: 1.05
214
+ - Added support for line charts
215
+ - Updated examples and readme
216
+ - Updated series title to be a real title ** NOTE ** If you are accessing titles directly you will need to update text assignation.
217
+ chart.series.first.title = 'Your Title'
218
+ chart.series.first.title.text = 'Your Title'
219
+ With this change you can assign a cell for the series title
220
+ chart.series.title = sheet.rows.first.cells.first
221
+ If you are using the recommended
222
+ chart.add_series :data=>[], :labels=>[], :title
223
+ You do not have to change anything.
224
+ - BugFix: shape attribute for bar chart is now properly serialized
225
+ - BugFix: date1904 property now properly set for charts
226
+ - Added style property to charts
227
+ - Removed serialization write test as it most commonly fails when run from the gem's intalled directory
228
+
229
+ ##October.21.11: 1.0.4
230
+ - altered package to accept a filename string for serialization instead of a File object.
231
+ - Updated specs to conform
232
+ - More examples for readme
233
+
234
+
235
+ ##October.21.11: 1.0.3 release
236
+ - Updated documentation
237
+
238
+ ##October.20.11: 0.1.0 release
239
+
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2011, 2012 Randy Morgan
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,258 @@
1
+ Axlsx: Office Open XML Spreadsheet Generation
2
+ ====================================
3
+ [![Build Status](https://secure.travis-ci.org/randym/axlsx.svg?branch=master)](http://travis-ci.org/randym/axlsx/)
4
+
5
+ If you are using axlsx for commercial purposes, or just want to show your
6
+ appreciation for the gem, please don't hesitate to make a donation.
7
+
8
+ [![Click here to lend your support to: axlsx and make a donation at www.pledgie.com !](http://www.pledgie.com/campaigns/17814.png?skin_name=chrome)](http://www.pledgie.com/campaigns/17814)
9
+
10
+ **IRC**:[irc.freenode.net / #axlsx](irc://irc.freenode.net/axlsx)
11
+
12
+ **Git**:[http://github.com/randym/axlsx](http://github.com/randym/axlsx)
13
+
14
+ **Twitter**: [https://twitter.com/morgan_randy](https://twitter.com/morgan_randy)
15
+
16
+ **Google Group**: [https://groups.google.com/forum/?fromgroups#!forum/axlsx](https://groups.google.com/forum/?fromgroups#!forum/axlsx)
17
+
18
+ **Author**: Randy Morgan
19
+
20
+ **Copyright**: 2011 - 2013
21
+
22
+ **License**: MIT License
23
+
24
+ **Latest Version**: 2.0.1
25
+
26
+ **Ruby Version**: 1.9.2, 1.9.3, 2.0.0
27
+
28
+ **JRuby Version**: 1.9 modes
29
+
30
+ **Rubinius Version**: rubinius 2.0.0dev * lower versions may run, this gem always tests against head.
31
+
32
+ **Release Date**: September 12th 2013
33
+
34
+ If you are working in rails, or with active record see:
35
+ [acts_as_xlsx](http://github.com/randym/acts_as_xlsx)
36
+
37
+ acts_as_xlsx is a simple ActiveRecord mixin that lets you generate a workbook with:
38
+
39
+ ```ruby
40
+ Posts.where(created_at > Time.now-30.days).to_xlsx
41
+ ```
42
+
43
+ ** and **
44
+
45
+ * http://github.com/straydogstudio/axlsx_rails
46
+ Axlsx_Rails provides an Axlsx renderer so you can move all your spreadsheet code from your controller into view files. Partials are supported so you can organize any code into reusable chunks (e.g. cover sheets, common styling, etc.) You can use it with acts_as_xlsx, placing the to_xlsx call in a view and add ':package => xlsx_package' to the parameter list. Now you can keep your controllers thin!
47
+
48
+ There are guides for using axlsx and acts_as_xlsx here:
49
+ [http://axlsx.blog.randym.net](http://axlsx.blog.randym.net)
50
+
51
+ If you are working with ActiveAdmin see:
52
+
53
+ [activeadmin-axlsx](http://github.com/randym/activeadmin-axlsx)
54
+
55
+ It provides a plugin and dsl for generating downloadable reports.
56
+
57
+ The examples directory contains a number of more specific examples as
58
+ well.
59
+
60
+ Synopsis
61
+ --------
62
+
63
+ Axlsx is an Office Open XML Spreadsheet generator for the Ruby programming language.
64
+ With Axlsx you can create excel worksheets with charts, images (with links), automated and fixed column widths, customized styles, functions, tables, conditional formatting, print options, comments, merged cells, auto filters, file and stream serialization as well as full schema validation. Axlsx excels at helping you generate beautiful Office Open XML Spreadsheet documents without having to understand the entire ECMA specification.
65
+
66
+ ![Screen 1](https://github.com/randym/axlsx/raw/master/examples/sample.png)
67
+
68
+
69
+
70
+ Feature List
71
+ ------------
72
+
73
+ 1. Author xlsx documents: Axlsx is made to let you easily and quickly generate professional xlsx based reports that can be validated before serialization.
74
+
75
+ 2. Generate 3D Pie, Line, Scatter and Bar Charts: With Axlsx chart generation and management is as easy as a few lines of code. You can build charts based off data in your worksheet or generate charts without any data in your sheet at all. Customize gridlines, label rotation and series colors as well.
76
+
77
+ 3. Custom Styles: With guaranteed document validity, you can style borders, alignment, fills, fonts, and number formats in a single line of code. Those styles can be applied to an entire row, or a single cell anywhere in your workbook.
78
+
79
+ 4. Automatic type support: Axlsx will automatically determine the type of data you are generating. In this release Float, Integer, String, Date, Time and Boolean types are automatically identified and serialized to your spreadsheet.
80
+
81
+ 5. Automatic and fixed column widths: Axlsx will automatically determine the appropriate width for your columns based on the content in the worksheet, or use any value you specify for the really funky stuff.
82
+
83
+ 6. Support for automatically formatted 1904 and 1900 epochs configurable in the workbook.
84
+
85
+ 7. Add jpg, gif and png images to worksheets with hyperlinks
86
+
87
+ 8. Reference cells in your worksheet with "A1" and "A1:D4" style references or from the workbook using "Sheet1!A3:B4" style references
88
+
89
+ 9. Cell level style overrides for default and customized style objects
90
+
91
+ 10. Support for formulas, merging, row and column outlining as well as
92
+ cell level input data validation.
93
+
94
+ 12. Auto filtering tables with worksheet.auto_filter as well as support for Tables
95
+
96
+ 13. Export using shared strings or inline strings so we can inter-op with iWork Numbers (sans charts for now).
97
+
98
+ 14. Output to file or StringIO
99
+
100
+ 15. Support for page margins and print options
101
+
102
+ 16. Support for password and non password based sheet protection.
103
+
104
+ 17. First stage interoperability support for GoogleDocs, LibreOffice,
105
+ and Numbers
106
+
107
+ 18. Support for defined names, which gives you repeated header rows for printing.
108
+
109
+ 19. Data labels for charts as well as series color customization.
110
+
111
+ 20. Support for sheet headers and footers
112
+
113
+ 21. Pivot Tables
114
+
115
+ 22. Page Breaks
116
+
117
+ Installing
118
+ ----------
119
+
120
+ To install Axlsx, use the following command:
121
+
122
+ $ gem install axlsx
123
+
124
+ #Examples
125
+ ------
126
+
127
+ The example listing is getting overly large to maintain here.
128
+ If you are using Yard, you will be able to see the examples in line below.
129
+
130
+ Here's a teaser that kicks about 2% of what the gem can do.
131
+
132
+ ```ruby
133
+ Axlsx::Package.new do |p|
134
+ p.workbook.add_worksheet(:name => "Pie Chart") do |sheet|
135
+ sheet.add_row ["Simple Pie Chart"]
136
+ %w(first second third).each { |label| sheet.add_row [label, rand(24)+1] }
137
+ sheet.add_chart(Axlsx::Pie3DChart, :start_at => [0,5], :end_at => [10, 20], :title => "example 3: Pie Chart") do |chart|
138
+ chart.add_series :data => sheet["B2:B4"], :labels => sheet["A2:A4"], :colors => ['FF0000', '00FF00', '0000FF']
139
+ end
140
+ end
141
+ p.serialize('simple.xlsx')
142
+ end
143
+ ```
144
+
145
+ Please see the [examples](https://github.com/randym/axlsx/tree/master/examples/example.rb) for more.
146
+
147
+ {include:file:examples/example.rb}
148
+
149
+ There is much, much more you can do with this gem. If you get stuck, grab me on IRC or submit an issue to GitHub. Chances are that it has already been implemented. If it hasn't - let's take a look at adding it in.
150
+
151
+ #Documentation
152
+ --------------
153
+
154
+ This gem is 100% documented with YARD, an exceptional documentation library. To see documentation for this, and all the gems installed on your system use:
155
+
156
+ gem install yard kramdown
157
+
158
+ yard server -g
159
+
160
+ #Specs
161
+ ------
162
+
163
+ This gem has 100% test coverage using test/unit. To execute tests for this gem, simply run rake in the gem directory.
164
+
165
+ #Change log
166
+ ---------
167
+ - **
168
+ - Added Cell#name so you you can quickly create a defined name for a single cell in your workbook.
169
+ - Added full book view and sheet state management. This means you can specify how the workbook renders as well as manage sheet visibility.
170
+ - Added smoothing management for line charts series
171
+ - **September.12.13**:2.0.1
172
+ - Unpinned rubyzip version
173
+ - **September.12.13**:2.0.0
174
+ - DROPPED support for ruby 1.8.7
175
+ - Altered readme to link to contributors
176
+ - Lots of improvements to make charts and relations more stable.
177
+ - Patched color param mutation.
178
+ - Data sourced for pivot tables can now come from other sheets.
179
+ - Altered image file extension comparisons to be case insensitive.
180
+ - Added control character sanitization to shared strings.
181
+ - Added page breaks. see examples/example.rb for an example.
182
+ - Bugfix: single to dual cell anchors for images now swap properly so you can set the end_at position during instantiation, in a block or directly on the image.
183
+ - Improved how we convert date/time to include the UTC offset when provided.
184
+ - Pinned rubyzip to 0.9.9 for those who are not ready to go up. Please note that release 2.0.1 and on will be using the 1.n.n series of rubyzip
185
+ - Bugfix: transposition of cells for Worksheet#cols now supports
186
+ incongruent column counts.counts
187
+ - Added space preservation for cell text. This will allow whitespace
188
+ in cell text both when using shared strings and when serializing
189
+ directly to the cell.
190
+ - **April.24.13**:1.3.6
191
+ - Fixed LibreOffice/OpenOffice issue to properly apply colors to lines
192
+ in charts.
193
+ - Added support for specifying between/notBetween formula in an array.
194
+ *thanks* straydogstudio!
195
+ - Added standard line chart support. *thanks* scambra
196
+ - Fixed straydogstudio's link in the README. *thanks* nogara!
197
+ - **February.4.13**:1.3.5
198
+ - converted vary_colors for chart data to instance variable with appropriate defulats for the various charts.
199
+ - Added trust_input method on Axlsx to instruct the serializer to skip HTML escaping. This will give you a tremendous performance boost,
200
+ Please be sure that you will never have <, >, etc in your content or the XML will be invalid.
201
+ - Rewrote cell serialization to improve performance
202
+ - Added iso_8601 type to support text based date and time management.
203
+ - Bug fix for relationahip management in drawings when you add images
204
+ and charts to the same worksheet drawing.
205
+ - Added outline_level_rows and outline_level_columns to worksheet to simplify setting up outlining in the worksheet.
206
+ - Added support for pivot tables
207
+ - Added support for descrete border edge styles
208
+ - Improved validation of sheet names
209
+ - Added support for formula value caching so that iOS and OSX preview can show the proper values. See Cell.add_row and the formula_values option.
210
+
211
+ Please see the {file:CHANGELOG.md} document for past release information.
212
+
213
+ # Known interoperability issues.
214
+ As axslx implements the Office Open XML (ECMA-376 spec) much of the
215
+ functionality is interoperable with other spreadsheet software. Below is
216
+ a listing of some known issues.
217
+
218
+ 1. Libre Office
219
+ - You must specify colors for your series. see examples/chart_colors.rb
220
+ for an example.
221
+ - You must use data in your sheet for charts. You cannot use hard coded
222
+ values.
223
+ - Chart axis and gridlines do not render. I have a feeling this is
224
+ related to themes, which axlsx does not implement at this time.
225
+
226
+ 2. Google Docs
227
+ - Images are known to not work with google docs
228
+ - border colors do not work
229
+
230
+ 3. Numbers
231
+ - you must set 'use_shared_strings' to true. This is most
232
+ conveniently done just before rendering by calling Package.use_shared_strings = true prior to serialization.
233
+
234
+ ```ruby
235
+ p = Axlsx::Package.new
236
+ p.workbook.add_worksheet(:name => "Basic Worksheet") do |sheet|
237
+ sheet.add_row ["First Column", "Second", "Third"]
238
+ sheet.add_row [1, 2, 3]
239
+ end
240
+ p.use_shared_strings = true
241
+ p.serialize('simple.xlsx')
242
+ ```
243
+ - charts do not render
244
+
245
+
246
+ #Thanks!
247
+
248
+ Open source software is a community effort. None of this could have been
249
+ done without the help of these awesome folks.
250
+
251
+ [contributors](https://github.com/randym/axlsx/graphs/contributors)
252
+
253
+ #Copyright and License
254
+ ----------
255
+
256
+ Axlsx &copy; 2011-2013 by [Randy Morgan](mailto:digial.ipseity@gmail.com).
257
+
258
+ Axlsx is licensed under the MIT license. Please see the LICENSE document for more information.