axlsx 1.0.10 → 1.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. data/CHANGELOG.md +14 -0
  2. data/Gemfile +3 -7
  3. data/Gemfile.lock +17 -8
  4. data/README.md +88 -59
  5. data/axlsx.gemspec +9 -3
  6. data/doc/Axlsx.html +482 -248
  7. data/doc/Axlsx/App.html +237 -159
  8. data/doc/Axlsx/Axis.html +75 -51
  9. data/doc/Axlsx/Bar3DChart.html +75 -53
  10. data/doc/Axlsx/BarSeries.html +45 -31
  11. data/doc/Axlsx/Border.html +70 -50
  12. data/doc/Axlsx/BorderPr.html +80 -62
  13. data/doc/Axlsx/CatAxis.html +62 -43
  14. data/doc/Axlsx/CatAxisData.html +23 -16
  15. data/doc/Axlsx/Cell.html +2022 -393
  16. data/doc/Axlsx/CellAlignment.html +103 -75
  17. data/doc/Axlsx/CellProtection.html +44 -30
  18. data/doc/Axlsx/CellStyle.html +66 -46
  19. data/doc/Axlsx/Chart.html +159 -108
  20. data/doc/Axlsx/Color.html +73 -52
  21. data/doc/Axlsx/ContentType.html +20 -14
  22. data/doc/Axlsx/Core.html +29 -20
  23. data/doc/Axlsx/DataTypeValidator.html +27 -19
  24. data/doc/Axlsx/Default.html +39 -27
  25. data/doc/Axlsx/Drawing.html +104 -70
  26. data/doc/Axlsx/Fill.html +33 -23
  27. data/doc/Axlsx/Font.html +132 -98
  28. data/doc/Axlsx/GradientFill.html +70 -48
  29. data/doc/Axlsx/GradientStop.html +31 -21
  30. data/doc/Axlsx/GraphicFrame.html +40 -27
  31. data/doc/Axlsx/Line3DChart.html +62 -43
  32. data/doc/Axlsx/LineSeries.html +37 -25
  33. data/doc/Axlsx/Marker.html +63 -43
  34. data/doc/Axlsx/NumFmt.html +79 -65
  35. data/doc/Axlsx/OneCellAnchor.html +78 -54
  36. data/doc/Axlsx/Override.html +39 -27
  37. data/doc/Axlsx/Package.html +103 -163
  38. data/doc/Axlsx/Parser.html +549 -0
  39. data/doc/Axlsx/PatternFill.html +66 -51
  40. data/doc/Axlsx/Pic.html +230 -123
  41. data/doc/Axlsx/PictureLocking.html +1159 -0
  42. data/doc/Axlsx/Pie3DChart.html +23 -16
  43. data/doc/Axlsx/PieSeries.html +44 -30
  44. data/doc/Axlsx/RegexValidator.html +14 -10
  45. data/doc/Axlsx/Relationship.html +40 -27
  46. data/doc/Axlsx/Relationships.html +20 -14
  47. data/doc/Axlsx/RestrictionValidator.html +25 -17
  48. data/doc/Axlsx/Row.html +73 -53
  49. data/doc/Axlsx/Scaling.html +46 -31
  50. data/doc/Axlsx/SerAxis.html +49 -33
  51. data/doc/Axlsx/Series.html +51 -35
  52. data/doc/Axlsx/SeriesTitle.html +14 -10
  53. data/doc/Axlsx/Styles.html +210 -156
  54. data/doc/Axlsx/TableStyle.html +47 -32
  55. data/doc/Axlsx/TableStyleElement.html +75 -61
  56. data/doc/Axlsx/TableStyles.html +42 -28
  57. data/doc/Axlsx/Title.html +36 -25
  58. data/doc/Axlsx/TwoCellAnchor.html +83 -58
  59. data/doc/Axlsx/ValAxis.html +35 -24
  60. data/doc/Axlsx/ValAxisData.html +13 -9
  61. data/doc/Axlsx/View3D.html +64 -43
  62. data/doc/Axlsx/Workbook.html +305 -147
  63. data/doc/Axlsx/Worksheet.html +567 -271
  64. data/doc/Axlsx/Xf.html +114 -77
  65. data/doc/_index.html +15 -1
  66. data/doc/class_list.html +1 -1
  67. data/doc/css/style.css +1 -1
  68. data/doc/file.LICENSE.html +25 -21
  69. data/doc/file.README.html +89 -66
  70. data/doc/index.html +89 -66
  71. data/doc/js/app.js +4 -4
  72. data/doc/method_list.html +717 -413
  73. data/doc/top-level-namespace.html +1 -1
  74. data/examples/example.rb +52 -25
  75. data/examples/follow_20111202.xlsx +0 -0
  76. data/lib/axlsx.rb +14 -1
  77. data/lib/axlsx/drawing/chart.rb +20 -4
  78. data/lib/axlsx/drawing/drawing.rb +1 -1
  79. data/lib/axlsx/drawing/pic.rb +5 -2
  80. data/lib/axlsx/drawing/picture_locking.rb +72 -0
  81. data/lib/axlsx/package.rb +9 -7
  82. data/lib/axlsx/stylesheet/color.rb +19 -9
  83. data/lib/axlsx/stylesheet/styles.rb +2 -0
  84. data/lib/axlsx/util/constants.rb +6 -0
  85. data/lib/axlsx/util/parser.rb +43 -0
  86. data/lib/axlsx/version.rb +1 -1
  87. data/lib/axlsx/workbook/workbook.rb +21 -1
  88. data/lib/axlsx/workbook/worksheet/cell.rb +159 -7
  89. data/lib/axlsx/workbook/worksheet/row.rb +4 -2
  90. data/lib/axlsx/workbook/worksheet/worksheet.rb +38 -4
  91. data/test/drawing/tc_picture_locking.rb +73 -0
  92. data/test/rels/tc_relationships.rb +0 -1
  93. data/test/stylesheet/tc_styles.rb +0 -12
  94. data/test/tc_package.rb +5 -3
  95. data/test/workbook/tc_workbook.rb +7 -0
  96. data/test/workbook/worksheet/tc_cell.rb +102 -1
  97. data/test/workbook/worksheet/tc_worksheet.rb +17 -0
  98. metadata +79 -19
  99. data/doc/Axlsx/Ar.html +0 -196
  100. data/doc/Axlsx/Ar/ClassMethods.html +0 -188
  101. data/doc/Axlsx/Ar/InstanceMethods.html +0 -108
  102. data/doc/Axlsx/Ar/SingletonMethods.html +0 -312
@@ -3,7 +3,6 @@ require 'axlsx.rb'
3
3
 
4
4
  class TestRelationships < Test::Unit::TestCase
5
5
 
6
-
7
6
  def test_valid_document
8
7
  @rels = Axlsx::Relationships.new
9
8
  schema = Nokogiri::XML::Schema(File.open(Axlsx::RELS_XSD))
@@ -49,16 +49,4 @@ class TestStyles < Test::Unit::TestCase
49
49
 
50
50
  end
51
51
 
52
-
53
- #:numFmts, :fonts, :fills, :borders, :cellStyleXfs, :cellXfs, :dxfs, :tableStyles
54
- def test_ensure_locking
55
- assert_equal(@styles.numFmts.locked_at, 2, "numFmts should be locked at 2")
56
- assert_equal(@styles.fonts.locked_at, 1, "fonts should be locked at 1" )
57
- assert_equal(@styles.fills.locked_at, 2, "fills should be locked at 2" )
58
- assert_equal(@styles.borders.locked_at, 2, "borders should be locked at two" )
59
- assert_equal(@styles.cellStyleXfs.locked_at, 1, "cellStyleXfs should be locked at two" )
60
- assert_equal(@styles.cellXfs.locked_at, 2, "cellXfs should be locked at 2" )
61
- assert_equal(@styles.dxfs.locked_at, 0, "dxfs should be locked at 0" )
62
- assert_equal(@styles.tableStyles.locked_at, 0, "tableStyles should be locked at 0" )
63
- end
64
52
  end
data/test/tc_package.rb CHANGED
@@ -7,6 +7,8 @@ class TestPackage < Test::Unit::TestCase
7
7
  ws = @package.workbook.add_worksheet
8
8
  chart = ws.add_chart Axlsx::Pie3DChart
9
9
  chart.add_series :data=>[1,2,3], :labels=>["a", "b", "c"]
10
+ @fname = 'axlsx_test_serialization.xlsx'
11
+
10
12
  end
11
13
 
12
14
  def test_default_objects_are_created
@@ -20,10 +22,10 @@ class TestPackage < Test::Unit::TestCase
20
22
  fname = 'axlsx_test_serialization.xlsx'
21
23
  assert_nothing_raised do
22
24
  begin
23
- z= @package.serialize(fname)
24
- zf = Zip::ZipFile.open(fname)
25
+ z= @package.serialize(@fname)
26
+ zf = Zip::ZipFile.open(@fname)
25
27
  @package.send(:parts).each{ |part| zf.get_entry(part[:entry]) }
26
- File.delete(fname)
28
+ File.delete(@fname)
27
29
  rescue Errno::EACCES
28
30
  puts "WARNING:: test_serialization requires write access."
29
31
  end
@@ -42,6 +42,13 @@ class TestWorkbook < Test::Unit::TestCase
42
42
  end
43
43
  assert(errors.empty?, "error free validation")
44
44
  end
45
+ def test_range_requires__valid_sheet
46
+ ws = @wb.add_worksheet :name=>'fish'
47
+ ws.add_row [1,2,3]
48
+ ws.add_row [4,5,6]
49
+ assert_raise(ArgumentError, "no sheet name part") { @wb["A1:C2"]}
50
+ assert_equal @wb['fish!A1:C2'].size, 6
51
+ end
45
52
 
46
53
  def test_to_xml_adds_worksheet_when_worksheets_is_empty
47
54
  assert(@wb.worksheets.empty?)
@@ -18,10 +18,19 @@ class TestCell < Test::Unit::TestCase
18
18
  assert_equal(@c.value, 1.0, "type option is applied and value is casted")
19
19
  end
20
20
 
21
+ def test_style_date_data
22
+ c = Axlsx::Cell.new(@c.row, Time.now)
23
+ assert_equal(Axlsx::STYLE_DATE, c.style)
24
+ end
25
+
21
26
  def test_index
22
27
  assert_equal(@c.index, @row.cells.index(@c))
23
28
  end
24
29
 
30
+ def test_index
31
+ assert_equal(@c.pos, [@c.index, @c.row.index])
32
+ end
33
+
25
34
  def test_r
26
35
  assert_equal(@c.r, "A1", "calculate cell reference")
27
36
  end
@@ -31,7 +40,7 @@ class TestCell < Test::Unit::TestCase
31
40
  end
32
41
 
33
42
  def test_style
34
- assert_raise(ArgumentError, "must reject invalid style indexes") { @c.style=3 }
43
+ assert_raise(ArgumentError, "must reject invalid style indexes") { @c.style=@c.row.worksheet.workbook.styles.cellXfs.size }
35
44
  assert_nothing_raised("must allow valid style index changes") {@c.style=1}
36
45
  assert_equal(@c.style, 1)
37
46
  end
@@ -75,4 +84,96 @@ class TestCell < Test::Unit::TestCase
75
84
  assert_equal(@c.send(:cast_value, nil), "")
76
85
 
77
86
  end
87
+
88
+ def test_color
89
+ assert_raise(ArgumentError) { @c.color = -1.1 }
90
+ assert_nothing_raised { @c.color = "FF00FF00" }
91
+ assert_equal(@c.color.rgb, "FF00FF00")
92
+ end
93
+
94
+ def test_scheme
95
+ assert_raise(ArgumentError) { @c.scheme = -1.1 }
96
+ assert_nothing_raised { @c.scheme = :major }
97
+ assert_equal(@c.scheme, :major)
98
+ end
99
+
100
+ def test_vertAlign
101
+ assert_raise(ArgumentError) { @c.vertAlign = -1.1 }
102
+ assert_nothing_raised { @c.vertAlign = :baseline }
103
+ assert_equal(@c.vertAlign, :baseline)
104
+ end
105
+
106
+ def test_sz
107
+ assert_raise(ArgumentError) { @c.sz = -1.1 }
108
+ assert_nothing_raised { @c.sz = 12 }
109
+ assert_equal(@c.sz, 12)
110
+ end
111
+
112
+ def test_extend
113
+ assert_raise(ArgumentError) { @c.extend = -1.1 }
114
+ assert_nothing_raised { @c.extend = false }
115
+ assert_equal(@c.extend, false)
116
+ end
117
+
118
+ def test_condense
119
+ assert_raise(ArgumentError) { @c.condense = -1.1 }
120
+ assert_nothing_raised { @c.condense = false }
121
+ assert_equal(@c.condense, false)
122
+ end
123
+
124
+ def test_shadow
125
+ assert_raise(ArgumentError) { @c.shadow = -1.1 }
126
+ assert_nothing_raised { @c.shadow = false }
127
+ assert_equal(@c.shadow, false)
128
+ end
129
+
130
+ def test_outline
131
+ assert_raise(ArgumentError) { @c.outline = -1.1 }
132
+ assert_nothing_raised { @c.outline = false }
133
+ assert_equal(@c.outline, false)
134
+ end
135
+
136
+ def test_strike
137
+ assert_raise(ArgumentError) { @c.strike = -1.1 }
138
+ assert_nothing_raised { @c.strike = false }
139
+ assert_equal(@c.strike, false)
140
+ end
141
+
142
+ def test_u
143
+ assert_raise(ArgumentError) { @c.u = -1.1 }
144
+ assert_nothing_raised { @c.u = false }
145
+ assert_equal(@c.u, false)
146
+ end
147
+
148
+ def test_i
149
+ assert_raise(ArgumentError) { @c.i = -1.1 }
150
+ assert_nothing_raised { @c.i = false }
151
+ assert_equal(@c.i, false)
152
+ end
153
+
154
+ def test_rFont
155
+ assert_raise(ArgumentError) { @c.font_name = -1.1 }
156
+ assert_nothing_raised { @c.font_name = "Arial" }
157
+ assert_equal(@c.font_name, "Arial")
158
+ end
159
+
160
+ def test_charset
161
+ assert_raise(ArgumentError) { @c.charset = -1.1 }
162
+ assert_nothing_raised { @c.charset = 1 }
163
+ assert_equal(@c.charset, 1)
164
+ end
165
+
166
+ def test_family
167
+ assert_raise(ArgumentError) { @c.family = -1.1 }
168
+ assert_nothing_raised { @c.family = "Who knows!" }
169
+ assert_equal(@c.family, "Who knows!")
170
+ end
171
+
172
+ def test_b
173
+ assert_raise(ArgumentError) { @c.b = -1.1 }
174
+ assert_nothing_raised { @c.b = false }
175
+ assert_equal(@c.b, false)
176
+ end
177
+
178
+
78
179
  end
@@ -28,6 +28,15 @@ class TestWorksheet < Test::Unit::TestCase
28
28
  def test_index
29
29
  assert_equal(@ws.index, @ws.workbook.worksheets.index(@ws))
30
30
  end
31
+
32
+ def test_referencing
33
+ @ws.add_row [1, 2, 3]
34
+ @ws.add_row [4, 5, 6]
35
+ range = @ws["A1:C2"]
36
+ assert_equal(range.size, 6)
37
+ assert_equal(range.first, @ws.rows.first.cells.first)
38
+ assert_equal(range.last, @ws.rows.last.cells.last)
39
+ end
31
40
 
32
41
  def test_add_row
33
42
  assert(@ws.rows.empty?, "sheet has no rows by default")
@@ -103,12 +112,20 @@ class TestWorksheet < Test::Unit::TestCase
103
112
  end
104
113
 
105
114
 
115
+ def test_name_unique
116
+ assert_raise(ArgumentError, "worksheet name must be unique") { n = @ws.name; @ws.workbook.add_worksheet(:name=> @ws) }
117
+ end
118
+
106
119
  def test_update_auto_with_data
107
120
  small = @ws.workbook.styles.add_style(:sz=>2)
108
121
  big = @ws.workbook.styles.add_style(:sz=>10)
122
+
109
123
  @ws.add_row ["chasing windmills", "penut"], :style=>small
110
124
  assert(@ws.auto_fit_data.size == 2, "a data item for each column")
125
+
111
126
  assert_equal(@ws.auto_fit_data[0], {:sz=>2,:longest=>"chasing windmills"}, "adding a row updates auto_fit_data if the product of the string length and font is greater for the column")
127
+
128
+
112
129
  @ws.add_row ["mule"], :style=>big
113
130
  assert_equal(@ws.auto_fit_data[0], {:sz=>10,:longest=>"mule"}, "adding a row updates auto_fit_data if the product of the string length and font is greater for the column")
114
131
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: axlsx
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 10
10
- version: 1.0.10
9
+ - 11
10
+ version: 1.0.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Randy Morgan
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-30 00:00:00 Z
18
+ date: 2011-12-05 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: nokogiri
@@ -103,12 +103,15 @@ dependencies:
103
103
  requirement: &id006 !ruby/object:Gem::Requirement
104
104
  none: false
105
105
  requirements:
106
- - - ">="
106
+ - - "="
107
107
  - !ruby/object:Gem::Version
108
- hash: 3
108
+ hash: 11
109
109
  segments:
110
110
  - 0
111
- version: "0"
111
+ - 9
112
+ - 2
113
+ - 2
114
+ version: 0.9.2.2
112
115
  type: :development
113
116
  version_requirements: *id006
114
117
  - !ruby/object:Gem::Dependency
@@ -159,6 +162,7 @@ files:
159
162
  - lib/axlsx/drawing/marker.rb
160
163
  - lib/axlsx/drawing/one_cell_anchor.rb
161
164
  - lib/axlsx/drawing/pic.rb
165
+ - lib/axlsx/drawing/picture_locking.rb
162
166
  - lib/axlsx/drawing/pie_3D_chart.rb
163
167
  - lib/axlsx/drawing/pie_series.rb
164
168
  - lib/axlsx/drawing/scaling.rb
@@ -191,6 +195,7 @@ files:
191
195
  - lib/axlsx/stylesheet/table_styles.rb
192
196
  - lib/axlsx/stylesheet/xf.rb
193
197
  - lib/axlsx/util/constants.rb
198
+ - lib/axlsx/util/parser.rb
194
199
  - lib/axlsx/util/simple_typed_list.rb
195
200
  - lib/axlsx/util/validators.rb
196
201
  - lib/axlsx/version.rb
@@ -236,10 +241,6 @@ files:
236
241
  - lib/schema/xml.xsd
237
242
  - doc/_index.html
238
243
  - doc/Axlsx/App.html
239
- - doc/Axlsx/Ar/ClassMethods.html
240
- - doc/Axlsx/Ar/InstanceMethods.html
241
- - doc/Axlsx/Ar/SingletonMethods.html
242
- - doc/Axlsx/Ar.html
243
244
  - doc/Axlsx/Axis.html
244
245
  - doc/Axlsx/Bar3DChart.html
245
246
  - doc/Axlsx/BarSeries.html
@@ -270,8 +271,10 @@ files:
270
271
  - doc/Axlsx/OneCellAnchor.html
271
272
  - doc/Axlsx/Override.html
272
273
  - doc/Axlsx/Package.html
274
+ - doc/Axlsx/Parser.html
273
275
  - doc/Axlsx/PatternFill.html
274
276
  - doc/Axlsx/Pic.html
277
+ - doc/Axlsx/PictureLocking.html
275
278
  - doc/Axlsx/Pie3DChart.html
276
279
  - doc/Axlsx/PieSeries.html
277
280
  - doc/Axlsx/RegexValidator.html
@@ -310,6 +313,12 @@ files:
310
313
  - doc/js/jquery.js
311
314
  - doc/method_list.html
312
315
  - doc/top-level-namespace.html
316
+ - examples/example.rb
317
+ - examples/follow_20111202.xlsx
318
+ - examples/image1.gif
319
+ - examples/image1.jpeg
320
+ - examples/image1.jpg
321
+ - examples/image1.png
313
322
  - test/content_type/tc_content_type.rb
314
323
  - test/content_type/tc_default.rb
315
324
  - test/content_type/tc_override.rb
@@ -328,6 +337,7 @@ files:
328
337
  - test/drawing/tc_marker.rb
329
338
  - test/drawing/tc_one_cell_anchor.rb
330
339
  - test/drawing/tc_pic.rb
340
+ - test/drawing/tc_picture_locking.rb
331
341
  - test/drawing/tc_pie_3D_chart.rb
332
342
  - test/drawing/tc_pie_series.rb
333
343
  - test/drawing/tc_scaling.rb
@@ -365,11 +375,6 @@ files:
365
375
  - test/workbook/worksheet/tc_cell.rb
366
376
  - test/workbook/worksheet/tc_row.rb
367
377
  - test/workbook/worksheet/tc_worksheet.rb
368
- - examples/example.rb
369
- - examples/image1.gif
370
- - examples/image1.jpeg
371
- - examples/image1.jpg
372
- - examples/image1.png
373
378
  homepage: https://github.com/randym/axlsx
374
379
  licenses: []
375
380
 
@@ -404,7 +409,62 @@ rubyforge_project:
404
409
  rubygems_version: 1.8.10
405
410
  signing_key:
406
411
  specification_version: 3
407
- summary: OOXML (xlsx) with charts, styles, images and autowidth columns.
408
- test_files: []
409
-
412
+ summary: excel OOXML (xlsx) with charts, styles, images and autowidth columns.
413
+ test_files:
414
+ - test/content_type/tc_content_type.rb
415
+ - test/content_type/tc_default.rb
416
+ - test/content_type/tc_override.rb
417
+ - test/doc_props/tc_app.rb
418
+ - test/doc_props/tc_core.rb
419
+ - test/drawing/tc_axis.rb
420
+ - test/drawing/tc_bar_3D_chart.rb
421
+ - test/drawing/tc_bar_series.rb
422
+ - test/drawing/tc_cat_axis.rb
423
+ - test/drawing/tc_cat_axis_data.rb
424
+ - test/drawing/tc_chart.rb
425
+ - test/drawing/tc_drawing.rb
426
+ - test/drawing/tc_graphic_frame.rb
427
+ - test/drawing/tc_line_3d_chart.rb
428
+ - test/drawing/tc_line_series.rb
429
+ - test/drawing/tc_marker.rb
430
+ - test/drawing/tc_one_cell_anchor.rb
431
+ - test/drawing/tc_pic.rb
432
+ - test/drawing/tc_picture_locking.rb
433
+ - test/drawing/tc_pie_3D_chart.rb
434
+ - test/drawing/tc_pie_series.rb
435
+ - test/drawing/tc_scaling.rb
436
+ - test/drawing/tc_ser_axis.rb
437
+ - test/drawing/tc_series.rb
438
+ - test/drawing/tc_series_title.rb
439
+ - test/drawing/tc_title.rb
440
+ - test/drawing/tc_two_cell_anchor.rb
441
+ - test/drawing/tc_val_axis.rb
442
+ - test/drawing/tc_val_axis_data.rb
443
+ - test/drawing/tc_view_3D.rb
444
+ - test/rels/tc_relationship.rb
445
+ - test/rels/tc_relationships.rb
446
+ - test/stylesheet/tc_border.rb
447
+ - test/stylesheet/tc_border_pr.rb
448
+ - test/stylesheet/tc_cell_alignment.rb
449
+ - test/stylesheet/tc_cell_protection.rb
450
+ - test/stylesheet/tc_cell_style.rb
451
+ - test/stylesheet/tc_color.rb
452
+ - test/stylesheet/tc_fill.rb
453
+ - test/stylesheet/tc_font.rb
454
+ - test/stylesheet/tc_gradient_fill.rb
455
+ - test/stylesheet/tc_gradient_stop.rb
456
+ - test/stylesheet/tc_num_fmt.rb
457
+ - test/stylesheet/tc_pattern_fill.rb
458
+ - test/stylesheet/tc_styles.rb
459
+ - test/stylesheet/tc_table_style.rb
460
+ - test/stylesheet/tc_table_style_element.rb
461
+ - test/stylesheet/tc_table_styles.rb
462
+ - test/stylesheet/tc_xf.rb
463
+ - test/tc_package.rb
464
+ - test/util/tc_simple_typed_list.rb
465
+ - test/util/tc_validators.rb
466
+ - test/workbook/tc_workbook.rb
467
+ - test/workbook/worksheet/tc_cell.rb
468
+ - test/workbook/worksheet/tc_row.rb
469
+ - test/workbook/worksheet/tc_worksheet.rb
410
470
  has_rdoc: axlsx
data/doc/Axlsx/Ar.html DELETED
@@ -1,196 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
- <title>
7
- Module: Axlsx::Ar
8
-
9
- &mdash; AXLSX
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- relpath = '..';
19
- if (relpath != '') relpath += '/';
20
- </script>
21
-
22
- <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
23
-
24
- <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
25
-
26
-
27
- </head>
28
- <body>
29
- <script type="text/javascript" charset="utf-8">
30
- if (window.top.frames.main) document.body.className = 'frames';
31
- </script>
32
-
33
- <div id="header">
34
- <div id="menu">
35
-
36
- <a href="../_index.html">Index (A)</a> &raquo;
37
- <span class='title'><span class='object_link'><a href="../Axlsx.html" title="Axlsx (module)">Axlsx</a></span></span>
38
- &raquo;
39
- <span class="title">Ar</span>
40
-
41
-
42
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
- </div>
44
-
45
- <div id="search">
46
-
47
- <a id="class_list_link" href="#">Class List</a>
48
-
49
- <a id="method_list_link" href="#">Method List</a>
50
-
51
- <a id="file_list_link" href="#">File List</a>
52
-
53
- </div>
54
- <div class="clear"></div>
55
- </div>
56
-
57
- <iframe id="search_frame"></iframe>
58
-
59
- <div id="content"><h1>Module: Axlsx::Ar
60
-
61
-
62
-
63
- </h1>
64
-
65
- <dl class="box">
66
-
67
-
68
-
69
-
70
-
71
-
72
-
73
-
74
- <dt class="r1 last">Defined in:</dt>
75
- <dd class="r1 last">lib/axlsx/ar.rb</dd>
76
-
77
- </dl>
78
- <div class="clear"></div>
79
-
80
- <h2>Overview</h2><div class="docstring">
81
- <div class="discussion">
82
-
83
- <p>Mixing module for adding acts_as_axlsx to active record base</p>
84
-
85
-
86
- </div>
87
- </div>
88
- <div class="tags">
89
-
90
-
91
- </div><h2>Defined Under Namespace</h2>
92
- <p class="children">
93
-
94
-
95
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="Ar/ClassMethods.html" title="Axlsx::Ar::ClassMethods (module)">ClassMethods</a></span>, <span class='object_link'><a href="Ar/InstanceMethods.html" title="Axlsx::Ar::InstanceMethods (module)">InstanceMethods</a></span>, <span class='object_link'><a href="Ar/SingletonMethods.html" title="Axlsx::Ar::SingletonMethods (module)">SingletonMethods</a></span>
96
-
97
-
98
-
99
-
100
- </p>
101
-
102
-
103
-
104
-
105
-
106
-
107
- <h2>
108
- Class Method Summary
109
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
110
- </h2>
111
-
112
- <ul class="summary">
113
-
114
- <li class="public ">
115
- <span class="summary_signature">
116
-
117
- <a href="#included-class_method" title="included (class method)">+ (Object) <strong>included</strong>(base) </a>
118
-
119
-
120
-
121
- </span>
122
-
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
- <span class="summary_desc"><div class='inline'>
131
- <p>Extents active record with this ojbects class method acts_as_axlsx.</p>
132
- </div></span>
133
-
134
- </li>
135
-
136
-
137
- </ul>
138
-
139
-
140
-
141
-
142
- <div id="class_method_details" class="method_details_list">
143
- <h2>Class Method Details</h2>
144
-
145
-
146
- <div class="method_details first">
147
- <p class="signature first" id="included-class_method">
148
-
149
- + (<tt>Object</tt>) <strong>included</strong>(base)
150
-
151
-
152
-
153
- </p><div class="docstring">
154
- <div class="discussion">
155
-
156
- <p>Extents active record with this ojbects class method acts_as_axlsx</p>
157
-
158
-
159
- </div>
160
- </div>
161
- <div class="tags">
162
-
163
-
164
- </div><table class="source_code">
165
- <tr>
166
- <td>
167
- <pre class="lines">
168
-
169
-
170
- 8
171
- 9
172
- 10</pre>
173
- </td>
174
- <td>
175
- <pre class="code"><span class="info file"># File 'lib/axlsx/ar.rb', line 8</span>
176
-
177
- <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id included'>included</span><span class='lparen'>(</span><span class='id base'>base</span><span class='rparen'>)</span>
178
- <span class='id base'>base</span><span class='period'>.</span><span class='id send'>send</span> <span class='symbol'>:extend</span><span class='comma'>,</span> <span class='const'>ClassMethods</span>
179
- <span class='kw'>end</span></pre>
180
- </td>
181
- </tr>
182
- </table>
183
- </div>
184
-
185
- </div>
186
-
187
- </div>
188
-
189
- <div id="footer">
190
- Generated on Sun Nov 27 22:10:46 2011 by
191
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
192
- 0.7.3 (ruby-1.9.3).
193
- </div>
194
-
195
- </body>
196
- </html>