axlsx 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. data/CHANGELOG.md +14 -0
  2. data/README.md +22 -21
  3. data/Rakefile +1 -1
  4. data/axlsx.gemspec +36 -0
  5. data/doc/Axlsx.html +373 -559
  6. data/doc/Axlsx/App.html +257 -360
  7. data/doc/Axlsx/Axis.html +113 -144
  8. data/doc/Axlsx/Bar3DChart.html +122 -152
  9. data/doc/Axlsx/BarSeries.html +67 -81
  10. data/doc/Axlsx/Border.html +96 -119
  11. data/doc/Axlsx/BorderPr.html +89 -114
  12. data/doc/Axlsx/CatAxis.html +79 -104
  13. data/doc/Axlsx/CatAxisData.html +40 -54
  14. data/doc/Axlsx/Cell.html +193 -679
  15. data/doc/Axlsx/CellAlignment.html +116 -157
  16. data/doc/Axlsx/CellProtection.html +50 -68
  17. data/doc/Axlsx/CellStyle.html +78 -106
  18. data/doc/Axlsx/Chart.html +361 -432
  19. data/doc/Axlsx/Color.html +56 -78
  20. data/doc/Axlsx/ContentType.html +28 -41
  21. data/doc/Axlsx/Core.html +43 -55
  22. data/doc/Axlsx/DataTypeValidator.html +34 -43
  23. data/doc/Axlsx/Default.html +55 -81
  24. data/doc/Axlsx/Drawing.html +322 -412
  25. data/doc/Axlsx/Fill.html +34 -47
  26. data/doc/Axlsx/Font.html +157 -207
  27. data/doc/Axlsx/GradientFill.html +90 -122
  28. data/doc/Axlsx/GradientStop.html +36 -50
  29. data/doc/Axlsx/GraphicFrame.html +106 -130
  30. data/doc/Axlsx/Line3DChart.html +108 -134
  31. data/doc/Axlsx/LineSeries.html +58 -67
  32. data/doc/Axlsx/Marker.html +84 -111
  33. data/doc/Axlsx/NumFmt.html +83 -102
  34. data/doc/Axlsx/OneCellAnchor.html +158 -196
  35. data/doc/Axlsx/Override.html +60 -92
  36. data/doc/Axlsx/Package.html +190 -759
  37. data/doc/Axlsx/PatternFill.html +78 -99
  38. data/doc/Axlsx/Pic.html +451 -405
  39. data/doc/Axlsx/Pie3DChart.html +33 -42
  40. data/doc/Axlsx/PieSeries.html +68 -80
  41. data/doc/Axlsx/RegexValidator.html +15 -20
  42. data/doc/Axlsx/Relationship.html +49 -66
  43. data/doc/Axlsx/Relationships.html +28 -41
  44. data/doc/Axlsx/RestrictionValidator.html +23 -32
  45. data/doc/Axlsx/Row.html +132 -161
  46. data/doc/Axlsx/Scaling.html +71 -90
  47. data/doc/Axlsx/SerAxis.html +61 -79
  48. data/doc/Axlsx/Series.html +125 -201
  49. data/doc/Axlsx/SeriesTitle.html +26 -31
  50. data/doc/Axlsx/Styles.html +286 -355
  51. data/doc/Axlsx/TableStyle.html +62 -87
  52. data/doc/Axlsx/TableStyleElement.html +84 -104
  53. data/doc/Axlsx/TableStyles.html +59 -82
  54. data/doc/Axlsx/Title.html +58 -155
  55. data/doc/Axlsx/TwoCellAnchor.html +165 -204
  56. data/doc/Axlsx/ValAxis.html +39 -53
  57. data/doc/Axlsx/ValAxisData.html +29 -39
  58. data/doc/Axlsx/View3D.html +93 -122
  59. data/doc/Axlsx/Workbook.html +359 -362
  60. data/doc/Axlsx/Worksheet.html +471 -816
  61. data/doc/Axlsx/Xf.html +341 -296
  62. data/doc/_index.html +7 -11
  63. data/doc/class_list.html +1 -1
  64. data/doc/file.LICENSE.html +86 -0
  65. data/doc/file.README.html +105 -107
  66. data/doc/file_list.html +3 -0
  67. data/doc/frames.html +1 -1
  68. data/doc/index.html +105 -107
  69. data/doc/method_list.html +426 -602
  70. data/doc/top-level-namespace.html +3 -3
  71. data/examples/example.rb +20 -1
  72. data/lib/axlsx.rb +20 -15
  73. data/lib/axlsx/content_type/default.rb +8 -3
  74. data/lib/axlsx/content_type/override.rb +11 -4
  75. data/lib/axlsx/doc_props/app.rb +53 -23
  76. data/lib/axlsx/drawing/axis.rb +16 -5
  77. data/lib/axlsx/drawing/bar_3D_chart.rb +15 -7
  78. data/lib/axlsx/drawing/bar_series.rb +7 -5
  79. data/lib/axlsx/drawing/cat_axis.rb +10 -3
  80. data/lib/axlsx/drawing/chart.rb +21 -15
  81. data/lib/axlsx/drawing/drawing.rb +16 -30
  82. data/lib/axlsx/drawing/graphic_frame.rb +2 -4
  83. data/lib/axlsx/drawing/line_3D_chart.rb +5 -2
  84. data/lib/axlsx/drawing/line_series.rb +6 -5
  85. data/lib/axlsx/drawing/marker.rb +9 -5
  86. data/lib/axlsx/drawing/one_cell_anchor.rb +7 -7
  87. data/lib/axlsx/drawing/pic.rb +29 -37
  88. data/lib/axlsx/drawing/pie_series.rb +7 -5
  89. data/lib/axlsx/drawing/scaling.rb +11 -5
  90. data/lib/axlsx/drawing/ser_axis.rb +6 -2
  91. data/lib/axlsx/drawing/series.rb +11 -11
  92. data/lib/axlsx/drawing/series_title.rb +1 -1
  93. data/lib/axlsx/drawing/title.rb +5 -12
  94. data/lib/axlsx/drawing/two_cell_anchor.rb +2 -3
  95. data/lib/axlsx/drawing/val_axis.rb +2 -2
  96. data/lib/axlsx/drawing/view_3D.rb +16 -9
  97. data/lib/axlsx/package.rb +25 -27
  98. data/lib/axlsx/rels/relationship.rb +4 -2
  99. data/lib/axlsx/stylesheet/border.rb +9 -4
  100. data/lib/axlsx/stylesheet/border_pr.rb +7 -4
  101. data/lib/axlsx/stylesheet/cell_alignment.rb +18 -9
  102. data/lib/axlsx/stylesheet/cell_protection.rb +5 -2
  103. data/lib/axlsx/stylesheet/cell_style.rb +12 -7
  104. data/lib/axlsx/stylesheet/color.rb +8 -6
  105. data/lib/axlsx/stylesheet/fill.rb +2 -1
  106. data/lib/axlsx/stylesheet/font.rb +24 -13
  107. data/lib/axlsx/stylesheet/gradient_fill.rb +16 -10
  108. data/lib/axlsx/stylesheet/gradient_stop.rb +5 -3
  109. data/lib/axlsx/stylesheet/num_fmt.rb +4 -2
  110. data/lib/axlsx/stylesheet/pattern_fill.rb +6 -4
  111. data/lib/axlsx/stylesheet/styles.rb +12 -12
  112. data/lib/axlsx/stylesheet/table_style.rb +6 -3
  113. data/lib/axlsx/stylesheet/table_style_element.rb +9 -4
  114. data/lib/axlsx/stylesheet/table_styles.rb +4 -4
  115. data/lib/axlsx/stylesheet/xf.rb +52 -31
  116. data/lib/axlsx/util/validators.rb +3 -3
  117. data/lib/axlsx/version.rb +1 -1
  118. data/lib/axlsx/workbook/workbook.rb +8 -9
  119. data/lib/axlsx/workbook/worksheet/cell.rb +25 -16
  120. data/lib/axlsx/workbook/worksheet/row.rb +2 -4
  121. data/lib/axlsx/workbook/worksheet/worksheet.rb +23 -32
  122. data/test/drawing/tc_one_cell_anchor.rb +1 -1
  123. metadata +135 -165
  124. data/doc/Axlsx/SimpleTypedList.html +0 -1686
  125. data/lib/schema/dc.xsd~ +0 -118
  126. data/lib/schema/dcterms.xsd~ +0 -331
  127. data/lib/schema/opc-coreProperties.xsd~ +0 -50
  128. data/test/drawing/tc_line_series.tc~ +0 -34
@@ -1,3 +1,4 @@
1
+ # -*- coding: utf-8 -*-
1
2
  module Axlsx
2
3
  # A cell in a worksheet.
3
4
  # Cell stores inforamation requried to serialize a single worksheet cell to xml. You must provde the Row that the cell belongs to and the cells value. The data type will automatically be determed if you do not specify the :type option. The default style will be applied if you do not supply the :style option. Changing the cell's type will recast the value to the type specified. Altering the cell's value via the property accessor will also automatically cast the provided value to the cell's type.
@@ -25,7 +26,7 @@ module Axlsx
25
26
  # The index of the cellXfs item to be applied to this cell.
26
27
  # @return [Integer]
27
28
  # @see Axlsx::Styles
28
- attr_accessor :style
29
+ attr_reader :style
29
30
 
30
31
  # The row this cell belongs to.
31
32
  # @return [Row]
@@ -42,12 +43,24 @@ module Axlsx
42
43
  # :string to :integer or :float, type coversions always return 0 or 0.0
43
44
  # :string, :integer, or :float to :time conversions always return the original value as a string and set the cells type to :string.
44
45
  # No support is currently implemented for parsing time strings.
45
- #
46
- attr_accessor :type
46
+ attr_reader :type
47
+ # @see type
48
+ def type=(v)
49
+ RestrictionValidator.validate "Cell.type", [:time, :float, :integer, :string], v
50
+ @type=v
51
+ self.value = @value
52
+ end
53
+
47
54
 
48
55
  # The value of this cell.
49
56
  # @return casted value based on cell's type attribute.
50
- attr_accessor :value
57
+ attr_reader :value
58
+ # @see value
59
+ def value=(v)
60
+ #TODO: consider doing value based type determination first?
61
+ @value = cast_value(v)
62
+ end
63
+
51
64
 
52
65
  # @param [Row] row The row this cell belongs to.
53
66
  # @param [Any] value The value associated with this cell.
@@ -91,16 +104,7 @@ module Axlsx
91
104
  @style = v
92
105
  end
93
106
 
94
- def type=(v)
95
- RestrictionValidator.validate "Cell.type", [:time, :float, :integer, :string], v
96
- @type=v
97
- self.value = @value
98
- end
99
107
 
100
- def value=(v)
101
- #TODO: consider doing value based type determination first?
102
- @value = cast_value(v)
103
- end
104
108
 
105
109
  # Serializes the cell
106
110
  # @param [Nokogiri::XML::Builder] xml The document builder instance this objects xml will be added to.
@@ -108,14 +112,19 @@ module Axlsx
108
112
  # @note
109
113
  # Shared Strings are not used in this library. All values are set directly in the each sheet.
110
114
  def to_xml(xml)
111
- if @type == :string
112
- #NOTE not sure why, but xml.t @v renders the text as html entities of unicode data
113
- xml.c(:r => r, :t=>:inlineStr, :s=>style) { xml.is { xml << "<t>#{value}</t>" } }
115
+ # Both 1.8 and 1.9 return the same 'fast_xf'
116
+ # &#12491;&#12507;&#12531;&#12468;
117
+ # &#12491;&#12507;&#12531;&#12468;
118
+
119
+ # however nokogiri does a nice 'force_encoding' which we shall remove!
120
+ if @type == :string
121
+ xml.c(:r => r, :t=>:inlineStr, :s=>style) { xml.is { xml.t @value.to_s } }
114
122
  else
115
123
  xml.c(:r => r, :s => style) { xml.v value }
116
124
  end
117
125
  end
118
126
 
127
+
119
128
  private
120
129
 
121
130
  # assigns the owning row for this cell.
@@ -12,10 +12,6 @@ module Axlsx
12
12
  # @return [SimpleTypedList]
13
13
  attr_reader :cells
14
14
 
15
- # The index of this row in the worksheet
16
- # @return [Integer]
17
- attr_reader :index
18
-
19
15
  # Creates a new row. New Cell objects are created based on the values, types and style options.
20
16
  # A new cell is created for each item in the values array. style and types options are applied as follows:
21
17
  # If the types option is defined and is a symbol it is applied to all the cells created.
@@ -37,6 +33,8 @@ module Axlsx
37
33
  array_to_cells(values, options)
38
34
  end
39
35
 
36
+ # The index of this row in the worksheet
37
+ # @return [Integer]
40
38
  def index
41
39
  worksheet.rows.index(self)
42
40
  end
@@ -6,49 +6,24 @@ module Axlsx
6
6
 
7
7
  # The name of the worksheet
8
8
  # @return [String]
9
- attr_accessor :name
9
+ attr_reader :name
10
10
 
11
11
  # The workbook that owns this worksheet
12
12
  # @return [Workbook]
13
13
  attr_reader :workbook
14
14
 
15
- # The worksheet relationships. This is managed automatically by the worksheet
16
- # @return [Relationships]
17
- attr_reader :relationships
18
15
 
19
16
  # The rows in this worksheet
20
17
  # @note The recommended way to manage rows is Worksheet#add_row
21
18
  # @return [SimpleTypedList]
22
19
  # @see Worksheet#add_row
23
20
  attr_reader :rows
24
-
25
- # The drawing associated with this worksheet.
26
- # @note the recommended way to work with drawings and charts is Worksheet#add_chart
27
- # @return [Drawing]
28
- # @see Worksheet#add_chart
29
- attr_reader :drawing
30
21
 
31
22
  # An array of content based calculated column widths.
32
23
  # @note a single auto fit data item is a hash with :longest => [String] and :sz=> [Integer] members.
33
24
  # @return [Array] of Hash
34
25
  attr_reader :auto_fit_data
35
26
 
36
- # The part name of this worksheet
37
- # @return [String]
38
- attr_reader :pn
39
-
40
- # The relationship part name of this worksheet
41
- # @return [String]
42
- attr_reader :rels_pn
43
-
44
- # The relationship Id of thiw worksheet
45
- # @return [String]
46
- attr_reader :rId
47
-
48
- # The index of this worksheet in the owning Workbook's worksheets list.
49
- # @return [Integer]
50
- attr_reader :index
51
-
52
27
  # TODO Merge Cells
53
28
  # attr_reader :merge_cells
54
29
 
@@ -57,6 +32,7 @@ module Axlsx
57
32
  # @see Workbook#add_worksheet
58
33
  # @option options [String] name The name of this sheet.
59
34
  def initialize(wb, options={})
35
+ @drawing = nil
60
36
  @rows = SimpleTypedList.new Row
61
37
  self.workbook = wb
62
38
  @workbook.worksheets << self
@@ -65,25 +41,38 @@ module Axlsx
65
41
  @magick_draw = Magick::Draw.new
66
42
  end
67
43
 
68
-
44
+ # The name of the worksheet
45
+ # @param [String] v
69
46
  def name=(v) DataTypeValidator.validate "Worksheet.name", String, v; @name=v end
70
-
47
+
48
+ # The part name of this worksheet
49
+ # @return [String]
71
50
  def pn
72
51
  "#{WORKSHEET_PN % (index+1)}"
73
52
  end
74
53
 
54
+ # The relationship part name of this worksheet
55
+ # @return [String]
75
56
  def rels_pn
76
57
  "#{WORKSHEET_RELS_PN % (index+1)}"
77
58
  end
78
59
 
60
+ # The relationship Id of thiw worksheet
61
+ # @return [String]
79
62
  def rId
80
63
  "rId#{index+1}"
81
64
  end
82
-
65
+
66
+ # The index of this worksheet in the owning Workbook's worksheets list.
67
+ # @return [Integer]
83
68
  def index
84
69
  @workbook.worksheets.index(self)
85
70
  end
86
71
 
72
+ # The drawing associated with this worksheet.
73
+ # @note the recommended way to work with drawings and charts is Worksheet#add_chart
74
+ # @return [Drawing]
75
+ # @see Worksheet#add_chart
87
76
  def drawing
88
77
  @drawing || @drawing = Axlsx::Drawing.new(self)
89
78
  end
@@ -149,10 +138,11 @@ module Axlsx
149
138
  xml.drawing :"r:id"=>"rId1" if @drawing
150
139
  }
151
140
  end
152
- builder.to_xml(:indent=>0, :save_with=>0)
141
+ builder.to_xml
153
142
  end
154
143
 
155
- # The worksheet's relationships.
144
+ # The worksheet relationships. This is managed automatically by the worksheet
145
+ # @return [Relationships]
156
146
  def relationships
157
147
  r = Relationships.new
158
148
  r << Relationship.new(DRAWING_R, "../#{@drawing.pn}") if @drawing
@@ -193,7 +183,7 @@ module Axlsx
193
183
  # From ECMA docs
194
184
  # Column width measured as the number of characters of the maximum digit width of the numbers 0 .. 9 as
195
185
  # rendered in the normal style's font. There are 4 pixels of margin padding (two on each side), plus 1 pixel padding for the gridlines.
196
- # width = Truncate([{Number of Characters} * {Maximum Digit Width} + {5 pixel padding}]/{Maximum Digit Width}*256)/256
186
+ # width = Truncate([!{Number of Characters} * !{Maximum Digit Width} + !{5 pixel padding}]/!{Maximum Digit Width}*256)/256
197
187
  # @return [Float]
198
188
  # @param [Hash] A hash of auto_fit_data
199
189
  def auto_width(col)
@@ -201,6 +191,7 @@ module Axlsx
201
191
  mdw_count = 0
202
192
  best_guess = 1.5 #direct testing shows the results of the documented formula to be a bit too small. This is a best guess scaling
203
193
  font_scale = col[:sz].to_f / (self.workbook.styles.fonts[0].sz.to_f || 11.0)
194
+
204
195
  col[:longest].scan(/./mu).each do |i|
205
196
  mdw_count +=1 if @magick_draw.get_type_metrics(i).width >= mdw
206
197
  end
@@ -30,7 +30,7 @@ class TestOneCellAnchor < Test::Unit::TestCase
30
30
  end
31
31
 
32
32
  def test_index
33
- assert(@anchor.index, @anchor.drawing.anchors.index(@anchor))
33
+ assert_equal(@anchor.index, @anchor.drawing.anchors.index(@anchor))
34
34
  end
35
35
 
36
36
  def test_width
metadata CHANGED
@@ -1,162 +1,78 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: axlsx
3
- version: !ruby/object:Gem::Version
4
- hash: 7
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.9
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 8
10
- version: 1.0.8
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Randy Morgan
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-11-23 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2011-11-26 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: nokogiri
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2152120880 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 1
29
- segments:
30
- - 1
31
- version: "1"
20
+ - !ruby/object:Gem::Version
21
+ version: '1.4'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: active_support
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2152120880
25
+ - !ruby/object:Gem::Dependency
26
+ name: active_support
27
+ requirement: &2152119200 !ruby/object:Gem::Requirement
38
28
  none: false
39
- requirements:
29
+ requirements:
40
30
  - - ~>
41
- - !ruby/object:Gem::Version
42
- hash: 5
43
- segments:
44
- - 3
45
- version: "3"
31
+ - !ruby/object:Gem::Version
32
+ version: '3'
46
33
  type: :runtime
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: rmagick
50
34
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2152119200
36
+ - !ruby/object:Gem::Dependency
37
+ name: rmagick
38
+ requirement: &2152117140 !ruby/object:Gem::Requirement
52
39
  none: false
53
- requirements:
40
+ requirements:
54
41
  - - ~>
55
- - !ruby/object:Gem::Version
56
- hash: 27
57
- segments:
58
- - 2
59
- - 12
60
- version: "2.12"
42
+ - !ruby/object:Gem::Version
43
+ version: '2'
61
44
  type: :runtime
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
64
- name: rubyzip
65
45
  prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2152117140
47
+ - !ruby/object:Gem::Dependency
48
+ name: zip
49
+ requirement: &2152114660 !ruby/object:Gem::Requirement
67
50
  none: false
68
- requirements:
51
+ requirements:
69
52
  - - ~>
70
- - !ruby/object:Gem::Version
71
- hash: 51
72
- segments:
73
- - 0
74
- - 9
75
- - 4
76
- version: 0.9.4
53
+ - !ruby/object:Gem::Version
54
+ version: '2'
77
55
  type: :runtime
78
- version_requirements: *id004
79
- description: " axslx allows you to create Office Open XML Spreadsheet documents.\n It supports automated column widths, multiple worksheets, custom styles, cusomizable charts and allows you to validate your xlsx package before serialization. \n"
80
- email: digital.ipeseity@gmail.com
81
- executables: []
56
+ prerelease: false
57
+ version_requirements: *2152114660
58
+ description: ! ' xlsx generation with charts, images, automated column width, customizable
59
+ styles and full schema validation. Axlsx excels at helping you generate beautiful
60
+ Office Open XML Spreadsheet documents without having to understand the entire ECMA
61
+ specification. Check out the README for some examples of how easy it is. Best of
62
+ all, you can validate your xlsx file before serialization so you know for sure that
63
+ anything generated is going to load on your client''s machine.
82
64
 
65
+ '
66
+ email: digital.ipseity@gmail.com
67
+ executables: []
83
68
  extensions: []
84
-
85
69
  extra_rdoc_files: []
86
-
87
- files:
88
- - doc/_index.html
89
- - doc/Axlsx/App.html
90
- - doc/Axlsx/Axis.html
91
- - doc/Axlsx/Bar3DChart.html
92
- - doc/Axlsx/BarSeries.html
93
- - doc/Axlsx/Border.html
94
- - doc/Axlsx/BorderPr.html
95
- - doc/Axlsx/CatAxis.html
96
- - doc/Axlsx/CatAxisData.html
97
- - doc/Axlsx/Cell.html
98
- - doc/Axlsx/CellAlignment.html
99
- - doc/Axlsx/CellProtection.html
100
- - doc/Axlsx/CellStyle.html
101
- - doc/Axlsx/Chart.html
102
- - doc/Axlsx/Color.html
103
- - doc/Axlsx/ContentType.html
104
- - doc/Axlsx/Core.html
105
- - doc/Axlsx/DataTypeValidator.html
106
- - doc/Axlsx/Default.html
107
- - doc/Axlsx/Drawing.html
108
- - doc/Axlsx/Fill.html
109
- - doc/Axlsx/Font.html
110
- - doc/Axlsx/GradientFill.html
111
- - doc/Axlsx/GradientStop.html
112
- - doc/Axlsx/GraphicFrame.html
113
- - doc/Axlsx/Line3DChart.html
114
- - doc/Axlsx/LineSeries.html
115
- - doc/Axlsx/Marker.html
116
- - doc/Axlsx/NumFmt.html
117
- - doc/Axlsx/OneCellAnchor.html
118
- - doc/Axlsx/Override.html
119
- - doc/Axlsx/Package.html
120
- - doc/Axlsx/PatternFill.html
121
- - doc/Axlsx/Pic.html
122
- - doc/Axlsx/Pie3DChart.html
123
- - doc/Axlsx/PieSeries.html
124
- - doc/Axlsx/RegexValidator.html
125
- - doc/Axlsx/Relationship.html
126
- - doc/Axlsx/Relationships.html
127
- - doc/Axlsx/RestrictionValidator.html
128
- - doc/Axlsx/Row.html
129
- - doc/Axlsx/Scaling.html
130
- - doc/Axlsx/SerAxis.html
131
- - doc/Axlsx/Series.html
132
- - doc/Axlsx/SeriesTitle.html
133
- - doc/Axlsx/SimpleTypedList.html
134
- - doc/Axlsx/Styles.html
135
- - doc/Axlsx/TableStyle.html
136
- - doc/Axlsx/TableStyleElement.html
137
- - doc/Axlsx/TableStyles.html
138
- - doc/Axlsx/Title.html
139
- - doc/Axlsx/TwoCellAnchor.html
140
- - doc/Axlsx/ValAxis.html
141
- - doc/Axlsx/ValAxisData.html
142
- - doc/Axlsx/View3D.html
143
- - doc/Axlsx/Workbook.html
144
- - doc/Axlsx/Worksheet.html
145
- - doc/Axlsx/Xf.html
146
- - doc/Axlsx.html
147
- - doc/class_list.html
148
- - doc/css/common.css
149
- - doc/css/full_list.css
150
- - doc/css/style.css
151
- - doc/file.README.html
152
- - doc/file_list.html
153
- - doc/frames.html
154
- - doc/index.html
155
- - doc/js/app.js
156
- - doc/js/full_list.js
157
- - doc/js/jquery.js
158
- - doc/method_list.html
159
- - doc/top-level-namespace.html
70
+ files:
71
+ - axlsx.gemspec
72
+ - CHANGELOG.md
73
+ - LICENSE
74
+ - Rakefile
75
+ - README.md
160
76
  - lib/axlsx/content_type/content_type.rb
161
77
  - lib/axlsx/content_type/default.rb
162
78
  - lib/axlsx/content_type/override.rb
@@ -216,10 +132,8 @@ files:
216
132
  - lib/axlsx/workbook/worksheet/worksheet.rb
217
133
  - lib/axlsx.rb
218
134
  - lib/schema/dc.xsd
219
- - lib/schema/dc.xsd~
220
135
  - lib/schema/dcmitype.xsd
221
136
  - lib/schema/dcterms.xsd
222
- - lib/schema/dcterms.xsd~
223
137
  - lib/schema/dml-chart.xsd
224
138
  - lib/schema/dml-chartDrawing.xsd
225
139
  - lib/schema/dml-compatibility.xsd
@@ -231,7 +145,6 @@ files:
231
145
  - lib/schema/dml-wordprocessingDrawing.xsd
232
146
  - lib/schema/opc-contentTypes.xsd
233
147
  - lib/schema/opc-coreProperties.xsd
234
- - lib/schema/opc-coreProperties.xsd~
235
148
  - lib/schema/opc-digSig.xsd
236
149
  - lib/schema/opc-relationships.xsd
237
150
  - lib/schema/pml.xsd
@@ -253,6 +166,78 @@ files:
253
166
  - lib/schema/vml-wordprocessingDrawing.xsd
254
167
  - lib/schema/wml.xsd
255
168
  - lib/schema/xml.xsd
169
+ - doc/_index.html
170
+ - doc/Axlsx/App.html
171
+ - doc/Axlsx/Axis.html
172
+ - doc/Axlsx/Bar3DChart.html
173
+ - doc/Axlsx/BarSeries.html
174
+ - doc/Axlsx/Border.html
175
+ - doc/Axlsx/BorderPr.html
176
+ - doc/Axlsx/CatAxis.html
177
+ - doc/Axlsx/CatAxisData.html
178
+ - doc/Axlsx/Cell.html
179
+ - doc/Axlsx/CellAlignment.html
180
+ - doc/Axlsx/CellProtection.html
181
+ - doc/Axlsx/CellStyle.html
182
+ - doc/Axlsx/Chart.html
183
+ - doc/Axlsx/Color.html
184
+ - doc/Axlsx/ContentType.html
185
+ - doc/Axlsx/Core.html
186
+ - doc/Axlsx/DataTypeValidator.html
187
+ - doc/Axlsx/Default.html
188
+ - doc/Axlsx/Drawing.html
189
+ - doc/Axlsx/Fill.html
190
+ - doc/Axlsx/Font.html
191
+ - doc/Axlsx/GradientFill.html
192
+ - doc/Axlsx/GradientStop.html
193
+ - doc/Axlsx/GraphicFrame.html
194
+ - doc/Axlsx/Line3DChart.html
195
+ - doc/Axlsx/LineSeries.html
196
+ - doc/Axlsx/Marker.html
197
+ - doc/Axlsx/NumFmt.html
198
+ - doc/Axlsx/OneCellAnchor.html
199
+ - doc/Axlsx/Override.html
200
+ - doc/Axlsx/Package.html
201
+ - doc/Axlsx/PatternFill.html
202
+ - doc/Axlsx/Pic.html
203
+ - doc/Axlsx/Pie3DChart.html
204
+ - doc/Axlsx/PieSeries.html
205
+ - doc/Axlsx/RegexValidator.html
206
+ - doc/Axlsx/Relationship.html
207
+ - doc/Axlsx/Relationships.html
208
+ - doc/Axlsx/RestrictionValidator.html
209
+ - doc/Axlsx/Row.html
210
+ - doc/Axlsx/Scaling.html
211
+ - doc/Axlsx/SerAxis.html
212
+ - doc/Axlsx/Series.html
213
+ - doc/Axlsx/SeriesTitle.html
214
+ - doc/Axlsx/Styles.html
215
+ - doc/Axlsx/TableStyle.html
216
+ - doc/Axlsx/TableStyleElement.html
217
+ - doc/Axlsx/TableStyles.html
218
+ - doc/Axlsx/Title.html
219
+ - doc/Axlsx/TwoCellAnchor.html
220
+ - doc/Axlsx/ValAxis.html
221
+ - doc/Axlsx/ValAxisData.html
222
+ - doc/Axlsx/View3D.html
223
+ - doc/Axlsx/Workbook.html
224
+ - doc/Axlsx/Worksheet.html
225
+ - doc/Axlsx/Xf.html
226
+ - doc/Axlsx.html
227
+ - doc/class_list.html
228
+ - doc/css/common.css
229
+ - doc/css/full_list.css
230
+ - doc/css/style.css
231
+ - doc/file.LICENSE.html
232
+ - doc/file.README.html
233
+ - doc/file_list.html
234
+ - doc/frames.html
235
+ - doc/index.html
236
+ - doc/js/app.js
237
+ - doc/js/full_list.js
238
+ - doc/js/jquery.js
239
+ - doc/method_list.html
240
+ - doc/top-level-namespace.html
256
241
  - test/content_type/tc_content_type.rb
257
242
  - test/content_type/tc_default.rb
258
243
  - test/content_type/tc_override.rb
@@ -268,7 +253,6 @@ files:
268
253
  - test/drawing/tc_graphic_frame.rb
269
254
  - test/drawing/tc_line_3d_chart.rb
270
255
  - test/drawing/tc_line_series.rb
271
- - test/drawing/tc_line_series.tc~
272
256
  - test/drawing/tc_marker.rb
273
257
  - test/drawing/tc_one_cell_anchor.rb
274
258
  - test/drawing/tc_pic.rb
@@ -314,43 +298,29 @@ files:
314
298
  - examples/image1.jpeg
315
299
  - examples/image1.jpg
316
300
  - examples/image1.png
317
- - LICENSE
318
- - README.md
319
- - Rakefile
320
- - CHANGELOG.md
321
301
  homepage: https://github.com/randym/axlsx
322
302
  licenses: []
323
-
324
303
  post_install_message:
325
304
  rdoc_options: []
326
-
327
- require_paths:
305
+ require_paths:
328
306
  - lib
329
- required_ruby_version: !ruby/object:Gem::Requirement
307
+ required_ruby_version: !ruby/object:Gem::Requirement
330
308
  none: false
331
- requirements:
332
- - - ">="
333
- - !ruby/object:Gem::Version
334
- hash: 3
335
- segments:
336
- - 0
337
- version: "0"
338
- required_rubygems_version: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - ! '>='
311
+ - !ruby/object:Gem::Version
312
+ version: 1.8.7
313
+ required_rubygems_version: !ruby/object:Gem::Requirement
339
314
  none: false
340
- requirements:
341
- - - ">="
342
- - !ruby/object:Gem::Version
343
- hash: 3
344
- segments:
345
- - 0
346
- version: "0"
315
+ requirements:
316
+ - - ! '>='
317
+ - !ruby/object:Gem::Version
318
+ version: '0'
347
319
  requirements: []
348
-
349
- rubyforge_project: axlsx
350
- rubygems_version: 1.8.11
320
+ rubyforge_project:
321
+ rubygems_version: 1.8.10
351
322
  signing_key:
352
323
  specification_version: 3
353
- summary: Author fully validated xlsx files with custom charts and styles
324
+ summary: OOXML (xlsx) with charts, styles, images and autowidth columns.
354
325
  test_files: []
355
-
356
326
  has_rdoc: axlsx