axlsx 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. data/LICENSE +22 -0
  2. data/README.md +70 -0
  3. data/lib/axlsx.rb~ +67 -0
  4. data/lib/axlsx/content_type/content_type.rb~ +20 -0
  5. data/lib/axlsx/content_type/default.rb~ +32 -0
  6. data/lib/axlsx/content_type/override.rb~ +30 -0
  7. data/lib/axlsx/doc_props/app.rb~ +127 -0
  8. data/lib/axlsx/doc_props/core.rb~ +25 -0
  9. data/lib/axlsx/drawing/axis.rb~ +0 -0
  10. data/lib/axlsx/drawing/bar_3D_chart.rb~ +64 -0
  11. data/lib/axlsx/drawing/bar_series.rb~ +92 -0
  12. data/lib/axlsx/drawing/cat_axis.rb~ +32 -0
  13. data/lib/axlsx/drawing/chart.rb~ +0 -0
  14. data/lib/axlsx/drawing/drawing.rb~ +102 -0
  15. data/lib/axlsx/drawing/graphic_frame.rb~ +40 -0
  16. data/lib/axlsx/drawing/marker.rb~ +50 -0
  17. data/lib/axlsx/drawing/pie_3D_chart.rb~ +132 -0
  18. data/lib/axlsx/drawing/pie_series.rb~ +0 -0
  19. data/lib/axlsx/drawing/scaling.rb~ +0 -0
  20. data/lib/axlsx/drawing/series.rb~ +114 -0
  21. data/lib/axlsx/drawing/title.rb~ +69 -0
  22. data/lib/axlsx/drawing/two_cell_anchor.rb~ +70 -0
  23. data/lib/axlsx/drawing/val_axis.rb~ +34 -0
  24. data/lib/axlsx/drawing/view_3D.rb~ +21 -0
  25. data/lib/axlsx/package.rb +3 -3
  26. data/lib/axlsx/package.rb~ +181 -0
  27. data/lib/axlsx/rels/relationship.rb~ +18 -0
  28. data/lib/axlsx/rels/relationships.rb~ +23 -0
  29. data/lib/axlsx/stylesheet/border.rb~ +24 -0
  30. data/lib/axlsx/stylesheet/border_pr.rb~ +64 -0
  31. data/lib/axlsx/stylesheet/cell_alignment.rb~ +93 -0
  32. data/lib/axlsx/stylesheet/cell_protection.rb~ +16 -0
  33. data/lib/axlsx/stylesheet/cell_style.rb~ +61 -0
  34. data/lib/axlsx/stylesheet/color.rb~ +56 -0
  35. data/lib/axlsx/stylesheet/fill.rb~ +31 -0
  36. data/lib/axlsx/stylesheet/font.rb~ +33 -0
  37. data/lib/axlsx/stylesheet/gradient_fill.rb~ +70 -0
  38. data/lib/axlsx/stylesheet/gradient_stop.rb~ +15 -0
  39. data/lib/axlsx/stylesheet/num_fmt.rb~ +60 -0
  40. data/lib/axlsx/stylesheet/pattern_fill.rb~ +63 -0
  41. data/lib/axlsx/stylesheet/styles.rb~ +279 -0
  42. data/lib/axlsx/stylesheet/table_style.rb~ +43 -0
  43. data/lib/axlsx/stylesheet/table_style_element.rb~ +66 -0
  44. data/lib/axlsx/stylesheet/table_styles.rb~ +36 -0
  45. data/lib/axlsx/stylesheet/xf.rb~ +37 -0
  46. data/lib/axlsx/util/constants.rb +1 -1
  47. data/lib/axlsx/util/constants.rb~ +187 -0
  48. data/lib/axlsx/util/monkey_patches_for_true_zip_stream.rb~ +61 -0
  49. data/lib/axlsx/util/simple_typed_list.rb~ +79 -0
  50. data/lib/axlsx/util/validators.rb +3 -3
  51. data/lib/axlsx/util/validators.rb~ +132 -0
  52. data/lib/axlsx/util/xml_escape.rb~ +6 -0
  53. data/lib/axlsx/workbook/workbook.rb +1 -0
  54. data/lib/axlsx/workbook/workbook.rb~ +130 -0
  55. data/lib/axlsx/workbook/worksheet/cell.rb~ +185 -0
  56. data/lib/axlsx/workbook/worksheet/row.rb +4 -4
  57. data/lib/axlsx/workbook/worksheet/row.rb~ +92 -0
  58. data/lib/axlsx/workbook/worksheet/worksheet.rb +3 -4
  59. data/lib/axlsx/workbook/worksheet/worksheet.rb~ +194 -0
  60. data/lib/schema/dc.xsd~ +118 -0
  61. data/lib/schema/dcterms.xsd~ +331 -0
  62. data/lib/schema/opc-coreProperties.xsd~ +50 -0
  63. data/test/drawing/tc_bar_3D_chart.rb +1 -1
  64. data/test/drawing/tc_bar_3D_chart.rb~ +62 -0
  65. data/test/drawing/tc_chart.rb +1 -1
  66. data/test/drawing/tc_chart.rb~ +1 -0
  67. data/test/drawing/tc_pie_3D_chart.rb +1 -1
  68. data/test/drawing/tc_pie_3D_chart.rb~ +3 -28
  69. data/test/drawing/tc_title.rb +1 -1
  70. data/test/drawing/tc_title.rb~ +16 -19
  71. data/test/drawing/tc_two_cell_anchor.rb +1 -1
  72. data/test/drawing/tc_two_cell_anchor.rb~ +16 -14
  73. data/test/tc_package.rb +1 -1
  74. data/test/workbook/worksheet/tc_row.rb +1 -1
  75. data/test/workbook/worksheet/tc_row.rb~ +30 -0
  76. data/test/workbook/worksheet/tc_worksheet.rb +3 -3
  77. data/test/workbook/worksheet/tc_worksheet.rb~ +85 -0
  78. metadata +84 -102
@@ -6,7 +6,7 @@ class TestChart < Test::Unit::TestCase
6
6
  def setup
7
7
  @p = Axlsx::Package.new
8
8
  ws = @p.workbook.add_worksheet
9
- @row = ws.add_row :values=>["one", 1, Time.now]
9
+ @row = ws.add_row ["one", 1, Time.now]
10
10
  @chart = ws.add_chart Axlsx::Bar3DChart, :title => "fishery"
11
11
  end
12
12
 
@@ -28,6 +28,7 @@ class TestChart < Test::Unit::TestCase
28
28
  assert_equal(@chart.title.cell, @row.cells.first)
29
29
  end
30
30
 
31
+
31
32
  def test_add_series
32
33
  s = @chart.add_series :data=>[0,1,2,3], :labels => ["one", 1, "anything"], :title=>"bob"
33
34
  assert_equal(@chart.series.last, s, "series has been added to chart series collection")
@@ -6,7 +6,7 @@ class TestPie3DChart < Test::Unit::TestCase
6
6
  def setup
7
7
  p = Axlsx::Package.new
8
8
  ws = p.workbook.add_worksheet
9
- @row = ws.add_row :values=>["one", 1, Time.now]
9
+ @row = ws.add_row ["one", 1, Time.now]
10
10
  @chart = ws.drawing.add_chart Axlsx::Pie3DChart, :title => "fishery"
11
11
  end
12
12
 
@@ -14,34 +14,9 @@ class TestPie3DChart < Test::Unit::TestCase
14
14
  end
15
15
 
16
16
  def test_initialization
17
- assert_equal(@chart.graphic_frame.anchor.drawing.worksheet.workbook.charts.last,@chart, "the chart is in the workbook")
18
- assert_equal(@chart.title.text, "fishery", "the title option has been applied")
19
- assert((@chart.series.is_a?(Axlsx::SimpleTypedList) && @chart.series.empty?), "The series is initialized and empty")
20
- end
21
-
22
- def test_title
23
- @chart.title.text = 'wowzer'
24
- assert_equal(@chart.title.text, "wowzer", "the title text via a string")
25
- assert_equal(@chart.title.cell, nil, "the title cell is nil as we set the title with text.")
26
- @chart.title.cell = @row.cells.first
27
- assert_equal(@chart.title.text, "one", "the title text was set via cell reference")
28
- assert_equal(@chart.title.cell, @row.cells.first)
29
- end
30
-
31
- def test_add_series
32
- s = @chart.add_series :data=>[0,1,2,3], :labels => ["one", 1, "anything"], :title=>"bob"
33
- assert_equal(@chart.series.last, s, "series has been added to chart series collection")
34
- assert_equal(s.title, "bob", "series title has been applied")
35
- assert_equal(s.data, [0,1,2,3], "data option applied")
36
- assert_equal(s.labels, ["one",1,"anything"], "labels option applied")
37
- end
38
-
39
- def test_create_range
40
-
41
- end
42
-
43
- def test_pn
44
- assert_equal(@chart.pn, "charts/chart1.xml")
17
+ assert_equal(@chart.view3D.rotX, 30, "view 3d default rotX incorrect")
18
+ assert_equal(@chart.view3D.perspective, 30, "view 3d default perspective incorrect")
19
+ assert_equal(@chart.series_type, Axlsx::PieSeries, "series type incorrect")
45
20
  end
46
21
 
47
22
  def test_to_xml
@@ -5,7 +5,7 @@ class TestTitle < Test::Unit::TestCase
5
5
  def setup
6
6
  @p = Axlsx::Package.new
7
7
  ws = @p.workbook.add_worksheet
8
- @row = ws.add_row :values=>["one", 1, Time.now]
8
+ @row = ws.add_row ["one", 1, Time.now]
9
9
  @title = Axlsx::Title.new
10
10
  @chart = ws.add_chart Axlsx::Bar3DChart
11
11
  end
@@ -3,35 +3,32 @@ require 'axlsx.rb'
3
3
 
4
4
  class TestTitle < Test::Unit::TestCase
5
5
  def setup
6
- @scaling = Axlsx::Scaling.new
6
+ @p = Axlsx::Package.new
7
+ ws = @p.workbook.add_worksheet
8
+ @row = ws.add_row :values=>["one", 1, Time.now]
9
+ @title = Axlsx::Title.new
10
+ @chart = ws.add_chart Axlsx::Bar3DChart
7
11
  end
8
12
 
9
13
  def teardown
10
14
  end
11
15
 
12
16
  def test_initialization
13
- assert(@scaling.orientation == :minMax)
17
+ assert(@title.text == "")
18
+ assert(@title.cell == nil)
14
19
  end
15
20
 
16
- def test_logBase
17
- assert_raise(ArgumentError) { @scaling.logBase = 1}
18
- assert_nothing_raised {@scaling.logBase = 10}
21
+ def test_text
22
+ assert_raise(ArgumentError, "text must be a string") { @title.text = 123 }
23
+ @title.cell = @row.cells.first
24
+ @title.text = "bob"
25
+ assert(@title.cell == nil, "setting title with text clears the cell")
19
26
  end
20
27
 
21
- def test_orientation
22
- assert_raise(ArgumentError) { @scaling.orientation = "1"}
23
- assert_nothing_raised {@scaling.orientation = :maxMin}
24
- end
25
-
26
-
27
- def test_max
28
- assert_raise(ArgumentError) { @scaling.max = 1}
29
- assert_nothing_raised {@scaling.max = 10.5}
30
- end
31
-
32
- def test_min
33
- assert_raise(ArgumentError) { @scaling.min = 1}
34
- assert_nothing_raised {@scaling.min = 10.5}
28
+ def test_cell
29
+ assert_raise(ArgumentError, "cell must be a Cell") { @title.cell = "123" }
30
+ @title.cell = @row.cells.first
31
+ assert(@title.text == "one")
35
32
  end
36
33
 
37
34
  end
@@ -5,7 +5,7 @@ class TestTwoCellAnchor < Test::Unit::TestCase
5
5
  def setup
6
6
  @p = Axlsx::Package.new
7
7
  ws = @p.workbook.add_worksheet
8
- @row = ws.add_row :values=>["one", 1, Time.now]
8
+ @row = ws.add_row ["one", 1, Time.now]
9
9
  @title = Axlsx::Title.new
10
10
  @chart = ws.add_chart Axlsx::Bar3DChart
11
11
  @anchor = @chart.graphic_frame.anchor
@@ -8,28 +8,30 @@ class TestTwoCellAnchor < Test::Unit::TestCase
8
8
  @row = ws.add_row :values=>["one", 1, Time.now]
9
9
  @title = Axlsx::Title.new
10
10
  @chart = ws.add_chart Axlsx::Bar3DChart
11
- @anchor = @chart.anchor
11
+ @anchor = @chart.graphic_frame.anchor
12
12
  end
13
13
 
14
14
  def teardown
15
15
  end
16
16
 
17
17
  def test_initialization
18
- assert(@title.text == "")
19
- assert(@title.cell == nil)
18
+ assert(@anchor.from.col == 0)
19
+ assert(@anchor.from.row == 0)
20
+ assert(@anchor.to.col == 5)
21
+ assert(@anchor.to.row == 10)
20
22
  end
21
-
22
- def test_text
23
- assert_raise(ArgumentError, "text must be a string") { @title.text = 123 }
24
- @title.cell = @row.cells.first
25
- @title.text = "bob"
26
- assert(@title.cell == nil, "setting title with text clears the cell")
23
+
24
+ def test_start_at
25
+ @anchor.start_at 5, 10
26
+ assert(@anchor.from.col == 5)
27
+ assert(@anchor.from.row == 10)
27
28
  end
28
-
29
- def test_cell
30
- assert_raise(ArgumentError, "cell must be a Cell") { @title.cell = "123" }
31
- @title.cell = @row.cells.first
32
- assert(@title.text == "one")
29
+
30
+ def test_end_at
31
+ @anchor.end_at 10, 15
32
+ assert(@anchor.to.col == 10)
33
+ assert(@anchor.to.row == 15)
33
34
  end
35
+
34
36
 
35
37
  end
@@ -28,7 +28,7 @@ class TestPackage < Test::Unit::TestCase
28
28
  File.delete(f.path)
29
29
 
30
30
  else
31
- puts "Skipping serialization to disk as write permission is not granted to this use in this directory"
31
+ puts "Skipping write to disk as write permission is not granted to this user"
32
32
  end
33
33
  end
34
34
 
@@ -24,7 +24,7 @@ class TestRow < Test::Unit::TestCase
24
24
  end
25
25
 
26
26
  def test_array_to_cells
27
- r = @ws.add_row :values=>[1,2,3], :style=>0, :types=>:integer
27
+ r = @ws.add_row [1,2,3], :style=>0, :types=>:integer
28
28
  assert_equal(r.cells.size, 3)
29
29
  end
30
30
  end
@@ -0,0 +1,30 @@
1
+ require 'test/unit'
2
+ require 'axlsx.rb'
3
+
4
+ class TestRow < Test::Unit::TestCase
5
+
6
+ def setup
7
+ p = Axlsx::Package.new
8
+ @ws = p.workbook.add_worksheet :name=>"hmmm"
9
+ @row = @ws.add_row
10
+ end
11
+
12
+ def test_initialize
13
+ assert(@row.cells.empty?, "no cells by default")
14
+ assert_equal(@row.worksheet, @ws, "has a reference to the worksheet")
15
+ end
16
+
17
+ def test_index
18
+ assert_equal(@row.index, @row.worksheet.rows.index(@row))
19
+ end
20
+
21
+ def test_add_cell
22
+ c = @row.add_cell(1)
23
+ assert_equal(@row.cells.last, c)
24
+ end
25
+
26
+ def test_array_to_cells
27
+ r = @ws.add_row :values=>[1,2,3], :style=>0, :types=>:integer
28
+ assert_equal(r.cells.size, 3)
29
+ end
30
+ end
@@ -31,7 +31,7 @@ class TestWorksheet < Test::Unit::TestCase
31
31
 
32
32
  def test_add_row
33
33
  assert(@ws.rows.empty?, "sheet has no rows by default")
34
- r = @ws.add_row(:values=>[1,2,3])
34
+ r = @ws.add_row([1,2,3])
35
35
  assert_equal(@ws.rows.size, 1, "add_row adds a row")
36
36
  assert_equal(@ws.rows.first, r, "the row returned is the row added")
37
37
  end
@@ -70,10 +70,10 @@ class TestWorksheet < Test::Unit::TestCase
70
70
  def test_update_auto_with_data
71
71
  small = @ws.workbook.styles.add_style(:sz=>2)
72
72
  big = @ws.workbook.styles.add_style(:sz=>10)
73
- @ws.add_row :values=>["chasing windmills", "penut"], :style=>small
73
+ @ws.add_row ["chasing windmills", "penut"], :style=>small
74
74
  assert(@ws.auto_fit_data.size == 2, "a data item for each column")
75
75
  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")
76
- @ws.add_row :values=> ["mule"], :style=>big
76
+ @ws.add_row ["mule"], :style=>big
77
77
  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")
78
78
  end
79
79
 
@@ -0,0 +1,85 @@
1
+ require 'test/unit'
2
+ require 'axlsx.rb'
3
+
4
+ class TestWorksheet < Test::Unit::TestCase
5
+ def setup
6
+ p = Axlsx::Package.new
7
+ @ws = p.workbook.add_worksheet
8
+ end
9
+
10
+ def test_pn
11
+ assert_equal(@ws.pn, "worksheets/sheet1.xml")
12
+ ws = @ws.workbook.add_worksheet
13
+ assert_equal(ws.pn, "worksheets/sheet2.xml")
14
+ end
15
+
16
+ def test_rels_pn
17
+ assert_equal(@ws.rels_pn, "worksheets/_rels/sheet1.xml.rels")
18
+ ws = @ws.workbook.add_worksheet
19
+ assert_equal(ws.rels_pn, "worksheets/_rels/sheet2.xml.rels")
20
+ end
21
+
22
+ def test_rId
23
+ assert_equal(@ws.rId, "rId1")
24
+ ws = @ws.workbook.add_worksheet
25
+ assert_equal(ws.rId, "rId2")
26
+ end
27
+
28
+ def test_index
29
+ assert_equal(@ws.index, @ws.workbook.worksheets.index(@ws))
30
+ end
31
+
32
+ def test_add_row
33
+ assert(@ws.rows.empty?, "sheet has no rows by default")
34
+ r = @ws.add_row(:values=>[1,2,3])
35
+ assert_equal(@ws.rows.size, 1, "add_row adds a row")
36
+ assert_equal(@ws.rows.first, r, "the row returned is the row added")
37
+ end
38
+
39
+ def test_add_chart
40
+ assert(@ws.workbook.charts.empty?, "the sheet's workbook should not have any charts by default")
41
+ @ws.add_chart Axlsx::Pie3DChart
42
+ assert_equal(@ws.workbook.charts.size, 1, "add_chart adds a chart to the workbook")
43
+ end
44
+
45
+ def test_drawing
46
+ assert @ws.drawing.is_a? Axlsx::Drawing
47
+ end
48
+
49
+
50
+ def test_to_xml
51
+ schema = Nokogiri::XML::Schema(File.open(Axlsx::SML_XSD))
52
+ doc = Nokogiri::XML(@ws.to_xml)
53
+ errors = []
54
+ schema.validate(doc).each do |error|
55
+ errors.push error
56
+ puts error.message
57
+ end
58
+ assert(errors.empty?, "error free validation")
59
+ end
60
+
61
+ def test_relationships
62
+ assert(@ws.relationships.empty?, "No Drawing relationship until you add a chart")
63
+ c = @ws.add_chart Axlsx::Pie3DChart
64
+ assert_equal(@ws.relationships.size, 1, "adding a chart creates the relationship")
65
+ c = @ws.add_chart Axlsx::Pie3DChart
66
+ assert_equal(@ws.relationships.size, 1, "multiple charts still only result in one relationship")
67
+ end
68
+
69
+
70
+ def test_update_auto_with_data
71
+ small = @ws.workbook.styles.add_style(:sz=>2)
72
+ big = @ws.workbook.styles.add_style(:sz=>10)
73
+ @ws.add_row :values=>["chasing windmills", "penut"], :style=>small
74
+ assert(@ws.auto_fit_data.size == 2, "a data item for each column")
75
+ 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")
76
+ @ws.add_row :values=> ["mule"], :style=>big
77
+ 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")
78
+ end
79
+
80
+ def test_auto_width
81
+ assert(@ws.send(:auto_width, {:sz=>11, :longest=>"fisheries"}) > @ws.send(:auto_width, {:sz=>11, :longest=>"fish"}), "longer strings get a longer auto_width at the same font size")
82
+ assert(@ws.send(:auto_width, {:sz=>12, :longest=>"fish"}) > @ws.send(:auto_width, {:sz=>11, :longest=>"fish"}), "larger font size gets a longer auto_width using the same text")
83
+ end
84
+
85
+ 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: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
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-11 00:00:00 +09:00
18
+ date: 2011-11-20 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -61,7 +61,23 @@ dependencies:
61
61
  version: "2.12"
62
62
  type: :runtime
63
63
  version_requirements: *id003
64
- description: " axslx allows you to easily and skillfully create Office Open XML Spreadsheet documents. \n It supports multiple worksheets, custom styles, cusomizable charts and probably most importantly it allows you to validate your xlsx package before serialization. \n"
64
+ - !ruby/object:Gem::Dependency
65
+ name: rubyzip
66
+ prerelease: false
67
+ requirement: &id004 !ruby/object:Gem::Requirement
68
+ none: false
69
+ requirements:
70
+ - - ~>
71
+ - !ruby/object:Gem::Version
72
+ hash: 51
73
+ segments:
74
+ - 0
75
+ - 9
76
+ - 4
77
+ version: 0.9.4
78
+ type: :runtime
79
+ version_requirements: *id004
80
+ description: " axslx allows you to easily and skillfully create Office Open XML Spreadsheet documents. It supports multiple worksheets, custom styles, cusomizable charts and allows you to validate your xlsx package before serialization. \n"
65
81
  email: digital.ipeseity@gmail.com
66
82
  executables: []
67
83
 
@@ -70,59 +86,111 @@ extensions: []
70
86
  extra_rdoc_files: []
71
87
 
72
88
  files:
73
- - Rakefile
74
- - lib/axlsx.rb
75
89
  - lib/axlsx/content_type/content_type.rb
90
+ - lib/axlsx/content_type/content_type.rb~
76
91
  - lib/axlsx/content_type/default.rb
92
+ - lib/axlsx/content_type/default.rb~
77
93
  - lib/axlsx/content_type/override.rb
94
+ - lib/axlsx/content_type/override.rb~
78
95
  - lib/axlsx/doc_props/app.rb
96
+ - lib/axlsx/doc_props/app.rb~
79
97
  - lib/axlsx/doc_props/core.rb
98
+ - lib/axlsx/doc_props/core.rb~
80
99
  - lib/axlsx/drawing/axis.rb
100
+ - lib/axlsx/drawing/axis.rb~
81
101
  - lib/axlsx/drawing/bar_3D_chart.rb
102
+ - lib/axlsx/drawing/bar_3D_chart.rb~
82
103
  - lib/axlsx/drawing/bar_series.rb
104
+ - lib/axlsx/drawing/bar_series.rb~
83
105
  - lib/axlsx/drawing/cat_axis.rb
106
+ - lib/axlsx/drawing/cat_axis.rb~
84
107
  - lib/axlsx/drawing/chart.rb
108
+ - lib/axlsx/drawing/chart.rb~
85
109
  - lib/axlsx/drawing/drawing.rb
110
+ - lib/axlsx/drawing/drawing.rb~
86
111
  - lib/axlsx/drawing/graphic_frame.rb
112
+ - lib/axlsx/drawing/graphic_frame.rb~
87
113
  - lib/axlsx/drawing/marker.rb
114
+ - lib/axlsx/drawing/marker.rb~
88
115
  - lib/axlsx/drawing/pie_3D_chart.rb
116
+ - lib/axlsx/drawing/pie_3D_chart.rb~
89
117
  - lib/axlsx/drawing/pie_series.rb
118
+ - lib/axlsx/drawing/pie_series.rb~
90
119
  - lib/axlsx/drawing/scaling.rb
120
+ - lib/axlsx/drawing/scaling.rb~
91
121
  - lib/axlsx/drawing/series.rb
122
+ - lib/axlsx/drawing/series.rb~
92
123
  - lib/axlsx/drawing/title.rb
124
+ - lib/axlsx/drawing/title.rb~
93
125
  - lib/axlsx/drawing/two_cell_anchor.rb
126
+ - lib/axlsx/drawing/two_cell_anchor.rb~
94
127
  - lib/axlsx/drawing/val_axis.rb
128
+ - lib/axlsx/drawing/val_axis.rb~
95
129
  - lib/axlsx/drawing/view_3D.rb
130
+ - lib/axlsx/drawing/view_3D.rb~
96
131
  - lib/axlsx/package.rb
132
+ - lib/axlsx/package.rb~
97
133
  - lib/axlsx/rels/relationship.rb
134
+ - lib/axlsx/rels/relationship.rb~
98
135
  - lib/axlsx/rels/relationships.rb
136
+ - lib/axlsx/rels/relationships.rb~
99
137
  - lib/axlsx/stylesheet/border.rb
138
+ - lib/axlsx/stylesheet/border.rb~
100
139
  - lib/axlsx/stylesheet/border_pr.rb
140
+ - lib/axlsx/stylesheet/border_pr.rb~
101
141
  - lib/axlsx/stylesheet/cell_alignment.rb
142
+ - lib/axlsx/stylesheet/cell_alignment.rb~
102
143
  - lib/axlsx/stylesheet/cell_protection.rb
144
+ - lib/axlsx/stylesheet/cell_protection.rb~
103
145
  - lib/axlsx/stylesheet/cell_style.rb
146
+ - lib/axlsx/stylesheet/cell_style.rb~
104
147
  - lib/axlsx/stylesheet/color.rb
148
+ - lib/axlsx/stylesheet/color.rb~
105
149
  - lib/axlsx/stylesheet/fill.rb
150
+ - lib/axlsx/stylesheet/fill.rb~
106
151
  - lib/axlsx/stylesheet/font.rb
152
+ - lib/axlsx/stylesheet/font.rb~
107
153
  - lib/axlsx/stylesheet/gradient_fill.rb
154
+ - lib/axlsx/stylesheet/gradient_fill.rb~
108
155
  - lib/axlsx/stylesheet/gradient_stop.rb
156
+ - lib/axlsx/stylesheet/gradient_stop.rb~
109
157
  - lib/axlsx/stylesheet/num_fmt.rb
158
+ - lib/axlsx/stylesheet/num_fmt.rb~
110
159
  - lib/axlsx/stylesheet/pattern_fill.rb
160
+ - lib/axlsx/stylesheet/pattern_fill.rb~
111
161
  - lib/axlsx/stylesheet/styles.rb
162
+ - lib/axlsx/stylesheet/styles.rb~
112
163
  - lib/axlsx/stylesheet/table_style.rb
164
+ - lib/axlsx/stylesheet/table_style.rb~
113
165
  - lib/axlsx/stylesheet/table_style_element.rb
166
+ - lib/axlsx/stylesheet/table_style_element.rb~
114
167
  - lib/axlsx/stylesheet/table_styles.rb
168
+ - lib/axlsx/stylesheet/table_styles.rb~
115
169
  - lib/axlsx/stylesheet/xf.rb
170
+ - lib/axlsx/stylesheet/xf.rb~
116
171
  - lib/axlsx/util/constants.rb
172
+ - lib/axlsx/util/constants.rb~
173
+ - lib/axlsx/util/monkey_patches_for_true_zip_stream.rb~
117
174
  - lib/axlsx/util/simple_typed_list.rb
175
+ - lib/axlsx/util/simple_typed_list.rb~
118
176
  - lib/axlsx/util/validators.rb
177
+ - lib/axlsx/util/validators.rb~
178
+ - lib/axlsx/util/xml_escape.rb~
119
179
  - lib/axlsx/workbook/workbook.rb
180
+ - lib/axlsx/workbook/workbook.rb~
120
181
  - lib/axlsx/workbook/worksheet/cell.rb
182
+ - lib/axlsx/workbook/worksheet/cell.rb~
121
183
  - lib/axlsx/workbook/worksheet/row.rb
184
+ - lib/axlsx/workbook/worksheet/row.rb~
122
185
  - lib/axlsx/workbook/worksheet/worksheet.rb
186
+ - lib/axlsx/workbook/worksheet/worksheet.rb~
187
+ - lib/axlsx.rb
188
+ - lib/axlsx.rb~
123
189
  - lib/schema/dc.xsd
190
+ - lib/schema/dc.xsd~
124
191
  - lib/schema/dcmitype.xsd
125
192
  - lib/schema/dcterms.xsd
193
+ - lib/schema/dcterms.xsd~
126
194
  - lib/schema/dml-chart.xsd
127
195
  - lib/schema/dml-chartDrawing.xsd
128
196
  - lib/schema/dml-compatibility.xsd
@@ -134,6 +202,7 @@ files:
134
202
  - lib/schema/dml-wordprocessingDrawing.xsd
135
203
  - lib/schema/opc-contentTypes.xsd
136
204
  - lib/schema/opc-coreProperties.xsd
205
+ - lib/schema/opc-coreProperties.xsd~
137
206
  - lib/schema/opc-digSig.xsd
138
207
  - lib/schema/opc-relationships.xsd
139
208
  - lib/schema/pml.xsd
@@ -247,8 +316,13 @@ files:
247
316
  - test/workbook/tc_workbook.rb
248
317
  - test/workbook/worksheet/tc_cell.rb
249
318
  - test/workbook/worksheet/tc_row.rb
319
+ - test/workbook/worksheet/tc_row.rb~
250
320
  - test/workbook/worksheet/tc_worksheet.rb
251
- has_rdoc: true
321
+ - test/workbook/worksheet/tc_worksheet.rb~
322
+ - LICENSE
323
+ - README.md
324
+ - Rakefile
325
+ has_rdoc: yard
252
326
  homepage: ""
253
327
  licenses: []
254
328
 
@@ -282,97 +356,5 @@ rubygems_version: 1.3.7
282
356
  signing_key:
283
357
  specification_version: 3
284
358
  summary: Author fully validated xlsx files with custom charts and styles
285
- test_files:
286
- - test/content_type/tc_content_type.rb
287
- - test/content_type/tc_content_type.rb~
288
- - test/content_type/tc_default.rb
289
- - test/content_type/tc_default.rb~
290
- - test/content_type/tc_override.rb
291
- - test/content_type/tc_override.rb~
292
- - test/doc_props/tc_app.rb
293
- - test/doc_props/tc_app.rb~
294
- - test/doc_props/tc_core.rb
295
- - test/drawing/tc_axis.rb
296
- - test/drawing/tc_axis.rb~
297
- - test/drawing/tc_bar_3D_chart.rb
298
- - test/drawing/tc_bar_3D_chart.rb~
299
- - test/drawing/tc_bar_series.rb
300
- - test/drawing/tc_bar_series.rb~
301
- - test/drawing/tc_cat_axis.rb
302
- - test/drawing/tc_cat_axis.rb~
303
- - test/drawing/tc_chart.rb
304
- - test/drawing/tc_chart.rb~
305
- - test/drawing/tc_drawing.rb
306
- - test/drawing/tc_graphic_frame.rb
307
- - test/drawing/tc_graphic_frame.rb~
308
- - test/drawing/tc_marker.rb
309
- - test/drawing/tc_marker.rb~
310
- - test/drawing/tc_pie_3D_chart.rb
311
- - test/drawing/tc_pie_3D_chart.rb~
312
- - test/drawing/tc_pie_series.rb
313
- - test/drawing/tc_pie_series.rb~
314
- - test/drawing/tc_scaling.rb
315
- - test/drawing/tc_scaling.rb~
316
- - test/drawing/tc_series.rb
317
- - test/drawing/tc_series.rb~
318
- - test/drawing/tc_title.rb
319
- - test/drawing/tc_title.rb~
320
- - test/drawing/tc_two_cell_anchor.rb
321
- - test/drawing/tc_two_cell_anchor.rb~
322
- - test/drawing/tc_val_axis.rb
323
- - test/drawing/tc_val_axis.rb~
324
- - test/drawing/tc_view_3D.rb
325
- - test/drawing/tc_view_3D.rb~
326
- - test/rels/tc_relationship.rb
327
- - test/rels/tc_relationship.rb~
328
- - test/rels/tc_relationships.rb
329
- - test/rels/tc_relationships.rb~
330
- - test/stylesheet/tc_border.rb
331
- - test/stylesheet/tc_border.rb~
332
- - test/stylesheet/tc_border_pr.rb
333
- - test/stylesheet/tc_border_pr.rb~
334
- - test/stylesheet/tc_cell_alignment.rb
335
- - test/stylesheet/tc_cell_alignment.rb~
336
- - test/stylesheet/tc_cell_protection.rb
337
- - test/stylesheet/tc_cell_protection.rb~
338
- - test/stylesheet/tc_cell_style.rb
339
- - test/stylesheet/tc_cell_style.rb~
340
- - test/stylesheet/tc_color.rb
341
- - test/stylesheet/tc_color.rb~
342
- - test/stylesheet/tc_fill.rb
343
- - test/stylesheet/tc_fill.rb~
344
- - test/stylesheet/tc_font.rb
345
- - test/stylesheet/tc_font.rb~
346
- - test/stylesheet/tc_gradient_fill.rb
347
- - test/stylesheet/tc_gradient_fill.rb~
348
- - test/stylesheet/tc_gradient_stop.rb
349
- - test/stylesheet/tc_gradient_stop.rb~
350
- - test/stylesheet/tc_num_fmt.rb
351
- - test/stylesheet/tc_num_fmt.rb~
352
- - test/stylesheet/tc_pattern_fill.rb
353
- - test/stylesheet/tc_pattern_fill.rb~
354
- - test/stylesheet/tc_styles.rb
355
- - test/stylesheet/tc_table_style.rb
356
- - test/stylesheet/tc_table_style.rb~
357
- - test/stylesheet/tc_table_style_element.rb
358
- - test/stylesheet/tc_table_style_element.rb~
359
- - test/stylesheet/tc_table_styles.rb
360
- - test/stylesheet/tc_table_styles.rb~
361
- - test/stylesheet/tc_xf.rb
362
- - test/stylesheet/tc_xf.rb~
363
- - test/tc_app.rb~
364
- - test/tc_border_pr.rb~
365
- - test/tc_package.rb
366
- - test/tc_package.rb~
367
- - test/tc_pie_3D_chart.rb~
368
- - test/tc_relationships.rb~
369
- - test/tc_series.rb~
370
- - test/tc_styles.rb~
371
- - test/tc_validators.rb~
372
- - test/tc_worksheet.rb~
373
- - test/util/tc_simple_typed_list.rb
374
- - test/util/tc_validators.rb
375
- - test/workbook/tc_workbook.rb
376
- - test/workbook/worksheet/tc_cell.rb
377
- - test/workbook/worksheet/tc_row.rb
378
- - test/workbook/worksheet/tc_worksheet.rb
359
+ test_files: []
360
+