axlsx 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +10 -9
- data/doc/Axlsx.html +2443 -0
- data/doc/Axlsx/App.html +2640 -0
- data/doc/Axlsx/Axis.html +1047 -0
- data/doc/Axlsx/Bar3DChart.html +1153 -0
- data/doc/Axlsx/BarSeries.html +764 -0
- data/doc/Axlsx/Border.html +775 -0
- data/doc/Axlsx/BorderPr.html +709 -0
- data/doc/Axlsx/CatAxis.html +766 -0
- data/doc/Axlsx/Cell.html +1623 -0
- data/doc/Axlsx/CellAlignment.html +1247 -0
- data/doc/Axlsx/CellProtection.html +565 -0
- data/doc/Axlsx/CellStyle.html +949 -0
- data/doc/Axlsx/Chart.html +1459 -0
- data/doc/Axlsx/Color.html +665 -0
- data/doc/Axlsx/ContentType.html +340 -0
- data/doc/Axlsx/Core.html +465 -0
- data/doc/Axlsx/DataTypeValidator.html +324 -0
- data/doc/Axlsx/Default.html +575 -0
- data/doc/Axlsx/Drawing.html +1154 -0
- data/doc/Axlsx/Fill.html +460 -0
- data/doc/Axlsx/Font.html +1554 -0
- data/doc/Axlsx/GradientFill.html +1026 -0
- data/doc/Axlsx/GradientStop.html +526 -0
- data/doc/Axlsx/GraphicFrame.html +646 -0
- data/doc/Axlsx/Line3DChart.html +921 -0
- data/doc/Axlsx/LineSeries.html +656 -0
- data/doc/Axlsx/Marker.html +857 -0
- data/doc/Axlsx/NumFmt.html +562 -0
- data/doc/Axlsx/Override.html +568 -0
- data/doc/Axlsx/Package.html +1293 -0
- data/doc/Axlsx/PatternFill.html +681 -0
- data/doc/Axlsx/Pie3DChart.html +439 -0
- data/doc/Axlsx/PieSeries.html +762 -0
- data/doc/Axlsx/RegexValidator.html +268 -0
- data/doc/Axlsx/Relationship.html +554 -0
- data/doc/Axlsx/Relationships.html +343 -0
- data/doc/Axlsx/RestrictionValidator.html +300 -0
- data/doc/Axlsx/Row.html +771 -0
- data/doc/Axlsx/Scaling.html +740 -0
- data/doc/Axlsx/SerAxis.html +624 -0
- data/doc/Axlsx/Series.html +746 -0
- data/doc/Axlsx/SeriesTitle.html +289 -0
- data/doc/Axlsx/SimpleTypedList.html +1617 -0
- data/doc/Axlsx/Styles.html +1754 -0
- data/doc/Axlsx/TableStyle.html +710 -0
- data/doc/Axlsx/TableStyleElement.html +677 -0
- data/doc/Axlsx/TableStyles.html +599 -0
- data/doc/Axlsx/Title.html +625 -0
- data/doc/Axlsx/TwoCellAnchor.html +1115 -0
- data/doc/Axlsx/ValAxis.html +539 -0
- data/doc/Axlsx/View3D.html +971 -0
- data/doc/Axlsx/Workbook.html +1347 -0
- data/doc/Axlsx/Worksheet.html +1864 -0
- data/doc/Axlsx/Xf.html +1681 -0
- data/doc/_index.html +611 -0
- data/doc/class_list.html +47 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +55 -0
- data/doc/css/style.css +322 -0
- data/doc/file.README.html +262 -0
- data/doc/file_list.html +49 -0
- data/doc/frames.html +13 -0
- data/doc/index.html +262 -0
- data/doc/js/app.js +205 -0
- data/doc/js/full_list.js +167 -0
- data/doc/js/jquery.js +16 -0
- data/doc/method_list.html +3038 -0
- data/doc/top-level-namespace.html +103 -0
- data/lib/axlsx/util/constants.rb +1 -1
- metadata +71 -3
data/README.md
CHANGED
@@ -3,12 +3,12 @@ Axlsx: Office Open XML Spreadsheet Generation
|
|
3
3
|
|
4
4
|
**IRC**: [irc.freenode.net / #axlsx](irc://irc.freenode.net/axlsx)
|
5
5
|
**Git**: [http://github.com/randym/axlsx](http://github.com/randym/axlsx)
|
6
|
-
**Author**: Randy Morgan
|
7
|
-
**Copyright**: 2011
|
8
|
-
**License**: MIT License
|
9
|
-
**Latest Version**: 1.0.
|
10
|
-
**Ruby Version**: 1.8.7
|
11
|
-
**Release Date**: November 22nd 2011
|
6
|
+
**Author**: Randy Morgan
|
7
|
+
**Copyright**: 2011
|
8
|
+
**License**: MIT License
|
9
|
+
**Latest Version**: 1.0.6
|
10
|
+
**Ruby Version**: 1.8.7
|
11
|
+
**Release Date**: November 22nd 2011
|
12
12
|
|
13
13
|
Synopsis
|
14
14
|
--------
|
@@ -21,7 +21,7 @@ Feature List
|
|
21
21
|
|
22
22
|
**1. Author xlsx documents: Axlsx is made to let you easily and quickly generate profesional xlsx based reports that can be validated before serialiation.
|
23
23
|
|
24
|
-
**2. Generate 3D Pie and Bar Charts: With Axlsx chart generation and management is as easy as a few lines of code. You can build charts based off data in your worksheet or generate charts without any data in your sheet at all.
|
24
|
+
**2. Generate 3D Pie, Line and Bar Charts: With Axlsx chart generation and management is as easy as a few lines of code. You can build charts based off data in your worksheet or generate charts without any data in your sheet at all.
|
25
25
|
|
26
26
|
**3. Custom Styles: With guaranteed document validity, you can style borders, alignment, fills, fonts, and number formats in a single line of code. Those styles can be applied to an entire row, or a single cell anywhere in your workbook.
|
27
27
|
|
@@ -116,7 +116,7 @@ Usage
|
|
116
116
|
puts error.inspect
|
117
117
|
end
|
118
118
|
|
119
|
-
|
119
|
+
##Generating A Line Chart
|
120
120
|
|
121
121
|
p = Axlsx::Package.new
|
122
122
|
p.workbook.add_worksheet do |sheet|
|
@@ -157,7 +157,8 @@ Changelog
|
|
157
157
|
- BugFix: date1904 property now properly set for charts
|
158
158
|
- Added style property to charts
|
159
159
|
- Removed serialization write test as it most commonly fails when run from the gem's intalled directory
|
160
|
-
|
160
|
+
- **October.22.11**: 1.0.6 release
|
161
|
+
- Bumping version to include docs. Bug in gemspec pointing to incorrect directory.
|
161
162
|
On Deck
|
162
163
|
-------
|
163
164
|
|
data/doc/Axlsx.html
ADDED
@@ -0,0 +1,2443 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Module: Axlsx
|
8
|
+
|
9
|
+
— Documentation by YARD 0.7.3
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
relpath = '';
|
19
|
+
if (relpath != '') relpath += '/';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
25
|
+
|
26
|
+
|
27
|
+
</head>
|
28
|
+
<body>
|
29
|
+
<script type="text/javascript" charset="utf-8">
|
30
|
+
if (window.top.frames.main) document.body.className = 'frames';
|
31
|
+
</script>
|
32
|
+
|
33
|
+
<div id="header">
|
34
|
+
<div id="menu">
|
35
|
+
|
36
|
+
<a href="_index.html">Index (A)</a> »
|
37
|
+
|
38
|
+
|
39
|
+
<span class="title">Axlsx</span>
|
40
|
+
|
41
|
+
|
42
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<div id="search">
|
46
|
+
|
47
|
+
<a id="class_list_link" href="#">Class List</a>
|
48
|
+
|
49
|
+
<a id="method_list_link" href="#">Method List</a>
|
50
|
+
|
51
|
+
<a id="file_list_link" href="#">File List</a>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
<div class="clear"></div>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<iframe id="search_frame"></iframe>
|
58
|
+
|
59
|
+
<div id="content"><h1>Module: Axlsx
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
</h1>
|
64
|
+
|
65
|
+
<dl class="box">
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
<dt class="r1 last">Defined in:</dt>
|
75
|
+
<dd class="r1 last">lib/axlsx/package.rb<span class="defines">,<br />
|
76
|
+
lib/axlsx.rb,<br /> lib/axlsx/drawing/axis.rb,<br /> lib/axlsx/drawing/chart.rb,<br /> lib/axlsx/stylesheet/xf.rb,<br /> lib/axlsx/doc_props/app.rb,<br /> lib/axlsx/drawing/title.rb,<br /> lib/axlsx/util/constants.rb,<br /> lib/axlsx/doc_props/core.rb,<br /> lib/axlsx/drawing/marker.rb,<br /> lib/axlsx/drawing/series.rb,<br /> lib/axlsx/drawing/drawing.rb,<br /> lib/axlsx/drawing/scaling.rb,<br /> lib/axlsx/stylesheet/fill.rb,<br /> lib/axlsx/util/validators.rb,<br /> lib/axlsx/drawing/view_3D.rb,<br /> lib/axlsx/stylesheet/font.rb,<br /> lib/axlsx/drawing/val_axis.rb,<br /> lib/axlsx/drawing/ser_axis.rb,<br /> lib/axlsx/stylesheet/color.rb,<br /> lib/axlsx/drawing/cat_axis.rb,<br /> lib/axlsx/stylesheet/styles.rb,<br /> lib/axlsx/workbook/workbook.rb,<br /> lib/axlsx/stylesheet/border.rb,<br /> lib/axlsx/rels/relationship.rb,<br /> lib/axlsx/drawing/bar_series.rb,<br /> lib/axlsx/stylesheet/num_fmt.rb,<br /> lib/axlsx/drawing/pie_series.rb,<br /> lib/axlsx/rels/relationships.rb,<br /> lib/axlsx/drawing/line_series.rb,<br /> lib/axlsx/stylesheet/border_pr.rb,<br /> lib/axlsx/content_type/default.rb,<br /> lib/axlsx/drawing/series_title.rb,<br /> lib/axlsx/drawing/pie_3D_chart.rb,<br /> lib/axlsx/drawing/bar_3D_chart.rb,<br /> lib/axlsx/stylesheet/cell_style.rb,<br /> lib/axlsx/drawing/graphic_frame.rb,<br /> lib/axlsx/content_type/override.rb,<br /> lib/axlsx/drawing/line_3D_chart.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/workbook/worksheet/cell.rb,<br /> lib/axlsx/stylesheet/table_styles.rb,<br /> lib/axlsx/drawing/two_cell_anchor.rb,<br /> lib/axlsx/stylesheet/pattern_fill.rb,<br /> lib/axlsx/stylesheet/gradient_fill.rb,<br /> lib/axlsx/stylesheet/gradient_stop.rb,<br /> lib/axlsx/content_type/content_type.rb,<br /> lib/axlsx/stylesheet/cell_alignment.rb,<br /> lib/axlsx/stylesheet/cell_protection.rb,<br /> lib/axlsx/workbook/worksheet/worksheet.rb,<br /> lib/axlsx/stylesheet/table_style_element.rb</span>
|
77
|
+
</dd>
|
78
|
+
|
79
|
+
</dl>
|
80
|
+
<div class="clear"></div>
|
81
|
+
|
82
|
+
<h2>Overview</h2><div class="docstring">
|
83
|
+
<div class="discussion">
|
84
|
+
<p>
|
85
|
+
Create Office Open XML Spreadsheets (xlsx) with safe and full control over
|
86
|
+
cell styles, automatically resized column widths and 3D pie charts.
|
87
|
+
</p>
|
88
|
+
|
89
|
+
|
90
|
+
</div>
|
91
|
+
</div>
|
92
|
+
<div class="tags">
|
93
|
+
|
94
|
+
|
95
|
+
</div><h2>Defined Under Namespace</h2>
|
96
|
+
<p class="children">
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
<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/Cell.html" title="Axlsx::Cell (class)">Cell</a></span>, <span class='object_link'><a href="Axlsx/CellAlignment.html" title="Axlsx::CellAlignment (class)">CellAlignment</a></span>, <span class='object_link'><a href="Axlsx/CellProtection.html" title="Axlsx::CellProtection (class)">CellProtection</a></span>, <span class='object_link'><a href="Axlsx/CellStyle.html" title="Axlsx::CellStyle (class)">CellStyle</a></span>, <span class='object_link'><a href="Axlsx/Chart.html" title="Axlsx::Chart (class)">Chart</a></span>, <span class='object_link'><a href="Axlsx/Color.html" title="Axlsx::Color (class)">Color</a></span>, <span class='object_link'><a href="Axlsx/ContentType.html" title="Axlsx::ContentType (class)">ContentType</a></span>, <span class='object_link'><a href="Axlsx/Core.html" title="Axlsx::Core (class)">Core</a></span>, <span class='object_link'><a href="Axlsx/DataTypeValidator.html" title="Axlsx::DataTypeValidator (class)">DataTypeValidator</a></span>, <span class='object_link'><a href="Axlsx/Default.html" title="Axlsx::Default (class)">Default</a></span>, <span class='object_link'><a href="Axlsx/Drawing.html" title="Axlsx::Drawing (class)">Drawing</a></span>, <span class='object_link'><a href="Axlsx/Fill.html" title="Axlsx::Fill (class)">Fill</a></span>, <span class='object_link'><a href="Axlsx/Font.html" title="Axlsx::Font (class)">Font</a></span>, <span class='object_link'><a href="Axlsx/GradientFill.html" title="Axlsx::GradientFill (class)">GradientFill</a></span>, <span class='object_link'><a href="Axlsx/GradientStop.html" title="Axlsx::GradientStop (class)">GradientStop</a></span>, <span class='object_link'><a href="Axlsx/GraphicFrame.html" title="Axlsx::GraphicFrame (class)">GraphicFrame</a></span>, <span class='object_link'><a href="Axlsx/Line3DChart.html" title="Axlsx::Line3DChart (class)">Line3DChart</a></span>, <span class='object_link'><a href="Axlsx/LineSeries.html" title="Axlsx::LineSeries (class)">LineSeries</a></span>, <span class='object_link'><a href="Axlsx/Marker.html" title="Axlsx::Marker (class)">Marker</a></span>, <span class='object_link'><a href="Axlsx/NumFmt.html" title="Axlsx::NumFmt (class)">NumFmt</a></span>, <span class='object_link'><a href="Axlsx/Override.html" title="Axlsx::Override (class)">Override</a></span>, <span class='object_link'><a href="Axlsx/Package.html" title="Axlsx::Package (class)">Package</a></span>, <span class='object_link'><a href="Axlsx/PatternFill.html" title="Axlsx::PatternFill (class)">PatternFill</a></span>, <span class='object_link'><a href="Axlsx/Pie3DChart.html" title="Axlsx::Pie3DChart (class)">Pie3DChart</a></span>, <span class='object_link'><a href="Axlsx/PieSeries.html" title="Axlsx::PieSeries (class)">PieSeries</a></span>, <span class='object_link'><a href="Axlsx/RegexValidator.html" title="Axlsx::RegexValidator (class)">RegexValidator</a></span>, <span class='object_link'><a href="Axlsx/Relationship.html" title="Axlsx::Relationship (class)">Relationship</a></span>, <span class='object_link'><a href="Axlsx/Relationships.html" title="Axlsx::Relationships (class)">Relationships</a></span>, <span class='object_link'><a href="Axlsx/RestrictionValidator.html" title="Axlsx::RestrictionValidator (class)">RestrictionValidator</a></span>, <span class='object_link'><a href="Axlsx/Row.html" title="Axlsx::Row (class)">Row</a></span>, <span class='object_link'><a href="Axlsx/Scaling.html" title="Axlsx::Scaling (class)">Scaling</a></span>, <span class='object_link'><a href="Axlsx/SerAxis.html" title="Axlsx::SerAxis (class)">SerAxis</a></span>, <span class='object_link'><a href="Axlsx/Series.html" title="Axlsx::Series (class)">Series</a></span>, <span class='object_link'><a href="Axlsx/SeriesTitle.html" title="Axlsx::SeriesTitle (class)">SeriesTitle</a></span>, <span class='object_link'><a href="Axlsx/SimpleTypedList.html" title="Axlsx::SimpleTypedList (class)">SimpleTypedList</a></span>, <span class='object_link'><a href="Axlsx/Styles.html" title="Axlsx::Styles (class)">Styles</a></span>, <span class='object_link'><a href="Axlsx/TableStyle.html" title="Axlsx::TableStyle (class)">TableStyle</a></span>, <span class='object_link'><a href="Axlsx/TableStyleElement.html" title="Axlsx::TableStyleElement (class)">TableStyleElement</a></span>, <span class='object_link'><a href="Axlsx/TableStyles.html" title="Axlsx::TableStyles (class)">TableStyles</a></span>, <span class='object_link'><a href="Axlsx/Title.html" title="Axlsx::Title (class)">Title</a></span>, <span class='object_link'><a href="Axlsx/TwoCellAnchor.html" title="Axlsx::TwoCellAnchor (class)">TwoCellAnchor</a></span>, <span class='object_link'><a href="Axlsx/ValAxis.html" title="Axlsx::ValAxis (class)">ValAxis</a></span>, <span class='object_link'><a href="Axlsx/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>
|
102
|
+
|
103
|
+
|
104
|
+
</p>
|
105
|
+
|
106
|
+
<h2>Constant Summary</h2>
|
107
|
+
|
108
|
+
<dl class="constants">
|
109
|
+
|
110
|
+
<dt id="VERSION-constant" class="">VERSION =
|
111
|
+
<div class="docstring">
|
112
|
+
<div class="discussion">
|
113
|
+
<p>
|
114
|
+
version
|
115
|
+
</p>
|
116
|
+
|
117
|
+
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
<div class="tags">
|
121
|
+
|
122
|
+
|
123
|
+
</div>
|
124
|
+
</dt>
|
125
|
+
<dd><pre class="code"><span class='string val'>"1.0.6"</span>
|
126
|
+
</pre></dd>
|
127
|
+
|
128
|
+
<dt id="ENCODING-constant" class="">ENCODING =
|
129
|
+
<div class="docstring">
|
130
|
+
<div class="discussion">
|
131
|
+
<p>
|
132
|
+
XML Encoding
|
133
|
+
</p>
|
134
|
+
|
135
|
+
|
136
|
+
</div>
|
137
|
+
</div>
|
138
|
+
<div class="tags">
|
139
|
+
|
140
|
+
|
141
|
+
</div>
|
142
|
+
</dt>
|
143
|
+
<dd><pre class="code"><span class='string val'>"UTF-8"</span>
|
144
|
+
</pre></dd>
|
145
|
+
|
146
|
+
<dt id="XML_NS-constant" class="">XML_NS =
|
147
|
+
<div class="docstring">
|
148
|
+
<div class="discussion">
|
149
|
+
<p>
|
150
|
+
spreadsheetML namespace
|
151
|
+
</p>
|
152
|
+
|
153
|
+
|
154
|
+
</div>
|
155
|
+
</div>
|
156
|
+
<div class="tags">
|
157
|
+
|
158
|
+
|
159
|
+
</div>
|
160
|
+
</dt>
|
161
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/spreadsheetml/2006/main"</span>
|
162
|
+
</pre></dd>
|
163
|
+
|
164
|
+
<dt id="XML_NS_T-constant" class="">XML_NS_T =
|
165
|
+
<div class="docstring">
|
166
|
+
<div class="discussion">
|
167
|
+
<p>
|
168
|
+
content-types namespace
|
169
|
+
</p>
|
170
|
+
|
171
|
+
|
172
|
+
</div>
|
173
|
+
</div>
|
174
|
+
<div class="tags">
|
175
|
+
|
176
|
+
|
177
|
+
</div>
|
178
|
+
</dt>
|
179
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/package/2006/content-types"</span>
|
180
|
+
</pre></dd>
|
181
|
+
|
182
|
+
<dt id="APP_NS-constant" class="">APP_NS =
|
183
|
+
<div class="docstring">
|
184
|
+
<div class="discussion">
|
185
|
+
<p>
|
186
|
+
extended-properties namespace
|
187
|
+
</p>
|
188
|
+
|
189
|
+
|
190
|
+
</div>
|
191
|
+
</div>
|
192
|
+
<div class="tags">
|
193
|
+
|
194
|
+
|
195
|
+
</div>
|
196
|
+
</dt>
|
197
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"</span>
|
198
|
+
</pre></dd>
|
199
|
+
|
200
|
+
<dt id="APP_NS_VT-constant" class="">APP_NS_VT =
|
201
|
+
<div class="docstring">
|
202
|
+
<div class="discussion">
|
203
|
+
<p>
|
204
|
+
doc props namespace
|
205
|
+
</p>
|
206
|
+
|
207
|
+
|
208
|
+
</div>
|
209
|
+
</div>
|
210
|
+
<div class="tags">
|
211
|
+
|
212
|
+
|
213
|
+
</div>
|
214
|
+
</dt>
|
215
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"</span>
|
216
|
+
</pre></dd>
|
217
|
+
|
218
|
+
<dt id="CORE_NS-constant" class="">CORE_NS =
|
219
|
+
<div class="docstring">
|
220
|
+
<div class="discussion">
|
221
|
+
<p>
|
222
|
+
core properties namespace
|
223
|
+
</p>
|
224
|
+
|
225
|
+
|
226
|
+
</div>
|
227
|
+
</div>
|
228
|
+
<div class="tags">
|
229
|
+
|
230
|
+
|
231
|
+
</div>
|
232
|
+
</dt>
|
233
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/package/2006/metadata/core-properties"</span>
|
234
|
+
</pre></dd>
|
235
|
+
|
236
|
+
<dt id="CORE_NS_DC-constant" class="">CORE_NS_DC =
|
237
|
+
<div class="docstring">
|
238
|
+
<div class="discussion">
|
239
|
+
<p>
|
240
|
+
dc elements (core) namespace
|
241
|
+
</p>
|
242
|
+
|
243
|
+
|
244
|
+
</div>
|
245
|
+
</div>
|
246
|
+
<div class="tags">
|
247
|
+
|
248
|
+
|
249
|
+
</div>
|
250
|
+
</dt>
|
251
|
+
<dd><pre class="code"><span class='string val'>"http://purl.org/dc/elements/1.1/"</span>
|
252
|
+
</pre></dd>
|
253
|
+
|
254
|
+
<dt id="CORE_NS_DCMIT-constant" class="">CORE_NS_DCMIT =
|
255
|
+
<div class="docstring">
|
256
|
+
<div class="discussion">
|
257
|
+
<p>
|
258
|
+
dcmit (core) namespcace
|
259
|
+
</p>
|
260
|
+
|
261
|
+
|
262
|
+
</div>
|
263
|
+
</div>
|
264
|
+
<div class="tags">
|
265
|
+
|
266
|
+
|
267
|
+
</div>
|
268
|
+
</dt>
|
269
|
+
<dd><pre class="code"><span class='string val'>"http://purl.org/dc/dcmitype/"</span>
|
270
|
+
</pre></dd>
|
271
|
+
|
272
|
+
<dt id="CORE_NS_DCT-constant" class="">CORE_NS_DCT =
|
273
|
+
<div class="docstring">
|
274
|
+
<div class="discussion">
|
275
|
+
<p>
|
276
|
+
dc terms namespace
|
277
|
+
</p>
|
278
|
+
|
279
|
+
|
280
|
+
</div>
|
281
|
+
</div>
|
282
|
+
<div class="tags">
|
283
|
+
|
284
|
+
|
285
|
+
</div>
|
286
|
+
</dt>
|
287
|
+
<dd><pre class="code"><span class='string val'>"http://purl.org/dc/terms/"</span>
|
288
|
+
</pre></dd>
|
289
|
+
|
290
|
+
<dt id="CORE_NS_XSI-constant" class="">CORE_NS_XSI =
|
291
|
+
<div class="docstring">
|
292
|
+
<div class="discussion">
|
293
|
+
<p>
|
294
|
+
xml schema namespace
|
295
|
+
</p>
|
296
|
+
|
297
|
+
|
298
|
+
</div>
|
299
|
+
</div>
|
300
|
+
<div class="tags">
|
301
|
+
|
302
|
+
|
303
|
+
</div>
|
304
|
+
</dt>
|
305
|
+
<dd><pre class="code"><span class='string val'>"http://www.w3.org/2001/XMLSchema-instance"</span>
|
306
|
+
</pre></dd>
|
307
|
+
|
308
|
+
<dt id="XML_NS_XDR-constant" class="">XML_NS_XDR =
|
309
|
+
<div class="docstring">
|
310
|
+
<div class="discussion">
|
311
|
+
<p>
|
312
|
+
spreadsheet drawing namespace
|
313
|
+
</p>
|
314
|
+
|
315
|
+
|
316
|
+
</div>
|
317
|
+
</div>
|
318
|
+
<div class="tags">
|
319
|
+
|
320
|
+
|
321
|
+
</div>
|
322
|
+
</dt>
|
323
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"</span>
|
324
|
+
</pre></dd>
|
325
|
+
|
326
|
+
<dt id="XML_NS_A-constant" class="">XML_NS_A =
|
327
|
+
<div class="docstring">
|
328
|
+
<div class="discussion">
|
329
|
+
<p>
|
330
|
+
drawing namespace
|
331
|
+
</p>
|
332
|
+
|
333
|
+
|
334
|
+
</div>
|
335
|
+
</div>
|
336
|
+
<div class="tags">
|
337
|
+
|
338
|
+
|
339
|
+
</div>
|
340
|
+
</dt>
|
341
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/drawingml/2006/main"</span>
|
342
|
+
</pre></dd>
|
343
|
+
|
344
|
+
<dt id="XML_NS_C-constant" class="">XML_NS_C =
|
345
|
+
<div class="docstring">
|
346
|
+
<div class="discussion">
|
347
|
+
<p>
|
348
|
+
chart namespace
|
349
|
+
</p>
|
350
|
+
|
351
|
+
|
352
|
+
</div>
|
353
|
+
</div>
|
354
|
+
<div class="tags">
|
355
|
+
|
356
|
+
|
357
|
+
</div>
|
358
|
+
</dt>
|
359
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/drawingml/2006/chart"</span>
|
360
|
+
</pre></dd>
|
361
|
+
|
362
|
+
<dt id="XML_NS_R-constant" class="">XML_NS_R =
|
363
|
+
<div class="docstring">
|
364
|
+
<div class="discussion">
|
365
|
+
<p>
|
366
|
+
relationships namespace
|
367
|
+
</p>
|
368
|
+
|
369
|
+
|
370
|
+
</div>
|
371
|
+
</div>
|
372
|
+
<div class="tags">
|
373
|
+
|
374
|
+
|
375
|
+
</div>
|
376
|
+
</dt>
|
377
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships"</span>
|
378
|
+
</pre></dd>
|
379
|
+
|
380
|
+
<dt id="RELS_R-constant" class="">RELS_R =
|
381
|
+
<div class="docstring">
|
382
|
+
<div class="discussion">
|
383
|
+
<p>
|
384
|
+
relationships name space
|
385
|
+
</p>
|
386
|
+
|
387
|
+
|
388
|
+
</div>
|
389
|
+
</div>
|
390
|
+
<div class="tags">
|
391
|
+
|
392
|
+
|
393
|
+
</div>
|
394
|
+
</dt>
|
395
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/package/2006/relationships"</span>
|
396
|
+
</pre></dd>
|
397
|
+
|
398
|
+
<dt id="TABLE_R-constant" class="">TABLE_R =
|
399
|
+
<div class="docstring">
|
400
|
+
<div class="discussion">
|
401
|
+
<p>
|
402
|
+
table rels namespace
|
403
|
+
</p>
|
404
|
+
|
405
|
+
|
406
|
+
</div>
|
407
|
+
</div>
|
408
|
+
<div class="tags">
|
409
|
+
|
410
|
+
|
411
|
+
</div>
|
412
|
+
</dt>
|
413
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"</span>
|
414
|
+
</pre></dd>
|
415
|
+
|
416
|
+
<dt id="WORKBOOK_R-constant" class="">WORKBOOK_R =
|
417
|
+
<div class="docstring">
|
418
|
+
<div class="discussion">
|
419
|
+
<p>
|
420
|
+
workbook rels namespace
|
421
|
+
</p>
|
422
|
+
|
423
|
+
|
424
|
+
</div>
|
425
|
+
</div>
|
426
|
+
<div class="tags">
|
427
|
+
|
428
|
+
|
429
|
+
</div>
|
430
|
+
</dt>
|
431
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"</span>
|
432
|
+
</pre></dd>
|
433
|
+
|
434
|
+
<dt id="WORKSHEET_R-constant" class="">WORKSHEET_R =
|
435
|
+
<div class="docstring">
|
436
|
+
<div class="discussion">
|
437
|
+
<p>
|
438
|
+
worksheet rels namespace
|
439
|
+
</p>
|
440
|
+
|
441
|
+
|
442
|
+
</div>
|
443
|
+
</div>
|
444
|
+
<div class="tags">
|
445
|
+
|
446
|
+
|
447
|
+
</div>
|
448
|
+
</dt>
|
449
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"</span>
|
450
|
+
</pre></dd>
|
451
|
+
|
452
|
+
<dt id="APP_R-constant" class="">APP_R =
|
453
|
+
<div class="docstring">
|
454
|
+
<div class="discussion">
|
455
|
+
<p>
|
456
|
+
app rels namespace
|
457
|
+
</p>
|
458
|
+
|
459
|
+
|
460
|
+
</div>
|
461
|
+
</div>
|
462
|
+
<div class="tags">
|
463
|
+
|
464
|
+
|
465
|
+
</div>
|
466
|
+
</dt>
|
467
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"</span>
|
468
|
+
</pre></dd>
|
469
|
+
|
470
|
+
<dt id="CORE_R-constant" class="">CORE_R =
|
471
|
+
<div class="docstring">
|
472
|
+
<div class="discussion">
|
473
|
+
<p>
|
474
|
+
core rels namespace
|
475
|
+
</p>
|
476
|
+
|
477
|
+
|
478
|
+
</div>
|
479
|
+
</div>
|
480
|
+
<div class="tags">
|
481
|
+
|
482
|
+
|
483
|
+
</div>
|
484
|
+
</dt>
|
485
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/metadata/core-properties"</span>
|
486
|
+
</pre></dd>
|
487
|
+
|
488
|
+
<dt id="STYLES_R-constant" class="">STYLES_R =
|
489
|
+
<div class="docstring">
|
490
|
+
<div class="discussion">
|
491
|
+
<p>
|
492
|
+
styles rels namespace
|
493
|
+
</p>
|
494
|
+
|
495
|
+
|
496
|
+
</div>
|
497
|
+
</div>
|
498
|
+
<div class="tags">
|
499
|
+
|
500
|
+
|
501
|
+
</div>
|
502
|
+
</dt>
|
503
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"</span>
|
504
|
+
</pre></dd>
|
505
|
+
|
506
|
+
<dt id="DRAWING_R-constant" class="">DRAWING_R =
|
507
|
+
<div class="docstring">
|
508
|
+
<div class="discussion">
|
509
|
+
<p>
|
510
|
+
drawing rels namespace
|
511
|
+
</p>
|
512
|
+
|
513
|
+
|
514
|
+
</div>
|
515
|
+
</div>
|
516
|
+
<div class="tags">
|
517
|
+
|
518
|
+
|
519
|
+
</div>
|
520
|
+
</dt>
|
521
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing"</span>
|
522
|
+
</pre></dd>
|
523
|
+
|
524
|
+
<dt id="CHART_R-constant" class="">CHART_R =
|
525
|
+
<div class="docstring">
|
526
|
+
<div class="discussion">
|
527
|
+
<p>
|
528
|
+
chart rels namespace
|
529
|
+
</p>
|
530
|
+
|
531
|
+
|
532
|
+
</div>
|
533
|
+
</div>
|
534
|
+
<div class="tags">
|
535
|
+
|
536
|
+
|
537
|
+
</div>
|
538
|
+
</dt>
|
539
|
+
<dd><pre class="code"><span class='string val'>"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart"</span>
|
540
|
+
</pre></dd>
|
541
|
+
|
542
|
+
<dt id="TABLE_CT-constant" class="">TABLE_CT =
|
543
|
+
<div class="docstring">
|
544
|
+
<div class="discussion">
|
545
|
+
<p>
|
546
|
+
table content type
|
547
|
+
</p>
|
548
|
+
|
549
|
+
|
550
|
+
</div>
|
551
|
+
</div>
|
552
|
+
<div class="tags">
|
553
|
+
|
554
|
+
|
555
|
+
</div>
|
556
|
+
</dt>
|
557
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"</span>
|
558
|
+
</pre></dd>
|
559
|
+
|
560
|
+
<dt id="WORKBOOK_CT-constant" class="">WORKBOOK_CT =
|
561
|
+
<div class="docstring">
|
562
|
+
<div class="discussion">
|
563
|
+
<p>
|
564
|
+
workbook content type
|
565
|
+
</p>
|
566
|
+
|
567
|
+
|
568
|
+
</div>
|
569
|
+
</div>
|
570
|
+
<div class="tags">
|
571
|
+
|
572
|
+
|
573
|
+
</div>
|
574
|
+
</dt>
|
575
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"</span>
|
576
|
+
</pre></dd>
|
577
|
+
|
578
|
+
<dt id="APP_CT-constant" class="">APP_CT =
|
579
|
+
<div class="docstring">
|
580
|
+
<div class="discussion">
|
581
|
+
<p>
|
582
|
+
app content type
|
583
|
+
</p>
|
584
|
+
|
585
|
+
|
586
|
+
</div>
|
587
|
+
</div>
|
588
|
+
<div class="tags">
|
589
|
+
|
590
|
+
|
591
|
+
</div>
|
592
|
+
</dt>
|
593
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.extended-properties+xml"</span>
|
594
|
+
</pre></dd>
|
595
|
+
|
596
|
+
<dt id="RELS_CT-constant" class="">RELS_CT =
|
597
|
+
<div class="docstring">
|
598
|
+
<div class="discussion">
|
599
|
+
<p>
|
600
|
+
rels content type
|
601
|
+
</p>
|
602
|
+
|
603
|
+
|
604
|
+
</div>
|
605
|
+
</div>
|
606
|
+
<div class="tags">
|
607
|
+
|
608
|
+
|
609
|
+
</div>
|
610
|
+
</dt>
|
611
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-package.relationships+xml"</span>
|
612
|
+
</pre></dd>
|
613
|
+
|
614
|
+
<dt id="STYLES_CT-constant" class="">STYLES_CT =
|
615
|
+
<div class="docstring">
|
616
|
+
<div class="discussion">
|
617
|
+
<p>
|
618
|
+
styles content type
|
619
|
+
</p>
|
620
|
+
|
621
|
+
|
622
|
+
</div>
|
623
|
+
</div>
|
624
|
+
<div class="tags">
|
625
|
+
|
626
|
+
|
627
|
+
</div>
|
628
|
+
</dt>
|
629
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"</span>
|
630
|
+
</pre></dd>
|
631
|
+
|
632
|
+
<dt id="XML_CT-constant" class="">XML_CT =
|
633
|
+
<div class="docstring">
|
634
|
+
<div class="discussion">
|
635
|
+
<p>
|
636
|
+
xml content type
|
637
|
+
</p>
|
638
|
+
|
639
|
+
|
640
|
+
</div>
|
641
|
+
</div>
|
642
|
+
<div class="tags">
|
643
|
+
|
644
|
+
|
645
|
+
</div>
|
646
|
+
</dt>
|
647
|
+
<dd><pre class="code"><span class='string val'>"application/xml"</span>
|
648
|
+
</pre></dd>
|
649
|
+
|
650
|
+
<dt id="WORKSHEET_CT-constant" class="">WORKSHEET_CT =
|
651
|
+
<div class="docstring">
|
652
|
+
<div class="discussion">
|
653
|
+
<p>
|
654
|
+
worksheet content type
|
655
|
+
</p>
|
656
|
+
|
657
|
+
|
658
|
+
</div>
|
659
|
+
</div>
|
660
|
+
<div class="tags">
|
661
|
+
|
662
|
+
|
663
|
+
</div>
|
664
|
+
</dt>
|
665
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"</span>
|
666
|
+
</pre></dd>
|
667
|
+
|
668
|
+
<dt id="SHARED_STRINGS_CT-constant" class="">SHARED_STRINGS_CT =
|
669
|
+
<div class="docstring">
|
670
|
+
<div class="discussion">
|
671
|
+
<p>
|
672
|
+
shared strings content type
|
673
|
+
</p>
|
674
|
+
|
675
|
+
|
676
|
+
</div>
|
677
|
+
</div>
|
678
|
+
<div class="tags">
|
679
|
+
|
680
|
+
|
681
|
+
</div>
|
682
|
+
</dt>
|
683
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"</span>
|
684
|
+
</pre></dd>
|
685
|
+
|
686
|
+
<dt id="CORE_CT-constant" class="">CORE_CT =
|
687
|
+
<div class="docstring">
|
688
|
+
<div class="discussion">
|
689
|
+
<p>
|
690
|
+
core content type
|
691
|
+
</p>
|
692
|
+
|
693
|
+
|
694
|
+
</div>
|
695
|
+
</div>
|
696
|
+
<div class="tags">
|
697
|
+
|
698
|
+
|
699
|
+
</div>
|
700
|
+
</dt>
|
701
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-package.core-properties+xml"</span>
|
702
|
+
</pre></dd>
|
703
|
+
|
704
|
+
<dt id="CHART_CT-constant" class="">CHART_CT =
|
705
|
+
<div class="docstring">
|
706
|
+
<div class="discussion">
|
707
|
+
<p>
|
708
|
+
chart content type
|
709
|
+
</p>
|
710
|
+
|
711
|
+
|
712
|
+
</div>
|
713
|
+
</div>
|
714
|
+
<div class="tags">
|
715
|
+
|
716
|
+
|
717
|
+
</div>
|
718
|
+
</dt>
|
719
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.drawingml.chart+xml"</span>
|
720
|
+
</pre></dd>
|
721
|
+
|
722
|
+
<dt id="DRAWING_CT-constant" class="">DRAWING_CT =
|
723
|
+
<div class="docstring">
|
724
|
+
<div class="discussion">
|
725
|
+
<p>
|
726
|
+
drawing content type
|
727
|
+
</p>
|
728
|
+
|
729
|
+
|
730
|
+
</div>
|
731
|
+
</div>
|
732
|
+
<div class="tags">
|
733
|
+
|
734
|
+
|
735
|
+
</div>
|
736
|
+
</dt>
|
737
|
+
<dd><pre class="code"><span class='string val'>"application/vnd.openxmlformats-officedocument.drawing+xml"</span>
|
738
|
+
</pre></dd>
|
739
|
+
|
740
|
+
<dt id="XML_EX-constant" class="">XML_EX =
|
741
|
+
<div class="docstring">
|
742
|
+
<div class="discussion">
|
743
|
+
<p>
|
744
|
+
xml content type extensions
|
745
|
+
</p>
|
746
|
+
|
747
|
+
|
748
|
+
</div>
|
749
|
+
</div>
|
750
|
+
<div class="tags">
|
751
|
+
|
752
|
+
|
753
|
+
</div>
|
754
|
+
</dt>
|
755
|
+
<dd><pre class="code"><span class='string val'>"xml"</span>
|
756
|
+
</pre></dd>
|
757
|
+
|
758
|
+
<dt id="RELS_EX-constant" class="">RELS_EX =
|
759
|
+
<div class="docstring">
|
760
|
+
<div class="discussion">
|
761
|
+
<p>
|
762
|
+
rels content type extension
|
763
|
+
</p>
|
764
|
+
|
765
|
+
|
766
|
+
</div>
|
767
|
+
</div>
|
768
|
+
<div class="tags">
|
769
|
+
|
770
|
+
|
771
|
+
</div>
|
772
|
+
</dt>
|
773
|
+
<dd><pre class="code"><span class='string val'>"rels"</span>
|
774
|
+
</pre></dd>
|
775
|
+
|
776
|
+
<dt id="WORKBOOK_PN-constant" class="">WORKBOOK_PN =
|
777
|
+
<div class="docstring">
|
778
|
+
<div class="discussion">
|
779
|
+
<p>
|
780
|
+
workbook part
|
781
|
+
</p>
|
782
|
+
|
783
|
+
|
784
|
+
</div>
|
785
|
+
</div>
|
786
|
+
<div class="tags">
|
787
|
+
|
788
|
+
|
789
|
+
</div>
|
790
|
+
</dt>
|
791
|
+
<dd><pre class="code"><span class='string val'>"xl/workbook.xml"</span>
|
792
|
+
</pre></dd>
|
793
|
+
|
794
|
+
<dt id="STYLES_PN-constant" class="">STYLES_PN =
|
795
|
+
<div class="docstring">
|
796
|
+
<div class="discussion">
|
797
|
+
<p>
|
798
|
+
styles part
|
799
|
+
</p>
|
800
|
+
|
801
|
+
|
802
|
+
</div>
|
803
|
+
</div>
|
804
|
+
<div class="tags">
|
805
|
+
|
806
|
+
|
807
|
+
</div>
|
808
|
+
</dt>
|
809
|
+
<dd><pre class="code"><span class='string val'>"styles.xml"</span>
|
810
|
+
</pre></dd>
|
811
|
+
|
812
|
+
<dt id="APP_PN-constant" class="">APP_PN =
|
813
|
+
<div class="docstring">
|
814
|
+
<div class="discussion">
|
815
|
+
<p>
|
816
|
+
app part
|
817
|
+
</p>
|
818
|
+
|
819
|
+
|
820
|
+
</div>
|
821
|
+
</div>
|
822
|
+
<div class="tags">
|
823
|
+
|
824
|
+
|
825
|
+
</div>
|
826
|
+
</dt>
|
827
|
+
<dd><pre class="code"><span class='string val'>"docProps/app.xml"</span>
|
828
|
+
</pre></dd>
|
829
|
+
|
830
|
+
<dt id="CORE_PN-constant" class="">CORE_PN =
|
831
|
+
<div class="docstring">
|
832
|
+
<div class="discussion">
|
833
|
+
<p>
|
834
|
+
core part
|
835
|
+
</p>
|
836
|
+
|
837
|
+
|
838
|
+
</div>
|
839
|
+
</div>
|
840
|
+
<div class="tags">
|
841
|
+
|
842
|
+
|
843
|
+
</div>
|
844
|
+
</dt>
|
845
|
+
<dd><pre class="code"><span class='string val'>"docProps/core.xml"</span>
|
846
|
+
</pre></dd>
|
847
|
+
|
848
|
+
<dt id="CONTENT_TYPES_PN-constant" class="">CONTENT_TYPES_PN =
|
849
|
+
<div class="docstring">
|
850
|
+
<div class="discussion">
|
851
|
+
<p>
|
852
|
+
content types part
|
853
|
+
</p>
|
854
|
+
|
855
|
+
|
856
|
+
</div>
|
857
|
+
</div>
|
858
|
+
<div class="tags">
|
859
|
+
|
860
|
+
|
861
|
+
</div>
|
862
|
+
</dt>
|
863
|
+
<dd><pre class="code"><span class='string val'>"[Content_Types].xml"</span>
|
864
|
+
</pre></dd>
|
865
|
+
|
866
|
+
<dt id="RELS_PN-constant" class="">RELS_PN =
|
867
|
+
<div class="docstring">
|
868
|
+
<div class="discussion">
|
869
|
+
<p>
|
870
|
+
rels part
|
871
|
+
</p>
|
872
|
+
|
873
|
+
|
874
|
+
</div>
|
875
|
+
</div>
|
876
|
+
<div class="tags">
|
877
|
+
|
878
|
+
|
879
|
+
</div>
|
880
|
+
</dt>
|
881
|
+
<dd><pre class="code"><span class='string val'>"_rels/.rels"</span>
|
882
|
+
</pre></dd>
|
883
|
+
|
884
|
+
<dt id="WORKBOOK_RELS_PN-constant" class="">WORKBOOK_RELS_PN =
|
885
|
+
<div class="docstring">
|
886
|
+
<div class="discussion">
|
887
|
+
<p>
|
888
|
+
workbook rels part
|
889
|
+
</p>
|
890
|
+
|
891
|
+
|
892
|
+
</div>
|
893
|
+
</div>
|
894
|
+
<div class="tags">
|
895
|
+
|
896
|
+
|
897
|
+
</div>
|
898
|
+
</dt>
|
899
|
+
<dd><pre class="code"><span class='string val'>"xl/_rels/workbook.xml.rels"</span>
|
900
|
+
</pre></dd>
|
901
|
+
|
902
|
+
<dt id="WORKSHEET_PN-constant" class="">WORKSHEET_PN =
|
903
|
+
<div class="docstring">
|
904
|
+
<div class="discussion">
|
905
|
+
<p>
|
906
|
+
worksheet part
|
907
|
+
</p>
|
908
|
+
|
909
|
+
|
910
|
+
</div>
|
911
|
+
</div>
|
912
|
+
<div class="tags">
|
913
|
+
|
914
|
+
|
915
|
+
</div>
|
916
|
+
</dt>
|
917
|
+
<dd><pre class="code"><span class='string val'>"worksheets/sheet%d.xml"</span>
|
918
|
+
</pre></dd>
|
919
|
+
|
920
|
+
<dt id="WORKSHEET_RELS_PN-constant" class="">WORKSHEET_RELS_PN =
|
921
|
+
<div class="docstring">
|
922
|
+
<div class="discussion">
|
923
|
+
<p>
|
924
|
+
worksheet rels part
|
925
|
+
</p>
|
926
|
+
|
927
|
+
|
928
|
+
</div>
|
929
|
+
</div>
|
930
|
+
<div class="tags">
|
931
|
+
|
932
|
+
|
933
|
+
</div>
|
934
|
+
</dt>
|
935
|
+
<dd><pre class="code"><span class='string val'>"worksheets/_rels/sheet%d.xml.rels"</span>
|
936
|
+
</pre></dd>
|
937
|
+
|
938
|
+
<dt id="DRAWING_PN-constant" class="">DRAWING_PN =
|
939
|
+
<div class="docstring">
|
940
|
+
<div class="discussion">
|
941
|
+
<p>
|
942
|
+
drawing part
|
943
|
+
</p>
|
944
|
+
|
945
|
+
|
946
|
+
</div>
|
947
|
+
</div>
|
948
|
+
<div class="tags">
|
949
|
+
|
950
|
+
|
951
|
+
</div>
|
952
|
+
</dt>
|
953
|
+
<dd><pre class="code"><span class='string val'>"drawings/drawing%d.xml"</span>
|
954
|
+
</pre></dd>
|
955
|
+
|
956
|
+
<dt id="DRAWING_RELS_PN-constant" class="">DRAWING_RELS_PN =
|
957
|
+
<div class="docstring">
|
958
|
+
<div class="discussion">
|
959
|
+
<p>
|
960
|
+
drawing rels part
|
961
|
+
</p>
|
962
|
+
|
963
|
+
|
964
|
+
</div>
|
965
|
+
</div>
|
966
|
+
<div class="tags">
|
967
|
+
|
968
|
+
|
969
|
+
</div>
|
970
|
+
</dt>
|
971
|
+
<dd><pre class="code"><span class='string val'>"drawings/_rels/drawing%d.xml.rels"</span>
|
972
|
+
</pre></dd>
|
973
|
+
|
974
|
+
<dt id="CHART_PN-constant" class="">CHART_PN =
|
975
|
+
<div class="docstring">
|
976
|
+
<div class="discussion">
|
977
|
+
<p>
|
978
|
+
chart part
|
979
|
+
</p>
|
980
|
+
|
981
|
+
|
982
|
+
</div>
|
983
|
+
</div>
|
984
|
+
<div class="tags">
|
985
|
+
|
986
|
+
|
987
|
+
</div>
|
988
|
+
</dt>
|
989
|
+
<dd><pre class="code"><span class='string val'>"charts/chart%d.xml"</span>
|
990
|
+
</pre></dd>
|
991
|
+
|
992
|
+
<dt id="APP_XSD-constant" class="">APP_XSD =
|
993
|
+
<div class="docstring">
|
994
|
+
<div class="discussion">
|
995
|
+
<p>
|
996
|
+
App validation schema
|
997
|
+
</p>
|
998
|
+
|
999
|
+
|
1000
|
+
</div>
|
1001
|
+
</div>
|
1002
|
+
<div class="tags">
|
1003
|
+
|
1004
|
+
|
1005
|
+
</div>
|
1006
|
+
</dt>
|
1007
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/shared-documentPropertiesExtended.xsd"</span>
|
1008
|
+
</pre></dd>
|
1009
|
+
|
1010
|
+
<dt id="CORE_XSD-constant" class="">CORE_XSD =
|
1011
|
+
<div class="docstring">
|
1012
|
+
<div class="discussion">
|
1013
|
+
<p>
|
1014
|
+
core validation schema
|
1015
|
+
</p>
|
1016
|
+
|
1017
|
+
|
1018
|
+
</div>
|
1019
|
+
</div>
|
1020
|
+
<div class="tags">
|
1021
|
+
|
1022
|
+
|
1023
|
+
</div>
|
1024
|
+
</dt>
|
1025
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/opc-coreProperties.xsd"</span>
|
1026
|
+
</pre></dd>
|
1027
|
+
|
1028
|
+
<dt id="CONTENT_TYPES_XSD-constant" class="">CONTENT_TYPES_XSD =
|
1029
|
+
<div class="docstring">
|
1030
|
+
<div class="discussion">
|
1031
|
+
<p>
|
1032
|
+
content types validation schema
|
1033
|
+
</p>
|
1034
|
+
|
1035
|
+
|
1036
|
+
</div>
|
1037
|
+
</div>
|
1038
|
+
<div class="tags">
|
1039
|
+
|
1040
|
+
|
1041
|
+
</div>
|
1042
|
+
</dt>
|
1043
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/opc-contentTypes.xsd"</span>
|
1044
|
+
</pre></dd>
|
1045
|
+
|
1046
|
+
<dt id="RELS_XSD-constant" class="">RELS_XSD =
|
1047
|
+
<div class="docstring">
|
1048
|
+
<div class="discussion">
|
1049
|
+
<p>
|
1050
|
+
rels validation schema
|
1051
|
+
</p>
|
1052
|
+
|
1053
|
+
|
1054
|
+
</div>
|
1055
|
+
</div>
|
1056
|
+
<div class="tags">
|
1057
|
+
|
1058
|
+
|
1059
|
+
</div>
|
1060
|
+
</dt>
|
1061
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/opc-relationships.xsd"</span>
|
1062
|
+
</pre></dd>
|
1063
|
+
|
1064
|
+
<dt id="SML_XSD-constant" class="">SML_XSD =
|
1065
|
+
<div class="docstring">
|
1066
|
+
<div class="discussion">
|
1067
|
+
<p>
|
1068
|
+
spreadsheetML validation schema
|
1069
|
+
</p>
|
1070
|
+
|
1071
|
+
|
1072
|
+
</div>
|
1073
|
+
</div>
|
1074
|
+
<div class="tags">
|
1075
|
+
|
1076
|
+
|
1077
|
+
</div>
|
1078
|
+
</dt>
|
1079
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/sml.xsd"</span>
|
1080
|
+
</pre></dd>
|
1081
|
+
|
1082
|
+
<dt id="DRAWING_XSD-constant" class="">DRAWING_XSD =
|
1083
|
+
<div class="docstring">
|
1084
|
+
<div class="discussion">
|
1085
|
+
<p>
|
1086
|
+
drawing validation schema
|
1087
|
+
</p>
|
1088
|
+
|
1089
|
+
|
1090
|
+
</div>
|
1091
|
+
</div>
|
1092
|
+
<div class="tags">
|
1093
|
+
|
1094
|
+
|
1095
|
+
</div>
|
1096
|
+
</dt>
|
1097
|
+
<dd><pre class="code"><span class='string val'>"lib/schema/dml-spreadsheetDrawing.xsd"</span>
|
1098
|
+
</pre></dd>
|
1099
|
+
|
1100
|
+
<dt id="NUM_FMT_PERCENT-constant" class="">NUM_FMT_PERCENT =
|
1101
|
+
<div class="docstring">
|
1102
|
+
<div class="discussion">
|
1103
|
+
<p>
|
1104
|
+
number format id for pecentage formatting using the default formatting id.
|
1105
|
+
</p>
|
1106
|
+
|
1107
|
+
|
1108
|
+
</div>
|
1109
|
+
</div>
|
1110
|
+
<div class="tags">
|
1111
|
+
|
1112
|
+
|
1113
|
+
</div>
|
1114
|
+
</dt>
|
1115
|
+
<dd><pre class="code"><span class='integer val'>9</span>
|
1116
|
+
</pre></dd>
|
1117
|
+
|
1118
|
+
<dt id="NUM_FMT_YYYYMMDD-constant" class="">NUM_FMT_YYYYMMDD =
|
1119
|
+
<div class="docstring">
|
1120
|
+
<div class="discussion">
|
1121
|
+
<p>
|
1122
|
+
number format id for date format like 2011/11/13
|
1123
|
+
</p>
|
1124
|
+
|
1125
|
+
|
1126
|
+
</div>
|
1127
|
+
</div>
|
1128
|
+
<div class="tags">
|
1129
|
+
|
1130
|
+
|
1131
|
+
</div>
|
1132
|
+
</dt>
|
1133
|
+
<dd><pre class="code"><span class='integer val'>100</span>
|
1134
|
+
</pre></dd>
|
1135
|
+
|
1136
|
+
<dt id="NUM_FMT_YYYYMMDDHHMMSS-constant" class="">NUM_FMT_YYYYMMDDHHMMSS =
|
1137
|
+
<div class="docstring">
|
1138
|
+
<div class="discussion">
|
1139
|
+
<p>
|
1140
|
+
number format id for time format the creates 2011/11/13 12:23:10
|
1141
|
+
</p>
|
1142
|
+
|
1143
|
+
|
1144
|
+
</div>
|
1145
|
+
</div>
|
1146
|
+
<div class="tags">
|
1147
|
+
|
1148
|
+
|
1149
|
+
</div>
|
1150
|
+
</dt>
|
1151
|
+
<dd><pre class="code"><span class='integer val'>101</span>
|
1152
|
+
</pre></dd>
|
1153
|
+
|
1154
|
+
<dt id="STYLE_THIN_BORDER-constant" class="">STYLE_THIN_BORDER =
|
1155
|
+
<div class="docstring">
|
1156
|
+
<div class="discussion">
|
1157
|
+
<p>
|
1158
|
+
cellXfs id for thin borders around the cell
|
1159
|
+
</p>
|
1160
|
+
|
1161
|
+
|
1162
|
+
</div>
|
1163
|
+
</div>
|
1164
|
+
<div class="tags">
|
1165
|
+
|
1166
|
+
|
1167
|
+
</div>
|
1168
|
+
</dt>
|
1169
|
+
<dd><pre class="code"><span class='integer val'>1</span>
|
1170
|
+
</pre></dd>
|
1171
|
+
|
1172
|
+
<dt id="ERR_RESTRICTION-constant" class="">ERR_RESTRICTION =
|
1173
|
+
<div class="docstring">
|
1174
|
+
<div class="discussion">
|
1175
|
+
<p>
|
1176
|
+
error messages RestrictionValidor
|
1177
|
+
</p>
|
1178
|
+
|
1179
|
+
|
1180
|
+
</div>
|
1181
|
+
</div>
|
1182
|
+
<div class="tags">
|
1183
|
+
|
1184
|
+
|
1185
|
+
</div>
|
1186
|
+
</dt>
|
1187
|
+
<dd><pre class="code"><span class='string val'>"Invalid Data: %s. %s must be one of %s."</span>
|
1188
|
+
</pre></dd>
|
1189
|
+
|
1190
|
+
<dt id="ERR_TYPE-constant" class="">ERR_TYPE =
|
1191
|
+
<div class="docstring">
|
1192
|
+
<div class="discussion">
|
1193
|
+
<p>
|
1194
|
+
error message DataTypeValidator
|
1195
|
+
</p>
|
1196
|
+
|
1197
|
+
|
1198
|
+
</div>
|
1199
|
+
</div>
|
1200
|
+
<div class="tags">
|
1201
|
+
|
1202
|
+
|
1203
|
+
</div>
|
1204
|
+
</dt>
|
1205
|
+
<dd><pre class="code"><span class='string val'>"Invalid Data %s for %s. must be %s."</span>
|
1206
|
+
</pre></dd>
|
1207
|
+
|
1208
|
+
<dt id="ERR_REGEX-constant" class="">ERR_REGEX =
|
1209
|
+
<div class="docstring">
|
1210
|
+
<div class="discussion">
|
1211
|
+
<p>
|
1212
|
+
error message for RegexValidator
|
1213
|
+
</p>
|
1214
|
+
|
1215
|
+
|
1216
|
+
</div>
|
1217
|
+
</div>
|
1218
|
+
<div class="tags">
|
1219
|
+
|
1220
|
+
|
1221
|
+
</div>
|
1222
|
+
</dt>
|
1223
|
+
<dd><pre class="code"><span class='string val'>"Invalid Data. %s does not match %s."</span>
|
1224
|
+
</pre></dd>
|
1225
|
+
|
1226
|
+
</dl>
|
1227
|
+
|
1228
|
+
|
1229
|
+
|
1230
|
+
|
1231
|
+
|
1232
|
+
|
1233
|
+
|
1234
|
+
<h2>
|
1235
|
+
Class Method Summary
|
1236
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
1237
|
+
</h2>
|
1238
|
+
|
1239
|
+
<ul class="summary">
|
1240
|
+
|
1241
|
+
<li class="public ">
|
1242
|
+
<span class="summary_signature">
|
1243
|
+
|
1244
|
+
<a href="#cell_range-class_method" title="cell_range (class method)">+ (Object) <strong>cell_range</strong>(items) </a>
|
1245
|
+
|
1246
|
+
|
1247
|
+
|
1248
|
+
</span>
|
1249
|
+
|
1250
|
+
|
1251
|
+
|
1252
|
+
|
1253
|
+
|
1254
|
+
|
1255
|
+
|
1256
|
+
|
1257
|
+
<span class="summary_desc"><div class='inline'><p>
|
1258
|
+
determines the cell range for the items provided.
|
1259
|
+
</p>
|
1260
|
+
</div></span>
|
1261
|
+
|
1262
|
+
</li>
|
1263
|
+
|
1264
|
+
|
1265
|
+
<li class="public ">
|
1266
|
+
<span class="summary_signature">
|
1267
|
+
|
1268
|
+
<a href="#validate_boolean-class_method" title="validate_boolean (class method)">+ (Object) <strong>validate_boolean</strong>(v) </a>
|
1269
|
+
|
1270
|
+
|
1271
|
+
|
1272
|
+
</span>
|
1273
|
+
|
1274
|
+
|
1275
|
+
|
1276
|
+
|
1277
|
+
|
1278
|
+
|
1279
|
+
|
1280
|
+
|
1281
|
+
<span class="summary_desc"><div class='inline'><p>
|
1282
|
+
Requires that the value is a form that can be evaluated as a boolean in an
|
1283
|
+
xml document.
|
1284
|
+
</p>
|
1285
|
+
</div></span>
|
1286
|
+
|
1287
|
+
</li>
|
1288
|
+
|
1289
|
+
|
1290
|
+
<li class="public ">
|
1291
|
+
<span class="summary_signature">
|
1292
|
+
|
1293
|
+
<a href="#validate_content_type-class_method" title="validate_content_type (class method)">+ (Object) <strong>validate_content_type</strong>(v) </a>
|
1294
|
+
|
1295
|
+
|
1296
|
+
|
1297
|
+
</span>
|
1298
|
+
|
1299
|
+
|
1300
|
+
|
1301
|
+
|
1302
|
+
|
1303
|
+
|
1304
|
+
|
1305
|
+
|
1306
|
+
<span class="summary_desc"><div class='inline'><p>
|
1307
|
+
Requires that the value is a valid content_type TABLE_CT, WORKBOOK_CT,
|
1308
|
+
APP_CT, RELS_CT, STYLES_CT, XML_CT, WORKSHEET_CT, SHARED_STRINGS_CT,
|
1309
|
+
CORE_CT, CHART_CT, DRAWING_CT are allowed.
|
1310
|
+
</p>
|
1311
|
+
</div></span>
|
1312
|
+
|
1313
|
+
</li>
|
1314
|
+
|
1315
|
+
|
1316
|
+
<li class="public ">
|
1317
|
+
<span class="summary_signature">
|
1318
|
+
|
1319
|
+
<a href="#validate_float-class_method" title="validate_float (class method)">+ (Object) <strong>validate_float</strong>(v) </a>
|
1320
|
+
|
1321
|
+
|
1322
|
+
|
1323
|
+
</span>
|
1324
|
+
|
1325
|
+
|
1326
|
+
|
1327
|
+
|
1328
|
+
|
1329
|
+
|
1330
|
+
|
1331
|
+
|
1332
|
+
<span class="summary_desc"><div class='inline'><p>
|
1333
|
+
Requires that the value is a Float.
|
1334
|
+
</p>
|
1335
|
+
</div></span>
|
1336
|
+
|
1337
|
+
</li>
|
1338
|
+
|
1339
|
+
|
1340
|
+
<li class="public ">
|
1341
|
+
<span class="summary_signature">
|
1342
|
+
|
1343
|
+
<a href="#validate_gradient_type-class_method" title="validate_gradient_type (class method)">+ (Object) <strong>validate_gradient_type</strong>(v) </a>
|
1344
|
+
|
1345
|
+
|
1346
|
+
|
1347
|
+
</span>
|
1348
|
+
|
1349
|
+
|
1350
|
+
|
1351
|
+
|
1352
|
+
|
1353
|
+
|
1354
|
+
|
1355
|
+
|
1356
|
+
<span class="summary_desc"><div class='inline'><p>
|
1357
|
+
Requires that the value is a gradient_type.
|
1358
|
+
</p>
|
1359
|
+
</div></span>
|
1360
|
+
|
1361
|
+
</li>
|
1362
|
+
|
1363
|
+
|
1364
|
+
<li class="public ">
|
1365
|
+
<span class="summary_signature">
|
1366
|
+
|
1367
|
+
<a href="#validate_horizontal_alignment-class_method" title="validate_horizontal_alignment (class method)">+ (Object) <strong>validate_horizontal_alignment</strong>(v) </a>
|
1368
|
+
|
1369
|
+
|
1370
|
+
|
1371
|
+
</span>
|
1372
|
+
|
1373
|
+
|
1374
|
+
|
1375
|
+
|
1376
|
+
|
1377
|
+
|
1378
|
+
|
1379
|
+
|
1380
|
+
<span class="summary_desc"><div class='inline'><p>
|
1381
|
+
Requires that the value is a valid horizontal_alignment :general, :left,
|
1382
|
+
:center, :right, :fill, :justify, :centerContinuous, :distributed are
|
1383
|
+
allowed.
|
1384
|
+
</p>
|
1385
|
+
</div></span>
|
1386
|
+
|
1387
|
+
</li>
|
1388
|
+
|
1389
|
+
|
1390
|
+
<li class="public ">
|
1391
|
+
<span class="summary_signature">
|
1392
|
+
|
1393
|
+
<a href="#validate_int-class_method" title="validate_int (class method)">+ (Object) <strong>validate_int</strong>(v) </a>
|
1394
|
+
|
1395
|
+
|
1396
|
+
|
1397
|
+
</span>
|
1398
|
+
|
1399
|
+
|
1400
|
+
|
1401
|
+
|
1402
|
+
|
1403
|
+
|
1404
|
+
|
1405
|
+
|
1406
|
+
<span class="summary_desc"><div class='inline'><p>
|
1407
|
+
Requires that the value is a Fixnum or Integer.
|
1408
|
+
</p>
|
1409
|
+
</div></span>
|
1410
|
+
|
1411
|
+
</li>
|
1412
|
+
|
1413
|
+
|
1414
|
+
<li class="public ">
|
1415
|
+
<span class="summary_signature">
|
1416
|
+
|
1417
|
+
<a href="#validate_pattern_type-class_method" title="validate_pattern_type (class method)">+ (Object) <strong>validate_pattern_type</strong>(v) </a>
|
1418
|
+
|
1419
|
+
|
1420
|
+
|
1421
|
+
</span>
|
1422
|
+
|
1423
|
+
|
1424
|
+
|
1425
|
+
|
1426
|
+
|
1427
|
+
|
1428
|
+
|
1429
|
+
|
1430
|
+
<span class="summary_desc"><div class='inline'><p>
|
1431
|
+
Requires that the value is valid pattern type.
|
1432
|
+
</p>
|
1433
|
+
</div></span>
|
1434
|
+
|
1435
|
+
</li>
|
1436
|
+
|
1437
|
+
|
1438
|
+
<li class="public ">
|
1439
|
+
<span class="summary_signature">
|
1440
|
+
|
1441
|
+
<a href="#validate_relationship_type-class_method" title="validate_relationship_type (class method)">+ (Object) <strong>validate_relationship_type</strong>(v) </a>
|
1442
|
+
|
1443
|
+
|
1444
|
+
|
1445
|
+
</span>
|
1446
|
+
|
1447
|
+
|
1448
|
+
|
1449
|
+
|
1450
|
+
|
1451
|
+
|
1452
|
+
|
1453
|
+
|
1454
|
+
<span class="summary_desc"><div class='inline'><p>
|
1455
|
+
Requires that the value is a valid relationship_type XML_NS_R, TABLE_R,
|
1456
|
+
WORKBOOK_R, WORKSHEET_R, APP_R, RELS_R, CORE_R, STYLES_R, CHART_R,
|
1457
|
+
DRAWING_R are allowed.
|
1458
|
+
</p>
|
1459
|
+
</div></span>
|
1460
|
+
|
1461
|
+
</li>
|
1462
|
+
|
1463
|
+
|
1464
|
+
<li class="public ">
|
1465
|
+
<span class="summary_signature">
|
1466
|
+
|
1467
|
+
<a href="#validate_string-class_method" title="validate_string (class method)">+ (Object) <strong>validate_string</strong>(v) </a>
|
1468
|
+
|
1469
|
+
|
1470
|
+
|
1471
|
+
</span>
|
1472
|
+
|
1473
|
+
|
1474
|
+
|
1475
|
+
|
1476
|
+
|
1477
|
+
|
1478
|
+
|
1479
|
+
|
1480
|
+
<span class="summary_desc"><div class='inline'><p>
|
1481
|
+
Requires that the value is a String.
|
1482
|
+
</p>
|
1483
|
+
</div></span>
|
1484
|
+
|
1485
|
+
</li>
|
1486
|
+
|
1487
|
+
|
1488
|
+
<li class="public ">
|
1489
|
+
<span class="summary_signature">
|
1490
|
+
|
1491
|
+
<a href="#validate_table_element_type-class_method" title="validate_table_element_type (class method)">+ (Object) <strong>validate_table_element_type</strong>(v) </a>
|
1492
|
+
|
1493
|
+
|
1494
|
+
|
1495
|
+
</span>
|
1496
|
+
|
1497
|
+
|
1498
|
+
|
1499
|
+
|
1500
|
+
|
1501
|
+
|
1502
|
+
|
1503
|
+
|
1504
|
+
<span class="summary_desc"><div class='inline'><p>
|
1505
|
+
Requires that the value is a valid table element type :wholeTable,
|
1506
|
+
:headerRow, :totalRow, :firstColumn, :lastColumn, :firstRowStripe,
|
1507
|
+
:secondRowStripe, :firstColumnStripe, :secondColumnStripe,
|
1508
|
+
:firstHeaderCell, :lastHeaderCell, :firstTotalCell, :lastTotalCell,
|
1509
|
+
:firstSubtotalColumn, :secondSubtotalColumn, :thirdSubtotalColumn,
|
1510
|
+
:firstSubtotalRow, :secondSubtotalRow, :thirdSubtotalRow, :blankRow,
|
1511
|
+
:firstColumnSubheading, :secondColumnSubheading, :thirdColumnSubheading,
|
1512
|
+
:firstRowSubheading, :secondRowSubheading, :thirdRowSubheading,
|
1513
|
+
:pageFieldLabels, :pageFieldValues are allowed.
|
1514
|
+
</p>
|
1515
|
+
</div></span>
|
1516
|
+
|
1517
|
+
</li>
|
1518
|
+
|
1519
|
+
|
1520
|
+
<li class="public ">
|
1521
|
+
<span class="summary_signature">
|
1522
|
+
|
1523
|
+
<a href="#validate_unsigned_int-class_method" title="validate_unsigned_int (class method)">+ (Boolean) <strong>validate_unsigned_int</strong>(v) </a>
|
1524
|
+
|
1525
|
+
|
1526
|
+
|
1527
|
+
</span>
|
1528
|
+
|
1529
|
+
|
1530
|
+
|
1531
|
+
|
1532
|
+
|
1533
|
+
|
1534
|
+
|
1535
|
+
|
1536
|
+
<span class="summary_desc"><div class='inline'><p>
|
1537
|
+
Requires that the value is a Fixnum or Integer and is greater or equal to
|
1538
|
+
0.
|
1539
|
+
</p>
|
1540
|
+
</div></span>
|
1541
|
+
|
1542
|
+
</li>
|
1543
|
+
|
1544
|
+
|
1545
|
+
<li class="public ">
|
1546
|
+
<span class="summary_signature">
|
1547
|
+
|
1548
|
+
<a href="#validate_vertical_alignment-class_method" title="validate_vertical_alignment (class method)">+ (Object) <strong>validate_vertical_alignment</strong>(v) </a>
|
1549
|
+
|
1550
|
+
|
1551
|
+
|
1552
|
+
</span>
|
1553
|
+
|
1554
|
+
|
1555
|
+
|
1556
|
+
|
1557
|
+
|
1558
|
+
|
1559
|
+
|
1560
|
+
|
1561
|
+
<span class="summary_desc"><div class='inline'><p>
|
1562
|
+
Requires that the value is a valid vertical_alignment :top, :center,
|
1563
|
+
:bottom, :justify, :distributed are allowed.
|
1564
|
+
</p>
|
1565
|
+
</div></span>
|
1566
|
+
|
1567
|
+
</li>
|
1568
|
+
|
1569
|
+
|
1570
|
+
</ul>
|
1571
|
+
|
1572
|
+
|
1573
|
+
|
1574
|
+
|
1575
|
+
<div id="class_method_details" class="method_details_list">
|
1576
|
+
<h2>Class Method Details</h2>
|
1577
|
+
|
1578
|
+
|
1579
|
+
<div class="method_details first">
|
1580
|
+
<p class="signature first" id="cell_range-class_method">
|
1581
|
+
|
1582
|
+
+ (<tt>Object</tt>) <strong>cell_range</strong>(items)
|
1583
|
+
|
1584
|
+
|
1585
|
+
|
1586
|
+
</p><div class="docstring">
|
1587
|
+
<div class="discussion">
|
1588
|
+
<p>
|
1589
|
+
determines the cell range for the items provided
|
1590
|
+
</p>
|
1591
|
+
|
1592
|
+
|
1593
|
+
</div>
|
1594
|
+
</div>
|
1595
|
+
<div class="tags">
|
1596
|
+
|
1597
|
+
|
1598
|
+
</div><table class="source_code">
|
1599
|
+
<tr>
|
1600
|
+
<td>
|
1601
|
+
<pre class="lines">
|
1602
|
+
|
1603
|
+
|
1604
|
+
31
|
1605
|
+
32
|
1606
|
+
33
|
1607
|
+
34
|
1608
|
+
35</pre>
|
1609
|
+
</td>
|
1610
|
+
<td>
|
1611
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx.rb', line 31</span>
|
1612
|
+
|
1613
|
+
<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>
|
1614
|
+
<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>
|
1615
|
+
<span class='dstring node'>"#{items.first.row.worksheet.name}!"</span> <span class='plus op'>+</span>
|
1616
|
+
<span class='dstring node'>"#{items.first.r_abs}:#{items.last.r_abs}"</span>
|
1617
|
+
<span class='end end kw'>end</span>
|
1618
|
+
</pre>
|
1619
|
+
</td>
|
1620
|
+
</tr>
|
1621
|
+
</table>
|
1622
|
+
</div>
|
1623
|
+
|
1624
|
+
<div class="method_details ">
|
1625
|
+
<p class="signature " id="validate_boolean-class_method">
|
1626
|
+
|
1627
|
+
+ (<tt>Object</tt>) <strong>validate_boolean</strong>(v)
|
1628
|
+
|
1629
|
+
|
1630
|
+
|
1631
|
+
</p><div class="docstring">
|
1632
|
+
<div class="discussion">
|
1633
|
+
<p>
|
1634
|
+
Requires that the value is a form that can be evaluated as a boolean in an
|
1635
|
+
xml document. The value must be an instance of Fixnum, String, Integer,
|
1636
|
+
Symbol, TrueClass or FalseClass and it must be one of 0, 1,
|
1637
|
+
"true", "false", :true, :false, true, false,
|
1638
|
+
"0", or "1"
|
1639
|
+
</p>
|
1640
|
+
|
1641
|
+
|
1642
|
+
</div>
|
1643
|
+
</div>
|
1644
|
+
<div class="tags">
|
1645
|
+
<h3>Parameters:</h3>
|
1646
|
+
<ul class="param">
|
1647
|
+
|
1648
|
+
<li>
|
1649
|
+
|
1650
|
+
<span class='name'>v</span>
|
1651
|
+
|
1652
|
+
|
1653
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
1654
|
+
|
1655
|
+
|
1656
|
+
|
1657
|
+
—
|
1658
|
+
<div class='inline'><p>
|
1659
|
+
The value validated
|
1660
|
+
</p>
|
1661
|
+
</div>
|
1662
|
+
|
1663
|
+
</li>
|
1664
|
+
|
1665
|
+
</ul>
|
1666
|
+
|
1667
|
+
|
1668
|
+
</div><table class="source_code">
|
1669
|
+
<tr>
|
1670
|
+
<td>
|
1671
|
+
<pre class="lines">
|
1672
|
+
|
1673
|
+
|
1674
|
+
65
|
1675
|
+
66
|
1676
|
+
67</pre>
|
1677
|
+
</td>
|
1678
|
+
<td>
|
1679
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 65</span>
|
1680
|
+
|
1681
|
+
<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>
|
1682
|
+
<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='v identifier id'>v</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='v identifier id'>v</span><span class='rparen token'>)</span> <span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
1683
|
+
<span class='end end kw'>end</span>
|
1684
|
+
</pre>
|
1685
|
+
</td>
|
1686
|
+
</tr>
|
1687
|
+
</table>
|
1688
|
+
</div>
|
1689
|
+
|
1690
|
+
<div class="method_details ">
|
1691
|
+
<p class="signature " id="validate_content_type-class_method">
|
1692
|
+
|
1693
|
+
+ (<tt>Object</tt>) <strong>validate_content_type</strong>(v)
|
1694
|
+
|
1695
|
+
|
1696
|
+
|
1697
|
+
</p><div class="docstring">
|
1698
|
+
<div class="discussion">
|
1699
|
+
<p>
|
1700
|
+
Requires that the value is a valid content_type TABLE_CT, WORKBOOK_CT,
|
1701
|
+
APP_CT, RELS_CT, STYLES_CT, XML_CT, WORKSHEET_CT, SHARED_STRINGS_CT,
|
1702
|
+
CORE_CT, CHART_CT, DRAWING_CT are allowed
|
1703
|
+
</p>
|
1704
|
+
|
1705
|
+
|
1706
|
+
</div>
|
1707
|
+
</div>
|
1708
|
+
<div class="tags">
|
1709
|
+
<h3>Parameters:</h3>
|
1710
|
+
<ul class="param">
|
1711
|
+
|
1712
|
+
<li>
|
1713
|
+
|
1714
|
+
<span class='name'>v</span>
|
1715
|
+
|
1716
|
+
|
1717
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
1718
|
+
|
1719
|
+
|
1720
|
+
|
1721
|
+
—
|
1722
|
+
<div class='inline'><p>
|
1723
|
+
The value validated
|
1724
|
+
</p>
|
1725
|
+
</div>
|
1726
|
+
|
1727
|
+
</li>
|
1728
|
+
|
1729
|
+
</ul>
|
1730
|
+
|
1731
|
+
|
1732
|
+
</div><table class="source_code">
|
1733
|
+
<tr>
|
1734
|
+
<td>
|
1735
|
+
<pre class="lines">
|
1736
|
+
|
1737
|
+
|
1738
|
+
114
|
1739
|
+
115
|
1740
|
+
116</pre>
|
1741
|
+
</td>
|
1742
|
+
<td>
|
1743
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 114</span>
|
1744
|
+
|
1745
|
+
<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>
|
1746
|
+
<span class='RestrictionValidator constant id'>RestrictionValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:content_type</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='TABLE_CT constant id'>TABLE_CT</span><span class='comma token'>,</span> <span class='WORKBOOK_CT constant id'>WORKBOOK_CT</span><span class='comma token'>,</span> <span class='APP_CT constant id'>APP_CT</span><span class='comma token'>,</span> <span class='RELS_CT constant id'>RELS_CT</span><span class='comma token'>,</span> <span class='STYLES_CT constant id'>STYLES_CT</span><span class='comma token'>,</span> <span class='XML_CT constant id'>XML_CT</span><span class='comma token'>,</span> <span class='WORKSHEET_CT constant id'>WORKSHEET_CT</span><span class='comma token'>,</span> <span class='SHARED_STRINGS_CT constant id'>SHARED_STRINGS_CT</span><span class='comma token'>,</span> <span class='CORE_CT constant id'>CORE_CT</span><span class='comma token'>,</span> <span class='CHART_CT constant id'>CHART_CT</span><span class='comma token'>,</span> <span class='DRAWING_CT constant id'>DRAWING_CT</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
|
1747
|
+
<span class='end end kw'>end</span>
|
1748
|
+
</pre>
|
1749
|
+
</td>
|
1750
|
+
</tr>
|
1751
|
+
</table>
|
1752
|
+
</div>
|
1753
|
+
|
1754
|
+
<div class="method_details ">
|
1755
|
+
<p class="signature " id="validate_float-class_method">
|
1756
|
+
|
1757
|
+
+ (<tt>Object</tt>) <strong>validate_float</strong>(v)
|
1758
|
+
|
1759
|
+
|
1760
|
+
|
1761
|
+
</p><div class="docstring">
|
1762
|
+
<div class="discussion">
|
1763
|
+
<p>
|
1764
|
+
Requires that the value is a Float
|
1765
|
+
</p>
|
1766
|
+
|
1767
|
+
|
1768
|
+
</div>
|
1769
|
+
</div>
|
1770
|
+
<div class="tags">
|
1771
|
+
<h3>Parameters:</h3>
|
1772
|
+
<ul class="param">
|
1773
|
+
|
1774
|
+
<li>
|
1775
|
+
|
1776
|
+
<span class='name'>v</span>
|
1777
|
+
|
1778
|
+
|
1779
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
1780
|
+
|
1781
|
+
|
1782
|
+
|
1783
|
+
—
|
1784
|
+
<div class='inline'><p>
|
1785
|
+
The value validated
|
1786
|
+
</p>
|
1787
|
+
</div>
|
1788
|
+
|
1789
|
+
</li>
|
1790
|
+
|
1791
|
+
</ul>
|
1792
|
+
|
1793
|
+
|
1794
|
+
</div><table class="source_code">
|
1795
|
+
<tr>
|
1796
|
+
<td>
|
1797
|
+
<pre class="lines">
|
1798
|
+
|
1799
|
+
|
1800
|
+
77
|
1801
|
+
78
|
1802
|
+
79</pre>
|
1803
|
+
</td>
|
1804
|
+
<td>
|
1805
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 77</span>
|
1806
|
+
|
1807
|
+
<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>
|
1808
|
+
<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>
|
1809
|
+
<span class='end end kw'>end</span>
|
1810
|
+
</pre>
|
1811
|
+
</td>
|
1812
|
+
</tr>
|
1813
|
+
</table>
|
1814
|
+
</div>
|
1815
|
+
|
1816
|
+
<div class="method_details ">
|
1817
|
+
<p class="signature " id="validate_gradient_type-class_method">
|
1818
|
+
|
1819
|
+
+ (<tt>Object</tt>) <strong>validate_gradient_type</strong>(v)
|
1820
|
+
|
1821
|
+
|
1822
|
+
|
1823
|
+
</p><div class="docstring">
|
1824
|
+
<div class="discussion">
|
1825
|
+
<p>
|
1826
|
+
Requires that the value is a gradient_type. valid types are :linear and
|
1827
|
+
:path
|
1828
|
+
</p>
|
1829
|
+
|
1830
|
+
|
1831
|
+
</div>
|
1832
|
+
</div>
|
1833
|
+
<div class="tags">
|
1834
|
+
<h3>Parameters:</h3>
|
1835
|
+
<ul class="param">
|
1836
|
+
|
1837
|
+
<li>
|
1838
|
+
|
1839
|
+
<span class='name'>v</span>
|
1840
|
+
|
1841
|
+
|
1842
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
1843
|
+
|
1844
|
+
|
1845
|
+
|
1846
|
+
—
|
1847
|
+
<div class='inline'><p>
|
1848
|
+
The value validated
|
1849
|
+
</p>
|
1850
|
+
</div>
|
1851
|
+
|
1852
|
+
</li>
|
1853
|
+
|
1854
|
+
</ul>
|
1855
|
+
|
1856
|
+
|
1857
|
+
</div><table class="source_code">
|
1858
|
+
<tr>
|
1859
|
+
<td>
|
1860
|
+
<pre class="lines">
|
1861
|
+
|
1862
|
+
|
1863
|
+
93
|
1864
|
+
94
|
1865
|
+
95</pre>
|
1866
|
+
</td>
|
1867
|
+
<td>
|
1868
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 93</span>
|
1869
|
+
|
1870
|
+
<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>
|
1871
|
+
<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>
|
1872
|
+
<span class='end end kw'>end</span>
|
1873
|
+
</pre>
|
1874
|
+
</td>
|
1875
|
+
</tr>
|
1876
|
+
</table>
|
1877
|
+
</div>
|
1878
|
+
|
1879
|
+
<div class="method_details ">
|
1880
|
+
<p class="signature " id="validate_horizontal_alignment-class_method">
|
1881
|
+
|
1882
|
+
+ (<tt>Object</tt>) <strong>validate_horizontal_alignment</strong>(v)
|
1883
|
+
|
1884
|
+
|
1885
|
+
|
1886
|
+
</p><div class="docstring">
|
1887
|
+
<div class="discussion">
|
1888
|
+
<p>
|
1889
|
+
Requires that the value is a valid horizontal_alignment :general, :left,
|
1890
|
+
:center, :right, :fill, :justify, :centerContinuous, :distributed are
|
1891
|
+
allowed
|
1892
|
+
</p>
|
1893
|
+
|
1894
|
+
|
1895
|
+
</div>
|
1896
|
+
</div>
|
1897
|
+
<div class="tags">
|
1898
|
+
<h3>Parameters:</h3>
|
1899
|
+
<ul class="param">
|
1900
|
+
|
1901
|
+
<li>
|
1902
|
+
|
1903
|
+
<span class='name'>v</span>
|
1904
|
+
|
1905
|
+
|
1906
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
1907
|
+
|
1908
|
+
|
1909
|
+
|
1910
|
+
—
|
1911
|
+
<div class='inline'><p>
|
1912
|
+
The value validated
|
1913
|
+
</p>
|
1914
|
+
</div>
|
1915
|
+
|
1916
|
+
</li>
|
1917
|
+
|
1918
|
+
</ul>
|
1919
|
+
|
1920
|
+
|
1921
|
+
</div><table class="source_code">
|
1922
|
+
<tr>
|
1923
|
+
<td>
|
1924
|
+
<pre class="lines">
|
1925
|
+
|
1926
|
+
|
1927
|
+
100
|
1928
|
+
101
|
1929
|
+
102</pre>
|
1930
|
+
</td>
|
1931
|
+
<td>
|
1932
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 100</span>
|
1933
|
+
|
1934
|
+
<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>
|
1935
|
+
<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>
|
1936
|
+
<span class='end end kw'>end</span>
|
1937
|
+
</pre>
|
1938
|
+
</td>
|
1939
|
+
</tr>
|
1940
|
+
</table>
|
1941
|
+
</div>
|
1942
|
+
|
1943
|
+
<div class="method_details ">
|
1944
|
+
<p class="signature " id="validate_int-class_method">
|
1945
|
+
|
1946
|
+
+ (<tt>Object</tt>) <strong>validate_int</strong>(v)
|
1947
|
+
|
1948
|
+
|
1949
|
+
|
1950
|
+
</p><div class="docstring">
|
1951
|
+
<div class="discussion">
|
1952
|
+
<p>
|
1953
|
+
Requires that the value is a Fixnum or Integer
|
1954
|
+
</p>
|
1955
|
+
|
1956
|
+
|
1957
|
+
</div>
|
1958
|
+
</div>
|
1959
|
+
<div class="tags">
|
1960
|
+
<h3>Parameters:</h3>
|
1961
|
+
<ul class="param">
|
1962
|
+
|
1963
|
+
<li>
|
1964
|
+
|
1965
|
+
<span class='name'>v</span>
|
1966
|
+
|
1967
|
+
|
1968
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
1969
|
+
|
1970
|
+
|
1971
|
+
|
1972
|
+
—
|
1973
|
+
<div class='inline'><p>
|
1974
|
+
The value validated
|
1975
|
+
</p>
|
1976
|
+
</div>
|
1977
|
+
|
1978
|
+
</li>
|
1979
|
+
|
1980
|
+
</ul>
|
1981
|
+
|
1982
|
+
|
1983
|
+
</div><table class="source_code">
|
1984
|
+
<tr>
|
1985
|
+
<td>
|
1986
|
+
<pre class="lines">
|
1987
|
+
|
1988
|
+
|
1989
|
+
57
|
1990
|
+
58
|
1991
|
+
59</pre>
|
1992
|
+
</td>
|
1993
|
+
<td>
|
1994
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 57</span>
|
1995
|
+
|
1996
|
+
<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>
|
1997
|
+
<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>
|
1998
|
+
<span class='end end kw'>end</span>
|
1999
|
+
</pre>
|
2000
|
+
</td>
|
2001
|
+
</tr>
|
2002
|
+
</table>
|
2003
|
+
</div>
|
2004
|
+
|
2005
|
+
<div class="method_details ">
|
2006
|
+
<p class="signature " id="validate_pattern_type-class_method">
|
2007
|
+
|
2008
|
+
+ (<tt>Object</tt>) <strong>validate_pattern_type</strong>(v)
|
2009
|
+
|
2010
|
+
|
2011
|
+
|
2012
|
+
</p><div class="docstring">
|
2013
|
+
<div class="discussion">
|
2014
|
+
<p>
|
2015
|
+
Requires that the value is valid pattern type. valid pattern types must be
|
2016
|
+
one of :none, :solid, :mediumGray, :darkGray, :lightGray, :darkHorizontal,
|
2017
|
+
:darkVertical, :darkDown, :darkUp, :darkGrid, :darkTrellis,
|
2018
|
+
:lightHorizontal, :lightVertical, :lightDown, :lightUp, :lightGrid,
|
2019
|
+
:lightTrellis, :gray125, or :gray0625.
|
2020
|
+
</p>
|
2021
|
+
|
2022
|
+
|
2023
|
+
</div>
|
2024
|
+
</div>
|
2025
|
+
<div class="tags">
|
2026
|
+
<h3>Parameters:</h3>
|
2027
|
+
<ul class="param">
|
2028
|
+
|
2029
|
+
<li>
|
2030
|
+
|
2031
|
+
<span class='name'>v</span>
|
2032
|
+
|
2033
|
+
|
2034
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
2035
|
+
|
2036
|
+
|
2037
|
+
|
2038
|
+
—
|
2039
|
+
<div class='inline'><p>
|
2040
|
+
The value validated
|
2041
|
+
</p>
|
2042
|
+
</div>
|
2043
|
+
|
2044
|
+
</li>
|
2045
|
+
|
2046
|
+
</ul>
|
2047
|
+
|
2048
|
+
|
2049
|
+
</div><table class="source_code">
|
2050
|
+
<tr>
|
2051
|
+
<td>
|
2052
|
+
<pre class="lines">
|
2053
|
+
|
2054
|
+
|
2055
|
+
85
|
2056
|
+
86
|
2057
|
+
87
|
2058
|
+
88</pre>
|
2059
|
+
</td>
|
2060
|
+
<td>
|
2061
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 85</span>
|
2062
|
+
|
2063
|
+
<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>
|
2064
|
+
<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>
|
2065
|
+
<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>
|
2066
|
+
<span class='end end kw'>end</span>
|
2067
|
+
</pre>
|
2068
|
+
</td>
|
2069
|
+
</tr>
|
2070
|
+
</table>
|
2071
|
+
</div>
|
2072
|
+
|
2073
|
+
<div class="method_details ">
|
2074
|
+
<p class="signature " id="validate_relationship_type-class_method">
|
2075
|
+
|
2076
|
+
+ (<tt>Object</tt>) <strong>validate_relationship_type</strong>(v)
|
2077
|
+
|
2078
|
+
|
2079
|
+
|
2080
|
+
</p><div class="docstring">
|
2081
|
+
<div class="discussion">
|
2082
|
+
<p>
|
2083
|
+
Requires that the value is a valid relationship_type XML_NS_R, TABLE_R,
|
2084
|
+
WORKBOOK_R, WORKSHEET_R, APP_R, RELS_R, CORE_R, STYLES_R, CHART_R,
|
2085
|
+
DRAWING_R are allowed
|
2086
|
+
</p>
|
2087
|
+
|
2088
|
+
|
2089
|
+
</div>
|
2090
|
+
</div>
|
2091
|
+
<div class="tags">
|
2092
|
+
<h3>Parameters:</h3>
|
2093
|
+
<ul class="param">
|
2094
|
+
|
2095
|
+
<li>
|
2096
|
+
|
2097
|
+
<span class='name'>v</span>
|
2098
|
+
|
2099
|
+
|
2100
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
2101
|
+
|
2102
|
+
|
2103
|
+
|
2104
|
+
—
|
2105
|
+
<div class='inline'><p>
|
2106
|
+
The value validated
|
2107
|
+
</p>
|
2108
|
+
</div>
|
2109
|
+
|
2110
|
+
</li>
|
2111
|
+
|
2112
|
+
</ul>
|
2113
|
+
|
2114
|
+
|
2115
|
+
</div><table class="source_code">
|
2116
|
+
<tr>
|
2117
|
+
<td>
|
2118
|
+
<pre class="lines">
|
2119
|
+
|
2120
|
+
|
2121
|
+
121
|
2122
|
+
122
|
2123
|
+
123</pre>
|
2124
|
+
</td>
|
2125
|
+
<td>
|
2126
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 121</span>
|
2127
|
+
|
2128
|
+
<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>
|
2129
|
+
<span class='RestrictionValidator constant id'>RestrictionValidator</span><span class='dot token'>.</span><span class='validate identifier id'>validate</span> <span class='symbol val'>:relationship_type</span><span class='comma token'>,</span> <span class='lbrack token'>[</span><span class='XML_NS_R constant id'>XML_NS_R</span><span class='comma token'>,</span> <span class='TABLE_R constant id'>TABLE_R</span><span class='comma token'>,</span> <span class='WORKBOOK_R constant id'>WORKBOOK_R</span><span class='comma token'>,</span> <span class='WORKSHEET_R constant id'>WORKSHEET_R</span><span class='comma token'>,</span> <span class='APP_R constant id'>APP_R</span><span class='comma token'>,</span> <span class='RELS_R constant id'>RELS_R</span><span class='comma token'>,</span> <span class='CORE_R constant id'>CORE_R</span><span class='comma token'>,</span> <span class='STYLES_R constant id'>STYLES_R</span><span class='comma token'>,</span> <span class='CHART_R constant id'>CHART_R</span><span class='comma token'>,</span> <span class='DRAWING_R constant id'>DRAWING_R</span><span class='rbrack token'>]</span><span class='comma token'>,</span> <span class='v identifier id'>v</span>
|
2130
|
+
<span class='end end kw'>end</span>
|
2131
|
+
</pre>
|
2132
|
+
</td>
|
2133
|
+
</tr>
|
2134
|
+
</table>
|
2135
|
+
</div>
|
2136
|
+
|
2137
|
+
<div class="method_details ">
|
2138
|
+
<p class="signature " id="validate_string-class_method">
|
2139
|
+
|
2140
|
+
+ (<tt>Object</tt>) <strong>validate_string</strong>(v)
|
2141
|
+
|
2142
|
+
|
2143
|
+
|
2144
|
+
</p><div class="docstring">
|
2145
|
+
<div class="discussion">
|
2146
|
+
<p>
|
2147
|
+
Requires that the value is a String
|
2148
|
+
</p>
|
2149
|
+
|
2150
|
+
|
2151
|
+
</div>
|
2152
|
+
</div>
|
2153
|
+
<div class="tags">
|
2154
|
+
<h3>Parameters:</h3>
|
2155
|
+
<ul class="param">
|
2156
|
+
|
2157
|
+
<li>
|
2158
|
+
|
2159
|
+
<span class='name'>v</span>
|
2160
|
+
|
2161
|
+
|
2162
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
2163
|
+
|
2164
|
+
|
2165
|
+
|
2166
|
+
—
|
2167
|
+
<div class='inline'><p>
|
2168
|
+
The value validated
|
2169
|
+
</p>
|
2170
|
+
</div>
|
2171
|
+
|
2172
|
+
</li>
|
2173
|
+
|
2174
|
+
</ul>
|
2175
|
+
|
2176
|
+
|
2177
|
+
</div><table class="source_code">
|
2178
|
+
<tr>
|
2179
|
+
<td>
|
2180
|
+
<pre class="lines">
|
2181
|
+
|
2182
|
+
|
2183
|
+
71
|
2184
|
+
72
|
2185
|
+
73</pre>
|
2186
|
+
</td>
|
2187
|
+
<td>
|
2188
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 71</span>
|
2189
|
+
|
2190
|
+
<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>
|
2191
|
+
<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>
|
2192
|
+
<span class='end end kw'>end</span>
|
2193
|
+
</pre>
|
2194
|
+
</td>
|
2195
|
+
</tr>
|
2196
|
+
</table>
|
2197
|
+
</div>
|
2198
|
+
|
2199
|
+
<div class="method_details ">
|
2200
|
+
<p class="signature " id="validate_table_element_type-class_method">
|
2201
|
+
|
2202
|
+
+ (<tt>Object</tt>) <strong>validate_table_element_type</strong>(v)
|
2203
|
+
|
2204
|
+
|
2205
|
+
|
2206
|
+
</p><div class="docstring">
|
2207
|
+
<div class="discussion">
|
2208
|
+
<p>
|
2209
|
+
Requires that the value is a valid table element type :wholeTable,
|
2210
|
+
:headerRow, :totalRow, :firstColumn, :lastColumn, :firstRowStripe,
|
2211
|
+
:secondRowStripe, :firstColumnStripe, :secondColumnStripe,
|
2212
|
+
:firstHeaderCell, :lastHeaderCell, :firstTotalCell, :lastTotalCell,
|
2213
|
+
:firstSubtotalColumn, :secondSubtotalColumn, :thirdSubtotalColumn,
|
2214
|
+
:firstSubtotalRow, :secondSubtotalRow, :thirdSubtotalRow, :blankRow,
|
2215
|
+
:firstColumnSubheading, :secondColumnSubheading, :thirdColumnSubheading,
|
2216
|
+
:firstRowSubheading, :secondRowSubheading, :thirdRowSubheading,
|
2217
|
+
:pageFieldLabels, :pageFieldValues are allowed
|
2218
|
+
</p>
|
2219
|
+
|
2220
|
+
|
2221
|
+
</div>
|
2222
|
+
</div>
|
2223
|
+
<div class="tags">
|
2224
|
+
<h3>Parameters:</h3>
|
2225
|
+
<ul class="param">
|
2226
|
+
|
2227
|
+
<li>
|
2228
|
+
|
2229
|
+
<span class='name'>v</span>
|
2230
|
+
|
2231
|
+
|
2232
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
2233
|
+
|
2234
|
+
|
2235
|
+
|
2236
|
+
—
|
2237
|
+
<div class='inline'><p>
|
2238
|
+
The value validated
|
2239
|
+
</p>
|
2240
|
+
</div>
|
2241
|
+
|
2242
|
+
</li>
|
2243
|
+
|
2244
|
+
</ul>
|
2245
|
+
|
2246
|
+
|
2247
|
+
</div><table class="source_code">
|
2248
|
+
<tr>
|
2249
|
+
<td>
|
2250
|
+
<pre class="lines">
|
2251
|
+
|
2252
|
+
|
2253
|
+
128
|
2254
|
+
129
|
2255
|
+
130</pre>
|
2256
|
+
</td>
|
2257
|
+
<td>
|
2258
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 128</span>
|
2259
|
+
|
2260
|
+
<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>
|
2261
|
+
<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>
|
2262
|
+
<span class='end end kw'>end</span>
|
2263
|
+
</pre>
|
2264
|
+
</td>
|
2265
|
+
</tr>
|
2266
|
+
</table>
|
2267
|
+
</div>
|
2268
|
+
|
2269
|
+
<div class="method_details ">
|
2270
|
+
<p class="signature " id="validate_unsigned_int-class_method">
|
2271
|
+
|
2272
|
+
+ (<tt>Boolean</tt>) <strong>validate_unsigned_int</strong>(v)
|
2273
|
+
|
2274
|
+
|
2275
|
+
|
2276
|
+
</p><div class="docstring">
|
2277
|
+
<div class="discussion">
|
2278
|
+
<p>
|
2279
|
+
Requires that the value is a Fixnum or Integer and is greater or equal to 0
|
2280
|
+
</p>
|
2281
|
+
|
2282
|
+
|
2283
|
+
</div>
|
2284
|
+
</div>
|
2285
|
+
<div class="tags">
|
2286
|
+
<h3>Parameters:</h3>
|
2287
|
+
<ul class="param">
|
2288
|
+
|
2289
|
+
<li>
|
2290
|
+
|
2291
|
+
<span class='name'>v</span>
|
2292
|
+
|
2293
|
+
|
2294
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
2295
|
+
|
2296
|
+
|
2297
|
+
|
2298
|
+
—
|
2299
|
+
<div class='inline'><p>
|
2300
|
+
The value validated
|
2301
|
+
</p>
|
2302
|
+
</div>
|
2303
|
+
|
2304
|
+
</li>
|
2305
|
+
|
2306
|
+
</ul>
|
2307
|
+
|
2308
|
+
<h3>Returns:</h3>
|
2309
|
+
<ul class="return">
|
2310
|
+
|
2311
|
+
<li>
|
2312
|
+
|
2313
|
+
|
2314
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
2315
|
+
|
2316
|
+
|
2317
|
+
|
2318
|
+
—
|
2319
|
+
<div class='inline'><p>
|
2320
|
+
true if the data is valid
|
2321
|
+
</p>
|
2322
|
+
</div>
|
2323
|
+
|
2324
|
+
</li>
|
2325
|
+
|
2326
|
+
</ul>
|
2327
|
+
<h3>Raises:</h3>
|
2328
|
+
<ul class="raise">
|
2329
|
+
|
2330
|
+
<li>
|
2331
|
+
|
2332
|
+
|
2333
|
+
<span class='type'>(<tt>ArgumentError</tt>)</span>
|
2334
|
+
|
2335
|
+
|
2336
|
+
|
2337
|
+
—
|
2338
|
+
<div class='inline'><p>
|
2339
|
+
raised if the value is not a Fixnum or Integer value greater or equal to 0
|
2340
|
+
</p>
|
2341
|
+
</div>
|
2342
|
+
|
2343
|
+
</li>
|
2344
|
+
|
2345
|
+
</ul>
|
2346
|
+
|
2347
|
+
</div><table class="source_code">
|
2348
|
+
<tr>
|
2349
|
+
<td>
|
2350
|
+
<pre class="lines">
|
2351
|
+
|
2352
|
+
|
2353
|
+
51
|
2354
|
+
52
|
2355
|
+
53</pre>
|
2356
|
+
</td>
|
2357
|
+
<td>
|
2358
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 51</span>
|
2359
|
+
|
2360
|
+
<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>
|
2361
|
+
<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='v identifier id'>v</span><span class='bitor op'>|</span> <span class='v identifier id'>v</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='v identifier id'>v</span> <span class='geq op'>>=</span> <span class='integer val'>0</span> <span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
2362
|
+
<span class='end end kw'>end</span>
|
2363
|
+
</pre>
|
2364
|
+
</td>
|
2365
|
+
</tr>
|
2366
|
+
</table>
|
2367
|
+
</div>
|
2368
|
+
|
2369
|
+
<div class="method_details ">
|
2370
|
+
<p class="signature " id="validate_vertical_alignment-class_method">
|
2371
|
+
|
2372
|
+
+ (<tt>Object</tt>) <strong>validate_vertical_alignment</strong>(v)
|
2373
|
+
|
2374
|
+
|
2375
|
+
|
2376
|
+
</p><div class="docstring">
|
2377
|
+
<div class="discussion">
|
2378
|
+
<p>
|
2379
|
+
Requires that the value is a valid vertical_alignment :top, :center,
|
2380
|
+
:bottom, :justify, :distributed are allowed
|
2381
|
+
</p>
|
2382
|
+
|
2383
|
+
|
2384
|
+
</div>
|
2385
|
+
</div>
|
2386
|
+
<div class="tags">
|
2387
|
+
<h3>Parameters:</h3>
|
2388
|
+
<ul class="param">
|
2389
|
+
|
2390
|
+
<li>
|
2391
|
+
|
2392
|
+
<span class='name'>v</span>
|
2393
|
+
|
2394
|
+
|
2395
|
+
<span class='type'>(<tt>Any</tt>)</span>
|
2396
|
+
|
2397
|
+
|
2398
|
+
|
2399
|
+
—
|
2400
|
+
<div class='inline'><p>
|
2401
|
+
The value validated
|
2402
|
+
</p>
|
2403
|
+
</div>
|
2404
|
+
|
2405
|
+
</li>
|
2406
|
+
|
2407
|
+
</ul>
|
2408
|
+
|
2409
|
+
|
2410
|
+
</div><table class="source_code">
|
2411
|
+
<tr>
|
2412
|
+
<td>
|
2413
|
+
<pre class="lines">
|
2414
|
+
|
2415
|
+
|
2416
|
+
107
|
2417
|
+
108
|
2418
|
+
109</pre>
|
2419
|
+
</td>
|
2420
|
+
<td>
|
2421
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/util/validators.rb', line 107</span>
|
2422
|
+
|
2423
|
+
<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>
|
2424
|
+
<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>
|
2425
|
+
<span class='end end kw'>end</span>
|
2426
|
+
</pre>
|
2427
|
+
</td>
|
2428
|
+
</tr>
|
2429
|
+
</table>
|
2430
|
+
</div>
|
2431
|
+
|
2432
|
+
</div>
|
2433
|
+
|
2434
|
+
</div>
|
2435
|
+
|
2436
|
+
<div id="footer">
|
2437
|
+
Generated on Tue Nov 22 00:27:41 2011 by
|
2438
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2439
|
+
0.7.3 (ruby-1.8.7).
|
2440
|
+
</div>
|
2441
|
+
|
2442
|
+
</body>
|
2443
|
+
</html>
|