axlsx 1.0.9 → 1.0.10a
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -0
- data/Gemfile.lock +24 -0
- data/README.md +86 -1
- data/axlsx.gemspec +6 -10
- data/doc/Axlsx.html +557 -360
- data/doc/Axlsx/App.html +347 -244
- data/doc/Axlsx/Ar.html +200 -0
- data/doc/Axlsx/Ar/ClassMethods.html +192 -0
- data/doc/Axlsx/Ar/InstanceMethods.html +109 -0
- data/doc/Axlsx/Ar/SingletonMethods.html +304 -0
- data/doc/Axlsx/Axis.html +131 -98
- data/doc/Axlsx/Bar3DChart.html +138 -106
- data/doc/Axlsx/BarSeries.html +73 -54
- data/doc/Axlsx/Border.html +114 -87
- data/doc/Axlsx/BorderPr.html +107 -82
- data/doc/Axlsx/CatAxis.html +93 -68
- data/doc/Axlsx/CatAxisData.html +47 -38
- data/doc/Axlsx/Cell.html +642 -148
- data/doc/Axlsx/CellAlignment.html +152 -111
- data/doc/Axlsx/CellProtection.html +63 -45
- data/doc/Axlsx/CellStyle.html +101 -73
- data/doc/Axlsx/Chart.html +238 -179
- data/doc/Axlsx/Color.html +75 -53
- data/doc/Axlsx/ContentType.html +34 -26
- data/doc/Axlsx/Core.html +54 -42
- data/doc/Axlsx/DataTypeValidator.html +39 -30
- data/doc/Axlsx/Default.html +59 -43
- data/doc/Axlsx/Drawing.html +176 -128
- data/doc/Axlsx/Fill.html +46 -33
- data/doc/Axlsx/Font.html +197 -147
- data/doc/Axlsx/GradientFill.html +114 -82
- data/doc/Axlsx/GradientStop.html +47 -33
- data/doc/Axlsx/GraphicFrame.html +78 -60
- data/doc/Axlsx/Line3DChart.html +125 -97
- data/doc/Axlsx/LineSeries.html +60 -44
- data/doc/Axlsx/Marker.html +98 -71
- data/doc/Axlsx/NumFmt.html +99 -80
- data/doc/Axlsx/OneCellAnchor.html +126 -94
- data/doc/Axlsx/Override.html +59 -43
- data/doc/Axlsx/Package.html +269 -134
- data/doc/Axlsx/PatternFill.html +93 -72
- data/doc/Axlsx/Pic.html +202 -152
- data/doc/Axlsx/Pie3DChart.html +39 -30
- data/doc/Axlsx/PieSeries.html +72 -53
- data/doc/Axlsx/RegexValidator.html +19 -14
- data/doc/Axlsx/Relationship.html +60 -43
- data/doc/Axlsx/Relationships.html +34 -26
- data/doc/Axlsx/RestrictionValidator.html +31 -22
- data/doc/Axlsx/Row.html +241 -67
- data/doc/Axlsx/Scaling.html +80 -59
- data/doc/Axlsx/SerAxis.html +71 -51
- data/doc/Axlsx/Series.html +179 -51
- data/doc/Axlsx/SeriesTitle.html +29 -24
- data/doc/Axlsx/Styles.html +354 -285
- data/doc/Axlsx/TableStyle.html +74 -54
- data/doc/Axlsx/TableStyleElement.html +99 -79
- data/doc/Axlsx/TableStyles.html +65 -47
- data/doc/Axlsx/Title.html +66 -51
- data/doc/Axlsx/TwoCellAnchor.html +129 -96
- data/doc/Axlsx/ValAxis.html +52 -38
- data/doc/Axlsx/ValAxisData.html +32 -27
- data/doc/Axlsx/View3D.html +111 -80
- data/doc/Axlsx/Workbook.html +333 -272
- data/doc/Axlsx/Worksheet.html +1018 -266
- data/doc/Axlsx/Xf.html +188 -134
- data/doc/_index.html +44 -8
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +28 -23
- data/doc/file.README.html +180 -91
- data/doc/index.html +180 -91
- data/doc/method_list.html +541 -421
- data/doc/top-level-namespace.html +2 -2
- data/examples/example.rb +70 -13
- data/lib/axlsx.rb +1 -0
- data/lib/axlsx/ar.rb +72 -0
- data/lib/axlsx/package.rb +8 -1
- data/lib/axlsx/util/simple_typed_list.rb +5 -0
- data/lib/axlsx/version.rb +1 -1
- data/lib/axlsx/workbook/workbook.rb +4 -2
- data/lib/axlsx/workbook/worksheet/row.rb +15 -0
- data/lib/axlsx/workbook/worksheet/worksheet.rb +44 -1
- data/test/workbook/worksheet/tc_row.rb +6 -0
- data/test/workbook/worksheet/tc_worksheet.rb +36 -0
- metadata +103 -59
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
axlsx (1.0.10)
|
5
|
+
activesupport (>= 2.3.9)
|
6
|
+
nokogiri (>= 1.4.1)
|
7
|
+
rmagick (>= 2.12.2)
|
8
|
+
zip (~> 2.0.2)
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: http://rubygems.org/
|
12
|
+
specs:
|
13
|
+
activesupport (3.1.3)
|
14
|
+
multi_json (~> 1.0)
|
15
|
+
multi_json (1.0.3)
|
16
|
+
nokogiri (1.5.0)
|
17
|
+
rmagick (2.13.1)
|
18
|
+
zip (2.0.2)
|
19
|
+
|
20
|
+
PLATFORMS
|
21
|
+
ruby
|
22
|
+
|
23
|
+
DEPENDENCIES
|
24
|
+
axlsx!
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@ Axlsx: Office Open XML Spreadsheet Generation
|
|
6
6
|
**Author**: Randy Morgan
|
7
7
|
**Copyright**: 2011
|
8
8
|
**License**: MIT License
|
9
|
-
**Latest Version**: 1.0.
|
9
|
+
**Latest Version**: 1.0.10.a
|
10
10
|
**Ruby Version**: 1.8.7 - 1.9.3
|
11
11
|
**Release Date**: November 26th 2011
|
12
12
|
|
@@ -38,6 +38,8 @@ Feature List
|
|
38
38
|
|
39
39
|
**7. Add jpg, gif and png images to worksheets
|
40
40
|
|
41
|
+
**8. Build in mixin with Active record. simply add acts_as_xlsx to you models and they will support to_xlsx
|
42
|
+
|
41
43
|
Installing
|
42
44
|
----------
|
43
45
|
|
@@ -162,6 +164,83 @@ Asian Language Support
|
|
162
164
|
end
|
163
165
|
p.serialize("example8.xlsx")
|
164
166
|
|
167
|
+
Styling Columns
|
168
|
+
|
169
|
+
p = Axlsx::Package.new
|
170
|
+
percent = p.workbook.styles.add_style :num_fmt => 9
|
171
|
+
p.workbook.add_worksheet do |sheet|
|
172
|
+
sheet.add_row ['col 1', 'col 2', 'col 3', 'col 4']
|
173
|
+
sheet.add_row [1, 2, 0.3, 4]
|
174
|
+
sheet.add_row [1, 2, 0.2, 4]
|
175
|
+
sheet.add_row [1, 2, 0.1, 4]
|
176
|
+
end
|
177
|
+
p.workbook.worksheets.first.col_style 2, percent, :row_offset=>1
|
178
|
+
p.serialize("example10.xlsx")
|
179
|
+
|
180
|
+
Styling Rows
|
181
|
+
|
182
|
+
p = Axlsx::Package.new
|
183
|
+
p.workbook.add_worksheet do |sheet|
|
184
|
+
sheet.add_row ['col 1', 'col 2', 'col 3', 'col 4']
|
185
|
+
sheet.add_row [1, 2, 0.3, 4]
|
186
|
+
sheet.add_row [1, 2, 0.2, 4]
|
187
|
+
sheet.add_row [1, 2, 0.1, 4]
|
188
|
+
end
|
189
|
+
head = p.workbook.styles.add_style :bg_color => "FF000000", :fg_color=>"FFFFFFFF"
|
190
|
+
percent = p.workbook.styles.add_style :num_fmt => 9
|
191
|
+
p.workbook.worksheets.first.col_style 2, percent, :row_offset=>1
|
192
|
+
p.workbook.worksheets.first.row_style 0, head
|
193
|
+
p.serialize("example11.xlsx")
|
194
|
+
|
195
|
+
|
196
|
+
Rails 3
|
197
|
+
|
198
|
+
#ImageMagick port needs to be confirgured --disable-openmp when using with rails3
|
199
|
+
#http://stackoverflow.com/questions/2838307/why-is-this-rmagick-call-generating-a-segmentation-fault
|
200
|
+
|
201
|
+
#Add the gem to your Gemfile and bundle install
|
202
|
+
gem 'axlsx'
|
203
|
+
|
204
|
+
# A Model that has id, name, title, content, vote, popularity, created_at and updated_at attributes
|
205
|
+
class Post < ActiveRecord::Base
|
206
|
+
|
207
|
+
# support for :include, :exclude, :only like ruport has not been implemented yet
|
208
|
+
acts_as_axlsx
|
209
|
+
|
210
|
+
def report
|
211
|
+
# First generate your package from the model
|
212
|
+
# scopes, conditions etc are allowed but must be before the to_xlsx call.
|
213
|
+
p = Post.to_xlsx
|
214
|
+
|
215
|
+
# Add in some basic styles and formats
|
216
|
+
percent, date, header = nil, nil, nil
|
217
|
+
p.workbook.styles do |s|
|
218
|
+
percent = s.add_style :num_fmt=>9
|
219
|
+
date = s.add_style :format_code => 'yyyy/mm/dd'
|
220
|
+
header = s.add_style :bg_color => "FF000000", :fg_color => "FFFFFFFF", :alignment => {:horizontal=>:center}, :sz=>14
|
221
|
+
end
|
222
|
+
|
223
|
+
ws = p.workbook.worksheets.first
|
224
|
+
|
225
|
+
# Update the row and columns style so they propery format data.
|
226
|
+
ws.row_style(0, header)
|
227
|
+
ws.col_style(5, percent, :row_offset=>1)
|
228
|
+
ws.col_style((6..7), date, :row_offset=>1)
|
229
|
+
|
230
|
+
# Add a chart for good measure
|
231
|
+
ws.add_chart(Axlsx::Bar3DChart) do |chart|
|
232
|
+
chart.title='Post Votes'
|
233
|
+
chart.start_at 0, ws.rows.size
|
234
|
+
chart.end_at 4, ws.rows.size+20
|
235
|
+
chart.add_series :data => ws.cols[4][(1..-1)], :labels=>ws.cols[0][(1..-1)]
|
236
|
+
end
|
237
|
+
|
238
|
+
p.serialize('posts.xlsx')
|
239
|
+
send_file 'posts.xlsx', :type=>"application/xlsx", :x_sendfile=>true
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
|
165
244
|
###Documentation
|
166
245
|
|
167
246
|
This gem is 100% documented with YARD, an exceptional documentation library. To see documentation for this, and all the gems installed on your system use:
|
@@ -176,6 +255,12 @@ This gem has 100% test coverage using test/unit. To execute tests for this gem,
|
|
176
255
|
|
177
256
|
Changelog
|
178
257
|
---------
|
258
|
+
- **October.27.11**: 1.0.10.a release
|
259
|
+
- Updating gemspec to loosen up some of the gem requirements in the hope of maintaining compatibility with rails 2
|
260
|
+
- Added acts_as_xlsx mixin for rails3 See Examples
|
261
|
+
- Added row.style assignation for updating the cell style for an entire row
|
262
|
+
- Added col_style method to worksheet upate a the style for a column of cells
|
263
|
+
|
179
264
|
- **October.26.11**: 1.0.9 release
|
180
265
|
- Updated to support ruby 1.9.3
|
181
266
|
- Updated to eliminate all warnings originating in this gem
|
data/axlsx.gemspec
CHANGED
@@ -17,20 +17,16 @@ Gem::Specification.new do |s|
|
|
17
17
|
|
18
18
|
s.files = FileList.new('*', 'lib/**/*', 'doc/**/*', 'test/**/*', 'schema/**/*', 'examples/**/*') do |fl|
|
19
19
|
fl.exclude("*.*~")
|
20
|
-
fl.exclude(".DS_Store")
|
21
|
-
fl.exclude(".gitignore")
|
22
|
-
fl.exclude(".yardops")
|
23
|
-
fl.exclude(".yardops_guide")
|
24
|
-
fl.exclude(".git")
|
25
20
|
fl.exclude(".*")
|
26
21
|
fl.exclude("todo")
|
27
22
|
fl.exclude("*.gem")
|
28
23
|
fl.exclude("*.xlsx")
|
29
24
|
end
|
30
|
-
|
31
|
-
s.add_runtime_dependency '
|
32
|
-
s.add_runtime_dependency '
|
33
|
-
s.add_runtime_dependency '
|
34
|
-
s.
|
25
|
+
|
26
|
+
s.add_runtime_dependency 'nokogiri', '>= 1.4.1'
|
27
|
+
s.add_runtime_dependency 'activesupport', '>= 2.3.9'
|
28
|
+
s.add_runtime_dependency 'rmagick', '>= 2.12.2'
|
29
|
+
s.add_runtime_dependency 'zip', '>= 2.0.2'
|
35
30
|
s.required_ruby_version = '>= 1.8.7'
|
31
|
+
s.require_path = 'lib'
|
36
32
|
end
|
data/doc/Axlsx.html
CHANGED
@@ -73,7 +73,7 @@
|
|
73
73
|
|
74
74
|
<dt class="r1 last">Defined in:</dt>
|
75
75
|
<dd class="r1 last">lib/axlsx.rb<span class="defines">,<br />
|
76
|
-
lib/axlsx/
|
76
|
+
lib/axlsx/ar.rb,<br /> lib/axlsx/package.rb,<br /> lib/axlsx/version.rb,<br /> lib/axlsx/drawing/pic.rb,<br /> lib/axlsx/drawing/axis.rb,<br /> lib/axlsx/drawing/chart.rb,<br /> lib/axlsx/drawing/title.rb,<br /> lib/axlsx/doc_props/app.rb,<br /> lib/axlsx/stylesheet/xf.rb,<br /> lib/axlsx/util/constants.rb,<br /> lib/axlsx/drawing/series.rb,<br /> lib/axlsx/drawing/marker.rb,<br /> lib/axlsx/doc_props/core.rb,<br /> lib/axlsx/drawing/drawing.rb,<br /> lib/axlsx/stylesheet/fill.rb,<br /> lib/axlsx/drawing/scaling.rb,<br /> lib/axlsx/util/validators.rb,<br /> lib/axlsx/stylesheet/font.rb,<br /> lib/axlsx/drawing/view_3D.rb,<br /> lib/axlsx/stylesheet/color.rb,<br /> lib/axlsx/drawing/cat_axis.rb,<br /> lib/axlsx/drawing/ser_axis.rb,<br /> lib/axlsx/drawing/val_axis.rb,<br /> lib/axlsx/workbook/workbook.rb,<br /> lib/axlsx/stylesheet/styles.rb,<br /> lib/axlsx/stylesheet/border.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/drawing/pie_3D_chart.rb,<br /> lib/axlsx/stylesheet/border_pr.rb,<br /> lib/axlsx/drawing/series_title.rb,<br /> lib/axlsx/drawing/bar_3D_chart.rb,<br /> lib/axlsx/content_type/default.rb,<br /> lib/axlsx/stylesheet/cell_style.rb,<br /> lib/axlsx/content_type/override.rb,<br /> lib/axlsx/drawing/cat_axis_data.rb,<br /> lib/axlsx/drawing/val_axis_data.rb,<br /> lib/axlsx/drawing/line_3D_chart.rb,<br /> lib/axlsx/drawing/graphic_frame.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/stylesheet/pattern_fill.rb,<br /> lib/axlsx/stylesheet/table_styles.rb,<br /> lib/axlsx/workbook/worksheet/cell.rb,<br /> lib/axlsx/drawing/one_cell_anchor.rb,<br /> lib/axlsx/drawing/two_cell_anchor.rb,<br /> lib/axlsx/stylesheet/gradient_fill.rb,<br /> lib/axlsx/stylesheet/gradient_stop.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>
|
77
77
|
</dd>
|
78
78
|
|
79
79
|
</dl>
|
@@ -81,14 +81,15 @@
|
|
81
81
|
|
82
82
|
<h2>Overview</h2><div class="docstring">
|
83
83
|
<div class="discussion">
|
84
|
-
|
85
|
-
|
84
|
+
<p>
|
85
|
+
xlsx generation with charts, images, automated column width, customizable
|
86
86
|
styles and full schema validation. Axlsx excels at helping you generate
|
87
87
|
beautiful Office Open XML Spreadsheet documents without having to
|
88
88
|
understand the entire ECMA specification. Check out the README for some
|
89
89
|
examples of how easy it is. Best of all, you can validate your xlsx file
|
90
90
|
before serialization so you know for sure that anything generated is going
|
91
|
-
to load on your client
|
91
|
+
to load on your client’s machine.
|
92
|
+
</p>
|
92
93
|
|
93
94
|
|
94
95
|
</div>
|
@@ -100,6 +101,8 @@ to load on your client's machine.</p>
|
|
100
101
|
<p class="children">
|
101
102
|
|
102
103
|
|
104
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Axlsx/Ar.html" title="Axlsx::Ar (module)">Ar</a></span>
|
105
|
+
|
103
106
|
|
104
107
|
|
105
108
|
<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/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>
|
@@ -114,8 +117,9 @@ to load on your client's machine.</p>
|
|
114
117
|
<dt id="VERSION-constant" class="">VERSION =
|
115
118
|
<div class="docstring">
|
116
119
|
<div class="discussion">
|
117
|
-
|
118
|
-
|
120
|
+
<p>
|
121
|
+
version
|
122
|
+
</p>
|
119
123
|
|
120
124
|
|
121
125
|
</div>
|
@@ -125,13 +129,15 @@ to load on your client's machine.</p>
|
|
125
129
|
|
126
130
|
</div>
|
127
131
|
</dt>
|
128
|
-
<dd><pre class="code"><span class='
|
132
|
+
<dd><pre class="code"><span class='string val'>"1.0.10a"</span>
|
133
|
+
</pre></dd>
|
129
134
|
|
130
135
|
<dt id="ENCODING-constant" class="">ENCODING =
|
131
136
|
<div class="docstring">
|
132
137
|
<div class="discussion">
|
133
|
-
|
134
|
-
|
138
|
+
<p>
|
139
|
+
XML Encoding
|
140
|
+
</p>
|
135
141
|
|
136
142
|
|
137
143
|
</div>
|
@@ -141,13 +147,15 @@ to load on your client's machine.</p>
|
|
141
147
|
|
142
148
|
</div>
|
143
149
|
</dt>
|
144
|
-
<dd><pre class="code"><span class='
|
150
|
+
<dd><pre class="code"><span class='string val'>"UTF-8"</span>
|
151
|
+
</pre></dd>
|
145
152
|
|
146
153
|
<dt id="XML_NS-constant" class="">XML_NS =
|
147
154
|
<div class="docstring">
|
148
155
|
<div class="discussion">
|
149
|
-
|
150
|
-
|
156
|
+
<p>
|
157
|
+
spreadsheetML namespace
|
158
|
+
</p>
|
151
159
|
|
152
160
|
|
153
161
|
</div>
|
@@ -157,13 +165,15 @@ to load on your client's machine.</p>
|
|
157
165
|
|
158
166
|
</div>
|
159
167
|
</dt>
|
160
|
-
<dd><pre class="code"><span class='
|
168
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/spreadsheetml/2006/main"</span>
|
169
|
+
</pre></dd>
|
161
170
|
|
162
171
|
<dt id="XML_NS_T-constant" class="">XML_NS_T =
|
163
172
|
<div class="docstring">
|
164
173
|
<div class="discussion">
|
165
|
-
|
166
|
-
|
174
|
+
<p>
|
175
|
+
content-types namespace
|
176
|
+
</p>
|
167
177
|
|
168
178
|
|
169
179
|
</div>
|
@@ -173,13 +183,15 @@ to load on your client's machine.</p>
|
|
173
183
|
|
174
184
|
</div>
|
175
185
|
</dt>
|
176
|
-
<dd><pre class="code"><span class='
|
186
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/package/2006/content-types"</span>
|
187
|
+
</pre></dd>
|
177
188
|
|
178
189
|
<dt id="APP_NS-constant" class="">APP_NS =
|
179
190
|
<div class="docstring">
|
180
191
|
<div class="discussion">
|
181
|
-
|
182
|
-
|
192
|
+
<p>
|
193
|
+
extended-properties namespace
|
194
|
+
</p>
|
183
195
|
|
184
196
|
|
185
197
|
</div>
|
@@ -189,13 +201,15 @@ to load on your client's machine.</p>
|
|
189
201
|
|
190
202
|
</div>
|
191
203
|
</dt>
|
192
|
-
<dd><pre class="code"><span class='
|
204
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"</span>
|
205
|
+
</pre></dd>
|
193
206
|
|
194
207
|
<dt id="APP_NS_VT-constant" class="">APP_NS_VT =
|
195
208
|
<div class="docstring">
|
196
209
|
<div class="discussion">
|
197
|
-
|
198
|
-
|
210
|
+
<p>
|
211
|
+
doc props namespace
|
212
|
+
</p>
|
199
213
|
|
200
214
|
|
201
215
|
</div>
|
@@ -205,13 +219,15 @@ to load on your client's machine.</p>
|
|
205
219
|
|
206
220
|
</div>
|
207
221
|
</dt>
|
208
|
-
<dd><pre class="code"><span class='
|
222
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"</span>
|
223
|
+
</pre></dd>
|
209
224
|
|
210
225
|
<dt id="CORE_NS-constant" class="">CORE_NS =
|
211
226
|
<div class="docstring">
|
212
227
|
<div class="discussion">
|
213
|
-
|
214
|
-
|
228
|
+
<p>
|
229
|
+
core properties namespace
|
230
|
+
</p>
|
215
231
|
|
216
232
|
|
217
233
|
</div>
|
@@ -221,13 +237,15 @@ to load on your client's machine.</p>
|
|
221
237
|
|
222
238
|
</div>
|
223
239
|
</dt>
|
224
|
-
<dd><pre class="code"><span class='
|
240
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/package/2006/metadata/core-properties"</span>
|
241
|
+
</pre></dd>
|
225
242
|
|
226
243
|
<dt id="CORE_NS_DC-constant" class="">CORE_NS_DC =
|
227
244
|
<div class="docstring">
|
228
245
|
<div class="discussion">
|
229
|
-
|
230
|
-
|
246
|
+
<p>
|
247
|
+
dc elements (core) namespace
|
248
|
+
</p>
|
231
249
|
|
232
250
|
|
233
251
|
</div>
|
@@ -237,13 +255,15 @@ to load on your client's machine.</p>
|
|
237
255
|
|
238
256
|
</div>
|
239
257
|
</dt>
|
240
|
-
<dd><pre class="code"><span class='
|
258
|
+
<dd><pre class="code"><span class='string val'>"http://purl.org/dc/elements/1.1/"</span>
|
259
|
+
</pre></dd>
|
241
260
|
|
242
261
|
<dt id="CORE_NS_DCMIT-constant" class="">CORE_NS_DCMIT =
|
243
262
|
<div class="docstring">
|
244
263
|
<div class="discussion">
|
245
|
-
|
246
|
-
|
264
|
+
<p>
|
265
|
+
dcmit (core) namespcace
|
266
|
+
</p>
|
247
267
|
|
248
268
|
|
249
269
|
</div>
|
@@ -253,13 +273,15 @@ to load on your client's machine.</p>
|
|
253
273
|
|
254
274
|
</div>
|
255
275
|
</dt>
|
256
|
-
<dd><pre class="code"><span class='
|
276
|
+
<dd><pre class="code"><span class='string val'>"http://purl.org/dc/dcmitype/"</span>
|
277
|
+
</pre></dd>
|
257
278
|
|
258
279
|
<dt id="CORE_NS_DCT-constant" class="">CORE_NS_DCT =
|
259
280
|
<div class="docstring">
|
260
281
|
<div class="discussion">
|
261
|
-
|
262
|
-
|
282
|
+
<p>
|
283
|
+
dc terms namespace
|
284
|
+
</p>
|
263
285
|
|
264
286
|
|
265
287
|
</div>
|
@@ -269,13 +291,15 @@ to load on your client's machine.</p>
|
|
269
291
|
|
270
292
|
</div>
|
271
293
|
</dt>
|
272
|
-
<dd><pre class="code"><span class='
|
294
|
+
<dd><pre class="code"><span class='string val'>"http://purl.org/dc/terms/"</span>
|
295
|
+
</pre></dd>
|
273
296
|
|
274
297
|
<dt id="CORE_NS_XSI-constant" class="">CORE_NS_XSI =
|
275
298
|
<div class="docstring">
|
276
299
|
<div class="discussion">
|
277
|
-
|
278
|
-
|
300
|
+
<p>
|
301
|
+
xml schema namespace
|
302
|
+
</p>
|
279
303
|
|
280
304
|
|
281
305
|
</div>
|
@@ -285,13 +309,15 @@ to load on your client's machine.</p>
|
|
285
309
|
|
286
310
|
</div>
|
287
311
|
</dt>
|
288
|
-
<dd><pre class="code"><span class='
|
312
|
+
<dd><pre class="code"><span class='string val'>"http://www.w3.org/2001/XMLSchema-instance"</span>
|
313
|
+
</pre></dd>
|
289
314
|
|
290
315
|
<dt id="XML_NS_XDR-constant" class="">XML_NS_XDR =
|
291
316
|
<div class="docstring">
|
292
317
|
<div class="discussion">
|
293
|
-
|
294
|
-
|
318
|
+
<p>
|
319
|
+
spreadsheet drawing namespace
|
320
|
+
</p>
|
295
321
|
|
296
322
|
|
297
323
|
</div>
|
@@ -301,13 +327,15 @@ to load on your client's machine.</p>
|
|
301
327
|
|
302
328
|
</div>
|
303
329
|
</dt>
|
304
|
-
<dd><pre class="code"><span class='
|
330
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"</span>
|
331
|
+
</pre></dd>
|
305
332
|
|
306
333
|
<dt id="XML_NS_A-constant" class="">XML_NS_A =
|
307
334
|
<div class="docstring">
|
308
335
|
<div class="discussion">
|
309
|
-
|
310
|
-
|
336
|
+
<p>
|
337
|
+
drawing namespace
|
338
|
+
</p>
|
311
339
|
|
312
340
|
|
313
341
|
</div>
|
@@ -317,13 +345,15 @@ to load on your client's machine.</p>
|
|
317
345
|
|
318
346
|
</div>
|
319
347
|
</dt>
|
320
|
-
<dd><pre class="code"><span class='
|
348
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/drawingml/2006/main"</span>
|
349
|
+
</pre></dd>
|
321
350
|
|
322
351
|
<dt id="XML_NS_C-constant" class="">XML_NS_C =
|
323
352
|
<div class="docstring">
|
324
353
|
<div class="discussion">
|
325
|
-
|
326
|
-
|
354
|
+
<p>
|
355
|
+
chart namespace
|
356
|
+
</p>
|
327
357
|
|
328
358
|
|
329
359
|
</div>
|
@@ -333,13 +363,15 @@ to load on your client's machine.</p>
|
|
333
363
|
|
334
364
|
</div>
|
335
365
|
</dt>
|
336
|
-
<dd><pre class="code"><span class='
|
366
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/drawingml/2006/chart"</span>
|
367
|
+
</pre></dd>
|
337
368
|
|
338
369
|
<dt id="XML_NS_R-constant" class="">XML_NS_R =
|
339
370
|
<div class="docstring">
|
340
371
|
<div class="discussion">
|
341
|
-
|
342
|
-
|
372
|
+
<p>
|
373
|
+
relationships namespace
|
374
|
+
</p>
|
343
375
|
|
344
376
|
|
345
377
|
</div>
|
@@ -349,13 +381,15 @@ to load on your client's machine.</p>
|
|
349
381
|
|
350
382
|
</div>
|
351
383
|
</dt>
|
352
|
-
<dd><pre class="code"><span class='
|
384
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships"</span>
|
385
|
+
</pre></dd>
|
353
386
|
|
354
387
|
<dt id="RELS_R-constant" class="">RELS_R =
|
355
388
|
<div class="docstring">
|
356
389
|
<div class="discussion">
|
357
|
-
|
358
|
-
|
390
|
+
<p>
|
391
|
+
relationships name space
|
392
|
+
</p>
|
359
393
|
|
360
394
|
|
361
395
|
</div>
|
@@ -365,13 +399,15 @@ to load on your client's machine.</p>
|
|
365
399
|
|
366
400
|
</div>
|
367
401
|
</dt>
|
368
|
-
<dd><pre class="code"><span class='
|
402
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/package/2006/relationships"</span>
|
403
|
+
</pre></dd>
|
369
404
|
|
370
405
|
<dt id="TABLE_R-constant" class="">TABLE_R =
|
371
406
|
<div class="docstring">
|
372
407
|
<div class="discussion">
|
373
|
-
|
374
|
-
|
408
|
+
<p>
|
409
|
+
table rels namespace
|
410
|
+
</p>
|
375
411
|
|
376
412
|
|
377
413
|
</div>
|
@@ -381,13 +417,15 @@ to load on your client's machine.</p>
|
|
381
417
|
|
382
418
|
</div>
|
383
419
|
</dt>
|
384
|
-
<dd><pre class="code"><span class='
|
420
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"</span>
|
421
|
+
</pre></dd>
|
385
422
|
|
386
423
|
<dt id="WORKBOOK_R-constant" class="">WORKBOOK_R =
|
387
424
|
<div class="docstring">
|
388
425
|
<div class="discussion">
|
389
|
-
|
390
|
-
|
426
|
+
<p>
|
427
|
+
workbook rels namespace
|
428
|
+
</p>
|
391
429
|
|
392
430
|
|
393
431
|
</div>
|
@@ -397,13 +435,15 @@ to load on your client's machine.</p>
|
|
397
435
|
|
398
436
|
</div>
|
399
437
|
</dt>
|
400
|
-
<dd><pre class="code"><span class='
|
438
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"</span>
|
439
|
+
</pre></dd>
|
401
440
|
|
402
441
|
<dt id="WORKSHEET_R-constant" class="">WORKSHEET_R =
|
403
442
|
<div class="docstring">
|
404
443
|
<div class="discussion">
|
405
|
-
|
406
|
-
|
444
|
+
<p>
|
445
|
+
worksheet rels namespace
|
446
|
+
</p>
|
407
447
|
|
408
448
|
|
409
449
|
</div>
|
@@ -413,13 +453,15 @@ to load on your client's machine.</p>
|
|
413
453
|
|
414
454
|
</div>
|
415
455
|
</dt>
|
416
|
-
<dd><pre class="code"><span class='
|
456
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"</span>
|
457
|
+
</pre></dd>
|
417
458
|
|
418
459
|
<dt id="APP_R-constant" class="">APP_R =
|
419
460
|
<div class="docstring">
|
420
461
|
<div class="discussion">
|
421
|
-
|
422
|
-
|
462
|
+
<p>
|
463
|
+
app rels namespace
|
464
|
+
</p>
|
423
465
|
|
424
466
|
|
425
467
|
</div>
|
@@ -429,13 +471,15 @@ to load on your client's machine.</p>
|
|
429
471
|
|
430
472
|
</div>
|
431
473
|
</dt>
|
432
|
-
<dd><pre class="code"><span class='
|
474
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"</span>
|
475
|
+
</pre></dd>
|
433
476
|
|
434
477
|
<dt id="CORE_R-constant" class="">CORE_R =
|
435
478
|
<div class="docstring">
|
436
479
|
<div class="discussion">
|
437
|
-
|
438
|
-
|
480
|
+
<p>
|
481
|
+
core rels namespace
|
482
|
+
</p>
|
439
483
|
|
440
484
|
|
441
485
|
</div>
|
@@ -445,13 +489,15 @@ to load on your client's machine.</p>
|
|
445
489
|
|
446
490
|
</div>
|
447
491
|
</dt>
|
448
|
-
<dd><pre class="code"><span class='
|
492
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/metadata/core-properties"</span>
|
493
|
+
</pre></dd>
|
449
494
|
|
450
495
|
<dt id="STYLES_R-constant" class="">STYLES_R =
|
451
496
|
<div class="docstring">
|
452
497
|
<div class="discussion">
|
453
|
-
|
454
|
-
|
498
|
+
<p>
|
499
|
+
styles rels namespace
|
500
|
+
</p>
|
455
501
|
|
456
502
|
|
457
503
|
</div>
|
@@ -461,13 +507,15 @@ to load on your client's machine.</p>
|
|
461
507
|
|
462
508
|
</div>
|
463
509
|
</dt>
|
464
|
-
<dd><pre class="code"><span class='
|
510
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"</span>
|
511
|
+
</pre></dd>
|
465
512
|
|
466
513
|
<dt id="DRAWING_R-constant" class="">DRAWING_R =
|
467
514
|
<div class="docstring">
|
468
515
|
<div class="discussion">
|
469
|
-
|
470
|
-
|
516
|
+
<p>
|
517
|
+
drawing rels namespace
|
518
|
+
</p>
|
471
519
|
|
472
520
|
|
473
521
|
</div>
|
@@ -477,13 +525,15 @@ to load on your client's machine.</p>
|
|
477
525
|
|
478
526
|
</div>
|
479
527
|
</dt>
|
480
|
-
<dd><pre class="code"><span class='
|
528
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing"</span>
|
529
|
+
</pre></dd>
|
481
530
|
|
482
531
|
<dt id="CHART_R-constant" class="">CHART_R =
|
483
532
|
<div class="docstring">
|
484
533
|
<div class="discussion">
|
485
|
-
|
486
|
-
|
534
|
+
<p>
|
535
|
+
chart rels namespace
|
536
|
+
</p>
|
487
537
|
|
488
538
|
|
489
539
|
</div>
|
@@ -493,13 +543,15 @@ to load on your client's machine.</p>
|
|
493
543
|
|
494
544
|
</div>
|
495
545
|
</dt>
|
496
|
-
<dd><pre class="code"><span class='
|
546
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"</span>
|
547
|
+
</pre></dd>
|
497
548
|
|
498
549
|
<dt id="IMAGE_R-constant" class="">IMAGE_R =
|
499
550
|
<div class="docstring">
|
500
551
|
<div class="discussion">
|
501
|
-
|
502
|
-
|
552
|
+
<p>
|
553
|
+
image rels namespace
|
554
|
+
</p>
|
503
555
|
|
504
556
|
|
505
557
|
</div>
|
@@ -509,13 +561,15 @@ to load on your client's machine.</p>
|
|
509
561
|
|
510
562
|
</div>
|
511
563
|
</dt>
|
512
|
-
<dd><pre class="code"><span class='
|
564
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"</span>
|
565
|
+
</pre></dd>
|
513
566
|
|
514
567
|
<dt id="TABLE_CT-constant" class="">TABLE_CT =
|
515
568
|
<div class="docstring">
|
516
569
|
<div class="discussion">
|
517
|
-
|
518
|
-
|
570
|
+
<p>
|
571
|
+
table content type
|
572
|
+
</p>
|
519
573
|
|
520
574
|
|
521
575
|
</div>
|
@@ -525,13 +579,15 @@ to load on your client's machine.</p>
|
|
525
579
|
|
526
580
|
</div>
|
527
581
|
</dt>
|
528
|
-
<dd><pre class="code"><span class='
|
582
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"</span>
|
583
|
+
</pre></dd>
|
529
584
|
|
530
585
|
<dt id="WORKBOOK_CT-constant" class="">WORKBOOK_CT =
|
531
586
|
<div class="docstring">
|
532
587
|
<div class="discussion">
|
533
|
-
|
534
|
-
|
588
|
+
<p>
|
589
|
+
workbook content type
|
590
|
+
</p>
|
535
591
|
|
536
592
|
|
537
593
|
</div>
|
@@ -541,13 +597,15 @@ to load on your client's machine.</p>
|
|
541
597
|
|
542
598
|
</div>
|
543
599
|
</dt>
|
544
|
-
<dd><pre class="code"><span class='
|
600
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"</span>
|
601
|
+
</pre></dd>
|
545
602
|
|
546
603
|
<dt id="APP_CT-constant" class="">APP_CT =
|
547
604
|
<div class="docstring">
|
548
605
|
<div class="discussion">
|
549
|
-
|
550
|
-
|
606
|
+
<p>
|
607
|
+
app content type
|
608
|
+
</p>
|
551
609
|
|
552
610
|
|
553
611
|
</div>
|
@@ -557,13 +615,15 @@ to load on your client's machine.</p>
|
|
557
615
|
|
558
616
|
</div>
|
559
617
|
</dt>
|
560
|
-
<dd><pre class="code"><span class='
|
618
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.extended-properties+xml"</span>
|
619
|
+
</pre></dd>
|
561
620
|
|
562
621
|
<dt id="RELS_CT-constant" class="">RELS_CT =
|
563
622
|
<div class="docstring">
|
564
623
|
<div class="discussion">
|
565
|
-
|
566
|
-
|
624
|
+
<p>
|
625
|
+
rels content type
|
626
|
+
</p>
|
567
627
|
|
568
628
|
|
569
629
|
</div>
|
@@ -573,13 +633,15 @@ to load on your client's machine.</p>
|
|
573
633
|
|
574
634
|
</div>
|
575
635
|
</dt>
|
576
|
-
<dd><pre class="code"><span class='
|
636
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-package.relationships+xml"</span>
|
637
|
+
</pre></dd>
|
577
638
|
|
578
639
|
<dt id="STYLES_CT-constant" class="">STYLES_CT =
|
579
640
|
<div class="docstring">
|
580
641
|
<div class="discussion">
|
581
|
-
|
582
|
-
|
642
|
+
<p>
|
643
|
+
styles content type
|
644
|
+
</p>
|
583
645
|
|
584
646
|
|
585
647
|
</div>
|
@@ -589,13 +651,15 @@ to load on your client's machine.</p>
|
|
589
651
|
|
590
652
|
</div>
|
591
653
|
</dt>
|
592
|
-
<dd><pre class="code"><span class='
|
654
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"</span>
|
655
|
+
</pre></dd>
|
593
656
|
|
594
657
|
<dt id="XML_CT-constant" class="">XML_CT =
|
595
658
|
<div class="docstring">
|
596
659
|
<div class="discussion">
|
597
|
-
|
598
|
-
|
660
|
+
<p>
|
661
|
+
xml content type
|
662
|
+
</p>
|
599
663
|
|
600
664
|
|
601
665
|
</div>
|
@@ -605,13 +669,15 @@ to load on your client's machine.</p>
|
|
605
669
|
|
606
670
|
</div>
|
607
671
|
</dt>
|
608
|
-
<dd><pre class="code"><span class='
|
672
|
+
<dd><pre class="code"><span class='string val'>"application/xml"</span>
|
673
|
+
</pre></dd>
|
609
674
|
|
610
675
|
<dt id="WORKSHEET_CT-constant" class="">WORKSHEET_CT =
|
611
676
|
<div class="docstring">
|
612
677
|
<div class="discussion">
|
613
|
-
|
614
|
-
|
678
|
+
<p>
|
679
|
+
worksheet content type
|
680
|
+
</p>
|
615
681
|
|
616
682
|
|
617
683
|
</div>
|
@@ -621,13 +687,15 @@ to load on your client's machine.</p>
|
|
621
687
|
|
622
688
|
</div>
|
623
689
|
</dt>
|
624
|
-
<dd><pre class="code"><span class='
|
690
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"</span>
|
691
|
+
</pre></dd>
|
625
692
|
|
626
693
|
<dt id="SHARED_STRINGS_CT-constant" class="">SHARED_STRINGS_CT =
|
627
694
|
<div class="docstring">
|
628
695
|
<div class="discussion">
|
629
|
-
|
630
|
-
|
696
|
+
<p>
|
697
|
+
shared strings content type
|
698
|
+
</p>
|
631
699
|
|
632
700
|
|
633
701
|
</div>
|
@@ -637,13 +705,15 @@ to load on your client's machine.</p>
|
|
637
705
|
|
638
706
|
</div>
|
639
707
|
</dt>
|
640
|
-
<dd><pre class="code"><span class='
|
708
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"</span>
|
709
|
+
</pre></dd>
|
641
710
|
|
642
711
|
<dt id="CORE_CT-constant" class="">CORE_CT =
|
643
712
|
<div class="docstring">
|
644
713
|
<div class="discussion">
|
645
|
-
|
646
|
-
|
714
|
+
<p>
|
715
|
+
core content type
|
716
|
+
</p>
|
647
717
|
|
648
718
|
|
649
719
|
</div>
|
@@ -653,13 +723,15 @@ to load on your client's machine.</p>
|
|
653
723
|
|
654
724
|
</div>
|
655
725
|
</dt>
|
656
|
-
<dd><pre class="code"><span class='
|
726
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-package.core-properties+xml"</span>
|
727
|
+
</pre></dd>
|
657
728
|
|
658
729
|
<dt id="CHART_CT-constant" class="">CHART_CT =
|
659
730
|
<div class="docstring">
|
660
731
|
<div class="discussion">
|
661
|
-
|
662
|
-
|
732
|
+
<p>
|
733
|
+
chart content type
|
734
|
+
</p>
|
663
735
|
|
664
736
|
|
665
737
|
</div>
|
@@ -669,13 +741,15 @@ to load on your client's machine.</p>
|
|
669
741
|
|
670
742
|
</div>
|
671
743
|
</dt>
|
672
|
-
<dd><pre class="code"><span class='
|
744
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.drawingml.chart+xml"</span>
|
745
|
+
</pre></dd>
|
673
746
|
|
674
747
|
<dt id="JPEG_CT-constant" class="">JPEG_CT =
|
675
748
|
<div class="docstring">
|
676
749
|
<div class="discussion">
|
677
|
-
|
678
|
-
|
750
|
+
<p>
|
751
|
+
jpeg content type
|
752
|
+
</p>
|
679
753
|
|
680
754
|
|
681
755
|
</div>
|
@@ -685,13 +759,15 @@ to load on your client's machine.</p>
|
|
685
759
|
|
686
760
|
</div>
|
687
761
|
</dt>
|
688
|
-
<dd><pre class="code"><span class='
|
762
|
+
<dd><pre class="code"><span class='string val'>"image/jpeg"</span>
|
763
|
+
</pre></dd>
|
689
764
|
|
690
765
|
<dt id="GIF_CT-constant" class="">GIF_CT =
|
691
766
|
<div class="docstring">
|
692
767
|
<div class="discussion">
|
693
|
-
|
694
|
-
|
768
|
+
<p>
|
769
|
+
gif content type
|
770
|
+
</p>
|
695
771
|
|
696
772
|
|
697
773
|
</div>
|
@@ -701,13 +777,15 @@ to load on your client's machine.</p>
|
|
701
777
|
|
702
778
|
</div>
|
703
779
|
</dt>
|
704
|
-
<dd><pre class="code"><span class='
|
780
|
+
<dd><pre class="code"><span class='string val'>"image/gif"</span>
|
781
|
+
</pre></dd>
|
705
782
|
|
706
783
|
<dt id="PNG_CT-constant" class="">PNG_CT =
|
707
784
|
<div class="docstring">
|
708
785
|
<div class="discussion">
|
709
|
-
|
710
|
-
|
786
|
+
<p>
|
787
|
+
png content type
|
788
|
+
</p>
|
711
789
|
|
712
790
|
|
713
791
|
</div>
|
@@ -717,13 +795,15 @@ to load on your client's machine.</p>
|
|
717
795
|
|
718
796
|
</div>
|
719
797
|
</dt>
|
720
|
-
<dd><pre class="code"><span class='
|
798
|
+
<dd><pre class="code"><span class='string val'>"image/png"</span>
|
799
|
+
</pre></dd>
|
721
800
|
|
722
801
|
<dt id="DRAWING_CT-constant" class="">DRAWING_CT =
|
723
802
|
<div class="docstring">
|
724
803
|
<div class="discussion">
|
725
|
-
|
726
|
-
|
804
|
+
<p>
|
805
|
+
drawing content type
|
806
|
+
</p>
|
727
807
|
|
728
808
|
|
729
809
|
</div>
|
@@ -733,13 +813,15 @@ to load on your client's machine.</p>
|
|
733
813
|
|
734
814
|
</div>
|
735
815
|
</dt>
|
736
|
-
<dd><pre class="code"><span class='
|
816
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.drawing+xml"</span>
|
817
|
+
</pre></dd>
|
737
818
|
|
738
819
|
<dt id="XML_EX-constant" class="">XML_EX =
|
739
820
|
<div class="docstring">
|
740
821
|
<div class="discussion">
|
741
|
-
|
742
|
-
|
822
|
+
<p>
|
823
|
+
xml content type extensions
|
824
|
+
</p>
|
743
825
|
|
744
826
|
|
745
827
|
</div>
|
@@ -749,13 +831,15 @@ to load on your client's machine.</p>
|
|
749
831
|
|
750
832
|
</div>
|
751
833
|
</dt>
|
752
|
-
<dd><pre class="code"><span class='
|
834
|
+
<dd><pre class="code"><span class='string val'>"xml"</span>
|
835
|
+
</pre></dd>
|
753
836
|
|
754
837
|
<dt id="JPEG_EX-constant" class="">JPEG_EX =
|
755
838
|
<div class="docstring">
|
756
839
|
<div class="discussion">
|
757
|
-
|
758
|
-
|
840
|
+
<p>
|
841
|
+
jpeg extension
|
842
|
+
</p>
|
759
843
|
|
760
844
|
|
761
845
|
</div>
|
@@ -765,13 +849,15 @@ to load on your client's machine.</p>
|
|
765
849
|
|
766
850
|
</div>
|
767
851
|
</dt>
|
768
|
-
<dd><pre class="code"><span class='
|
852
|
+
<dd><pre class="code"><span class='string val'>"jpeg"</span>
|
853
|
+
</pre></dd>
|
769
854
|
|
770
855
|
<dt id="GIF_EX-constant" class="">GIF_EX =
|
771
856
|
<div class="docstring">
|
772
857
|
<div class="discussion">
|
773
|
-
|
774
|
-
|
858
|
+
<p>
|
859
|
+
gif extension
|
860
|
+
</p>
|
775
861
|
|
776
862
|
|
777
863
|
</div>
|
@@ -781,13 +867,15 @@ to load on your client's machine.</p>
|
|
781
867
|
|
782
868
|
</div>
|
783
869
|
</dt>
|
784
|
-
<dd><pre class="code"><span class='
|
870
|
+
<dd><pre class="code"><span class='string val'>"gif"</span>
|
871
|
+
</pre></dd>
|
785
872
|
|
786
873
|
<dt id="PNG_EX-constant" class="">PNG_EX =
|
787
874
|
<div class="docstring">
|
788
875
|
<div class="discussion">
|
789
|
-
|
790
|
-
|
876
|
+
<p>
|
877
|
+
png extension
|
878
|
+
</p>
|
791
879
|
|
792
880
|
|
793
881
|
</div>
|
@@ -797,13 +885,15 @@ to load on your client's machine.</p>
|
|
797
885
|
|
798
886
|
</div>
|
799
887
|
</dt>
|
800
|
-
<dd><pre class="code"><span class='
|
888
|
+
<dd><pre class="code"><span class='string val'>"png"</span>
|
889
|
+
</pre></dd>
|
801
890
|
|
802
891
|
<dt id="RELS_EX-constant" class="">RELS_EX =
|
803
892
|
<div class="docstring">
|
804
893
|
<div class="discussion">
|
805
|
-
|
806
|
-
|
894
|
+
<p>
|
895
|
+
rels content type extension
|
896
|
+
</p>
|
807
897
|
|
808
898
|
|
809
899
|
</div>
|
@@ -813,13 +903,15 @@ to load on your client's machine.</p>
|
|
813
903
|
|
814
904
|
</div>
|
815
905
|
</dt>
|
816
|
-
<dd><pre class="code"><span class='
|
906
|
+
<dd><pre class="code"><span class='string val'>"rels"</span>
|
907
|
+
</pre></dd>
|
817
908
|
|
818
909
|
<dt id="WORKBOOK_PN-constant" class="">WORKBOOK_PN =
|
819
910
|
<div class="docstring">
|
820
911
|
<div class="discussion">
|
821
|
-
|
822
|
-
|
912
|
+
<p>
|
913
|
+
workbook part
|
914
|
+
</p>
|
823
915
|
|
824
916
|
|
825
917
|
</div>
|
@@ -829,13 +921,15 @@ to load on your client's machine.</p>
|
|
829
921
|
|
830
922
|
</div>
|
831
923
|
</dt>
|
832
|
-
<dd><pre class="code"><span class='
|
924
|
+
<dd><pre class="code"><span class='string val'>"xl/workbook.xml"</span>
|
925
|
+
</pre></dd>
|
833
926
|
|
834
927
|
<dt id="STYLES_PN-constant" class="">STYLES_PN =
|
835
928
|
<div class="docstring">
|
836
929
|
<div class="discussion">
|
837
|
-
|
838
|
-
|
930
|
+
<p>
|
931
|
+
styles part
|
932
|
+
</p>
|
839
933
|
|
840
934
|
|
841
935
|
</div>
|
@@ -845,13 +939,15 @@ to load on your client's machine.</p>
|
|
845
939
|
|
846
940
|
</div>
|
847
941
|
</dt>
|
848
|
-
<dd><pre class="code"><span class='
|
942
|
+
<dd><pre class="code"><span class='string val'>"styles.xml"</span>
|
943
|
+
</pre></dd>
|
849
944
|
|
850
945
|
<dt id="APP_PN-constant" class="">APP_PN =
|
851
946
|
<div class="docstring">
|
852
947
|
<div class="discussion">
|
853
|
-
|
854
|
-
|
948
|
+
<p>
|
949
|
+
app part
|
950
|
+
</p>
|
855
951
|
|
856
952
|
|
857
953
|
</div>
|
@@ -861,13 +957,15 @@ to load on your client's machine.</p>
|
|
861
957
|
|
862
958
|
</div>
|
863
959
|
</dt>
|
864
|
-
<dd><pre class="code"><span class='
|
960
|
+
<dd><pre class="code"><span class='string val'>"docProps/app.xml"</span>
|
961
|
+
</pre></dd>
|
865
962
|
|
866
963
|
<dt id="CORE_PN-constant" class="">CORE_PN =
|
867
964
|
<div class="docstring">
|
868
965
|
<div class="discussion">
|
869
|
-
|
870
|
-
|
966
|
+
<p>
|
967
|
+
core part
|
968
|
+
</p>
|
871
969
|
|
872
970
|
|
873
971
|
</div>
|
@@ -877,13 +975,15 @@ to load on your client's machine.</p>
|
|
877
975
|
|
878
976
|
</div>
|
879
977
|
</dt>
|
880
|
-
<dd><pre class="code"><span class='
|
978
|
+
<dd><pre class="code"><span class='string val'>"docProps/core.xml"</span>
|
979
|
+
</pre></dd>
|
881
980
|
|
882
981
|
<dt id="CONTENT_TYPES_PN-constant" class="">CONTENT_TYPES_PN =
|
883
982
|
<div class="docstring">
|
884
983
|
<div class="discussion">
|
885
|
-
|
886
|
-
|
984
|
+
<p>
|
985
|
+
content types part
|
986
|
+
</p>
|
887
987
|
|
888
988
|
|
889
989
|
</div>
|
@@ -893,13 +993,15 @@ to load on your client's machine.</p>
|
|
893
993
|
|
894
994
|
</div>
|
895
995
|
</dt>
|
896
|
-
<dd><pre class="code"><span class='
|
996
|
+
<dd><pre class="code"><span class='string val'>"[Content_Types].xml"</span>
|
997
|
+
</pre></dd>
|
897
998
|
|
898
999
|
<dt id="RELS_PN-constant" class="">RELS_PN =
|
899
1000
|
<div class="docstring">
|
900
1001
|
<div class="discussion">
|
901
|
-
|
902
|
-
|
1002
|
+
<p>
|
1003
|
+
rels part
|
1004
|
+
</p>
|
903
1005
|
|
904
1006
|
|
905
1007
|
</div>
|
@@ -909,13 +1011,15 @@ to load on your client's machine.</p>
|
|
909
1011
|
|
910
1012
|
</div>
|
911
1013
|
</dt>
|
912
|
-
<dd><pre class="code"><span class='
|
1014
|
+
<dd><pre class="code"><span class='string val'>"_rels/.rels"</span>
|
1015
|
+
</pre></dd>
|
913
1016
|
|
914
1017
|
<dt id="WORKBOOK_RELS_PN-constant" class="">WORKBOOK_RELS_PN =
|
915
1018
|
<div class="docstring">
|
916
1019
|
<div class="discussion">
|
917
|
-
|
918
|
-
|
1020
|
+
<p>
|
1021
|
+
workbook rels part
|
1022
|
+
</p>
|
919
1023
|
|
920
1024
|
|
921
1025
|
</div>
|
@@ -925,13 +1029,15 @@ to load on your client's machine.</p>
|
|
925
1029
|
|
926
1030
|
</div>
|
927
1031
|
</dt>
|
928
|
-
<dd><pre class="code"><span class='
|
1032
|
+
<dd><pre class="code"><span class='string val'>"xl/_rels/workbook.xml.rels"</span>
|
1033
|
+
</pre></dd>
|
929
1034
|
|
930
1035
|
<dt id="WORKSHEET_PN-constant" class="">WORKSHEET_PN =
|
931
1036
|
<div class="docstring">
|
932
1037
|
<div class="discussion">
|
933
|
-
|
934
|
-
|
1038
|
+
<p>
|
1039
|
+
worksheet part
|
1040
|
+
</p>
|
935
1041
|
|
936
1042
|
|
937
1043
|
</div>
|
@@ -941,13 +1047,15 @@ to load on your client's machine.</p>
|
|
941
1047
|
|
942
1048
|
</div>
|
943
1049
|
</dt>
|
944
|
-
<dd><pre class="code"><span class='
|
1050
|
+
<dd><pre class="code"><span class='string val'>"worksheets/sheet%d.xml"</span>
|
1051
|
+
</pre></dd>
|
945
1052
|
|
946
1053
|
<dt id="WORKSHEET_RELS_PN-constant" class="">WORKSHEET_RELS_PN =
|
947
1054
|
<div class="docstring">
|
948
1055
|
<div class="discussion">
|
949
|
-
|
950
|
-
|
1056
|
+
<p>
|
1057
|
+
worksheet rels part
|
1058
|
+
</p>
|
951
1059
|
|
952
1060
|
|
953
1061
|
</div>
|
@@ -957,13 +1065,15 @@ to load on your client's machine.</p>
|
|
957
1065
|
|
958
1066
|
</div>
|
959
1067
|
</dt>
|
960
|
-
<dd><pre class="code"><span class='
|
1068
|
+
<dd><pre class="code"><span class='string val'>"worksheets/_rels/sheet%d.xml.rels"</span>
|
1069
|
+
</pre></dd>
|
961
1070
|
|
962
1071
|
<dt id="DRAWING_PN-constant" class="">DRAWING_PN =
|
963
1072
|
<div class="docstring">
|
964
1073
|
<div class="discussion">
|
965
|
-
|
966
|
-
|
1074
|
+
<p>
|
1075
|
+
drawing part
|
1076
|
+
</p>
|
967
1077
|
|
968
1078
|
|
969
1079
|
</div>
|
@@ -973,13 +1083,15 @@ to load on your client's machine.</p>
|
|
973
1083
|
|
974
1084
|
</div>
|
975
1085
|
</dt>
|
976
|
-
<dd><pre class="code"><span class='
|
1086
|
+
<dd><pre class="code"><span class='string val'>"drawings/drawing%d.xml"</span>
|
1087
|
+
</pre></dd>
|
977
1088
|
|
978
1089
|
<dt id="DRAWING_RELS_PN-constant" class="">DRAWING_RELS_PN =
|
979
1090
|
<div class="docstring">
|
980
1091
|
<div class="discussion">
|
981
|
-
|
982
|
-
|
1092
|
+
<p>
|
1093
|
+
drawing rels part
|
1094
|
+
</p>
|
983
1095
|
|
984
1096
|
|
985
1097
|
</div>
|
@@ -989,13 +1101,15 @@ to load on your client's machine.</p>
|
|
989
1101
|
|
990
1102
|
</div>
|
991
1103
|
</dt>
|
992
|
-
<dd><pre class="code"><span class='
|
1104
|
+
<dd><pre class="code"><span class='string val'>"drawings/_rels/drawing%d.xml.rels"</span>
|
1105
|
+
</pre></dd>
|
993
1106
|
|
994
1107
|
<dt id="CHART_PN-constant" class="">CHART_PN =
|
995
1108
|
<div class="docstring">
|
996
1109
|
<div class="discussion">
|
997
|
-
|
998
|
-
|
1110
|
+
<p>
|
1111
|
+
chart part
|
1112
|
+
</p>
|
999
1113
|
|
1000
1114
|
|
1001
1115
|
</div>
|
@@ -1005,13 +1119,15 @@ to load on your client's machine.</p>
|
|
1005
1119
|
|
1006
1120
|
</div>
|
1007
1121
|
</dt>
|
1008
|
-
<dd><pre class="code"><span class='
|
1122
|
+
<dd><pre class="code"><span class='string val'>"charts/chart%d.xml"</span>
|
1123
|
+
</pre></dd>
|
1009
1124
|
|
1010
1125
|
<dt id="IMAGE_PN-constant" class="">IMAGE_PN =
|
1011
1126
|
<div class="docstring">
|
1012
1127
|
<div class="discussion">
|
1013
|
-
|
1014
|
-
|
1128
|
+
<p>
|
1129
|
+
chart part
|
1130
|
+
</p>
|
1015
1131
|
|
1016
1132
|
|
1017
1133
|
</div>
|
@@ -1021,13 +1137,15 @@ to load on your client's machine.</p>
|
|
1021
1137
|
|
1022
1138
|
</div>
|
1023
1139
|
</dt>
|
1024
|
-
<dd><pre class="code"><span class='
|
1140
|
+
<dd><pre class="code"><span class='string val'>"media/image%d.%s"</span>
|
1141
|
+
</pre></dd>
|
1025
1142
|
|
1026
1143
|
<dt id="APP_XSD-constant" class="">APP_XSD =
|
1027
1144
|
<div class="docstring">
|
1028
1145
|
<div class="discussion">
|
1029
|
-
|
1030
|
-
|
1146
|
+
<p>
|
1147
|
+
App validation schema
|
1148
|
+
</p>
|
1031
1149
|
|
1032
1150
|
|
1033
1151
|
</div>
|
@@ -1037,13 +1155,15 @@ to load on your client's machine.</p>
|
|
1037
1155
|
|
1038
1156
|
</div>
|
1039
1157
|
</dt>
|
1040
|
-
<dd><pre class="code"><span class='
|
1158
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/shared-documentPropertiesExtended.xsd"</span>
|
1159
|
+
</pre></dd>
|
1041
1160
|
|
1042
1161
|
<dt id="CORE_XSD-constant" class="">CORE_XSD =
|
1043
1162
|
<div class="docstring">
|
1044
1163
|
<div class="discussion">
|
1045
|
-
|
1046
|
-
|
1164
|
+
<p>
|
1165
|
+
core validation schema
|
1166
|
+
</p>
|
1047
1167
|
|
1048
1168
|
|
1049
1169
|
</div>
|
@@ -1053,13 +1173,15 @@ to load on your client's machine.</p>
|
|
1053
1173
|
|
1054
1174
|
</div>
|
1055
1175
|
</dt>
|
1056
|
-
<dd><pre class="code"><span class='
|
1176
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/opc-coreProperties.xsd"</span>
|
1177
|
+
</pre></dd>
|
1057
1178
|
|
1058
1179
|
<dt id="CONTENT_TYPES_XSD-constant" class="">CONTENT_TYPES_XSD =
|
1059
1180
|
<div class="docstring">
|
1060
1181
|
<div class="discussion">
|
1061
|
-
|
1062
|
-
|
1182
|
+
<p>
|
1183
|
+
content types validation schema
|
1184
|
+
</p>
|
1063
1185
|
|
1064
1186
|
|
1065
1187
|
</div>
|
@@ -1069,13 +1191,15 @@ to load on your client's machine.</p>
|
|
1069
1191
|
|
1070
1192
|
</div>
|
1071
1193
|
</dt>
|
1072
|
-
<dd><pre class="code"><span class='
|
1194
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/opc-contentTypes.xsd"</span>
|
1195
|
+
</pre></dd>
|
1073
1196
|
|
1074
1197
|
<dt id="RELS_XSD-constant" class="">RELS_XSD =
|
1075
1198
|
<div class="docstring">
|
1076
1199
|
<div class="discussion">
|
1077
|
-
|
1078
|
-
|
1200
|
+
<p>
|
1201
|
+
rels validation schema
|
1202
|
+
</p>
|
1079
1203
|
|
1080
1204
|
|
1081
1205
|
</div>
|
@@ -1085,13 +1209,15 @@ to load on your client's machine.</p>
|
|
1085
1209
|
|
1086
1210
|
</div>
|
1087
1211
|
</dt>
|
1088
|
-
<dd><pre class="code"><span class='
|
1212
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/opc-relationships.xsd"</span>
|
1213
|
+
</pre></dd>
|
1089
1214
|
|
1090
1215
|
<dt id="SML_XSD-constant" class="">SML_XSD =
|
1091
1216
|
<div class="docstring">
|
1092
1217
|
<div class="discussion">
|
1093
|
-
|
1094
|
-
|
1218
|
+
<p>
|
1219
|
+
spreadsheetML validation schema
|
1220
|
+
</p>
|
1095
1221
|
|
1096
1222
|
|
1097
1223
|
</div>
|
@@ -1101,13 +1227,15 @@ to load on your client's machine.</p>
|
|
1101
1227
|
|
1102
1228
|
</div>
|
1103
1229
|
</dt>
|
1104
|
-
<dd><pre class="code"><span class='
|
1230
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/sml.xsd"</span>
|
1231
|
+
</pre></dd>
|
1105
1232
|
|
1106
1233
|
<dt id="DRAWING_XSD-constant" class="">DRAWING_XSD =
|
1107
1234
|
<div class="docstring">
|
1108
1235
|
<div class="discussion">
|
1109
|
-
|
1110
|
-
|
1236
|
+
<p>
|
1237
|
+
drawing validation schema
|
1238
|
+
</p>
|
1111
1239
|
|
1112
1240
|
|
1113
1241
|
</div>
|
@@ -1117,13 +1245,15 @@ to load on your client's machine.</p>
|
|
1117
1245
|
|
1118
1246
|
</div>
|
1119
1247
|
</dt>
|
1120
|
-
<dd><pre class="code"><span class='
|
1248
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/dml-spreadsheetDrawing.xsd"</span>
|
1249
|
+
</pre></dd>
|
1121
1250
|
|
1122
1251
|
<dt id="NUM_FMT_PERCENT-constant" class="">NUM_FMT_PERCENT =
|
1123
1252
|
<div class="docstring">
|
1124
1253
|
<div class="discussion">
|
1125
|
-
|
1126
|
-
|
1254
|
+
<p>
|
1255
|
+
number format id for pecentage formatting using the default formatting id.
|
1256
|
+
</p>
|
1127
1257
|
|
1128
1258
|
|
1129
1259
|
</div>
|
@@ -1133,13 +1263,15 @@ to load on your client's machine.</p>
|
|
1133
1263
|
|
1134
1264
|
</div>
|
1135
1265
|
</dt>
|
1136
|
-
<dd><pre class="code"><span class='
|
1266
|
+
<dd><pre class="code"><span class='integer val'>9</span>
|
1267
|
+
</pre></dd>
|
1137
1268
|
|
1138
1269
|
<dt id="NUM_FMT_YYYYMMDD-constant" class="">NUM_FMT_YYYYMMDD =
|
1139
1270
|
<div class="docstring">
|
1140
1271
|
<div class="discussion">
|
1141
|
-
|
1142
|
-
|
1272
|
+
<p>
|
1273
|
+
number format id for date format like 2011/11/13
|
1274
|
+
</p>
|
1143
1275
|
|
1144
1276
|
|
1145
1277
|
</div>
|
@@ -1149,13 +1281,15 @@ to load on your client's machine.</p>
|
|
1149
1281
|
|
1150
1282
|
</div>
|
1151
1283
|
</dt>
|
1152
|
-
<dd><pre class="code"><span class='
|
1284
|
+
<dd><pre class="code"><span class='integer val'>100</span>
|
1285
|
+
</pre></dd>
|
1153
1286
|
|
1154
1287
|
<dt id="NUM_FMT_YYYYMMDDHHMMSS-constant" class="">NUM_FMT_YYYYMMDDHHMMSS =
|
1155
1288
|
<div class="docstring">
|
1156
1289
|
<div class="discussion">
|
1157
|
-
|
1158
|
-
|
1290
|
+
<p>
|
1291
|
+
number format id for time format the creates 2011/11/13 12:23:10
|
1292
|
+
</p>
|
1159
1293
|
|
1160
1294
|
|
1161
1295
|
</div>
|
@@ -1165,13 +1299,15 @@ to load on your client's machine.</p>
|
|
1165
1299
|
|
1166
1300
|
</div>
|
1167
1301
|
</dt>
|
1168
|
-
<dd><pre class="code"><span class='
|
1302
|
+
<dd><pre class="code"><span class='integer val'>101</span>
|
1303
|
+
</pre></dd>
|
1169
1304
|
|
1170
1305
|
<dt id="STYLE_THIN_BORDER-constant" class="">STYLE_THIN_BORDER =
|
1171
1306
|
<div class="docstring">
|
1172
1307
|
<div class="discussion">
|
1173
|
-
|
1174
|
-
|
1308
|
+
<p>
|
1309
|
+
cellXfs id for thin borders around the cell
|
1310
|
+
</p>
|
1175
1311
|
|
1176
1312
|
|
1177
1313
|
</div>
|
@@ -1181,13 +1317,15 @@ to load on your client's machine.</p>
|
|
1181
1317
|
|
1182
1318
|
</div>
|
1183
1319
|
</dt>
|
1184
|
-
<dd><pre class="code"><span class='
|
1320
|
+
<dd><pre class="code"><span class='integer val'>1</span>
|
1321
|
+
</pre></dd>
|
1185
1322
|
|
1186
1323
|
<dt id="ERR_RESTRICTION-constant" class="">ERR_RESTRICTION =
|
1187
1324
|
<div class="docstring">
|
1188
1325
|
<div class="discussion">
|
1189
|
-
|
1190
|
-
|
1326
|
+
<p>
|
1327
|
+
error messages RestrictionValidor
|
1328
|
+
</p>
|
1191
1329
|
|
1192
1330
|
|
1193
1331
|
</div>
|
@@ -1197,13 +1335,15 @@ to load on your client's machine.</p>
|
|
1197
1335
|
|
1198
1336
|
</div>
|
1199
1337
|
</dt>
|
1200
|
-
<dd><pre class="code"><span class='
|
1338
|
+
<dd><pre class="code"><span class='string val'>"Invalid Data: %s. %s must be one of %s."</span>
|
1339
|
+
</pre></dd>
|
1201
1340
|
|
1202
1341
|
<dt id="ERR_TYPE-constant" class="">ERR_TYPE =
|
1203
1342
|
<div class="docstring">
|
1204
1343
|
<div class="discussion">
|
1205
|
-
|
1206
|
-
|
1344
|
+
<p>
|
1345
|
+
error message DataTypeValidator
|
1346
|
+
</p>
|
1207
1347
|
|
1208
1348
|
|
1209
1349
|
</div>
|
@@ -1213,13 +1353,15 @@ to load on your client's machine.</p>
|
|
1213
1353
|
|
1214
1354
|
</div>
|
1215
1355
|
</dt>
|
1216
|
-
<dd><pre class="code"><span class='
|
1356
|
+
<dd><pre class="code"><span class='string val'>"Invalid Data %s for %s. must be %s."</span>
|
1357
|
+
</pre></dd>
|
1217
1358
|
|
1218
1359
|
<dt id="ERR_REGEX-constant" class="">ERR_REGEX =
|
1219
1360
|
<div class="docstring">
|
1220
1361
|
<div class="discussion">
|
1221
|
-
|
1222
|
-
|
1362
|
+
<p>
|
1363
|
+
error message for RegexValidator
|
1364
|
+
</p>
|
1223
1365
|
|
1224
1366
|
|
1225
1367
|
</div>
|
@@ -1229,7 +1371,8 @@ to load on your client's machine.</p>
|
|
1229
1371
|
|
1230
1372
|
</div>
|
1231
1373
|
</dt>
|
1232
|
-
<dd><pre class="code"><span class='
|
1374
|
+
<dd><pre class="code"><span class='string val'>"Invalid Data. %s does not match %s."</span>
|
1375
|
+
</pre></dd>
|
1233
1376
|
|
1234
1377
|
</dl>
|
1235
1378
|
|
@@ -1262,8 +1405,9 @@ to load on your client's machine.</p>
|
|
1262
1405
|
|
1263
1406
|
|
1264
1407
|
|
1265
|
-
<span class="summary_desc"><div class='inline'>
|
1266
|
-
|
1408
|
+
<span class="summary_desc"><div class='inline'><p>
|
1409
|
+
determines the cell range for the items provided.
|
1410
|
+
</p>
|
1267
1411
|
</div></span>
|
1268
1412
|
|
1269
1413
|
</li>
|
@@ -1285,9 +1429,10 @@ to load on your client's machine.</p>
|
|
1285
1429
|
|
1286
1430
|
|
1287
1431
|
|
1288
|
-
<span class="summary_desc"><div class='inline'>
|
1289
|
-
|
1290
|
-
xml document
|
1432
|
+
<span class="summary_desc"><div class='inline'><p>
|
1433
|
+
Requires that the value is a form that can be evaluated as a boolean in an
|
1434
|
+
xml document.
|
1435
|
+
</p>
|
1291
1436
|
</div></span>
|
1292
1437
|
|
1293
1438
|
</li>
|
@@ -1309,10 +1454,11 @@ xml document.</p>
|
|
1309
1454
|
|
1310
1455
|
|
1311
1456
|
|
1312
|
-
<span class="summary_desc"><div class='inline'>
|
1313
|
-
|
1457
|
+
<span class="summary_desc"><div class='inline'><p>
|
1458
|
+
Requires that the value is a valid content_type TABLE_CT, WORKBOOK_CT,
|
1314
1459
|
APP_CT, RELS_CT, STYLES_CT, XML_CT, WORKSHEET_CT, SHARED_STRINGS_CT,
|
1315
|
-
CORE_CT, CHART_CT, DRAWING_CT are allowed
|
1460
|
+
CORE_CT, CHART_CT, DRAWING_CT are allowed.
|
1461
|
+
</p>
|
1316
1462
|
</div></span>
|
1317
1463
|
|
1318
1464
|
</li>
|
@@ -1334,8 +1480,9 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed.</p>
|
|
1334
1480
|
|
1335
1481
|
|
1336
1482
|
|
1337
|
-
<span class="summary_desc"><div class='inline'>
|
1338
|
-
|
1483
|
+
<span class="summary_desc"><div class='inline'><p>
|
1484
|
+
Requires that the value is a Float.
|
1485
|
+
</p>
|
1339
1486
|
</div></span>
|
1340
1487
|
|
1341
1488
|
</li>
|
@@ -1357,8 +1504,9 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed.</p>
|
|
1357
1504
|
|
1358
1505
|
|
1359
1506
|
|
1360
|
-
<span class="summary_desc"><div class='inline'>
|
1361
|
-
|
1507
|
+
<span class="summary_desc"><div class='inline'><p>
|
1508
|
+
Requires that the value is a gradient_type.
|
1509
|
+
</p>
|
1362
1510
|
</div></span>
|
1363
1511
|
|
1364
1512
|
</li>
|
@@ -1380,10 +1528,11 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed.</p>
|
|
1380
1528
|
|
1381
1529
|
|
1382
1530
|
|
1383
|
-
<span class="summary_desc"><div class='inline'>
|
1384
|
-
|
1531
|
+
<span class="summary_desc"><div class='inline'><p>
|
1532
|
+
Requires that the value is a valid horizontal_alignment :general, :left,
|
1385
1533
|
:center, :right, :fill, :justify, :centerContinuous, :distributed are
|
1386
|
-
allowed
|
1534
|
+
allowed.
|
1535
|
+
</p>
|
1387
1536
|
</div></span>
|
1388
1537
|
|
1389
1538
|
</li>
|
@@ -1405,8 +1554,9 @@ allowed.</p>
|
|
1405
1554
|
|
1406
1555
|
|
1407
1556
|
|
1408
|
-
<span class="summary_desc"><div class='inline'>
|
1409
|
-
|
1557
|
+
<span class="summary_desc"><div class='inline'><p>
|
1558
|
+
Requires that the value is a Fixnum or Integer.
|
1559
|
+
</p>
|
1410
1560
|
</div></span>
|
1411
1561
|
|
1412
1562
|
</li>
|
@@ -1428,8 +1578,9 @@ allowed.</p>
|
|
1428
1578
|
|
1429
1579
|
|
1430
1580
|
|
1431
|
-
<span class="summary_desc"><div class='inline'>
|
1432
|
-
|
1581
|
+
<span class="summary_desc"><div class='inline'><p>
|
1582
|
+
Requires that the value is valid pattern type.
|
1583
|
+
</p>
|
1433
1584
|
</div></span>
|
1434
1585
|
|
1435
1586
|
</li>
|
@@ -1451,10 +1602,11 @@ allowed.</p>
|
|
1451
1602
|
|
1452
1603
|
|
1453
1604
|
|
1454
|
-
<span class="summary_desc"><div class='inline'>
|
1455
|
-
|
1605
|
+
<span class="summary_desc"><div class='inline'><p>
|
1606
|
+
Requires that the value is a valid relationship_type XML_NS_R, TABLE_R,
|
1456
1607
|
WORKBOOK_R, WORKSHEET_R, APP_R, RELS_R, CORE_R, STYLES_R, CHART_R,
|
1457
|
-
DRAWING_R are allowed
|
1608
|
+
DRAWING_R are allowed.
|
1609
|
+
</p>
|
1458
1610
|
</div></span>
|
1459
1611
|
|
1460
1612
|
</li>
|
@@ -1476,8 +1628,9 @@ DRAWING_R are allowed.</p>
|
|
1476
1628
|
|
1477
1629
|
|
1478
1630
|
|
1479
|
-
<span class="summary_desc"><div class='inline'>
|
1480
|
-
|
1631
|
+
<span class="summary_desc"><div class='inline'><p>
|
1632
|
+
Requires that the value is a String.
|
1633
|
+
</p>
|
1481
1634
|
</div></span>
|
1482
1635
|
|
1483
1636
|
</li>
|
@@ -1499,8 +1652,8 @@ DRAWING_R are allowed.</p>
|
|
1499
1652
|
|
1500
1653
|
|
1501
1654
|
|
1502
|
-
<span class="summary_desc"><div class='inline'>
|
1503
|
-
|
1655
|
+
<span class="summary_desc"><div class='inline'><p>
|
1656
|
+
Requires that the value is a valid table element type :wholeTable,
|
1504
1657
|
:headerRow, :totalRow, :firstColumn, :lastColumn, :firstRowStripe,
|
1505
1658
|
:secondRowStripe, :firstColumnStripe, :secondColumnStripe,
|
1506
1659
|
:firstHeaderCell, :lastHeaderCell, :firstTotalCell, :lastTotalCell,
|
@@ -1508,7 +1661,8 @@ DRAWING_R are allowed.</p>
|
|
1508
1661
|
:firstSubtotalRow, :secondSubtotalRow, :thirdSubtotalRow, :blankRow,
|
1509
1662
|
:firstColumnSubheading, :secondColumnSubheading, :thirdColumnSubheading,
|
1510
1663
|
:firstRowSubheading, :secondRowSubheading, :thirdRowSubheading,
|
1511
|
-
:pageFieldLabels, :pageFieldValues are allowed
|
1664
|
+
:pageFieldLabels, :pageFieldValues are allowed.
|
1665
|
+
</p>
|
1512
1666
|
</div></span>
|
1513
1667
|
|
1514
1668
|
</li>
|
@@ -1530,9 +1684,10 @@ DRAWING_R are allowed.</p>
|
|
1530
1684
|
|
1531
1685
|
|
1532
1686
|
|
1533
|
-
<span class="summary_desc"><div class='inline'>
|
1534
|
-
|
1535
|
-
0
|
1687
|
+
<span class="summary_desc"><div class='inline'><p>
|
1688
|
+
Requires that the value is a Fixnum or Integer and is greater or equal to
|
1689
|
+
0.
|
1690
|
+
</p>
|
1536
1691
|
</div></span>
|
1537
1692
|
|
1538
1693
|
</li>
|
@@ -1554,9 +1709,10 @@ DRAWING_R are allowed.</p>
|
|
1554
1709
|
|
1555
1710
|
|
1556
1711
|
|
1557
|
-
<span class="summary_desc"><div class='inline'>
|
1558
|
-
|
1559
|
-
:bottom, :justify, :distributed are allowed
|
1712
|
+
<span class="summary_desc"><div class='inline'><p>
|
1713
|
+
Requires that the value is a valid vertical_alignment :top, :center,
|
1714
|
+
:bottom, :justify, :distributed are allowed.
|
1715
|
+
</p>
|
1560
1716
|
</div></span>
|
1561
1717
|
|
1562
1718
|
</li>
|
@@ -1580,8 +1736,9 @@ DRAWING_R are allowed.</p>
|
|
1580
1736
|
|
1581
1737
|
</p><div class="docstring">
|
1582
1738
|
<div class="discussion">
|
1583
|
-
|
1584
|
-
|
1739
|
+
<p>
|
1740
|
+
determines the cell range for the items provided
|
1741
|
+
</p>
|
1585
1742
|
|
1586
1743
|
|
1587
1744
|
</div>
|
@@ -1595,24 +1752,25 @@ DRAWING_R are allowed.</p>
|
|
1595
1752
|
<pre class="lines">
|
1596
1753
|
|
1597
1754
|
|
1598
|
-
36
|
1599
1755
|
37
|
1600
1756
|
38
|
1601
1757
|
39
|
1602
1758
|
40
|
1603
1759
|
41
|
1604
|
-
42
|
1760
|
+
42
|
1761
|
+
43</pre>
|
1605
1762
|
</td>
|
1606
1763
|
<td>
|
1607
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx.rb', line
|
1608
|
-
|
1609
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
1610
|
-
<span class='kw'>return</span> <span class='
|
1611
|
-
<span class='id
|
1612
|
-
<span class='
|
1613
|
-
<span class='id
|
1614
|
-
<span class='id
|
1615
|
-
<span class='kw'>end</span
|
1764
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx.rb', line 37</span>
|
1765
|
+
|
1766
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='cell_range identifier id'>cell_range</span><span class='lparen token'>(</span><span class='items identifier id'>items</span><span class='rparen token'>)</span>
|
1767
|
+
<span class='return return kw'>return</span> <span class='string val'>""</span> <span class='unless unless_mod kw'>unless</span> <span class='items identifier id'>items</span><span class='dot token'>.</span><span class='first identifier id'>first</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span> <span class='Cell constant id'>Cell</span>
|
1768
|
+
<span class='ref identifier id'>ref</span> <span class='assign token'>=</span> <span class='dstring node'>"#{items.first.row.worksheet.name}!"</span> <span class='plus op'>+</span>
|
1769
|
+
<span class='dstring node'>"#{items.first.r_abs}"</span>
|
1770
|
+
<span class='ref identifier id'>ref</span> <span class='opasgn op'>+=</span> <span class='dstring node'>":#{items.last.r_abs}"</span> <span class='if if_mod kw'>if</span> <span class='items identifier id'>items</span><span class='dot token'>.</span><span class='size identifier id'>size</span> <span class='gt op'>></span> <span class='integer val'>1</span>
|
1771
|
+
<span class='ref identifier id'>ref</span>
|
1772
|
+
<span class='end end kw'>end</span>
|
1773
|
+
</pre>
|
1616
1774
|
</td>
|
1617
1775
|
</tr>
|
1618
1776
|
</table>
|
@@ -1627,11 +1785,13 @@ DRAWING_R are allowed.</p>
|
|
1627
1785
|
|
1628
1786
|
</p><div class="docstring">
|
1629
1787
|
<div class="discussion">
|
1630
|
-
|
1631
|
-
|
1788
|
+
<p>
|
1789
|
+
Requires that the value is a form that can be evaluated as a boolean in an
|
1632
1790
|
xml document. The value must be an instance of Fixnum, String, Integer,
|
1633
|
-
Symbol, TrueClass or FalseClass and
|
1634
|
-
|
1791
|
+
Symbol, TrueClass or FalseClass and it must be one of 0, 1,
|
1792
|
+
"true", "false", :true, :false, true, false,
|
1793
|
+
"0", or "1"
|
1794
|
+
</p>
|
1635
1795
|
|
1636
1796
|
|
1637
1797
|
</div>
|
@@ -1650,8 +1810,9 @@ Symbol, TrueClass or FalseClass and it must be one of 0, 1, "true",
|
|
1650
1810
|
|
1651
1811
|
|
1652
1812
|
—
|
1653
|
-
<div class='inline'>
|
1654
|
-
|
1813
|
+
<div class='inline'><p>
|
1814
|
+
The value validated
|
1815
|
+
</p>
|
1655
1816
|
</div>
|
1656
1817
|
|
1657
1818
|
</li>
|
@@ -1672,9 +1833,10 @@ Symbol, TrueClass or FalseClass and it must be one of 0, 1, "true",
|
|
1672
1833
|
<td>
|
1673
1834
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 65</span>
|
1674
1835
|
|
1675
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
1676
|
-
<span class='
|
1677
|
-
<span class='kw'>end</span
|
1836
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_boolean identifier id'>validate_boolean</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
1837
|
+
<span class='DataTypeValidator constant id'>DataTypeValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span><span class='lparen token'>(</span><span class='symbol val'>:boolean</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='Fixnum constant id'>Fixnum</span><span class='comma token'>,</span> <span class='String constant id'>String</span><span class='comma token'>,</span> <span class='Integer constant id'>Integer</span><span class='comma token'>,</span> <span class='Symbol constant id'>Symbol</span><span class='comma token'>,</span> <span class='TrueClass constant id'>TrueClass</span><span class='comma token'>,</span> <span class='FalseClass constant id'>FalseClass</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='comma token'>,</span> <span class='lambda identifier id'>lambda</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='arg identifier id'>arg</span><span class='bitor op'>|</span> <span class='lbrack token'>[</span><span class='integer val'>0</span><span class='comma token'>,</span> <span class='integer val'>1</span><span class='comma token'>,</span> <span class='string val'>"true"</span><span class='comma token'>,</span> <span class='string val'>"false"</span><span class='comma token'>,</span> <span class='symbol val'>:true</span><span class='comma token'>,</span> <span class='symbol val'>:false</span><span class='comma token'>,</span> <span class='true true kw'>true</span><span class='comma token'>,</span> <span class='false false kw'>false</span><span class='comma token'>,</span> <span class='string val'>"0"</span><span class='comma token'>,</span> <span class='string val'>"1"</span><span class='rbrack token'>]</span><span class='dot token'>.</span><span class='include? fid id'>include?</span><span class='lparen token'>(</span><span class='arg identifier id'>arg</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
1838
|
+
<span class='end end kw'>end</span>
|
1839
|
+
</pre>
|
1678
1840
|
</td>
|
1679
1841
|
</tr>
|
1680
1842
|
</table>
|
@@ -1689,10 +1851,11 @@ Symbol, TrueClass or FalseClass and it must be one of 0, 1, "true",
|
|
1689
1851
|
|
1690
1852
|
</p><div class="docstring">
|
1691
1853
|
<div class="discussion">
|
1692
|
-
|
1693
|
-
|
1854
|
+
<p>
|
1855
|
+
Requires that the value is a valid content_type TABLE_CT, WORKBOOK_CT,
|
1694
1856
|
APP_CT, RELS_CT, STYLES_CT, XML_CT, WORKSHEET_CT, SHARED_STRINGS_CT,
|
1695
|
-
CORE_CT, CHART_CT, DRAWING_CT are allowed
|
1857
|
+
CORE_CT, CHART_CT, DRAWING_CT are allowed
|
1858
|
+
</p>
|
1696
1859
|
|
1697
1860
|
|
1698
1861
|
</div>
|
@@ -1711,8 +1874,9 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed</p>
|
|
1711
1874
|
|
1712
1875
|
|
1713
1876
|
—
|
1714
|
-
<div class='inline'>
|
1715
|
-
|
1877
|
+
<div class='inline'><p>
|
1878
|
+
The value validated
|
1879
|
+
</p>
|
1716
1880
|
</div>
|
1717
1881
|
|
1718
1882
|
</li>
|
@@ -1733,9 +1897,10 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed</p>
|
|
1733
1897
|
<td>
|
1734
1898
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 114</span>
|
1735
1899
|
|
1736
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
1737
|
-
<span class='
|
1738
|
-
<span class='kw'>end</span
|
1900
|
+
<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>
|
1901
|
+
<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>
|
1902
|
+
<span class='end end kw'>end</span>
|
1903
|
+
</pre>
|
1739
1904
|
</td>
|
1740
1905
|
</tr>
|
1741
1906
|
</table>
|
@@ -1750,8 +1915,9 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed</p>
|
|
1750
1915
|
|
1751
1916
|
</p><div class="docstring">
|
1752
1917
|
<div class="discussion">
|
1753
|
-
|
1754
|
-
|
1918
|
+
<p>
|
1919
|
+
Requires that the value is a Float
|
1920
|
+
</p>
|
1755
1921
|
|
1756
1922
|
|
1757
1923
|
</div>
|
@@ -1770,8 +1936,9 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed</p>
|
|
1770
1936
|
|
1771
1937
|
|
1772
1938
|
—
|
1773
|
-
<div class='inline'>
|
1774
|
-
|
1939
|
+
<div class='inline'><p>
|
1940
|
+
The value validated
|
1941
|
+
</p>
|
1775
1942
|
</div>
|
1776
1943
|
|
1777
1944
|
</li>
|
@@ -1792,9 +1959,10 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed</p>
|
|
1792
1959
|
<td>
|
1793
1960
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 77</span>
|
1794
1961
|
|
1795
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
1796
|
-
<span class='
|
1797
|
-
<span class='kw'>end</span
|
1962
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_float identifier id'>validate_float</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
1963
|
+
<span class='DataTypeValidator constant id'>DataTypeValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:float</span><span class='comma token'>,</span> <span class='Float constant id'>Float</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
|
1964
|
+
<span class='end end kw'>end</span>
|
1965
|
+
</pre>
|
1798
1966
|
</td>
|
1799
1967
|
</tr>
|
1800
1968
|
</table>
|
@@ -1809,9 +1977,10 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed</p>
|
|
1809
1977
|
|
1810
1978
|
</p><div class="docstring">
|
1811
1979
|
<div class="discussion">
|
1812
|
-
|
1813
|
-
|
1814
|
-
:path
|
1980
|
+
<p>
|
1981
|
+
Requires that the value is a gradient_type. valid types are :linear and
|
1982
|
+
:path
|
1983
|
+
</p>
|
1815
1984
|
|
1816
1985
|
|
1817
1986
|
</div>
|
@@ -1830,8 +1999,9 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed</p>
|
|
1830
1999
|
|
1831
2000
|
|
1832
2001
|
—
|
1833
|
-
<div class='inline'>
|
1834
|
-
|
2002
|
+
<div class='inline'><p>
|
2003
|
+
The value validated
|
2004
|
+
</p>
|
1835
2005
|
</div>
|
1836
2006
|
|
1837
2007
|
</li>
|
@@ -1852,9 +2022,10 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed</p>
|
|
1852
2022
|
<td>
|
1853
2023
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 93</span>
|
1854
2024
|
|
1855
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
1856
|
-
<span class='
|
1857
|
-
<span class='kw'>end</span
|
2025
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_gradient_type identifier id'>validate_gradient_type</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
2026
|
+
<span class='RestrictionValidator constant id'>RestrictionValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:gradient_type</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='symbol val'>:linear</span><span class='comma token'>,</span> <span class='symbol val'>:path</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
|
2027
|
+
<span class='end end kw'>end</span>
|
2028
|
+
</pre>
|
1858
2029
|
</td>
|
1859
2030
|
</tr>
|
1860
2031
|
</table>
|
@@ -1869,10 +2040,11 @@ CORE_CT, CHART_CT, DRAWING_CT are allowed</p>
|
|
1869
2040
|
|
1870
2041
|
</p><div class="docstring">
|
1871
2042
|
<div class="discussion">
|
1872
|
-
|
1873
|
-
|
2043
|
+
<p>
|
2044
|
+
Requires that the value is a valid horizontal_alignment :general, :left,
|
1874
2045
|
:center, :right, :fill, :justify, :centerContinuous, :distributed are
|
1875
|
-
allowed
|
2046
|
+
allowed
|
2047
|
+
</p>
|
1876
2048
|
|
1877
2049
|
|
1878
2050
|
</div>
|
@@ -1891,8 +2063,9 @@ allowed</p>
|
|
1891
2063
|
|
1892
2064
|
|
1893
2065
|
—
|
1894
|
-
<div class='inline'>
|
1895
|
-
|
2066
|
+
<div class='inline'><p>
|
2067
|
+
The value validated
|
2068
|
+
</p>
|
1896
2069
|
</div>
|
1897
2070
|
|
1898
2071
|
</li>
|
@@ -1913,9 +2086,10 @@ allowed</p>
|
|
1913
2086
|
<td>
|
1914
2087
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 100</span>
|
1915
2088
|
|
1916
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
1917
|
-
<span class='
|
1918
|
-
<span class='kw'>end</span
|
2089
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_horizontal_alignment identifier id'>validate_horizontal_alignment</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
2090
|
+
<span class='RestrictionValidator constant id'>RestrictionValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:horizontal_alignment</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='symbol val'>:general</span><span class='comma token'>,</span> <span class='symbol val'>:left</span><span class='comma token'>,</span> <span class='symbol val'>:center</span><span class='comma token'>,</span> <span class='symbol val'>:right</span><span class='comma token'>,</span> <span class='symbol val'>:fill</span><span class='comma token'>,</span> <span class='symbol val'>:justify</span><span class='comma token'>,</span> <span class='symbol val'>:centerContinuous</span><span class='comma token'>,</span> <span class='symbol val'>:distributed</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
|
2091
|
+
<span class='end end kw'>end</span>
|
2092
|
+
</pre>
|
1919
2093
|
</td>
|
1920
2094
|
</tr>
|
1921
2095
|
</table>
|
@@ -1930,8 +2104,9 @@ allowed</p>
|
|
1930
2104
|
|
1931
2105
|
</p><div class="docstring">
|
1932
2106
|
<div class="discussion">
|
1933
|
-
|
1934
|
-
|
2107
|
+
<p>
|
2108
|
+
Requires that the value is a Fixnum or Integer
|
2109
|
+
</p>
|
1935
2110
|
|
1936
2111
|
|
1937
2112
|
</div>
|
@@ -1950,8 +2125,9 @@ allowed</p>
|
|
1950
2125
|
|
1951
2126
|
|
1952
2127
|
—
|
1953
|
-
<div class='inline'>
|
1954
|
-
|
2128
|
+
<div class='inline'><p>
|
2129
|
+
The value validated
|
2130
|
+
</p>
|
1955
2131
|
</div>
|
1956
2132
|
|
1957
2133
|
</li>
|
@@ -1972,9 +2148,10 @@ allowed</p>
|
|
1972
2148
|
<td>
|
1973
2149
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 57</span>
|
1974
2150
|
|
1975
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
1976
|
-
<span class='
|
1977
|
-
<span class='kw'>end</span
|
2151
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_int identifier id'>validate_int</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
2152
|
+
<span class='DataTypeValidator constant id'>DataTypeValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:unsigned_int</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='Fixnum constant id'>Fixnum</span><span class='comma token'>,</span> <span class='Integer constant id'>Integer</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
|
2153
|
+
<span class='end end kw'>end</span>
|
2154
|
+
</pre>
|
1978
2155
|
</td>
|
1979
2156
|
</tr>
|
1980
2157
|
</table>
|
@@ -1989,12 +2166,13 @@ allowed</p>
|
|
1989
2166
|
|
1990
2167
|
</p><div class="docstring">
|
1991
2168
|
<div class="discussion">
|
1992
|
-
|
1993
|
-
|
2169
|
+
<p>
|
2170
|
+
Requires that the value is valid pattern type. valid pattern types must be
|
1994
2171
|
one of :none, :solid, :mediumGray, :darkGray, :lightGray, :darkHorizontal,
|
1995
2172
|
:darkVertical, :darkDown, :darkUp, :darkGrid, :darkTrellis,
|
1996
2173
|
:lightHorizontal, :lightVertical, :lightDown, :lightUp, :lightGrid,
|
1997
|
-
:lightTrellis, :gray125, or :gray0625
|
2174
|
+
:lightTrellis, :gray125, or :gray0625.
|
2175
|
+
</p>
|
1998
2176
|
|
1999
2177
|
|
2000
2178
|
</div>
|
@@ -2013,8 +2191,9 @@ one of :none, :solid, :mediumGray, :darkGray, :lightGray, :darkHorizontal,
|
|
2013
2191
|
|
2014
2192
|
|
2015
2193
|
—
|
2016
|
-
<div class='inline'>
|
2017
|
-
|
2194
|
+
<div class='inline'><p>
|
2195
|
+
The value validated
|
2196
|
+
</p>
|
2018
2197
|
</div>
|
2019
2198
|
|
2020
2199
|
</li>
|
@@ -2036,10 +2215,11 @@ one of :none, :solid, :mediumGray, :darkGray, :lightGray, :darkHorizontal,
|
|
2036
2215
|
<td>
|
2037
2216
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 85</span>
|
2038
2217
|
|
2039
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
2040
|
-
<span class='
|
2041
|
-
<span class='symbol'>:darkTrellis</span><span class='comma'>,</span> <span class='symbol'>:lightHorizontal</span><span class='comma'>,</span> <span class='symbol'>:lightVertical</span><span class='comma'>,</span> <span class='symbol'>:lightDown</span><span class='comma'>,</span> <span class='symbol'>:lightUp</span><span class='comma'>,</span> <span class='symbol'>:lightGrid</span><span class='comma'>,</span> <span class='symbol'>:lightTrellis</span><span class='comma'>,</span> <span class='symbol'>:gray125</span><span class='comma'>,</span> <span class='symbol'>:gray0625</span><span class='
|
2042
|
-
<span class='kw'>end</span
|
2218
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_pattern_type identifier id'>validate_pattern_type</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
2219
|
+
<span class='RestrictionValidator constant id'>RestrictionValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:pattern_type</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='symbol val'>:none</span><span class='comma token'>,</span> <span class='symbol val'>:solid</span><span class='comma token'>,</span> <span class='symbol val'>:mediumGray</span><span class='comma token'>,</span> <span class='symbol val'>:darkGray</span><span class='comma token'>,</span> <span class='symbol val'>:lightGray</span><span class='comma token'>,</span> <span class='symbol val'>:darkHorizontal</span><span class='comma token'>,</span> <span class='symbol val'>:darkVertical</span><span class='comma token'>,</span> <span class='symbol val'>:darkDown</span><span class='comma token'>,</span> <span class='symbol val'>:darkUp</span><span class='comma token'>,</span> <span class='symbol val'>:darkGrid</span><span class='comma token'>,</span>
|
2220
|
+
<span class='symbol val'>:darkTrellis</span><span class='comma token'>,</span> <span class='symbol val'>:lightHorizontal</span><span class='comma token'>,</span> <span class='symbol val'>:lightVertical</span><span class='comma token'>,</span> <span class='symbol val'>:lightDown</span><span class='comma token'>,</span> <span class='symbol val'>:lightUp</span><span class='comma token'>,</span> <span class='symbol val'>:lightGrid</span><span class='comma token'>,</span> <span class='symbol val'>:lightTrellis</span><span class='comma token'>,</span> <span class='symbol val'>:gray125</span><span class='comma token'>,</span> <span class='symbol val'>:gray0625</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
|
2221
|
+
<span class='end end kw'>end</span>
|
2222
|
+
</pre>
|
2043
2223
|
</td>
|
2044
2224
|
</tr>
|
2045
2225
|
</table>
|
@@ -2054,10 +2234,11 @@ one of :none, :solid, :mediumGray, :darkGray, :lightGray, :darkHorizontal,
|
|
2054
2234
|
|
2055
2235
|
</p><div class="docstring">
|
2056
2236
|
<div class="discussion">
|
2057
|
-
|
2058
|
-
|
2237
|
+
<p>
|
2238
|
+
Requires that the value is a valid relationship_type XML_NS_R, TABLE_R,
|
2059
2239
|
WORKBOOK_R, WORKSHEET_R, APP_R, RELS_R, CORE_R, STYLES_R, CHART_R,
|
2060
|
-
DRAWING_R are allowed
|
2240
|
+
DRAWING_R are allowed
|
2241
|
+
</p>
|
2061
2242
|
|
2062
2243
|
|
2063
2244
|
</div>
|
@@ -2076,8 +2257,9 @@ DRAWING_R are allowed</p>
|
|
2076
2257
|
|
2077
2258
|
|
2078
2259
|
—
|
2079
|
-
<div class='inline'>
|
2080
|
-
|
2260
|
+
<div class='inline'><p>
|
2261
|
+
The value validated
|
2262
|
+
</p>
|
2081
2263
|
</div>
|
2082
2264
|
|
2083
2265
|
</li>
|
@@ -2098,9 +2280,10 @@ DRAWING_R are allowed</p>
|
|
2098
2280
|
<td>
|
2099
2281
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 121</span>
|
2100
2282
|
|
2101
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
2102
|
-
<span class='
|
2103
|
-
<span class='kw'>end</span
|
2283
|
+
<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>
|
2284
|
+
<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>
|
2285
|
+
<span class='end end kw'>end</span>
|
2286
|
+
</pre>
|
2104
2287
|
</td>
|
2105
2288
|
</tr>
|
2106
2289
|
</table>
|
@@ -2115,8 +2298,9 @@ DRAWING_R are allowed</p>
|
|
2115
2298
|
|
2116
2299
|
</p><div class="docstring">
|
2117
2300
|
<div class="discussion">
|
2118
|
-
|
2119
|
-
|
2301
|
+
<p>
|
2302
|
+
Requires that the value is a String
|
2303
|
+
</p>
|
2120
2304
|
|
2121
2305
|
|
2122
2306
|
</div>
|
@@ -2135,8 +2319,9 @@ DRAWING_R are allowed</p>
|
|
2135
2319
|
|
2136
2320
|
|
2137
2321
|
—
|
2138
|
-
<div class='inline'>
|
2139
|
-
|
2322
|
+
<div class='inline'><p>
|
2323
|
+
The value validated
|
2324
|
+
</p>
|
2140
2325
|
</div>
|
2141
2326
|
|
2142
2327
|
</li>
|
@@ -2157,9 +2342,10 @@ DRAWING_R are allowed</p>
|
|
2157
2342
|
<td>
|
2158
2343
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 71</span>
|
2159
2344
|
|
2160
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
2161
|
-
<span class='
|
2162
|
-
<span class='kw'>end</span
|
2345
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_string identifier id'>validate_string</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
2346
|
+
<span class='DataTypeValidator constant id'>DataTypeValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:string</span><span class='comma token'>,</span> <span class='String constant id'>String</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
|
2347
|
+
<span class='end end kw'>end</span>
|
2348
|
+
</pre>
|
2163
2349
|
</td>
|
2164
2350
|
</tr>
|
2165
2351
|
</table>
|
@@ -2174,8 +2360,8 @@ DRAWING_R are allowed</p>
|
|
2174
2360
|
|
2175
2361
|
</p><div class="docstring">
|
2176
2362
|
<div class="discussion">
|
2177
|
-
|
2178
|
-
|
2363
|
+
<p>
|
2364
|
+
Requires that the value is a valid table element type :wholeTable,
|
2179
2365
|
:headerRow, :totalRow, :firstColumn, :lastColumn, :firstRowStripe,
|
2180
2366
|
:secondRowStripe, :firstColumnStripe, :secondColumnStripe,
|
2181
2367
|
:firstHeaderCell, :lastHeaderCell, :firstTotalCell, :lastTotalCell,
|
@@ -2183,7 +2369,8 @@ DRAWING_R are allowed</p>
|
|
2183
2369
|
:firstSubtotalRow, :secondSubtotalRow, :thirdSubtotalRow, :blankRow,
|
2184
2370
|
:firstColumnSubheading, :secondColumnSubheading, :thirdColumnSubheading,
|
2185
2371
|
:firstRowSubheading, :secondRowSubheading, :thirdRowSubheading,
|
2186
|
-
:pageFieldLabels, :pageFieldValues are allowed
|
2372
|
+
:pageFieldLabels, :pageFieldValues are allowed
|
2373
|
+
</p>
|
2187
2374
|
|
2188
2375
|
|
2189
2376
|
</div>
|
@@ -2202,8 +2389,9 @@ DRAWING_R are allowed</p>
|
|
2202
2389
|
|
2203
2390
|
|
2204
2391
|
—
|
2205
|
-
<div class='inline'>
|
2206
|
-
|
2392
|
+
<div class='inline'><p>
|
2393
|
+
The value validated
|
2394
|
+
</p>
|
2207
2395
|
</div>
|
2208
2396
|
|
2209
2397
|
</li>
|
@@ -2224,9 +2412,10 @@ DRAWING_R are allowed</p>
|
|
2224
2412
|
<td>
|
2225
2413
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 128</span>
|
2226
2414
|
|
2227
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
2228
|
-
<span class='
|
2229
|
-
<span class='kw'>end</span
|
2415
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_table_element_type identifier id'>validate_table_element_type</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
2416
|
+
<span class='RestrictionValidator constant id'>RestrictionValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:table_element_type</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='symbol val'>:wholeTable</span><span class='comma token'>,</span> <span class='symbol val'>:headerRow</span><span class='comma token'>,</span> <span class='symbol val'>:totalRow</span><span class='comma token'>,</span> <span class='symbol val'>:firstColumn</span><span class='comma token'>,</span> <span class='symbol val'>:lastColumn</span><span class='comma token'>,</span> <span class='symbol val'>:firstRowStripe</span><span class='comma token'>,</span> <span class='symbol val'>:secondRowStripe</span><span class='comma token'>,</span> <span class='symbol val'>:firstColumnStripe</span><span class='comma token'>,</span> <span class='symbol val'>:secondColumnStripe</span><span class='comma token'>,</span> <span class='symbol val'>:firstHeaderCell</span><span class='comma token'>,</span> <span class='symbol val'>:lastHeaderCell</span><span class='comma token'>,</span> <span class='symbol val'>:firstTotalCell</span><span class='comma token'>,</span> <span class='symbol val'>:lastTotalCell</span><span class='comma token'>,</span> <span class='symbol val'>:firstSubtotalColumn</span><span class='comma token'>,</span> <span class='symbol val'>:secondSubtotalColumn</span><span class='comma token'>,</span> <span class='symbol val'>:thirdSubtotalColumn</span><span class='comma token'>,</span> <span class='symbol val'>:firstSubtotalRow</span><span class='comma token'>,</span> <span class='symbol val'>:secondSubtotalRow</span><span class='comma token'>,</span> <span class='symbol val'>:thirdSubtotalRow</span><span class='comma token'>,</span> <span class='symbol val'>:blankRow</span><span class='comma token'>,</span> <span class='symbol val'>:firstColumnSubheading</span><span class='comma token'>,</span> <span class='symbol val'>:secondColumnSubheading</span><span class='comma token'>,</span> <span class='symbol val'>:thirdColumnSubheading</span><span class='comma token'>,</span> <span class='symbol val'>:firstRowSubheading</span><span class='comma token'>,</span> <span class='symbol val'>:secondRowSubheading</span><span class='comma token'>,</span> <span class='symbol val'>:thirdRowSubheading</span><span class='comma token'>,</span> <span class='symbol val'>:pageFieldLabels</span><span class='comma token'>,</span> <span class='symbol val'>:pageFieldValues</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
|
2417
|
+
<span class='end end kw'>end</span>
|
2418
|
+
</pre>
|
2230
2419
|
</td>
|
2231
2420
|
</tr>
|
2232
2421
|
</table>
|
@@ -2241,8 +2430,9 @@ DRAWING_R are allowed</p>
|
|
2241
2430
|
|
2242
2431
|
</p><div class="docstring">
|
2243
2432
|
<div class="discussion">
|
2244
|
-
|
2245
|
-
|
2433
|
+
<p>
|
2434
|
+
Requires that the value is a Fixnum or Integer and is greater or equal to 0
|
2435
|
+
</p>
|
2246
2436
|
|
2247
2437
|
|
2248
2438
|
</div>
|
@@ -2261,8 +2451,9 @@ DRAWING_R are allowed</p>
|
|
2261
2451
|
|
2262
2452
|
|
2263
2453
|
—
|
2264
|
-
<div class='inline'>
|
2265
|
-
|
2454
|
+
<div class='inline'><p>
|
2455
|
+
The value validated
|
2456
|
+
</p>
|
2266
2457
|
</div>
|
2267
2458
|
|
2268
2459
|
</li>
|
@@ -2280,8 +2471,9 @@ DRAWING_R are allowed</p>
|
|
2280
2471
|
|
2281
2472
|
|
2282
2473
|
—
|
2283
|
-
<div class='inline'>
|
2284
|
-
|
2474
|
+
<div class='inline'><p>
|
2475
|
+
true if the data is valid
|
2476
|
+
</p>
|
2285
2477
|
</div>
|
2286
2478
|
|
2287
2479
|
</li>
|
@@ -2298,8 +2490,9 @@ DRAWING_R are allowed</p>
|
|
2298
2490
|
|
2299
2491
|
|
2300
2492
|
—
|
2301
|
-
<div class='inline'>
|
2302
|
-
|
2493
|
+
<div class='inline'><p>
|
2494
|
+
raised if the value is not a Fixnum or Integer value greater or equal to 0
|
2495
|
+
</p>
|
2303
2496
|
</div>
|
2304
2497
|
|
2305
2498
|
</li>
|
@@ -2319,9 +2512,10 @@ DRAWING_R are allowed</p>
|
|
2319
2512
|
<td>
|
2320
2513
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 51</span>
|
2321
2514
|
|
2322
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
2323
|
-
<span class='
|
2324
|
-
<span class='kw'>end</span
|
2515
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_unsigned_int identifier id'>validate_unsigned_int</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
2516
|
+
<span class='DataTypeValidator constant id'>DataTypeValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span><span class='lparen token'>(</span><span class='symbol val'>:unsigned_int</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='Fixnum constant id'>Fixnum</span><span class='comma token'>,</span> <span class='Integer constant id'>Integer</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span><span class='comma token'>,</span> <span class='lambda identifier id'>lambda</span> <span class='lbrace token'>{</span> <span class='bitor op'>|</span><span class='arg identifier id'>arg</span><span class='bitor op'>|</span> <span class='arg identifier id'>arg</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span><span class='lparen token'>(</span><span class='symbol val'>:>=</span><span class='rparen token'>)</span> <span class='andop op'>&&</span> <span class='arg identifier id'>arg</span> <span class='geq op'>>=</span> <span class='integer val'>0</span> <span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
2517
|
+
<span class='end end kw'>end</span>
|
2518
|
+
</pre>
|
2325
2519
|
</td>
|
2326
2520
|
</tr>
|
2327
2521
|
</table>
|
@@ -2336,9 +2530,10 @@ DRAWING_R are allowed</p>
|
|
2336
2530
|
|
2337
2531
|
</p><div class="docstring">
|
2338
2532
|
<div class="discussion">
|
2339
|
-
|
2340
|
-
|
2341
|
-
:bottom, :justify, :distributed are allowed
|
2533
|
+
<p>
|
2534
|
+
Requires that the value is a valid vertical_alignment :top, :center,
|
2535
|
+
:bottom, :justify, :distributed are allowed
|
2536
|
+
</p>
|
2342
2537
|
|
2343
2538
|
|
2344
2539
|
</div>
|
@@ -2357,8 +2552,9 @@ DRAWING_R are allowed</p>
|
|
2357
2552
|
|
2358
2553
|
|
2359
2554
|
—
|
2360
|
-
<div class='inline'>
|
2361
|
-
|
2555
|
+
<div class='inline'><p>
|
2556
|
+
The value validated
|
2557
|
+
</p>
|
2362
2558
|
</div>
|
2363
2559
|
|
2364
2560
|
</li>
|
@@ -2379,9 +2575,10 @@ DRAWING_R are allowed</p>
|
|
2379
2575
|
<td>
|
2380
2576
|
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 107</span>
|
2381
2577
|
|
2382
|
-
<span class='kw'>def</span> <span class='kw'>self</span><span class='
|
2383
|
-
<span class='
|
2384
|
-
<span class='kw'>end</span
|
2578
|
+
<span class='def def kw'>def</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='validate_vertical_alignment identifier id'>validate_vertical_alignment</span><span class='lparen token'>(</span><span class='v identifier id'>v</span><span class='rparen token'>)</span>
|
2579
|
+
<span class='RestrictionValidator constant id'>RestrictionValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:vertical_alignment</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='symbol val'>:top</span><span class='comma token'>,</span> <span class='symbol val'>:center</span><span class='comma token'>,</span> <span class='symbol val'>:bottom</span><span class='comma token'>,</span> <span class='symbol val'>:justify</span><span class='comma token'>,</span> <span class='symbol val'>:distributed</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
|
2580
|
+
<span class='end end kw'>end</span>
|
2581
|
+
</pre>
|
2385
2582
|
</td>
|
2386
2583
|
</tr>
|
2387
2584
|
</table>
|
@@ -2392,9 +2589,9 @@ DRAWING_R are allowed</p>
|
|
2392
2589
|
</div>
|
2393
2590
|
|
2394
2591
|
<div id="footer">
|
2395
|
-
Generated on
|
2592
|
+
Generated on Sun Nov 27 21:54:21 2011 by
|
2396
2593
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2397
|
-
0.7.3 (ruby-1.
|
2594
|
+
0.7.3 (ruby-1.8.7).
|
2398
2595
|
</div>
|
2399
2596
|
|
2400
2597
|
</body>
|