Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding image support and some document clean up for .8 release

  • Loading branch information...
commit c8c63518b4d58ca8875f81602792050cbec318f2 1 parent 2dea87f
@randym authored
Showing with 4,853 additions and 821 deletions.
  1. +18 −16 .yardoc/checksums
  2. BIN  .yardoc/objects/root.dat
  3. +2 −2 .yardops
  4. +20 −2 README.md
  5. +150 −6 doc/Axlsx.html
  6. +1 −1  doc/Axlsx/App.html
  7. +1 −1  doc/Axlsx/Axis.html
  8. +1 −1  doc/Axlsx/Bar3DChart.html
  9. +1 −1  doc/Axlsx/BarSeries.html
  10. +1 −1  doc/Axlsx/Border.html
  11. +1 −1  doc/Axlsx/BorderPr.html
  12. +1 −1  doc/Axlsx/CatAxis.html
  13. +7 −5 doc/Axlsx/CatAxisData.html
  14. +1 −1  doc/Axlsx/Cell.html
  15. +1 −1  doc/Axlsx/CellAlignment.html
  16. +1 −1  doc/Axlsx/CellProtection.html
  17. +1 −1  doc/Axlsx/CellStyle.html
  18. +16 −16 doc/Axlsx/Chart.html
  19. +1 −1  doc/Axlsx/Color.html
  20. +1 −1  doc/Axlsx/ContentType.html
  21. +1 −1  doc/Axlsx/Core.html
  22. +1 −1  doc/Axlsx/DataTypeValidator.html
  23. +1 −1  doc/Axlsx/Default.html
  24. +243 −65 doc/Axlsx/Drawing.html
  25. +1 −1  doc/Axlsx/Fill.html
  26. +1 −1  doc/Axlsx/Font.html
  27. +1 −1  doc/Axlsx/GradientFill.html
  28. +1 −1  doc/Axlsx/GradientStop.html
  29. +21 −21 doc/Axlsx/GraphicFrame.html
  30. +1 −1  doc/Axlsx/Line3DChart.html
  31. +6 −8 doc/Axlsx/LineSeries.html
  32. +1 −1  doc/Axlsx/Marker.html
  33. +1 −1  doc/Axlsx/NumFmt.html
  34. +988 −0 doc/Axlsx/OneCellAnchor.html
  35. +1 −1  doc/Axlsx/Override.html
  36. +127 −75 doc/Axlsx/Package.html
  37. +1 −1  doc/Axlsx/PatternFill.html
  38. +1,532 −0 doc/Axlsx/Pic.html
  39. +5 −7 doc/Axlsx/Pie3DChart.html
  40. +1 −1  doc/Axlsx/PieSeries.html
  41. +1 −1  doc/Axlsx/RegexValidator.html
  42. +6 −6 doc/Axlsx/Relationship.html
  43. +1 −1  doc/Axlsx/Relationships.html
  44. +1 −1  doc/Axlsx/RestrictionValidator.html
  45. +1 −1  doc/Axlsx/Row.html
  46. +1 −1  doc/Axlsx/Scaling.html
  47. +1 −1  doc/Axlsx/SerAxis.html
  48. +1 −1  doc/Axlsx/Series.html
  49. +1 −1  doc/Axlsx/SeriesTitle.html
  50. +1 −1  doc/Axlsx/SimpleTypedList.html
  51. +1 −1  doc/Axlsx/Styles.html
  52. +1 −1  doc/Axlsx/TableStyle.html
  53. +1 −1  doc/Axlsx/TableStyleElement.html
  54. +1 −1  doc/Axlsx/TableStyles.html
  55. +1 −1  doc/Axlsx/Title.html
  56. +165 −61 doc/Axlsx/TwoCellAnchor.html
  57. +1 −1  doc/Axlsx/ValAxis.html
  58. +1 −1  doc/Axlsx/ValAxisData.html
  59. +1 −1  doc/Axlsx/View3D.html
  60. +151 −47 doc/Axlsx/Workbook.html
  61. +172 −35 doc/Axlsx/Worksheet.html
  62. +1 −1  doc/Axlsx/Xf.html
  63. +15 −1 doc/_index.html
  64. +1 −1  doc/class_list.html
  65. +29 −4 doc/file.README.html
  66. +29 −4 doc/index.html
  67. +571 −363 doc/method_list.html
  68. +1 −1  doc/top-level-namespace.html
  69. +13 −0 examples/example.rb
  70. BIN  examples/image1.gif
  71. BIN  examples/image1.jpeg
  72. BIN  examples/image1.jpg
  73. BIN  examples/image1.png
  74. +0 −1  lib/axlsx/drawing/bar_series.rb
  75. +1 −0  lib/axlsx/drawing/cat_axis_data.rb
  76. +0 −1  lib/axlsx/drawing/chart.rb
  77. +31 −7 lib/axlsx/drawing/drawing.rb
  78. +0 −2  lib/axlsx/drawing/graphic_frame.rb
  79. +0 −1  lib/axlsx/drawing/line_series.rb
  80. +89 −0 lib/axlsx/drawing/one_cell_anchor.rb
  81. +158 −0 lib/axlsx/drawing/pic.rb
  82. +0 −1  lib/axlsx/drawing/pie_3D_chart.rb
  83. +17 −4 lib/axlsx/drawing/two_cell_anchor.rb
  84. +31 −5 lib/axlsx/package.rb
  85. +1 −2  lib/axlsx/rels/relationship.rb
  86. +24 −0 lib/axlsx/util/constants.rb
  87. +2 −2 lib/axlsx/util/validators.rb
  88. +1 −1  lib/axlsx/version.rb
  89. +8 −0 lib/axlsx/workbook/workbook.rb
  90. +10 −1 lib/axlsx/workbook/worksheet/worksheet.rb
  91. +10 −1 test/drawing/tc_drawing.rb
  92. +67 −0 test/drawing/tc_one_cell_anchor.rb
  93. +71 −0 test/drawing/tc_pic.rb
  94. +0 −2  test/tc_package.rb
View
34 .yardoc/checksums
@@ -1,56 +1,58 @@
lib/axlsx/stylesheet/table_styles.rb 04b778652c29d612f63e93080d06c3936e48d765
lib/axlsx/stylesheet/table_style.rb b592135b8b02969a29bd24c28a13282f6af76f30
-lib/axlsx/drawing/pie_3D_chart.rb 9370e48b73000c96ebd50712dc4b4a958ad8527d
+lib/axlsx/drawing/pie_3D_chart.rb f9c70bd12b697dcd51780f29c037d4659b48e479
lib/axlsx/stylesheet/border_pr.rb 09dcb61ec7b0cf49f2da4c4f8ccba8f7e0df7b07
lib/axlsx/stylesheet/color.rb 4927aaebe27dda42d78bb7baf9a44edc1753c77f
+lib/axlsx/util/constants.rb 4dc8b1d765aa0593615a14c3761b0183be308908
lib/axlsx/drawing/marker.rb 3507738522c02a3733a01f115d9ef22fae4ea542
-lib/axlsx/util/constants.rb 20e4a98177305d407b77eb62f0bca5ecc29b234c
lib/axlsx/stylesheet/cell_protection.rb ce494f9add6de0a51407ddd9122fffe95759a48a
lib/axlsx/stylesheet/cell_style.rb 46c6ff183bce5c6b1ab6228823257d638007b03c
lib/axlsx/drawing/series_title.rb 8f088942649b5b5cc351b621bf8fb252f33cb510
-lib/axlsx/drawing/line_series.rb ada7cbca0d561c2e2f6bad56c1eb5d8ea2c1f071
+lib/axlsx/drawing/line_series.rb ffcd6d010ea0606f54a543eb1fc61022aac129d7
lib/axlsx/drawing/series.rb 1cf010706e32e7e51affbc9edb9d4862a26b33ef
-lib/axlsx/package.rb eea7499e09e0936eeb8e08d10823f05990722023
+lib/axlsx/package.rb 339a8e5650f45623b126efddd22d3a5f0655aad9
lib/axlsx/stylesheet/cell_alignment.rb f67f6a0bc16bf13669ed7b18714e4de23825ed94
lib/axlsx/content_type/default.rb 8ec0d9d1e6bf261735739823acd460c271e3f5ed
lib/axlsx/drawing/title.rb b46fb082e3bea936d129c8aa0998f3b71c9838cc
lib/axlsx/drawing/axis.rb 5e37bac9f4dd258265213d5621522eed3c614954
lib/axlsx/stylesheet/table_style_element.rb bee66d743e3113fb14adc7ebdecbeb606bfb49fc
lib/axlsx/content_type/content_type.rb 6c576e1618f99f7163fffa6b6e89e964653dcb5f
-lib/axlsx/stylesheet/num_fmt.rb dc830c6540465afa824881efa2f1ce4070957c47
lib/axlsx/rels/relationships.rb 9c741e180796259bb378a789fd484fa1d8f04425
+lib/axlsx/stylesheet/num_fmt.rb dc830c6540465afa824881efa2f1ce4070957c47
lib/axlsx.rb 7d8c589a0bdc16acf8774ae1b77d5177b030a80c
-lib/axlsx/drawing/graphic_frame.rb 43496359fac0e990ded62f04254232f3cec8f736
lib/axlsx/content_type/override.rb 72245683bca868f181d709a515f9152485653229
+lib/axlsx/drawing/graphic_frame.rb 9fb4e59405ea7974e9759906efd5c8c90dfa9b89
lib/axlsx/drawing/pie_series.rb df339ed3eeb5692077e3a134339d04e77c9bc89b
-lib/axlsx/drawing/bar_series.rb 044a3c42d3781755012c863ca138257b85ff5c0a
+lib/axlsx/drawing/bar_series.rb 76d41efe347318587a932f9313f03e0a76abb4ee
lib/axlsx/stylesheet/gradient_fill.rb 5fd260ec2b94ab75a970159035528548a9d21cd6
lib/axlsx/workbook/worksheet/row.rb f866a98341ce4e604908e42d00f2af09e58c75d2
lib/axlsx/util/simple_typed_list.rb b95f7e8d8958361cb1946b8545126b9384ff9fd2
-lib/axlsx/workbook/workbook.rb ec98ed826e6c3ca9c6e3303dbfbe00c0b5fb9aee
+lib/axlsx/workbook/workbook.rb 12c82a584a9bfc4dfbb92c04426413d7eb44a504
lib/axlsx/stylesheet/fill.rb 35966285f5d759d63451005ceae3a5ae5ba2ceca
lib/axlsx/drawing/view_3D.rb c8e25d57901dd7d679fe7d1ed674d5549ab6f1b3
lib/axlsx/stylesheet/xf.rb e3d6e2e4c3b0b33c91de4c3db16c73aca3db4473
-lib/axlsx/drawing/two_cell_anchor.rb a9400212ca7ed64263fd77826c3d336115cae185
+lib/axlsx/drawing/two_cell_anchor.rb b89873e55820f9be35f8e5ebe22bd8a0d319622a
lib/axlsx/stylesheet/styles.rb 3679a8fe86270bdef96f02bcf76f2eac27b1c2ef
lib/axlsx/drawing/val_axis.rb da067622f8b09e6caf5067955b277d75ab3c8943
lib/axlsx/drawing/cat_axis.rb f046262d1e8d04ff697fe29b88725225cd406cb2
-lib/axlsx/util/validators.rb 2320eee50ceee29cc0dbab95721a6c633dc660e1
+lib/axlsx/util/validators.rb 11eb309df0232fc1ad36c8c5ab0804d656b2294a
lib/axlsx/stylesheet/font.rb 8b002d5fcba2fb0979858517f5254aadf96c7e58
lib/axlsx/doc_props/app.rb 52f01e985a33253987177798d4e79ed208649b30
-lib/axlsx/workbook/worksheet/worksheet.rb ba299b3a4f1e82f7da4fb6e28fad264dd6e2fbed
+lib/axlsx/workbook/worksheet/worksheet.rb c7159356776e5ca1cfb6d0bc288c3acf278226c8
lib/axlsx/workbook/worksheet/cell.rb 939623ffc2065e9ec26bc56d9e289d9137fe57d3
-lib/axlsx/rels/relationship.rb a160c998acf7fd0ab8195ea6162b1eb2eab4963c
+lib/axlsx/rels/relationship.rb 067b924c964a870124d51ea6e39dc1cd8983db21
lib/axlsx/stylesheet/border.rb 517bfcb43380919ce7abef494d5d3e50911b7c19
lib/axlsx/drawing/ser_axis.rb 6d15f6cc2092ef5c3baa314ed1af793247418d9b
-lib/axlsx/drawing/drawing.rb a5d71d9c7e86f15fdea03754ab258009035151dd
-lib/axlsx/drawing/chart.rb 2907d74c75580cd5f029a71140a750d4e69c869e
-lib/axlsx/version.rb eb4274097b7f8f3f60e4e3dd8d57fb6bf6148f36
+lib/axlsx/drawing/drawing.rb 243992f4dd131092c6981b3b8cb68905c55d7e1e
+lib/axlsx/drawing/chart.rb b0bfdd0cc2f0f48ed3ddcf2a1b1c46c5d9cabc2e
+lib/axlsx/version.rb ff68edc0a9bdaaaa00a81a27a3de4fa8fe4e70ce
lib/axlsx/stylesheet/gradient_stop.rb de34e289aeccb4abd9a3b7e60e816a0b12ffacff
-lib/axlsx/drawing/cat_axis_data.rb efc95067f90bf8d0bb4ce0fa6e35b7b9d642e8b5
+lib/axlsx/drawing/cat_axis_data.rb f440010084afad99d97d31354f5b5a8ee8766e9b
lib/axlsx/drawing/val_axis_data.rb c57c0abf5abb4aca9fba774f20e2f2c04d3020e8
lib/axlsx/doc_props/core.rb 90ebc8086f6606af02275c27068c359a5647faf0
+lib/axlsx/drawing/pic.rb b728be1f2f927e02c08b55c7a03b8bc6059f8672
lib/axlsx/drawing/bar_3D_chart.rb e5199cf0a33e416ea5ddf66677031ee08e5c116f
lib/axlsx/drawing/scaling.rb d3b59eed1897dc2b07bb41b2245c6e4b3e274d7e
lib/axlsx/stylesheet/pattern_fill.rb 817cf55beb3db160b2b56edb6c94de1ecf1ecee7
+lib/axlsx/drawing/one_cell_anchor.rb 512f300984cc9b2c4db73afb967b445d2e240ab7
lib/axlsx/drawing/line_3D_chart.rb de0a2c8a49259e0348fd2c642c08eb4c567bcf1b
View
BIN  .yardoc/objects/root.dat
Binary file not shown
View
4 .yardops
@@ -1,4 +1,4 @@
--protected
--no-private
-CHANGELOG.md
-LICENSE
+--title "AXLSX"
+LICENSE CHANGELOG.md
View
22 README.md
@@ -6,7 +6,7 @@ Axlsx: Office Open XML Spreadsheet Generation
**Author**: Randy Morgan
**Copyright**: 2011
**License**: MIT License
-**Latest Version**: 1.0.7
+**Latest Version**: 1.0.8
**Ruby Version**: 1.8.7
**Release Date**: November 23nd 2011
@@ -14,7 +14,7 @@ Synopsis
--------
Axlsx is an Office Open XML Spreadsheet generator for the Ruby programming language.
-It enables the you to generate 100% valid xlsx files that include customised styling 3D pie, bar and line charts. Below is a summary of salient features.
+It enables the you to generate 100% valid xlsx files that include customised styling, images, 3D pie, bar and line charts and auto-width columns. Below is a summary of salient features.
Feature List
------------
@@ -31,6 +31,7 @@ Feature List
**6. Support for both 1904 and 1900 epocs configurable in the workbook.
+**7. Add jpg, gif and png images to worksheets
Installing
----------
@@ -134,6 +135,17 @@ Generating A Line Chart
end
p.serialize("example6.xlsx")
+Adding an Image
+
+ p = Axlsx::Package.new
+ p.workbook.add_worksheet do |sheet|
+ sheet.add_image(:image_src => (File.dirname(__FILE__) + "/image1.png")) do |image|
+ image.width=720
+ image.height=666
+ image.start_at 2, 2
+ end
+ end
+ p.serialize("example7.xlsx")
###Documentation
@@ -149,6 +161,8 @@ This gem has 100% test coverage using test/unit. To execute tests for this gem,
Changelog
---------
+- **October.23.11**: 1.0.8 release
+ - Added support for images (jpg, gif, png) in worksheets.
- **October.23.11**: 1.0.7 released
- 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
@@ -163,6 +177,10 @@ Changelog
Please see the {file:CHANGELOG.md} document for past release information.
+Help Wanted
+-----------
+
+I'd really like to get rid of the depenency on RMagick in this gem. RMagic is being used to calculate the column widths in a worksheet based on the content the user specified. If there happens to be anyone out there with the background and skill set to write an extenstion that can determine the width of a singel character render with a specific font at a specific size please give me a shout.
Copyright
---------
View
156 doc/Axlsx.html
@@ -73,7 +73,7 @@
<dt class="r1 last">Defined in:</dt>
<dd class="r1 last">lib/axlsx/package.rb<span class="defines">,<br />
- lib/axlsx.rb,<br /> lib/axlsx/version.rb,<br /> lib/axlsx/drawing/axis.rb,<br /> lib/axlsx/doc_props/app.rb,<br /> lib/axlsx/drawing/title.rb,<br /> lib/axlsx/stylesheet/xf.rb,<br /> lib/axlsx/drawing/chart.rb,<br /> lib/axlsx/drawing/series.rb,<br /> lib/axlsx/util/constants.rb,<br /> lib/axlsx/drawing/marker.rb,<br /> lib/axlsx/doc_props/core.rb,<br /> lib/axlsx/drawing/view_3D.rb,<br /> lib/axlsx/stylesheet/font.rb,<br /> lib/axlsx/drawing/drawing.rb,<br /> lib/axlsx/util/validators.rb,<br /> lib/axlsx/drawing/scaling.rb,<br /> lib/axlsx/stylesheet/fill.rb,<br /> lib/axlsx/stylesheet/color.rb,<br /> lib/axlsx/drawing/ser_axis.rb,<br /> lib/axlsx/drawing/cat_axis.rb,<br /> lib/axlsx/drawing/val_axis.rb,<br /> lib/axlsx/stylesheet/border.rb,<br /> lib/axlsx/workbook/workbook.rb,<br /> lib/axlsx/stylesheet/styles.rb,<br /> lib/axlsx/rels/relationship.rb,<br /> lib/axlsx/drawing/bar_series.rb,<br /> lib/axlsx/drawing/pie_series.rb,<br /> lib/axlsx/rels/relationships.rb,<br /> lib/axlsx/stylesheet/num_fmt.rb,<br /> lib/axlsx/drawing/line_series.rb,<br /> lib/axlsx/stylesheet/border_pr.rb,<br /> lib/axlsx/drawing/series_title.rb,<br /> lib/axlsx/content_type/default.rb,<br /> lib/axlsx/drawing/bar_3D_chart.rb,<br /> lib/axlsx/drawing/pie_3D_chart.rb,<br /> lib/axlsx/drawing/line_3D_chart.rb,<br /> lib/axlsx/stylesheet/cell_style.rb,<br /> lib/axlsx/drawing/val_axis_data.rb,<br /> lib/axlsx/content_type/override.rb,<br /> lib/axlsx/drawing/cat_axis_data.rb,<br /> lib/axlsx/drawing/graphic_frame.rb,<br /> lib/axlsx/util/simple_typed_list.rb,<br /> lib/axlsx/stylesheet/table_style.rb,<br /> lib/axlsx/workbook/worksheet/row.rb,<br /> lib/axlsx/stylesheet/table_styles.rb,<br /> lib/axlsx/drawing/two_cell_anchor.rb,<br /> lib/axlsx/workbook/worksheet/cell.rb,<br /> lib/axlsx/stylesheet/pattern_fill.rb,<br /> lib/axlsx/stylesheet/gradient_fill.rb,<br /> lib/axlsx/stylesheet/gradient_stop.rb,<br /> lib/axlsx/content_type/content_type.rb,<br /> lib/axlsx/stylesheet/cell_alignment.rb,<br /> lib/axlsx/stylesheet/cell_protection.rb,<br /> lib/axlsx/workbook/worksheet/worksheet.rb,<br /> lib/axlsx/stylesheet/table_style_element.rb</span>
+ lib/axlsx.rb,<br /> lib/axlsx/version.rb,<br /> lib/axlsx/drawing/pic.rb,<br /> lib/axlsx/drawing/axis.rb,<br /> lib/axlsx/doc_props/app.rb,<br /> lib/axlsx/drawing/title.rb,<br /> lib/axlsx/drawing/chart.rb,<br /> lib/axlsx/stylesheet/xf.rb,<br /> lib/axlsx/doc_props/core.rb,<br /> lib/axlsx/drawing/series.rb,<br /> lib/axlsx/drawing/marker.rb,<br /> lib/axlsx/util/constants.rb,<br /> lib/axlsx/stylesheet/font.rb,<br /> lib/axlsx/drawing/view_3D.rb,<br /> lib/axlsx/drawing/drawing.rb,<br /> lib/axlsx/stylesheet/fill.rb,<br /> lib/axlsx/util/validators.rb,<br /> lib/axlsx/drawing/scaling.rb,<br /> lib/axlsx/drawing/cat_axis.rb,<br /> lib/axlsx/stylesheet/color.rb,<br /> lib/axlsx/drawing/ser_axis.rb,<br /> lib/axlsx/drawing/val_axis.rb,<br /> lib/axlsx/stylesheet/border.rb,<br /> lib/axlsx/workbook/workbook.rb,<br /> lib/axlsx/stylesheet/styles.rb,<br /> lib/axlsx/rels/relationship.rb,<br /> lib/axlsx/stylesheet/num_fmt.rb,<br /> lib/axlsx/drawing/bar_series.rb,<br /> lib/axlsx/rels/relationships.rb,<br /> lib/axlsx/drawing/pie_series.rb,<br /> lib/axlsx/drawing/line_series.rb,<br /> lib/axlsx/drawing/bar_3D_chart.rb,<br /> lib/axlsx/stylesheet/border_pr.rb,<br /> lib/axlsx/content_type/default.rb,<br /> lib/axlsx/drawing/series_title.rb,<br /> lib/axlsx/drawing/pie_3D_chart.rb,<br /> lib/axlsx/drawing/val_axis_data.rb,<br /> lib/axlsx/drawing/graphic_frame.rb,<br /> lib/axlsx/drawing/line_3D_chart.rb,<br /> lib/axlsx/content_type/override.rb,<br /> lib/axlsx/drawing/cat_axis_data.rb,<br /> lib/axlsx/stylesheet/cell_style.rb,<br /> lib/axlsx/util/simple_typed_list.rb,<br /> lib/axlsx/workbook/worksheet/row.rb,<br /> lib/axlsx/stylesheet/table_style.rb,<br /> lib/axlsx/drawing/one_cell_anchor.rb,<br /> lib/axlsx/stylesheet/table_styles.rb,<br /> lib/axlsx/workbook/worksheet/cell.rb,<br /> lib/axlsx/drawing/two_cell_anchor.rb,<br /> lib/axlsx/stylesheet/pattern_fill.rb,<br /> lib/axlsx/stylesheet/gradient_stop.rb,<br /> lib/axlsx/stylesheet/gradient_fill.rb,<br /> lib/axlsx/stylesheet/cell_alignment.rb,<br /> lib/axlsx/content_type/content_type.rb,<br /> lib/axlsx/stylesheet/cell_protection.rb,<br /> lib/axlsx/workbook/worksheet/worksheet.rb,<br /> lib/axlsx/stylesheet/table_style_element.rb</span>
</dd>
</dl>
@@ -98,7 +98,7 @@
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Axlsx/App.html" title="Axlsx::App (class)">App</a></span>, <span class='object_link'><a href="Axlsx/Axis.html" title="Axlsx::Axis (class)">Axis</a></span>, <span class='object_link'><a href="Axlsx/Bar3DChart.html" title="Axlsx::Bar3DChart (class)">Bar3DChart</a></span>, <span class='object_link'><a href="Axlsx/BarSeries.html" title="Axlsx::BarSeries (class)">BarSeries</a></span>, <span class='object_link'><a href="Axlsx/Border.html" title="Axlsx::Border (class)">Border</a></span>, <span class='object_link'><a href="Axlsx/BorderPr.html" title="Axlsx::BorderPr (class)">BorderPr</a></span>, <span class='object_link'><a href="Axlsx/CatAxis.html" title="Axlsx::CatAxis (class)">CatAxis</a></span>, <span class='object_link'><a href="Axlsx/CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span>, <span class='object_link'><a href="Axlsx/Cell.html" title="Axlsx::Cell (class)">Cell</a></span>, <span class='object_link'><a href="Axlsx/CellAlignment.html" title="Axlsx::CellAlignment (class)">CellAlignment</a></span>, <span class='object_link'><a href="Axlsx/CellProtection.html" title="Axlsx::CellProtection (class)">CellProtection</a></span>, <span class='object_link'><a href="Axlsx/CellStyle.html" title="Axlsx::CellStyle (class)">CellStyle</a></span>, <span class='object_link'><a href="Axlsx/Chart.html" title="Axlsx::Chart (class)">Chart</a></span>, <span class='object_link'><a href="Axlsx/Color.html" title="Axlsx::Color (class)">Color</a></span>, <span class='object_link'><a href="Axlsx/ContentType.html" title="Axlsx::ContentType (class)">ContentType</a></span>, <span class='object_link'><a href="Axlsx/Core.html" title="Axlsx::Core (class)">Core</a></span>, <span class='object_link'><a href="Axlsx/DataTypeValidator.html" title="Axlsx::DataTypeValidator (class)">DataTypeValidator</a></span>, <span class='object_link'><a href="Axlsx/Default.html" title="Axlsx::Default (class)">Default</a></span>, <span class='object_link'><a href="Axlsx/Drawing.html" title="Axlsx::Drawing (class)">Drawing</a></span>, <span class='object_link'><a href="Axlsx/Fill.html" title="Axlsx::Fill (class)">Fill</a></span>, <span class='object_link'><a href="Axlsx/Font.html" title="Axlsx::Font (class)">Font</a></span>, <span class='object_link'><a href="Axlsx/GradientFill.html" title="Axlsx::GradientFill (class)">GradientFill</a></span>, <span class='object_link'><a href="Axlsx/GradientStop.html" title="Axlsx::GradientStop (class)">GradientStop</a></span>, <span class='object_link'><a href="Axlsx/GraphicFrame.html" title="Axlsx::GraphicFrame (class)">GraphicFrame</a></span>, <span class='object_link'><a href="Axlsx/Line3DChart.html" title="Axlsx::Line3DChart (class)">Line3DChart</a></span>, <span class='object_link'><a href="Axlsx/LineSeries.html" title="Axlsx::LineSeries (class)">LineSeries</a></span>, <span class='object_link'><a href="Axlsx/Marker.html" title="Axlsx::Marker (class)">Marker</a></span>, <span class='object_link'><a href="Axlsx/NumFmt.html" title="Axlsx::NumFmt (class)">NumFmt</a></span>, <span class='object_link'><a href="Axlsx/Override.html" title="Axlsx::Override (class)">Override</a></span>, <span class='object_link'><a href="Axlsx/Package.html" title="Axlsx::Package (class)">Package</a></span>, <span class='object_link'><a href="Axlsx/PatternFill.html" title="Axlsx::PatternFill (class)">PatternFill</a></span>, <span class='object_link'><a href="Axlsx/Pie3DChart.html" title="Axlsx::Pie3DChart (class)">Pie3DChart</a></span>, <span class='object_link'><a href="Axlsx/PieSeries.html" title="Axlsx::PieSeries (class)">PieSeries</a></span>, <span class='object_link'><a href="Axlsx/RegexValidator.html" title="Axlsx::RegexValidator (class)">RegexValidator</a></span>, <span class='object_link'><a href="Axlsx/Relationship.html" title="Axlsx::Relationship (class)">Relationship</a></span>, <span class='object_link'><a href="Axlsx/Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span>, <span class='object_link'><a href="Axlsx/RestrictionValidator.html" title="Axlsx::RestrictionValidator (class)">RestrictionValidator</a></span>, <span class='object_link'><a href="Axlsx/Row.html" title="Axlsx::Row (class)">Row</a></span>, <span class='object_link'><a href="Axlsx/Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span>, <span class='object_link'><a href="Axlsx/SerAxis.html" title="Axlsx::SerAxis (class)">SerAxis</a></span>, <span class='object_link'><a href="Axlsx/Series.html" title="Axlsx::Series (class)">Series</a></span>, <span class='object_link'><a href="Axlsx/SeriesTitle.html" title="Axlsx::SeriesTitle (class)">SeriesTitle</a></span>, <span class='object_link'><a href="Axlsx/SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span>, <span class='object_link'><a href="Axlsx/Styles.html" title="Axlsx::Styles (class)">Styles</a></span>, <span class='object_link'><a href="Axlsx/TableStyle.html" title="Axlsx::TableStyle (class)">TableStyle</a></span>, <span class='object_link'><a href="Axlsx/TableStyleElement.html" title="Axlsx::TableStyleElement (class)">TableStyleElement</a></span>, <span class='object_link'><a href="Axlsx/TableStyles.html" title="Axlsx::TableStyles (class)">TableStyles</a></span>, <span class='object_link'><a href="Axlsx/Title.html" title="Axlsx::Title (class)">Title</a></span>, <span class='object_link'><a href="Axlsx/TwoCellAnchor.html" title="Axlsx::TwoCellAnchor (class)">TwoCellAnchor</a></span>, <span class='object_link'><a href="Axlsx/ValAxis.html" title="Axlsx::ValAxis (class)">ValAxis</a></span>, <span class='object_link'><a href="Axlsx/ValAxisData.html" title="Axlsx::ValAxisData (class)">ValAxisData</a></span>, <span class='object_link'><a href="Axlsx/View3D.html" title="Axlsx::View3D (class)">View3D</a></span>, <span class='object_link'><a href="Axlsx/Workbook.html" title="Axlsx::Workbook (class)">Workbook</a></span>, <span class='object_link'><a href="Axlsx/Worksheet.html" title="Axlsx::Worksheet (class)">Worksheet</a></span>, <span class='object_link'><a href="Axlsx/Xf.html" title="Axlsx::Xf (class)">Xf</a></span>
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Axlsx/App.html" title="Axlsx::App (class)">App</a></span>, <span class='object_link'><a href="Axlsx/Axis.html" title="Axlsx::Axis (class)">Axis</a></span>, <span class='object_link'><a href="Axlsx/Bar3DChart.html" title="Axlsx::Bar3DChart (class)">Bar3DChart</a></span>, <span class='object_link'><a href="Axlsx/BarSeries.html" title="Axlsx::BarSeries (class)">BarSeries</a></span>, <span class='object_link'><a href="Axlsx/Border.html" title="Axlsx::Border (class)">Border</a></span>, <span class='object_link'><a href="Axlsx/BorderPr.html" title="Axlsx::BorderPr (class)">BorderPr</a></span>, <span class='object_link'><a href="Axlsx/CatAxis.html" title="Axlsx::CatAxis (class)">CatAxis</a></span>, <span class='object_link'><a href="Axlsx/CatAxisData.html" title="Axlsx::CatAxisData (class)">CatAxisData</a></span>, <span class='object_link'><a href="Axlsx/Cell.html" title="Axlsx::Cell (class)">Cell</a></span>, <span class='object_link'><a href="Axlsx/CellAlignment.html" title="Axlsx::CellAlignment (class)">CellAlignment</a></span>, <span class='object_link'><a href="Axlsx/CellProtection.html" title="Axlsx::CellProtection (class)">CellProtection</a></span>, <span class='object_link'><a href="Axlsx/CellStyle.html" title="Axlsx::CellStyle (class)">CellStyle</a></span>, <span class='object_link'><a href="Axlsx/Chart.html" title="Axlsx::Chart (class)">Chart</a></span>, <span class='object_link'><a href="Axlsx/Color.html" title="Axlsx::Color (class)">Color</a></span>, <span class='object_link'><a href="Axlsx/ContentType.html" title="Axlsx::ContentType (class)">ContentType</a></span>, <span class='object_link'><a href="Axlsx/Core.html" title="Axlsx::Core (class)">Core</a></span>, <span class='object_link'><a href="Axlsx/DataTypeValidator.html" title="Axlsx::DataTypeValidator (class)">DataTypeValidator</a></span>, <span class='object_link'><a href="Axlsx/Default.html" title="Axlsx::Default (class)">Default</a></span>, <span class='object_link'><a href="Axlsx/Drawing.html" title="Axlsx::Drawing (class)">Drawing</a></span>, <span class='object_link'><a href="Axlsx/Fill.html" title="Axlsx::Fill (class)">Fill</a></span>, <span class='object_link'><a href="Axlsx/Font.html" title="Axlsx::Font (class)">Font</a></span>, <span class='object_link'><a href="Axlsx/GradientFill.html" title="Axlsx::GradientFill (class)">GradientFill</a></span>, <span class='object_link'><a href="Axlsx/GradientStop.html" title="Axlsx::GradientStop (class)">GradientStop</a></span>, <span class='object_link'><a href="Axlsx/GraphicFrame.html" title="Axlsx::GraphicFrame (class)">GraphicFrame</a></span>, <span class='object_link'><a href="Axlsx/Line3DChart.html" title="Axlsx::Line3DChart (class)">Line3DChart</a></span>, <span class='object_link'><a href="Axlsx/LineSeries.html" title="Axlsx::LineSeries (class)">LineSeries</a></span>, <span class='object_link'><a href="Axlsx/Marker.html" title="Axlsx::Marker (class)">Marker</a></span>, <span class='object_link'><a href="Axlsx/NumFmt.html" title="Axlsx::NumFmt (class)">NumFmt</a></span>, <span class='object_link'><a href="Axlsx/OneCellAnchor.html" title="Axlsx::OneCellAnchor (class)">OneCellAnchor</a></span>, <span class='object_link'><a href="Axlsx/Override.html" title="Axlsx::Override (class)">Override</a></span>, <span class='object_link'><a href="Axlsx/Package.html" title="Axlsx::Package (class)">Package</a></span>, <span class='object_link'><a href="Axlsx/PatternFill.html" title="Axlsx::PatternFill (class)">PatternFill</a></span>, <span class='object_link'><a href="Axlsx/Pic.html" title="Axlsx::Pic (class)">Pic</a></span>, <span class='object_link'><a href="Axlsx/Pie3DChart.html" title="Axlsx::Pie3DChart (class)">Pie3DChart</a></span>, <span class='object_link'><a href="Axlsx/PieSeries.html" title="Axlsx::PieSeries (class)">PieSeries</a></span>, <span class='object_link'><a href="Axlsx/RegexValidator.html" title="Axlsx::RegexValidator (class)">RegexValidator</a></span>, <span class='object_link'><a href="Axlsx/Relationship.html" title="Axlsx::Relationship (class)">Relationship</a></span>, <span class='object_link'><a href="Axlsx/Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span>, <span class='object_link'><a href="Axlsx/RestrictionValidator.html" title="Axlsx::RestrictionValidator (class)">RestrictionValidator</a></span>, <span class='object_link'><a href="Axlsx/Row.html" title="Axlsx::Row (class)">Row</a></span>, <span class='object_link'><a href="Axlsx/Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span>, <span class='object_link'><a href="Axlsx/SerAxis.html" title="Axlsx::SerAxis (class)">SerAxis</a></span>, <span class='object_link'><a href="Axlsx/Series.html" title="Axlsx::Series (class)">Series</a></span>, <span class='object_link'><a href="Axlsx/SeriesTitle.html" title="Axlsx::SeriesTitle (class)">SeriesTitle</a></span>, <span class='object_link'><a href="Axlsx/SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span>, <span class='object_link'><a href="Axlsx/Styles.html" title="Axlsx::Styles (class)">Styles</a></span>, <span class='object_link'><a href="Axlsx/TableStyle.html" title="Axlsx::TableStyle (class)">TableStyle</a></span>, <span class='object_link'><a href="Axlsx/TableStyleElement.html" title="Axlsx::TableStyleElement (class)">TableStyleElement</a></span>, <span class='object_link'><a href="Axlsx/TableStyles.html" title="Axlsx::TableStyles (class)">TableStyles</a></span>, <span class='object_link'><a href="Axlsx/Title.html" title="Axlsx::Title (class)">Title</a></span>, <span class='object_link'><a href="Axlsx/TwoCellAnchor.html" title="Axlsx::TwoCellAnchor (class)">TwoCellAnchor</a></span>, <span class='object_link'><a href="Axlsx/ValAxis.html" title="Axlsx::ValAxis (class)">ValAxis</a></span>, <span class='object_link'><a href="Axlsx/ValAxisData.html" title="Axlsx::ValAxisData (class)">ValAxisData</a></span>, <span class='object_link'><a href="Axlsx/View3D.html" title="Axlsx::View3D (class)">View3D</a></span>, <span class='object_link'><a href="Axlsx/Workbook.html" title="Axlsx::Workbook (class)">Workbook</a></span>, <span class='object_link'><a href="Axlsx/Worksheet.html" title="Axlsx::Worksheet (class)">Worksheet</a></span>, <span class='object_link'><a href="Axlsx/Xf.html" title="Axlsx::Xf (class)">Xf</a></span>
</p>
@@ -122,7 +122,7 @@
</div>
</dt>
- <dd><pre class="code"><span class='string val'>&quot;1.0.7&quot;</span>
+ <dd><pre class="code"><span class='string val'>&quot;1.0.8&quot;</span>
</pre></dd>
<dt id="ENCODING-constant" class="">ENCODING =
@@ -539,6 +539,24 @@
<dd><pre class="code"><span class='string val'>&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart&quot;</span>
</pre></dd>
+ <dt id="IMAGE_R-constant" class="">IMAGE_R =
+ <div class="docstring">
+ <div class="discussion">
+ <p>
+image rels namespace
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div>
+ </dt>
+ <dd><pre class="code"><span class='string val'>&quot;http://schemas.openxmlformats.org/officeDocument/2006/relationships/image&quot;</span>
+</pre></dd>
+
<dt id="TABLE_CT-constant" class="">TABLE_CT =
<div class="docstring">
<div class="discussion">
@@ -719,6 +737,60 @@
<dd><pre class="code"><span class='string val'>&quot;application/vnd.openxmlformats-officedocument.drawingml.chart+xml&quot;</span>
</pre></dd>
+ <dt id="JPEG_CT-constant" class="">JPEG_CT =
+ <div class="docstring">
+ <div class="discussion">
+ <p>
+jpeg content type
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div>
+ </dt>
+ <dd><pre class="code"><span class='string val'>&quot;image/jpeg&quot;</span>
+</pre></dd>
+
+ <dt id="GIF_CT-constant" class="">GIF_CT =
+ <div class="docstring">
+ <div class="discussion">
+ <p>
+gif content type
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div>
+ </dt>
+ <dd><pre class="code"><span class='string val'>&quot;image/gif&quot;</span>
+</pre></dd>
+
+ <dt id="PNG_CT-constant" class="">PNG_CT =
+ <div class="docstring">
+ <div class="discussion">
+ <p>
+png content type
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div>
+ </dt>
+ <dd><pre class="code"><span class='string val'>&quot;image/png&quot;</span>
+</pre></dd>
+
<dt id="DRAWING_CT-constant" class="">DRAWING_CT =
<div class="docstring">
<div class="discussion">
@@ -755,6 +827,60 @@
<dd><pre class="code"><span class='string val'>&quot;xml&quot;</span>
</pre></dd>
+ <dt id="JPEG_EX-constant" class="">JPEG_EX =
+ <div class="docstring">
+ <div class="discussion">
+ <p>
+jpeg extension
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div>
+ </dt>
+ <dd><pre class="code"><span class='string val'>&quot;jpeg&quot;</span>
+</pre></dd>
+
+ <dt id="GIF_EX-constant" class="">GIF_EX =
+ <div class="docstring">
+ <div class="discussion">
+ <p>
+gif extension
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div>
+ </dt>
+ <dd><pre class="code"><span class='string val'>&quot;gif&quot;</span>
+</pre></dd>
+
+ <dt id="PNG_EX-constant" class="">PNG_EX =
+ <div class="docstring">
+ <div class="discussion">
+ <p>
+png extension
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div>
+ </dt>
+ <dd><pre class="code"><span class='string val'>&quot;png&quot;</span>
+</pre></dd>
+
<dt id="RELS_EX-constant" class="">RELS_EX =
<div class="docstring">
<div class="discussion">
@@ -989,6 +1115,24 @@
<dd><pre class="code"><span class='string val'>&quot;charts/chart%d.xml&quot;</span>
</pre></dd>
+ <dt id="IMAGE_PN-constant" class="">IMAGE_PN =
+ <div class="docstring">
+ <div class="discussion">
+ <p>
+chart part
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+</div>
+ </dt>
+ <dd><pre class="code"><span class='string val'>&quot;media/image%d.%s&quot;</span>
+</pre></dd>
+
<dt id="APP_XSD-constant" class="">APP_XSD =
<div class="docstring">
<div class="discussion">
@@ -1743,7 +1887,7 @@
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 114</span>
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_content_type identifier id'>validate_content_type</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
- <span class='RestrictionValidator constant id'>RestrictionValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:content_type</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='TABLE_CT constant id'>TABLE_CT</span><span class='comma token'>,</span> <span class='WORKBOOK_CT constant id'>WORKBOOK_CT</span><span class='comma token'>,</span> <span class='APP_CT constant id'>APP_CT</span><span class='comma token'>,</span> <span class='RELS_CT constant id'>RELS_CT</span><span class='comma token'>,</span> <span class='STYLES_CT constant id'>STYLES_CT</span><span class='comma token'>,</span> <span class='XML_CT constant id'>XML_CT</span><span class='comma token'>,</span> <span class='WORKSHEET_CT constant id'>WORKSHEET_CT</span><span class='comma token'>,</span> <span class='SHARED_STRINGS_CT constant id'>SHARED_STRINGS_CT</span><span class='comma token'>,</span> <span class='CORE_CT constant id'>CORE_CT</span><span class='comma token'>,</span> <span class='CHART_CT constant id'>CHART_CT</span><span class='comma token'>,</span> <span class='DRAWING_CT constant id'>DRAWING_CT</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
+ <span class='RestrictionValidator constant id'>RestrictionValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:content_type</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='TABLE_CT constant id'>TABLE_CT</span><span class='comma token'>,</span> <span class='WORKBOOK_CT constant id'>WORKBOOK_CT</span><span class='comma token'>,</span> <span class='APP_CT constant id'>APP_CT</span><span class='comma token'>,</span> <span class='RELS_CT constant id'>RELS_CT</span><span class='comma token'>,</span> <span class='STYLES_CT constant id'>STYLES_CT</span><span class='comma token'>,</span> <span class='XML_CT constant id'>XML_CT</span><span class='comma token'>,</span> <span class='WORKSHEET_CT constant id'>WORKSHEET_CT</span><span class='comma token'>,</span> <span class='SHARED_STRINGS_CT constant id'>SHARED_STRINGS_CT</span><span class='comma token'>,</span> <span class='CORE_CT constant id'>CORE_CT</span><span class='comma token'>,</span> <span class='CHART_CT constant id'>CHART_CT</span><span class='comma token'>,</span> <span class='JPEG_CT constant id'>JPEG_CT</span><span class='comma token'>,</span> <span class='GIF_CT constant id'>GIF_CT</span><span class='comma token'>,</span> <span class='PNG_CT constant id'>PNG_CT</span><span class='comma token'>,</span> <span class='DRAWING_CT constant id'>DRAWING_CT</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -2126,7 +2270,7 @@
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 121</span>
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_relationship_type identifier id'>validate_relationship_type</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
- <span class='RestrictionValidator constant id'>RestrictionValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:relationship_type</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='XML_NS_R constant id'>XML_NS_R</span><span class='comma token'>,</span> <span class='TABLE_R constant id'>TABLE_R</span><span class='comma token'>,</span> <span class='WORKBOOK_R constant id'>WORKBOOK_R</span><span class='comma token'>,</span> <span class='WORKSHEET_R constant id'>WORKSHEET_R</span><span class='comma token'>,</span> <span class='APP_R constant id'>APP_R</span><span class='comma token'>,</span> <span class='RELS_R constant id'>RELS_R</span><span class='comma token'>,</span> <span class='CORE_R constant id'>CORE_R</span><span class='comma token'>,</span> <span class='STYLES_R constant id'>STYLES_R</span><span class='comma token'>,</span> <span class='CHART_R constant id'>CHART_R</span><span class='comma token'>,</span> <span class='DRAWING_R constant id'>DRAWING_R</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
+ <span class='RestrictionValidator constant id'>RestrictionValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:relationship_type</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='XML_NS_R constant id'>XML_NS_R</span><span class='comma token'>,</span> <span class='TABLE_R constant id'>TABLE_R</span><span class='comma token'>,</span> <span class='WORKBOOK_R constant id'>WORKBOOK_R</span><span class='comma token'>,</span> <span class='WORKSHEET_R constant id'>WORKSHEET_R</span><span class='comma token'>,</span> <span class='APP_R constant id'>APP_R</span><span class='comma token'>,</span> <span class='RELS_R constant id'>RELS_R</span><span class='comma token'>,</span> <span class='CORE_R constant id'>CORE_R</span><span class='comma token'>,</span> <span class='STYLES_R constant id'>STYLES_R</span><span class='comma token'>,</span> <span class='CHART_R constant id'>CHART_R</span><span class='comma token'>,</span> <span class='DRAWING_R constant id'>DRAWING_R</span><span class='comma token'>,</span> <span class='IMAGE_R constant id'>IMAGE_R</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -2434,7 +2578,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:29 2011 by
+ Generated on Wed Nov 23 21:44:35 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/App.html
@@ -2631,7 +2631,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:48 2011 by
+ Generated on Wed Nov 23 21:44:50 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/Axis.html
@@ -1064,7 +1064,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:46 2011 by
+ Generated on Wed Nov 23 21:44:41 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/Bar3DChart.html
@@ -1171,7 +1171,7 @@ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:33 2011 by
+ Generated on Wed Nov 23 21:44:41 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/BarSeries.html
@@ -697,7 +697,7 @@ <h3 class="inherited">Attributes inherited from <span class='object_link'><a hre
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:26 2011 by
+ Generated on Wed Nov 23 21:44:40 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/Border.html
@@ -766,7 +766,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:38 2011 by
+ Generated on Wed Nov 23 21:44:49 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/BorderPr.html
@@ -700,7 +700,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:38 2011 by
+ Generated on Wed Nov 23 21:44:42 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/CatAxis.html
@@ -760,7 +760,7 @@ <h3 class="inherited">Attributes inherited from <span class='object_link'><a hre
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:43 2011 by
+ Generated on Wed Nov 23 21:44:44 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
12 doc/Axlsx/CatAxisData.html
@@ -253,7 +253,8 @@ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="
7
8
9
-10</pre>
+10
+11</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis_data.rb', line 7</span>
@@ -261,6 +262,7 @@ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='data identifier id'>data</span><span class='assign token'>=</span><span class='lbrack token'>[</span><span class='rbrack token'>]</span><span class='rparen token'>)</span>
<span class='super super kw'>super</span> <span class='Object constant id'>Object</span>
<span class='@list ivar id'>@list</span><span class='dot token'>.</span><span class='concat identifier id'>concat</span> <span class='data identifier id'>data</span> <span class='if if_mod kw'>if</span> <span class='data identifier id'>data</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Array constant id'>Array</span><span class='rparen token'>)</span>
+ <span class='data identifier id'>data</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='i identifier id'>i</span><span class='bitor op'>|</span> <span class='@list ivar id'>@list</span> <span class='lshft op'>&lt;&lt;</span> <span class='i identifier id'>i</span> <span class='rbrace token'>}</span> <span class='if if_mod kw'>if</span> <span class='data identifier id'>data</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='SimpleTypedList constant id'>SimpleTypedList</span><span class='rparen token'>)</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -344,7 +346,6 @@ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="
<pre class="lines">
-15
16
17
18
@@ -359,10 +360,11 @@ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="
27
28
29
-30</pre>
+30
+31</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis_data.rb', line 15</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/cat_axis_data.rb', line 16</span>
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
<span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'c:cat'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
@@ -391,7 +393,7 @@ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:34 2011 by
+ Generated on Wed Nov 23 21:44:32 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/Cell.html
@@ -1614,7 +1614,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:30 2011 by
+ Generated on Wed Nov 23 21:44:46 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/CellAlignment.html
@@ -1238,7 +1238,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:37 2011 by
+ Generated on Wed Nov 23 21:44:43 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/CellProtection.html
@@ -556,7 +556,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:43 2011 by
+ Generated on Wed Nov 23 21:44:46 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/CellStyle.html
@@ -940,7 +940,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:44 2011 by
+ Generated on Wed Nov 23 21:44:39 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
32 doc/Axlsx/Chart.html
@@ -1290,13 +1290,13 @@
<pre class="lines">
+100
101
102
-103
-104</pre>
+103</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 101</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 100</span>
<span class='def def kw'>def</span> <span class='add_series identifier id'>add_series</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
<span class='@series_type ivar id'>@series_type</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
@@ -1385,13 +1385,13 @@
<pre class="lines">
+148
149
150
-151
-152</pre>
+151</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 149</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 148</span>
<span class='def def kw'>def</span> <span class='end_at identifier id'>end_at</span><span class='lparen token'>(</span><span class='x identifier id'>x</span><span class='comma token'>,</span> <span class='y identifier id'>y</span><span class='rparen token'>)</span>
<span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='to identifier id'>to</span><span class='dot token'>.</span><span class='col identifier id'>col</span> <span class='assign token'>=</span> <span class='x identifier id'>x</span>
@@ -1438,12 +1438,12 @@
<pre class="lines">
+93
94
-95
-96</pre>
+95</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 94</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 93</span>
<span class='def def kw'>def</span> <span class='from identifier id'>from</span>
<span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='from identifier id'>from</span>
@@ -1532,13 +1532,13 @@
<pre class="lines">
+137
138
139
-140
-141</pre>
+140</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 138</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 137</span>
<span class='def def kw'>def</span> <span class='start_at identifier id'>start_at</span><span class='lparen token'>(</span><span class='x identifier id'>x</span><span class='comma token'>,</span> <span class='y identifier id'>y</span><span class='rparen token'>)</span>
<span class='@graphic_frame ivar id'>@graphic_frame</span><span class='dot token'>.</span><span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='from identifier id'>from</span><span class='dot token'>.</span><span class='col identifier id'>col</span> <span class='assign token'>=</span> <span class='x identifier id'>x</span>
@@ -1626,6 +1626,7 @@
<pre class="lines">
+107
108
109
110
@@ -1647,11 +1648,10 @@
126
127
128
-129
-130</pre>
+129</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 108</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/chart.rb', line 107</span>
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
<span class='builder identifier id'>builder</span> <span class='assign token'>=</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Builder constant id'>Builder</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:encoding</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='ENCODING constant id'>ENCODING</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml identifier id'>xml</span><span class='bitor op'>|</span>
@@ -1687,7 +1687,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:41 2011 by
+ Generated on Wed Nov 23 21:44:52 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/Color.html
@@ -656,7 +656,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:34 2011 by
+ Generated on Wed Nov 23 21:44:38 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/ContentType.html
@@ -331,7 +331,7 @@ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:48 2011 by
+ Generated on Wed Nov 23 21:44:37 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/Core.html
@@ -456,7 +456,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:40 2011 by
+ Generated on Wed Nov 23 21:44:40 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/DataTypeValidator.html
@@ -315,7 +315,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:27 2011 by
+ Generated on Wed Nov 23 21:44:37 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/Default.html
@@ -566,7 +566,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:31 2011 by
+ Generated on Wed Nov 23 21:44:39 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
308 doc/Axlsx/Drawing.html
@@ -189,6 +189,34 @@
<li class="public ">
<span class="summary_signature">
+ <a href="#images-instance_method" title="#images (instance method)">- (Array) <strong>images</strong> </a>
+
+
+
+ </span>
+
+
+ <span class="note title readonly">readonly</span>
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+An array of image objects that are associated with this drawing&#8217;s
+anchors.
+</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
<a href="#index-instance_method" title="#index (instance method)">- (Integer) <strong>index</strong> </a>
@@ -389,6 +417,30 @@
<li class="public ">
<span class="summary_signature">
+ <a href="#add_image-instance_method" title="#add_image (instance method)">- (Object) <strong>add_image</strong>(options = {}) </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+Adds an image to the chart.
+</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Drawing) <strong>initialize</strong>(worksheet) </a>
@@ -488,21 +540,21 @@
<pre class="lines">
-71
-72
-73
-74
-75
-76</pre>
+80
+81
+82
+83
+84
+85</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 71</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 80</span>
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='worksheet identifier id'>worksheet</span><span class='rparen token'>)</span>
<span class='DataTypeValidator constant id'>DataTypeValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='string val'>&quot;Drawing.worksheet&quot;</span><span class='comma token'>,</span> <span class='Worksheet constant id'>Worksheet</span><span class='comma token'>,</span> <span class='worksheet identifier id'>worksheet</span>
<span class='@worksheet ivar id'>@worksheet</span> <span class='assign token'>=</span> <span class='worksheet identifier id'>worksheet</span>
<span class='@worksheet ivar id'>@worksheet</span><span class='dot token'>.</span><span class='workbook identifier id'>workbook</span><span class='dot token'>.</span><span class='drawings identifier id'>drawings</span> <span class='lshft op'>&lt;&lt;</span> <span class='self self kw'>self</span>
- <span class='@anchors ivar id'>@anchors</span> <span class='assign token'>=</span> <span class='SimpleTypedList constant id'>SimpleTypedList</span><span class='dot token'>.</span><span class='new identifier id'>new</span> <span class='TwoCellAnchor constant id'>TwoCellAnchor</span>
+ <span class='@anchors ivar id'>@anchors</span> <span class='assign token'>=</span> <span class='SimpleTypedList constant id'>SimpleTypedList</span><span class='dot token'>.</span><span class='new identifier id'>new</span> <span class='lbrack token'>[</span><span class='TwoCellAnchor constant id'>TwoCellAnchor</span><span class='comma token'>,</span> <span class='OneCellAnchor constant id'>OneCellAnchor</span><span class='rbrack token'>]</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -557,12 +609,12 @@
<pre class="lines">
-43
-44
-45</pre>
+48
+49
+50</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 43</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 48</span>
<span class='def def kw'>def</span> <span class='anchors identifier id'>anchors</span>
<span class='@anchors ivar id'>@anchors</span>
@@ -614,15 +666,77 @@
<pre class="lines">
-47
-48
-49</pre>
+52
+53
+54
+55</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 47</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 52</span>
<span class='def def kw'>def</span> <span class='charts identifier id'>charts</span>
- <span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='map identifier id'>map</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span> <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='graphic_frame identifier id'>graphic_frame</span><span class='dot token'>.</span><span class='chart identifier id'>chart</span> <span class='rbrace token'>}</span>
+ <span class='charts identifier id'>charts</span> <span class='assign token'>=</span> <span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='select identifier id'>select</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span> <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='object identifier id'>object</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='GraphicFrame constant id'>GraphicFrame</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
+ <span class='charts identifier id'>charts</span><span class='dot token'>.</span><span class='map identifier id'>map</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span> <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='object identifier id'>object</span><span class='dot token'>.</span><span class='chart identifier id'>chart</span> <span class='rbrace token'>}</span>
+<span class='end end kw'>end</span>
+</pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+
+ <span id=""></span>
+ <span id="images-instance_method"></span>
+ <div class="method_details ">
+ <p class="signature " id="images-instance_method">
+
+ - (<tt>Array</tt>) <strong>images</strong> <span class="extras">(readonly)</span>
+
+
+
+</p><div class="docstring">
+ <div class="discussion">
+ <p>
+An array of image objects that are associated with this drawing&#8217;s
+anchors
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+<h3>Returns:</h3>
+<ul class="return">
+
+ <li>
+
+
+ <span class='type'>(<tt>Array</tt>)</span>
+
+
+
+ </li>
+
+</ul>
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+56
+57
+58
+59</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 56</span>
+
+<span class='def def kw'>def</span> <span class='images identifier id'>images</span>
+ <span class='images identifier id'>images</span> <span class='assign token'>=</span> <span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='select identifier id'>select</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span> <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='object identifier id'>object</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span><span class='lparen token'>(</span><span class='Pic constant id'>Pic</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span>
+ <span class='images identifier id'>images</span><span class='dot token'>.</span><span class='map identifier id'>map</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='a identifier id'>a</span><span class='bitor op'>|</span> <span class='a identifier id'>a</span><span class='dot token'>.</span><span class='object identifier id'>object</span> <span class='rbrace token'>}</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -672,12 +786,12 @@
<pre class="lines">
-51
-52
-53</pre>
+60
+61
+62</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 51</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 60</span>
<span class='def def kw'>def</span> <span class='index identifier id'>index</span>
<span class='@worksheet ivar id'>@worksheet</span><span class='dot token'>.</span><span class='workbook identifier id'>workbook</span><span class='dot token'>.</span><span class='drawings identifier id'>drawings</span><span class='dot token'>.</span><span class='index identifier id'>index</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='rparen token'>)</span>
@@ -729,12 +843,12 @@
<pre class="lines">
-59
-60
-61</pre>
+68
+69
+70</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 59</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 68</span>
<span class='def def kw'>def</span> <span class='pn identifier id'>pn</span>
<span class='dstring node'>&quot;#{DRAWING_PN % (index+1)}&quot;</span>
@@ -786,24 +900,28 @@
<pre class="lines">
-67
-68
-69
-70
-71
-72
-73
-74</pre>
+76
+77
+78
+79
+80
+81
+82
+83
+84
+85</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 67</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 76</span>
<span class='def def kw'>def</span> <span class='relationships identifier id'>relationships</span>
<span class='r identifier id'>r</span> <span class='assign token'>=</span> <span class='Relationships constant id'>Relationships</span><span class='dot token'>.</span><span class='new identifier id'>new</span>
- <span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='anchor identifier id'>anchor</span><span class='bitor op'>|</span>
- <span class='chart identifier id'>chart</span> <span class='assign token'>=</span> <span class='anchor identifier id'>anchor</span><span class='dot token'>.</span><span class='graphic_frame identifier id'>graphic_frame</span><span class='dot token'>.</span><span class='chart identifier id'>chart</span>
+ <span class='charts identifier id'>charts</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='chart identifier id'>chart</span><span class='bitor op'>|</span>
<span class='r identifier id'>r</span> <span class='lshft op'>&lt;&lt;</span> <span class='Relationship constant id'>Relationship</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='CHART_R constant id'>CHART_R</span><span class='comma token'>,</span> <span class='dstring node'>&quot;../#{chart.pn}&quot;</span><span class='rparen token'>)</span>
<span class='end end kw'>end</span>
+ <span class='images identifier id'>images</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='image identifier id'>image</span><span class='bitor op'>|</span>
+ <span class='r identifier id'>r</span> <span class='lshft op'>&lt;&lt;</span> <span class='Relationship constant id'>Relationship</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='IMAGE_R constant id'>IMAGE_R</span><span class='comma token'>,</span> <span class='dstring node'>&quot;../#{image.pn}&quot;</span><span class='rparen token'>)</span>
+ <span class='end end kw'>end</span>
<span class='r identifier id'>r</span>
<span class='end end kw'>end</span>
</pre>
@@ -853,12 +971,12 @@
<pre class="lines">
-63
-64
-65</pre>
+72
+73
+74</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 63</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 72</span>
<span class='def def kw'>def</span> <span class='rels_pn identifier id'>rels_pn</span>
<span class='dstring node'>&quot;#{DRAWING_RELS_PN % (index+1)}&quot;</span>
@@ -910,12 +1028,12 @@
<pre class="lines">
-55
-56
-57</pre>
+64
+65
+66</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 55</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 64</span>
<span class='def def kw'>def</span> <span class='rId identifier id'>rId</span>
<span class='dstring node'>&quot;rId#{index+1}&quot;</span>
@@ -967,12 +1085,12 @@
<pre class="lines">
-38
-39
-40</pre>
+43
+44
+45</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 38</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 43</span>
<span class='def def kw'>def</span> <span class='worksheet identifier id'>worksheet</span>
<span class='@worksheet ivar id'>@worksheet</span>
@@ -1032,17 +1150,77 @@
<pre class="lines">
-82
-83
-84
-85</pre>
+98
+99
+100
+101</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 82</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 98</span>
<span class='def def kw'>def</span> <span class='add_chart identifier id'>add_chart</span><span class='lparen token'>(</span><span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
- <span class='TwoCellAnchor constant id'>TwoCellAnchor</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
- <span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='last identifier id'>last</span><span class='dot token'>.</span><span class='graphic_frame identifier id'>graphic_frame</span><span class='dot token'>.</span><span class='chart identifier id'>chart</span>
+ <span class='TwoCellAnchor constant id'>TwoCellAnchor</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
+ <span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='last identifier id'>last</span><span class='dot token'>.</span><span class='add_chart identifier id'>add_chart</span><span class='lparen token'>(</span><span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
+<span class='end end kw'>end</span>
+</pre>
+ </td>
+ </tr>
+</table>
+</div>
+
+ <div class="method_details ">
+ <p class="signature " id="add_image-instance_method">
+
+ - (<tt>Object</tt>) <strong>add_image</strong>(options = {})
+
+
+
+</p><div class="docstring">
+ <div class="discussion">
+
+ <div class="note notetag">
+ <strong>Note:</strong>
+ <div class='inline'><p>
+The recommended way to manage images is to use Worksheet.add_image. Please
+refer to that method for documentation.
+</p>
+</div>
+ </div>
+
+<p>
+Adds an image to the chart
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+ <h3>See Also:</h3>
+ <ul class="see">
+
+ <li><span class='object_link'><a href="Worksheet.html#add_image-instance_method" title="Axlsx::Worksheet#add_image (method)">Worksheet#add_image</a></span></li>
+
+ </ul>
+
+</div><table class="source_code">
+ <tr>
+ <td>
+ <pre class="lines">
+
+
+90
+91
+92
+93</pre>
+ </td>
+ <td>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 90</span>
+
+<span class='def def kw'>def</span> <span class='add_image identifier id'>add_image</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
+ <span class='OneCellAnchor constant id'>OneCellAnchor</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
+ <span class='@anchors ivar id'>@anchors</span><span class='dot token'>.</span><span class='last identifier id'>last</span><span class='dot token'>.</span><span class='object identifier id'>object</span>
<span class='end end kw'>end</span>
</pre>
</td>
@@ -1088,17 +1266,17 @@
<pre class="lines">
-118
-119
-120
-121
-122
-123
-124
-125</pre>
+142
+143
+144
+145
+146
+147
+148
+149</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 118</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/drawing.rb', line 142</span>
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span>
<span class='builder identifier id'>builder</span> <span class='assign token'>=</span> <span class='Nokogiri constant id'>Nokogiri</span><span class='colon2 op'>::</span><span class='XML constant id'>XML</span><span class='colon2 op'>::</span><span class='Builder constant id'>Builder</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='symbol val'>:encoding</span> <span class='assign token'>=</span><span class='gt op'>&gt;</span> <span class='ENCODING constant id'>ENCODING</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml identifier id'>xml</span><span class='bitor op'>|</span>
@@ -1119,7 +1297,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:33 2011 by
+ Generated on Wed Nov 23 21:44:32 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/Fill.html
@@ -451,7 +451,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:40 2011 by
+ Generated on Wed Nov 23 21:44:43 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/Font.html
@@ -1545,7 +1545,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:24 2011 by
+ Generated on Wed Nov 23 21:44:37 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/GradientFill.html
@@ -1017,7 +1017,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:46 2011 by
+ Generated on Wed Nov 23 21:44:38 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/GradientStop.html
@@ -517,7 +517,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:29 2011 by
+ Generated on Wed Nov 23 21:44:49 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
42 doc/Axlsx/GraphicFrame.html
@@ -326,14 +326,14 @@
<pre class="lines">
+22
+23
24
25
-26
-27
-28</pre>
+26</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 24</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 22</span>
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='anchor identifier id'>anchor</span><span class='comma token'>,</span> <span class='chart_type identifier id'>chart_type</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='rparen token'>)</span>
<span class='DataTypeValidator constant id'>DataTypeValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='string val'>&quot;Drawing.chart_type&quot;</span><span class='comma token'>,</span> <span class='Chart constant id'>Chart</span><span class='comma token'>,</span> <span class='chart_type identifier id'>chart_type</span>
@@ -392,12 +392,12 @@
<pre class="lines">
-15
-16
-17</pre>
+13
+14
+15</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 15</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 13</span>
<span class='def def kw'>def</span> <span class='anchor identifier id'>anchor</span>
<span class='@anchor ivar id'>@anchor</span>
@@ -449,12 +449,12 @@
<pre class="lines">
-11
-12
-13</pre>
+9
+10
+11</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 11</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 9</span>
<span class='def def kw'>def</span> <span class='chart identifier id'>chart</span>
<span class='@chart ivar id'>@chart</span>
@@ -506,12 +506,12 @@
<pre class="lines">
-19
-20
-21</pre>
+17
+18
+19</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 19</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 17</span>
<span class='def def kw'>def</span> <span class='rId identifier id'>rId</span>
<span class='dstring node'>&quot;rId#{@anchor.index+1}&quot;</span>
@@ -588,6 +588,8 @@
<pre class="lines">
+35
+36
37
38
39
@@ -603,12 +605,10 @@
49
50
51
-52
-53
-54</pre>
+52</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 37</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/graphic_frame.rb', line 35</span>
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
<span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='string val'>'xdr:graphicFrame'</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
@@ -639,7 +639,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:30 2011 by
+ Generated on Wed Nov 23 21:44:37 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/Line3DChart.html
@@ -993,7 +993,7 @@ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:45 2011 by
+ Generated on Wed Nov 23 21:44:44 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
14 doc/Axlsx/LineSeries.html
@@ -251,8 +251,7 @@ <h3 class="inherited">Attributes inherited from <span class='object_link'><a hre
<span class="summary_desc"><div class='inline'><p>
-Serializes the series TODO create series_cat and series_val classes as this
-serialization is duplicated.
+Serializes the series.
</p>
</div></span>
@@ -514,8 +513,7 @@ <h3 class="inherited">Attributes inherited from <span class='object_link'><a hre
</p><div class="docstring">
<div class="discussion">
<p>
-Serializes the series TODO create series_cat and series_val classes as this
-serialization is duplicated
+Serializes the series
</p>
@@ -564,15 +562,15 @@ <h3 class="inherited">Attributes inherited from <span class='object_link'><a hre
<pre class="lines">
+29
30
31
32
33
-34
-35</pre>
+34</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_series.rb', line 30</span>
+ <pre class="code"><span class="info file"># File 'lib/axlsx/drawing/line_series.rb', line 29</span>
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
<span class='super super kw'>super</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='xml identifier id'>xml</span><span class='bitor op'>|</span>
@@ -591,7 +589,7 @@ <h3 class="inherited">Attributes inherited from <span class='object_link'><a hre
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:41 2011 by
+ Generated on Wed Nov 23 21:44:44 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/Marker.html
@@ -848,7 +848,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:42 2011 by
+ Generated on Wed Nov 23 21:44:49 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
2  doc/Axlsx/NumFmt.html
@@ -553,7 +553,7 @@
</div>
<div id="footer">
- Generated on Wed Nov 23 12:36:33 2011 by
+ Generated on Wed Nov 23 21:44:31 2011 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.7.3 (ruby-1.8.7).
</div>
View
988 doc/Axlsx/OneCellAnchor.html
@@ -0,0 +1,988 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>
+ Class: Axlsx::OneCellAnchor
+
+ &mdash; Documentation by YARD 0.7.3
+
+</title>
+
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
+
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
+
+<script type="text/javascript" charset="utf-8">
+ relpath = '..';
+ if (relpath != '') relpath += '/';
+</script>
+
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
+
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
+
+
+ </head>
+ <body>
+ <script type="text/javascript" charset="utf-8">
+ if (window.top.frames.main) document.body.className = 'frames';
+ </script>
+
+ <div id="header">
+ <div id="menu">
+
+ <a href="../_index.html">Index (O)</a> &raquo;
+ <span class='title'><span class='object_link'><a href="../Axlsx.html" title="Axlsx (module)">Axlsx</a></span></span>
+ &raquo;
+ <span class="title">OneCellAnchor</span>
+
+
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
+</div>
+
+ <div id="search">
+
+ <a id="class_list_link" href="#">Class List</a>
+
+ <a id="method_list_link" href="#">Method List</a>
+
+ <a id="file_list_link" href="#">File List</a>
+
+</div>
+ <div class="clear"></div>
+ </div>
+
+ <iframe id="search_frame"></iframe>
+
+ <div id="content"><h1>Class: Axlsx::OneCellAnchor
+
+
+
+</h1>
+
+<dl class="box">
+
+ <dt class="r1">Inherits:</dt>
+ <dd class="r1">
+ <span class="inheritName">Object</span>
+
+ <ul class="fullTree">
+ <li>Object</li>
+
+ <li class="next">Axlsx::OneCellAnchor</li>
+
+ </ul>
+ <a href="#" class="inheritanceTree">show all</a>
+
+ </dd>
+
+
+
+
+
+
+
+
+
+ <dt class="r2 last">Defined in:</dt>
+ <dd class="r2 last">lib/axlsx/drawing/one_cell_anchor.rb</dd>
+
+</dl>
+<div class="clear"></div>
+
+<h2>Overview</h2><div class="docstring">
+ <div class="discussion">
+
+ <div class="note notetag">
+ <strong>Note:</strong>
+ <div class='inline'><p>
+The recommended way to manage drawings, images and charts is
+Worksheet#add_chart or Worksheet#add_image.
+</p>
+</div>
+ </div>
+
+<p>
+This class details a single cell anchor for drawings.
+</p>
+
+
+ </div>
+</div>
+<div class="tags">
+
+
+ <h3>See Also:</h3>
+ <ul class="see">
+
+ <li><span class='object_link'><a href="Worksheet.html#add_chart-instance_method" title="Axlsx::Worksheet#add_chart (method)">Worksheet#add_chart</a></span></li>
+
+ <li><span class='object_link'><a href="Worksheet.html#add_image-instance_method" title="Axlsx::Worksheet#add_image (method)">Worksheet#add_image</a></span></li>
+
+ </ul>
+
+</div>
+
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
+ <ul class="summary">
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#drawing-instance_method" title="#drawing (instance method)">- (Drawing) <strong>drawing</strong> </a>
+
+
+
+ </span>
+
+
+ <span class="note title readonly">readonly</span>
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+The drawing that holds this anchor.
+</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#from-instance_method" title="#from (instance method)">- (Marker) <strong>from</strong> </a>
+
+
+
+ </span>
+
+
+ <span class="note title readonly">readonly</span>
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+A marker that defines the from cell anchor.
+</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#height-instance_method" title="#height (instance method)">- (Integer) <strong>height</strong> </a>
+
+
+
+ </span>
+
+
+
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+the height of the graphic object in pixels this is converted to EMU at a 92
+ppi resolution.
+</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#index-instance_method" title="#index (instance method)">- (Integer) <strong>index</strong> </a>
+
+
+
+ </span>
+
+
+ <span class="note title readonly">readonly</span>
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+The index of this anchor in the drawing.
+</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#object-instance_method" title="#object (instance method)">- (Pic) <strong>object</strong> </a>
+
+
+
+ </span>
+
+
+ <span class="note title readonly">readonly</span>
+
+
+
+
+
+
+
+
+ <span class="summary_desc"><div class='inline'><p>
+The object this anchor hosts.
+</p>
+</div></span>
+
+</li>
+
+
+ <li class="public ">
+ <span class="summary_signature">
+
+ <a href="#width-instance_method" title="#width (instance method)">- (Integer) <strong>width</strong> </a>
+