axlsx 1.0.9 → 1.0.10a
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -0
- data/Gemfile.lock +24 -0
- data/README.md +86 -1
- data/axlsx.gemspec +6 -10
- data/doc/Axlsx.html +557 -360
- data/doc/Axlsx/App.html +347 -244
- data/doc/Axlsx/Ar.html +200 -0
- data/doc/Axlsx/Ar/ClassMethods.html +192 -0
- data/doc/Axlsx/Ar/InstanceMethods.html +109 -0
- data/doc/Axlsx/Ar/SingletonMethods.html +304 -0
- data/doc/Axlsx/Axis.html +131 -98
- data/doc/Axlsx/Bar3DChart.html +138 -106
- data/doc/Axlsx/BarSeries.html +73 -54
- data/doc/Axlsx/Border.html +114 -87
- data/doc/Axlsx/BorderPr.html +107 -82
- data/doc/Axlsx/CatAxis.html +93 -68
- data/doc/Axlsx/CatAxisData.html +47 -38
- data/doc/Axlsx/Cell.html +642 -148
- data/doc/Axlsx/CellAlignment.html +152 -111
- data/doc/Axlsx/CellProtection.html +63 -45
- data/doc/Axlsx/CellStyle.html +101 -73
- data/doc/Axlsx/Chart.html +238 -179
- data/doc/Axlsx/Color.html +75 -53
- data/doc/Axlsx/ContentType.html +34 -26
- data/doc/Axlsx/Core.html +54 -42
- data/doc/Axlsx/DataTypeValidator.html +39 -30
- data/doc/Axlsx/Default.html +59 -43
- data/doc/Axlsx/Drawing.html +176 -128
- data/doc/Axlsx/Fill.html +46 -33
- data/doc/Axlsx/Font.html +197 -147
- data/doc/Axlsx/GradientFill.html +114 -82
- data/doc/Axlsx/GradientStop.html +47 -33
- data/doc/Axlsx/GraphicFrame.html +78 -60
- data/doc/Axlsx/Line3DChart.html +125 -97
- data/doc/Axlsx/LineSeries.html +60 -44
- data/doc/Axlsx/Marker.html +98 -71
- data/doc/Axlsx/NumFmt.html +99 -80
- data/doc/Axlsx/OneCellAnchor.html +126 -94
- data/doc/Axlsx/Override.html +59 -43
- data/doc/Axlsx/Package.html +269 -134
- data/doc/Axlsx/PatternFill.html +93 -72
- data/doc/Axlsx/Pic.html +202 -152
- data/doc/Axlsx/Pie3DChart.html +39 -30
- data/doc/Axlsx/PieSeries.html +72 -53
- data/doc/Axlsx/RegexValidator.html +19 -14
- data/doc/Axlsx/Relationship.html +60 -43
- data/doc/Axlsx/Relationships.html +34 -26
- data/doc/Axlsx/RestrictionValidator.html +31 -22
- data/doc/Axlsx/Row.html +241 -67
- data/doc/Axlsx/Scaling.html +80 -59
- data/doc/Axlsx/SerAxis.html +71 -51
- data/doc/Axlsx/Series.html +179 -51
- data/doc/Axlsx/SeriesTitle.html +29 -24
- data/doc/Axlsx/Styles.html +354 -285
- data/doc/Axlsx/TableStyle.html +74 -54
- data/doc/Axlsx/TableStyleElement.html +99 -79
- data/doc/Axlsx/TableStyles.html +65 -47
- data/doc/Axlsx/Title.html +66 -51
- data/doc/Axlsx/TwoCellAnchor.html +129 -96
- data/doc/Axlsx/ValAxis.html +52 -38
- data/doc/Axlsx/ValAxisData.html +32 -27
- data/doc/Axlsx/View3D.html +111 -80
- data/doc/Axlsx/Workbook.html +333 -272
- data/doc/Axlsx/Worksheet.html +1018 -266
- data/doc/Axlsx/Xf.html +188 -134
- data/doc/_index.html +44 -8
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +28 -23
- data/doc/file.README.html +180 -91
- data/doc/index.html +180 -91
- data/doc/method_list.html +541 -421
- data/doc/top-level-namespace.html +2 -2
- data/examples/example.rb +70 -13
- data/lib/axlsx.rb +1 -0
- data/lib/axlsx/ar.rb +72 -0
- data/lib/axlsx/package.rb +8 -1
- data/lib/axlsx/util/simple_typed_list.rb +5 -0
- data/lib/axlsx/version.rb +1 -1
- data/lib/axlsx/workbook/workbook.rb +4 -2
- data/lib/axlsx/workbook/worksheet/row.rb +15 -0
- data/lib/axlsx/workbook/worksheet/worksheet.rb +44 -1
- data/test/workbook/worksheet/tc_row.rb +6 -0
- data/test/workbook/worksheet/tc_worksheet.rb +36 -0
- metadata +103 -59
@@ -97,14 +97,16 @@
|
|
97
97
|
|
98
98
|
<div class="note notetag">
|
99
99
|
<strong>Note:</strong>
|
100
|
-
<div class='inline'>
|
101
|
-
|
100
|
+
<div class='inline'><p>
|
101
|
+
Using Styles#add_style is the recommended way to manage cell protection.
|
102
|
+
</p>
|
102
103
|
</div>
|
103
104
|
</div>
|
104
105
|
|
105
|
-
|
106
|
-
|
107
|
-
spreadsheet
|
106
|
+
<p>
|
107
|
+
CellProtection stores information about locking or hiding cells in
|
108
|
+
spreadsheet.
|
109
|
+
</p>
|
108
110
|
|
109
111
|
|
110
112
|
</div>
|
@@ -143,8 +145,9 @@ spreadsheet.</p>
|
|
143
145
|
|
144
146
|
|
145
147
|
|
146
|
-
<span class="summary_desc"><div class='inline'>
|
147
|
-
|
148
|
+
<span class="summary_desc"><div class='inline'><p>
|
149
|
+
specifies locking for cells that have the style containing this protection.
|
150
|
+
</p>
|
148
151
|
</div></span>
|
149
152
|
|
150
153
|
</li>
|
@@ -169,8 +172,9 @@ spreadsheet.</p>
|
|
169
172
|
|
170
173
|
|
171
174
|
|
172
|
-
<span class="summary_desc"><div class='inline'>
|
173
|
-
|
175
|
+
<span class="summary_desc"><div class='inline'><p>
|
176
|
+
specifies if the cells that have the style containing this protection.
|
177
|
+
</p>
|
174
178
|
</div></span>
|
175
179
|
|
176
180
|
</li>
|
@@ -207,8 +211,9 @@ spreadsheet.</p>
|
|
207
211
|
|
208
212
|
|
209
213
|
|
210
|
-
<span class="summary_desc"><div class='inline'>
|
211
|
-
|
214
|
+
<span class="summary_desc"><div class='inline'><p>
|
215
|
+
Creates a new CellProtection.
|
216
|
+
</p>
|
212
217
|
</div></span>
|
213
218
|
|
214
219
|
</li>
|
@@ -230,8 +235,9 @@ spreadsheet.</p>
|
|
230
235
|
|
231
236
|
|
232
237
|
|
233
|
-
<span class="summary_desc"><div class='inline'>
|
234
|
-
|
238
|
+
<span class="summary_desc"><div class='inline'><p>
|
239
|
+
Serializes the cell protection.
|
240
|
+
</p>
|
235
241
|
</div></span>
|
236
242
|
|
237
243
|
</li>
|
@@ -252,8 +258,9 @@ spreadsheet.</p>
|
|
252
258
|
|
253
259
|
</p><div class="docstring">
|
254
260
|
<div class="discussion">
|
255
|
-
|
256
|
-
|
261
|
+
<p>
|
262
|
+
Creates a new CellProtection
|
263
|
+
</p>
|
257
264
|
|
258
265
|
|
259
266
|
</div>
|
@@ -274,8 +281,9 @@ spreadsheet.</p>
|
|
274
281
|
|
275
282
|
|
276
283
|
—
|
277
|
-
<div class='inline'>
|
278
|
-
|
284
|
+
<div class='inline'><p>
|
285
|
+
a customizable set of options
|
286
|
+
</p>
|
279
287
|
</div>
|
280
288
|
|
281
289
|
</li>
|
@@ -294,8 +302,9 @@ spreadsheet.</p>
|
|
294
302
|
<span class="default">
|
295
303
|
|
296
304
|
</span>
|
297
|
-
— <div class='inline'>
|
298
|
-
|
305
|
+
— <div class='inline'><p>
|
306
|
+
value for hidden protection
|
307
|
+
</p>
|
299
308
|
</div>
|
300
309
|
</li>
|
301
310
|
|
@@ -305,8 +314,9 @@ spreadsheet.</p>
|
|
305
314
|
<span class="default">
|
306
315
|
|
307
316
|
</span>
|
308
|
-
— <div class='inline'>
|
309
|
-
|
317
|
+
— <div class='inline'><p>
|
318
|
+
value for locked protection
|
319
|
+
</p>
|
310
320
|
</div>
|
311
321
|
</li>
|
312
322
|
|
@@ -329,11 +339,12 @@ spreadsheet.</p>
|
|
329
339
|
<td>
|
330
340
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 18</span>
|
331
341
|
|
332
|
-
<span class='kw'>def</span> <span class='id
|
333
|
-
<span class='id
|
334
|
-
<span class='kw'>self</span><span class='
|
335
|
-
<span class='kw'>end</span>
|
336
|
-
<span class='kw'>end</span
|
342
|
+
<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>
|
343
|
+
<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>
|
344
|
+
<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>
|
345
|
+
<span class='end end kw'>end</span>
|
346
|
+
<span class='end end kw'>end</span>
|
347
|
+
</pre>
|
337
348
|
</td>
|
338
349
|
</tr>
|
339
350
|
</table>
|
@@ -356,8 +367,9 @@ spreadsheet.</p>
|
|
356
367
|
|
357
368
|
</p><div class="docstring">
|
358
369
|
<div class="discussion">
|
359
|
-
|
360
|
-
|
370
|
+
<p>
|
371
|
+
specifies locking for cells that have the style containing this protection
|
372
|
+
</p>
|
361
373
|
|
362
374
|
|
363
375
|
</div>
|
@@ -391,9 +403,10 @@ spreadsheet.</p>
|
|
391
403
|
<td>
|
392
404
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 9</span>
|
393
405
|
|
394
|
-
<span class='kw'>def</span> <span class='id
|
395
|
-
<span class='ivar'>@hidden</span>
|
396
|
-
<span class='kw'>end</span
|
406
|
+
<span class='def def kw'>def</span> <span class='hidden identifier id'>hidden</span>
|
407
|
+
<span class='@hidden ivar id'>@hidden</span>
|
408
|
+
<span class='end end kw'>end</span>
|
409
|
+
</pre>
|
397
410
|
</td>
|
398
411
|
</tr>
|
399
412
|
</table>
|
@@ -411,8 +424,9 @@ spreadsheet.</p>
|
|
411
424
|
|
412
425
|
</p><div class="docstring">
|
413
426
|
<div class="discussion">
|
414
|
-
|
415
|
-
|
427
|
+
<p>
|
428
|
+
specifies if the cells that have the style containing this protection
|
429
|
+
</p>
|
416
430
|
|
417
431
|
|
418
432
|
</div>
|
@@ -446,9 +460,10 @@ spreadsheet.</p>
|
|
446
460
|
<td>
|
447
461
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 13</span>
|
448
462
|
|
449
|
-
<span class='kw'>def</span> <span class='id
|
450
|
-
<span class='ivar'>@locked</span>
|
451
|
-
<span class='kw'>end</span
|
463
|
+
<span class='def def kw'>def</span> <span class='locked identifier id'>locked</span>
|
464
|
+
<span class='@locked ivar id'>@locked</span>
|
465
|
+
<span class='end end kw'>end</span>
|
466
|
+
</pre>
|
452
467
|
</td>
|
453
468
|
</tr>
|
454
469
|
</table>
|
@@ -470,8 +485,9 @@ spreadsheet.</p>
|
|
470
485
|
|
471
486
|
</p><div class="docstring">
|
472
487
|
<div class="discussion">
|
473
|
-
|
474
|
-
|
488
|
+
<p>
|
489
|
+
Serializes the cell protection
|
490
|
+
</p>
|
475
491
|
|
476
492
|
|
477
493
|
</div>
|
@@ -490,8 +506,9 @@ spreadsheet.</p>
|
|
490
506
|
|
491
507
|
|
492
508
|
—
|
493
|
-
<div class='inline'>
|
494
|
-
|
509
|
+
<div class='inline'><p>
|
510
|
+
The document builder instance this objects xml will be added to.
|
511
|
+
</p>
|
495
512
|
</div>
|
496
513
|
|
497
514
|
</li>
|
@@ -525,9 +542,10 @@ spreadsheet.</p>
|
|
525
542
|
<td>
|
526
543
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 32</span>
|
527
544
|
|
528
|
-
<span class='kw'>def</span> <span class='id
|
529
|
-
<span class='id
|
530
|
-
<span class='kw'>end</span
|
545
|
+
<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>
|
546
|
+
<span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='protection identifier id'>protection</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='dot token'>.</span><span class='instance_values identifier id'>instance_values</span><span class='rparen token'>)</span>
|
547
|
+
<span class='end end kw'>end</span>
|
548
|
+
</pre>
|
531
549
|
</td>
|
532
550
|
</tr>
|
533
551
|
</table>
|
@@ -538,9 +556,9 @@ spreadsheet.</p>
|
|
538
556
|
</div>
|
539
557
|
|
540
558
|
<div id="footer">
|
541
|
-
Generated on
|
559
|
+
Generated on Sun Nov 27 21:54:29 2011 by
|
542
560
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
543
|
-
0.7.3 (ruby-1.
|
561
|
+
0.7.3 (ruby-1.8.7).
|
544
562
|
</div>
|
545
563
|
|
546
564
|
</body>
|
data/doc/Axlsx/CellStyle.html
CHANGED
@@ -97,14 +97,16 @@
|
|
97
97
|
|
98
98
|
<div class="note notetag">
|
99
99
|
<strong>Note:</strong>
|
100
|
-
<div class='inline'>
|
101
|
-
|
100
|
+
<div class='inline'><p>
|
101
|
+
Using Styles#add_style is the recommended way to manage cell styling.
|
102
|
+
</p>
|
102
103
|
</div>
|
103
104
|
</div>
|
104
105
|
|
105
|
-
|
106
|
-
|
107
|
-
and can be used in your worksheet
|
106
|
+
<p>
|
107
|
+
CellStyle defines named styles that reference defined formatting records
|
108
|
+
and can be used in your worksheet.
|
109
|
+
</p>
|
108
110
|
|
109
111
|
|
110
112
|
</div>
|
@@ -143,8 +145,9 @@ and can be used in your worksheet.</p>
|
|
143
145
|
|
144
146
|
|
145
147
|
|
146
|
-
<span class="summary_desc"><div class='inline'>
|
147
|
-
|
148
|
+
<span class="summary_desc"><div class='inline'><p>
|
149
|
+
The buildinId to use when this named style is applied.
|
150
|
+
</p>
|
148
151
|
</div></span>
|
149
152
|
|
150
153
|
</li>
|
@@ -169,8 +172,9 @@ and can be used in your worksheet.</p>
|
|
169
172
|
|
170
173
|
|
171
174
|
|
172
|
-
<span class="summary_desc"><div class='inline'>
|
173
|
-
|
175
|
+
<span class="summary_desc"><div class='inline'><p>
|
176
|
+
Indicates that the build in style reference has been customized.
|
177
|
+
</p>
|
174
178
|
</div></span>
|
175
179
|
|
176
180
|
</li>
|
@@ -195,9 +199,10 @@ and can be used in your worksheet.</p>
|
|
195
199
|
|
196
200
|
|
197
201
|
|
198
|
-
<span class="summary_desc"><div class='inline'>
|
199
|
-
|
200
|
-
excel
|
202
|
+
<span class="summary_desc"><div class='inline'><p>
|
203
|
+
Determines if this named style should show in the list of styles when using
|
204
|
+
excel.
|
205
|
+
</p>
|
201
206
|
</div></span>
|
202
207
|
|
203
208
|
</li>
|
@@ -222,9 +227,10 @@ excel.</p>
|
|
222
227
|
|
223
228
|
|
224
229
|
|
225
|
-
<span class="summary_desc"><div class='inline'>
|
226
|
-
|
227
|
-
the outline it is to be applied to
|
230
|
+
<span class="summary_desc"><div class='inline'><p>
|
231
|
+
Determines if this formatting is for an outline style, and what level of
|
232
|
+
the outline it is to be applied to.
|
233
|
+
</p>
|
228
234
|
</div></span>
|
229
235
|
|
230
236
|
</li>
|
@@ -249,8 +255,9 @@ the outline it is to be applied to.</p>
|
|
249
255
|
|
250
256
|
|
251
257
|
|
252
|
-
<span class="summary_desc"><div class='inline'>
|
253
|
-
|
258
|
+
<span class="summary_desc"><div class='inline'><p>
|
259
|
+
The name of this cell style.
|
260
|
+
</p>
|
254
261
|
</div></span>
|
255
262
|
|
256
263
|
</li>
|
@@ -275,8 +282,9 @@ the outline it is to be applied to.</p>
|
|
275
282
|
|
276
283
|
|
277
284
|
|
278
|
-
<span class="summary_desc"><div class='inline'>
|
279
|
-
|
285
|
+
<span class="summary_desc"><div class='inline'><p>
|
286
|
+
The formatting record id this named style utilizes.
|
287
|
+
</p>
|
280
288
|
</div></span>
|
281
289
|
|
282
290
|
</li>
|
@@ -313,8 +321,9 @@ the outline it is to be applied to.</p>
|
|
313
321
|
|
314
322
|
|
315
323
|
|
316
|
-
<span class="summary_desc"><div class='inline'>
|
317
|
-
|
324
|
+
<span class="summary_desc"><div class='inline'><p>
|
325
|
+
Creats a new CellStyle object.
|
326
|
+
</p>
|
318
327
|
</div></span>
|
319
328
|
|
320
329
|
</li>
|
@@ -336,8 +345,9 @@ the outline it is to be applied to.</p>
|
|
336
345
|
|
337
346
|
|
338
347
|
|
339
|
-
<span class="summary_desc"><div class='inline'>
|
340
|
-
|
348
|
+
<span class="summary_desc"><div class='inline'><p>
|
349
|
+
Serializes the cell style.
|
350
|
+
</p>
|
341
351
|
</div></span>
|
342
352
|
|
343
353
|
</li>
|
@@ -358,8 +368,9 @@ the outline it is to be applied to.</p>
|
|
358
368
|
|
359
369
|
</p><div class="docstring">
|
360
370
|
<div class="discussion">
|
361
|
-
|
362
|
-
|
371
|
+
<p>
|
372
|
+
Creats a new CellStyle object
|
373
|
+
</p>
|
363
374
|
|
364
375
|
|
365
376
|
</div>
|
@@ -380,8 +391,9 @@ the outline it is to be applied to.</p>
|
|
380
391
|
|
381
392
|
|
382
393
|
—
|
383
|
-
<div class='inline'>
|
384
|
-
|
394
|
+
<div class='inline'><p>
|
395
|
+
a customizable set of options
|
396
|
+
</p>
|
385
397
|
</div>
|
386
398
|
|
387
399
|
</li>
|
@@ -467,11 +479,12 @@ the outline it is to be applied to.</p>
|
|
467
479
|
<td>
|
468
480
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 39</span>
|
469
481
|
|
470
|
-
<span class='kw'>def</span> <span class='id
|
471
|
-
<span class='id
|
472
|
-
<span class='kw'>self</span><span class='
|
473
|
-
<span class='kw'>end</span>
|
474
|
-
<span class='kw'>end</span
|
482
|
+
<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>
|
483
|
+
<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>
|
484
|
+
<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='o identifier id'>o</span><span class='lbrack token'>[</span><span class='integer val'>0</span><span class='rbrack token'>]</span>
|
485
|
+
<span class='end end kw'>end</span>
|
486
|
+
<span class='end end kw'>end</span>
|
487
|
+
</pre>
|
475
488
|
</td>
|
476
489
|
</tr>
|
477
490
|
</table>
|
@@ -494,8 +507,9 @@ the outline it is to be applied to.</p>
|
|
494
507
|
|
495
508
|
</p><div class="docstring">
|
496
509
|
<div class="discussion">
|
497
|
-
|
498
|
-
|
510
|
+
<p>
|
511
|
+
The buildinId to use when this named style is applied
|
512
|
+
</p>
|
499
513
|
|
500
514
|
|
501
515
|
</div>
|
@@ -536,9 +550,10 @@ the outline it is to be applied to.</p>
|
|
536
550
|
<td>
|
537
551
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 18</span>
|
538
552
|
|
539
|
-
<span class='kw'>def</span> <span class='id
|
540
|
-
<span class='ivar'>@builtinId</span>
|
541
|
-
<span class='kw'>end</span
|
553
|
+
<span class='def def kw'>def</span> <span class='builtinId identifier id'>builtinId</span>
|
554
|
+
<span class='@builtinId ivar id'>@builtinId</span>
|
555
|
+
<span class='end end kw'>end</span>
|
556
|
+
</pre>
|
542
557
|
</td>
|
543
558
|
</tr>
|
544
559
|
</table>
|
@@ -556,8 +571,9 @@ the outline it is to be applied to.</p>
|
|
556
571
|
|
557
572
|
</p><div class="docstring">
|
558
573
|
<div class="discussion">
|
559
|
-
|
560
|
-
|
574
|
+
<p>
|
575
|
+
Indicates that the build in style reference has been customized.
|
576
|
+
</p>
|
561
577
|
|
562
578
|
|
563
579
|
</div>
|
@@ -591,9 +607,10 @@ the outline it is to be applied to.</p>
|
|
591
607
|
<td>
|
592
608
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 30</span>
|
593
609
|
|
594
|
-
<span class='kw'>def</span> <span class='id
|
595
|
-
<span class='ivar'>@customBuiltin</span>
|
596
|
-
<span class='kw'>end</span
|
610
|
+
<span class='def def kw'>def</span> <span class='customBuiltin identifier id'>customBuiltin</span>
|
611
|
+
<span class='@customBuiltin ivar id'>@customBuiltin</span>
|
612
|
+
<span class='end end kw'>end</span>
|
613
|
+
</pre>
|
597
614
|
</td>
|
598
615
|
</tr>
|
599
616
|
</table>
|
@@ -611,9 +628,10 @@ the outline it is to be applied to.</p>
|
|
611
628
|
|
612
629
|
</p><div class="docstring">
|
613
630
|
<div class="discussion">
|
614
|
-
|
615
|
-
|
616
|
-
excel
|
631
|
+
<p>
|
632
|
+
Determines if this named style should show in the list of styles when using
|
633
|
+
excel
|
634
|
+
</p>
|
617
635
|
|
618
636
|
|
619
637
|
</div>
|
@@ -647,9 +665,10 @@ excel</p>
|
|
647
665
|
<td>
|
648
666
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 26</span>
|
649
667
|
|
650
|
-
<span class='kw'>def</span> <span class='id
|
651
|
-
<span class='ivar'>@hidden</span>
|
652
|
-
<span class='kw'>end</span
|
668
|
+
<span class='def def kw'>def</span> <span class='hidden identifier id'>hidden</span>
|
669
|
+
<span class='@hidden ivar id'>@hidden</span>
|
670
|
+
<span class='end end kw'>end</span>
|
671
|
+
</pre>
|
653
672
|
</td>
|
654
673
|
</tr>
|
655
674
|
</table>
|
@@ -667,9 +686,10 @@ excel</p>
|
|
667
686
|
|
668
687
|
</p><div class="docstring">
|
669
688
|
<div class="discussion">
|
670
|
-
|
671
|
-
|
672
|
-
the outline it is to be applied to
|
689
|
+
<p>
|
690
|
+
Determines if this formatting is for an outline style, and what level of
|
691
|
+
the outline it is to be applied to.
|
692
|
+
</p>
|
673
693
|
|
674
694
|
|
675
695
|
</div>
|
@@ -703,9 +723,10 @@ the outline it is to be applied to.</p>
|
|
703
723
|
<td>
|
704
724
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 22</span>
|
705
725
|
|
706
|
-
<span class='kw'>def</span> <span class='id
|
707
|
-
<span class='ivar'>@iLevel</span>
|
708
|
-
<span class='kw'>end</span
|
726
|
+
<span class='def def kw'>def</span> <span class='iLevel identifier id'>iLevel</span>
|
727
|
+
<span class='@iLevel ivar id'>@iLevel</span>
|
728
|
+
<span class='end end kw'>end</span>
|
729
|
+
</pre>
|
709
730
|
</td>
|
710
731
|
</tr>
|
711
732
|
</table>
|
@@ -723,8 +744,9 @@ the outline it is to be applied to.</p>
|
|
723
744
|
|
724
745
|
</p><div class="docstring">
|
725
746
|
<div class="discussion">
|
726
|
-
|
727
|
-
|
747
|
+
<p>
|
748
|
+
The name of this cell style
|
749
|
+
</p>
|
728
750
|
|
729
751
|
|
730
752
|
</div>
|
@@ -758,9 +780,10 @@ the outline it is to be applied to.</p>
|
|
758
780
|
<td>
|
759
781
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 8</span>
|
760
782
|
|
761
|
-
<span class='kw'>def</span> <span class='id
|
762
|
-
<span class='ivar'>@name</span>
|
763
|
-
<span class='kw'>end</span
|
783
|
+
<span class='def def kw'>def</span> <span class='name identifier id'>name</span>
|
784
|
+
<span class='@name ivar id'>@name</span>
|
785
|
+
<span class='end end kw'>end</span>
|
786
|
+
</pre>
|
764
787
|
</td>
|
765
788
|
</tr>
|
766
789
|
</table>
|
@@ -778,8 +801,9 @@ the outline it is to be applied to.</p>
|
|
778
801
|
|
779
802
|
</p><div class="docstring">
|
780
803
|
<div class="discussion">
|
781
|
-
|
782
|
-
|
804
|
+
<p>
|
805
|
+
The formatting record id this named style utilizes
|
806
|
+
</p>
|
783
807
|
|
784
808
|
|
785
809
|
</div>
|
@@ -820,9 +844,10 @@ the outline it is to be applied to.</p>
|
|
820
844
|
<td>
|
821
845
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 13</span>
|
822
846
|
|
823
|
-
<span class='kw'>def</span> <span class='id
|
824
|
-
<span class='ivar'>@xfId</span>
|
825
|
-
<span class='kw'>end</span
|
847
|
+
<span class='def def kw'>def</span> <span class='xfId identifier id'>xfId</span>
|
848
|
+
<span class='@xfId ivar id'>@xfId</span>
|
849
|
+
<span class='end end kw'>end</span>
|
850
|
+
</pre>
|
826
851
|
</td>
|
827
852
|
</tr>
|
828
853
|
</table>
|
@@ -844,8 +869,9 @@ the outline it is to be applied to.</p>
|
|
844
869
|
|
845
870
|
</p><div class="docstring">
|
846
871
|
<div class="discussion">
|
847
|
-
|
848
|
-
|
872
|
+
<p>
|
873
|
+
Serializes the cell style
|
874
|
+
</p>
|
849
875
|
|
850
876
|
|
851
877
|
</div>
|
@@ -864,8 +890,9 @@ the outline it is to be applied to.</p>
|
|
864
890
|
|
865
891
|
|
866
892
|
—
|
867
|
-
<div class='inline'>
|
868
|
-
|
893
|
+
<div class='inline'><p>
|
894
|
+
The document builder instance this objects xml will be added to.
|
895
|
+
</p>
|
869
896
|
</div>
|
870
897
|
|
871
898
|
</li>
|
@@ -899,9 +926,10 @@ the outline it is to be applied to.</p>
|
|
899
926
|
<td>
|
900
927
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 60</span>
|
901
928
|
|
902
|
-
<span class='kw'>def</span> <span class='id
|
903
|
-
<span class='id
|
904
|
-
<span class='kw'>end</span
|
929
|
+
<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>
|
930
|
+
<span class='xml identifier id'>xml</span><span class='dot token'>.</span><span class='cellStyle identifier id'>cellStyle</span><span class='lparen token'>(</span><span class='self self kw'>self</span><span class='dot token'>.</span><span class='instance_values identifier id'>instance_values</span><span class='rparen token'>)</span>
|
931
|
+
<span class='end end kw'>end</span>
|
932
|
+
</pre>
|
905
933
|
</td>
|
906
934
|
</tr>
|
907
935
|
</table>
|
@@ -912,9 +940,9 @@ the outline it is to be applied to.</p>
|
|
912
940
|
</div>
|
913
941
|
|
914
942
|
<div id="footer">
|
915
|
-
Generated on
|
943
|
+
Generated on Sun Nov 27 21:54:18 2011 by
|
916
944
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
917
|
-
0.7.3 (ruby-1.
|
945
|
+
0.7.3 (ruby-1.8.7).
|
918
946
|
</div>
|
919
947
|
|
920
948
|
</body>
|