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
@@ -0,0 +1,709 @@
|
|
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
|
+
Class: Axlsx::BorderPr
|
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 (B)</a> »
|
37
|
+
<span class='title'><span class='object_link'><a href="../Axlsx.html" title="Axlsx (module)">Axlsx</a></span></span>
|
38
|
+
»
|
39
|
+
<span class="title">BorderPr</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>Class: Axlsx::BorderPr
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
</h1>
|
64
|
+
|
65
|
+
<dl class="box">
|
66
|
+
|
67
|
+
<dt class="r1">Inherits:</dt>
|
68
|
+
<dd class="r1">
|
69
|
+
<span class="inheritName">Object</span>
|
70
|
+
|
71
|
+
<ul class="fullTree">
|
72
|
+
<li>Object</li>
|
73
|
+
|
74
|
+
<li class="next">Axlsx::BorderPr</li>
|
75
|
+
|
76
|
+
</ul>
|
77
|
+
<a href="#" class="inheritanceTree">show all</a>
|
78
|
+
|
79
|
+
</dd>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
<dt class="r2 last">Defined in:</dt>
|
90
|
+
<dd class="r2 last">lib/axlsx/stylesheet/border_pr.rb</dd>
|
91
|
+
|
92
|
+
</dl>
|
93
|
+
<div class="clear"></div>
|
94
|
+
|
95
|
+
<h2>Overview</h2><div class="docstring">
|
96
|
+
<div class="discussion">
|
97
|
+
<p>
|
98
|
+
A border part.
|
99
|
+
</p>
|
100
|
+
|
101
|
+
|
102
|
+
</div>
|
103
|
+
</div>
|
104
|
+
<div class="tags">
|
105
|
+
|
106
|
+
|
107
|
+
</div>
|
108
|
+
|
109
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
110
|
+
<ul class="summary">
|
111
|
+
|
112
|
+
<li class="public ">
|
113
|
+
<span class="summary_signature">
|
114
|
+
|
115
|
+
<a href="#color-instance_method" title="#color (instance method)">- (Color) <strong>color</strong> </a>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
</span>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
<span class="summary_desc"><div class='inline'><p>
|
132
|
+
The color of this border part.
|
133
|
+
</p>
|
134
|
+
</div></span>
|
135
|
+
|
136
|
+
</li>
|
137
|
+
|
138
|
+
|
139
|
+
<li class="public ">
|
140
|
+
<span class="summary_signature">
|
141
|
+
|
142
|
+
<a href="#name-instance_method" title="#name (instance method)">- (Symbol) <strong>name</strong> </a>
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
</span>
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<span class="summary_desc"><div class='inline'><p>
|
159
|
+
The name of this border part.
|
160
|
+
</p>
|
161
|
+
</div></span>
|
162
|
+
|
163
|
+
</li>
|
164
|
+
|
165
|
+
|
166
|
+
<li class="public ">
|
167
|
+
<span class="summary_signature">
|
168
|
+
|
169
|
+
<a href="#style-instance_method" title="#style (instance method)">- (Symbol) <strong>style</strong> </a>
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
</span>
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
<span class="summary_desc"><div class='inline'><p>
|
186
|
+
The syle of this border part.
|
187
|
+
</p>
|
188
|
+
</div></span>
|
189
|
+
|
190
|
+
</li>
|
191
|
+
|
192
|
+
|
193
|
+
</ul>
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
<h2>
|
200
|
+
Instance Method Summary
|
201
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
202
|
+
</h2>
|
203
|
+
|
204
|
+
<ul class="summary">
|
205
|
+
|
206
|
+
<li class="public ">
|
207
|
+
<span class="summary_signature">
|
208
|
+
|
209
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (BorderPr) <strong>initialize</strong>(options = {}) </a>
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
</span>
|
214
|
+
|
215
|
+
<span class="note title constructor">constructor</span>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
<span class="summary_desc"><div class='inline'><p>
|
225
|
+
Creates a new Border Part Object.
|
226
|
+
</p>
|
227
|
+
</div></span>
|
228
|
+
|
229
|
+
</li>
|
230
|
+
|
231
|
+
|
232
|
+
<li class="public ">
|
233
|
+
<span class="summary_signature">
|
234
|
+
|
235
|
+
<a href="#to_xml-instance_method" title="#to_xml (instance method)">- (String) <strong>to_xml</strong>(xml) </a>
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
</span>
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
<span class="summary_desc"><div class='inline'><p>
|
249
|
+
Serializes the border part.
|
250
|
+
</p>
|
251
|
+
</div></span>
|
252
|
+
|
253
|
+
</li>
|
254
|
+
|
255
|
+
|
256
|
+
</ul>
|
257
|
+
|
258
|
+
|
259
|
+
<div id="constructor_details" class="method_details_list">
|
260
|
+
<h2>Constructor Details</h2>
|
261
|
+
|
262
|
+
<div class="method_details first">
|
263
|
+
<p class="signature first" id="initialize-instance_method">
|
264
|
+
|
265
|
+
- (<tt><span class='object_link'><a href="" title="Axlsx::BorderPr (class)">BorderPr</a></span></tt>) <strong>initialize</strong>(options = {})
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
</p><div class="docstring">
|
270
|
+
<div class="discussion">
|
271
|
+
<p>
|
272
|
+
Creates a new Border Part Object
|
273
|
+
</p>
|
274
|
+
|
275
|
+
|
276
|
+
</div>
|
277
|
+
</div>
|
278
|
+
<div class="tags">
|
279
|
+
<h3>Parameters:</h3>
|
280
|
+
<ul class="param">
|
281
|
+
|
282
|
+
<li>
|
283
|
+
|
284
|
+
<span class='name'>options</span>
|
285
|
+
|
286
|
+
|
287
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
288
|
+
|
289
|
+
|
290
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
291
|
+
|
292
|
+
|
293
|
+
—
|
294
|
+
<div class='inline'><p>
|
295
|
+
a customizable set of options
|
296
|
+
</p>
|
297
|
+
</div>
|
298
|
+
|
299
|
+
</li>
|
300
|
+
|
301
|
+
</ul>
|
302
|
+
|
303
|
+
|
304
|
+
|
305
|
+
|
306
|
+
<h3>Options Hash (<tt>options</tt>):</h3>
|
307
|
+
<ul class="option">
|
308
|
+
|
309
|
+
<li>
|
310
|
+
<span class="name">color</span>
|
311
|
+
<span class="type">(<tt><span class='object_link'><a href="Color.html" title="Axlsx::Color (class)">Color</a></span></tt>)</span>
|
312
|
+
<span class="default">
|
313
|
+
|
314
|
+
</span>
|
315
|
+
|
316
|
+
</li>
|
317
|
+
|
318
|
+
<li>
|
319
|
+
<span class="name">name</span>
|
320
|
+
<span class="type">(<tt>Symbol</tt>)</span>
|
321
|
+
<span class="default">
|
322
|
+
|
323
|
+
</span>
|
324
|
+
|
325
|
+
</li>
|
326
|
+
|
327
|
+
<li>
|
328
|
+
<span class="name">style</span>
|
329
|
+
<span class="type">(<tt>Symbol</tt>)</span>
|
330
|
+
<span class="default">
|
331
|
+
|
332
|
+
</span>
|
333
|
+
|
334
|
+
</li>
|
335
|
+
|
336
|
+
</ul>
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
<h3>See Also:</h3>
|
341
|
+
<ul class="see">
|
342
|
+
|
343
|
+
<li><span class='object_link'><a href="Border.html" title="Axlsx::Border (class)">Axlsx::Border</a></span></li>
|
344
|
+
|
345
|
+
</ul>
|
346
|
+
|
347
|
+
</div><table class="source_code">
|
348
|
+
<tr>
|
349
|
+
<td>
|
350
|
+
<pre class="lines">
|
351
|
+
|
352
|
+
|
353
|
+
46
|
354
|
+
47
|
355
|
+
48
|
356
|
+
49
|
357
|
+
50</pre>
|
358
|
+
</td>
|
359
|
+
<td>
|
360
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/border_pr.rb', line 46</span>
|
361
|
+
|
362
|
+
<span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span><span class='rparen token'>)</span>
|
363
|
+
<span class='options identifier id'>options</span><span class='dot token'>.</span><span class='each identifier id'>each</span> <span class='do do kw'>do</span> <span class='bitor op'>|</span><span class='o identifier id'>o</span><span class='bitor op'>|</span>
|
364
|
+
<span class='self self kw'>self</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='dstring node'>"#{o[0]}="</span><span class='comma token'>,</span> <span class='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>1</span><span class='rbrack token'>]</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='self self kw'>self</span><span class='dot token'>.</span><span class='respond_to? fid id'>respond_to?</span> <span class='dstring node'>"#{o[0]}="</span>
|
365
|
+
<span class='end end kw'>end</span>
|
366
|
+
<span class='end end kw'>end</span>
|
367
|
+
</pre>
|
368
|
+
</td>
|
369
|
+
</tr>
|
370
|
+
</table>
|
371
|
+
</div>
|
372
|
+
|
373
|
+
</div>
|
374
|
+
|
375
|
+
<div id="instance_attr_details" class="attr_details">
|
376
|
+
<h2>Instance Attribute Details</h2>
|
377
|
+
|
378
|
+
|
379
|
+
<span id="color=-instance_method"></span>
|
380
|
+
<span id="color-instance_method"></span>
|
381
|
+
<div class="method_details first">
|
382
|
+
<p class="signature first" id="color-instance_method">
|
383
|
+
|
384
|
+
- (<tt><span class='object_link'><a href="Color.html" title="Axlsx::Color (class)">Color</a></span></tt>) <strong>color</strong>
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
</p><div class="docstring">
|
389
|
+
<div class="discussion">
|
390
|
+
<p>
|
391
|
+
The color of this border part.
|
392
|
+
</p>
|
393
|
+
|
394
|
+
|
395
|
+
</div>
|
396
|
+
</div>
|
397
|
+
<div class="tags">
|
398
|
+
|
399
|
+
<h3>Returns:</h3>
|
400
|
+
<ul class="return">
|
401
|
+
|
402
|
+
<li>
|
403
|
+
|
404
|
+
|
405
|
+
<span class='type'>(<tt><span class='object_link'><a href="Color.html" title="Axlsx::Color (class)">Color</a></span></tt>)</span>
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
—
|
410
|
+
<div class='inline'><p>
|
411
|
+
The color of this border part.
|
412
|
+
</p>
|
413
|
+
</div>
|
414
|
+
|
415
|
+
</li>
|
416
|
+
|
417
|
+
</ul>
|
418
|
+
|
419
|
+
</div><table class="source_code">
|
420
|
+
<tr>
|
421
|
+
<td>
|
422
|
+
<pre class="lines">
|
423
|
+
|
424
|
+
|
425
|
+
6
|
426
|
+
7
|
427
|
+
8</pre>
|
428
|
+
</td>
|
429
|
+
<td>
|
430
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/border_pr.rb', line 6</span>
|
431
|
+
|
432
|
+
<span class='def def kw'>def</span> <span class='color identifier id'>color</span>
|
433
|
+
<span class='@color ivar id'>@color</span>
|
434
|
+
<span class='end end kw'>end</span>
|
435
|
+
</pre>
|
436
|
+
</td>
|
437
|
+
</tr>
|
438
|
+
</table>
|
439
|
+
</div>
|
440
|
+
|
441
|
+
|
442
|
+
<span id="name=-instance_method"></span>
|
443
|
+
<span id="name-instance_method"></span>
|
444
|
+
<div class="method_details ">
|
445
|
+
<p class="signature " id="name-instance_method">
|
446
|
+
|
447
|
+
- (<tt>Symbol</tt>) <strong>name</strong>
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
</p><div class="docstring">
|
452
|
+
<div class="discussion">
|
453
|
+
|
454
|
+
<div class="note notetag">
|
455
|
+
<strong>Note:</strong>
|
456
|
+
<div class='inline'><p>
|
457
|
+
The following are allowed
|
458
|
+
</p>
|
459
|
+
<pre class="code">
|
460
|
+
<span class='symbol val'>:start</span>
|
461
|
+
<span class='symbol val'>:end</span>
|
462
|
+
<span class='symbol val'>:left</span>
|
463
|
+
<span class='symbol val'>:right</span>
|
464
|
+
<span class='symbol val'>:top</span>
|
465
|
+
<span class='symbol val'>:bottom</span>
|
466
|
+
<span class='symbol val'>:diagonal</span>
|
467
|
+
<span class='symbol val'>:vertical</span>
|
468
|
+
<span class='symbol val'>:horizontal</span>
|
469
|
+
</pre>
|
470
|
+
</div>
|
471
|
+
</div>
|
472
|
+
|
473
|
+
<p>
|
474
|
+
The name of this border part
|
475
|
+
</p>
|
476
|
+
|
477
|
+
|
478
|
+
</div>
|
479
|
+
</div>
|
480
|
+
<div class="tags">
|
481
|
+
|
482
|
+
<h3>Returns:</h3>
|
483
|
+
<ul class="return">
|
484
|
+
|
485
|
+
<li>
|
486
|
+
|
487
|
+
|
488
|
+
<span class='type'>(<tt>Symbol</tt>)</span>
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
—
|
493
|
+
<div class='inline'><p>
|
494
|
+
The name of this border part
|
495
|
+
</p>
|
496
|
+
</div>
|
497
|
+
|
498
|
+
</li>
|
499
|
+
|
500
|
+
</ul>
|
501
|
+
|
502
|
+
</div><table class="source_code">
|
503
|
+
<tr>
|
504
|
+
<td>
|
505
|
+
<pre class="lines">
|
506
|
+
|
507
|
+
|
508
|
+
39
|
509
|
+
40
|
510
|
+
41</pre>
|
511
|
+
</td>
|
512
|
+
<td>
|
513
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/border_pr.rb', line 39</span>
|
514
|
+
|
515
|
+
<span class='def def kw'>def</span> <span class='name identifier id'>name</span>
|
516
|
+
<span class='@name ivar id'>@name</span>
|
517
|
+
<span class='end end kw'>end</span>
|
518
|
+
</pre>
|
519
|
+
</td>
|
520
|
+
</tr>
|
521
|
+
</table>
|
522
|
+
</div>
|
523
|
+
|
524
|
+
|
525
|
+
<span id="style=-instance_method"></span>
|
526
|
+
<span id="style-instance_method"></span>
|
527
|
+
<div class="method_details ">
|
528
|
+
<p class="signature " id="style-instance_method">
|
529
|
+
|
530
|
+
- (<tt>Symbol</tt>) <strong>style</strong>
|
531
|
+
|
532
|
+
|
533
|
+
|
534
|
+
</p><div class="docstring">
|
535
|
+
<div class="discussion">
|
536
|
+
|
537
|
+
<div class="note notetag">
|
538
|
+
<strong>Note:</strong>
|
539
|
+
<div class='inline'><p>
|
540
|
+
The following are allowed
|
541
|
+
</p>
|
542
|
+
<pre class="code">
|
543
|
+
<span class='symbol val'>:none</span>
|
544
|
+
<span class='symbol val'>:thin</span>
|
545
|
+
<span class='symbol val'>:medium</span>
|
546
|
+
<span class='symbol val'>:dashed</span>
|
547
|
+
<span class='symbol val'>:dotted</span>
|
548
|
+
<span class='symbol val'>:thick</span>
|
549
|
+
<span class='symbol val'>:double</span>
|
550
|
+
<span class='symbol val'>:hair</span>
|
551
|
+
<span class='symbol val'>:mediumDashed</span>
|
552
|
+
<span class='symbol val'>:dashDot</span>
|
553
|
+
<span class='symbol val'>:mediumDashDot</span>
|
554
|
+
<span class='symbol val'>:dashDotDot</span>
|
555
|
+
<span class='symbol val'>:mediumDashDotDot</span>
|
556
|
+
<span class='symbol val'>:slantDashDot</span>
|
557
|
+
</pre>
|
558
|
+
</div>
|
559
|
+
</div>
|
560
|
+
|
561
|
+
<p>
|
562
|
+
The syle of this border part.
|
563
|
+
</p>
|
564
|
+
|
565
|
+
|
566
|
+
</div>
|
567
|
+
</div>
|
568
|
+
<div class="tags">
|
569
|
+
|
570
|
+
<h3>Returns:</h3>
|
571
|
+
<ul class="return">
|
572
|
+
|
573
|
+
<li>
|
574
|
+
|
575
|
+
|
576
|
+
<span class='type'>(<tt>Symbol</tt>)</span>
|
577
|
+
|
578
|
+
|
579
|
+
|
580
|
+
—
|
581
|
+
<div class='inline'><p>
|
582
|
+
The syle of this border part.
|
583
|
+
</p>
|
584
|
+
</div>
|
585
|
+
|
586
|
+
</li>
|
587
|
+
|
588
|
+
</ul>
|
589
|
+
|
590
|
+
</div><table class="source_code">
|
591
|
+
<tr>
|
592
|
+
<td>
|
593
|
+
<pre class="lines">
|
594
|
+
|
595
|
+
|
596
|
+
25
|
597
|
+
26
|
598
|
+
27</pre>
|
599
|
+
</td>
|
600
|
+
<td>
|
601
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/border_pr.rb', line 25</span>
|
602
|
+
|
603
|
+
<span class='def def kw'>def</span> <span class='style identifier id'>style</span>
|
604
|
+
<span class='@style ivar id'>@style</span>
|
605
|
+
<span class='end end kw'>end</span>
|
606
|
+
</pre>
|
607
|
+
</td>
|
608
|
+
</tr>
|
609
|
+
</table>
|
610
|
+
</div>
|
611
|
+
|
612
|
+
</div>
|
613
|
+
|
614
|
+
|
615
|
+
<div id="instance_method_details" class="method_details_list">
|
616
|
+
<h2>Instance Method Details</h2>
|
617
|
+
|
618
|
+
|
619
|
+
<div class="method_details first">
|
620
|
+
<p class="signature first" id="to_xml-instance_method">
|
621
|
+
|
622
|
+
- (<tt>String</tt>) <strong>to_xml</strong>(xml)
|
623
|
+
|
624
|
+
|
625
|
+
|
626
|
+
</p><div class="docstring">
|
627
|
+
<div class="discussion">
|
628
|
+
<p>
|
629
|
+
Serializes the border part
|
630
|
+
</p>
|
631
|
+
|
632
|
+
|
633
|
+
</div>
|
634
|
+
</div>
|
635
|
+
<div class="tags">
|
636
|
+
<h3>Parameters:</h3>
|
637
|
+
<ul class="param">
|
638
|
+
|
639
|
+
<li>
|
640
|
+
|
641
|
+
<span class='name'>xml</span>
|
642
|
+
|
643
|
+
|
644
|
+
<span class='type'>(<tt>Nokogiri::XML::Builder</tt>)</span>
|
645
|
+
|
646
|
+
|
647
|
+
|
648
|
+
—
|
649
|
+
<div class='inline'><p>
|
650
|
+
The document builder instance this objects xml will be added to.
|
651
|
+
</p>
|
652
|
+
</div>
|
653
|
+
|
654
|
+
</li>
|
655
|
+
|
656
|
+
</ul>
|
657
|
+
|
658
|
+
<h3>Returns:</h3>
|
659
|
+
<ul class="return">
|
660
|
+
|
661
|
+
<li>
|
662
|
+
|
663
|
+
|
664
|
+
<span class='type'>(<tt>String</tt>)</span>
|
665
|
+
|
666
|
+
|
667
|
+
|
668
|
+
</li>
|
669
|
+
|
670
|
+
</ul>
|
671
|
+
|
672
|
+
</div><table class="source_code">
|
673
|
+
<tr>
|
674
|
+
<td>
|
675
|
+
<pre class="lines">
|
676
|
+
|
677
|
+
|
678
|
+
59
|
679
|
+
60
|
680
|
+
61
|
681
|
+
62
|
682
|
+
63</pre>
|
683
|
+
</td>
|
684
|
+
<td>
|
685
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/border_pr.rb', line 59</span>
|
686
|
+
|
687
|
+
<span class='def def kw'>def</span> <span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span>
|
688
|
+
<span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='send identifier id'>send</span><span class='lparen token'>(</span><span class='@name ivar id'>@name</span><span class='comma token'>,</span> <span class='symbol val'>:style=</span><span class='gt op'>></span><span class='@style ivar id'>@style</span><span class='rparen token'>)</span> <span class='lbrace token'>{</span>
|
689
|
+
<span class='@color ivar id'>@color</span><span class='dot token'>.</span><span class='to_xml identifier id'>to_xml</span><span class='lparen token'>(</span><span class='xml identifier id'>xml</span><span class='rparen token'>)</span> <span class='if if_mod kw'>if</span> <span class='@color ivar id'>@color</span><span class='dot token'>.</span><span class='is_a? fid id'>is_a?</span> <span class='Color constant id'>Color</span>
|
690
|
+
<span class='rbrace token'>}</span>
|
691
|
+
<span class='end end kw'>end</span>
|
692
|
+
</pre>
|
693
|
+
</td>
|
694
|
+
</tr>
|
695
|
+
</table>
|
696
|
+
</div>
|
697
|
+
|
698
|
+
</div>
|
699
|
+
|
700
|
+
</div>
|
701
|
+
|
702
|
+
<div id="footer">
|
703
|
+
Generated on Tue Nov 22 00:27:42 2011 by
|
704
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
705
|
+
0.7.3 (ruby-1.8.7).
|
706
|
+
</div>
|
707
|
+
|
708
|
+
</body>
|
709
|
+
</html>
|