axlsx 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +14 -0
- data/README.md +22 -21
- data/Rakefile +1 -1
- data/axlsx.gemspec +36 -0
- data/doc/Axlsx.html +373 -559
- data/doc/Axlsx/App.html +257 -360
- data/doc/Axlsx/Axis.html +113 -144
- data/doc/Axlsx/Bar3DChart.html +122 -152
- data/doc/Axlsx/BarSeries.html +67 -81
- data/doc/Axlsx/Border.html +96 -119
- data/doc/Axlsx/BorderPr.html +89 -114
- data/doc/Axlsx/CatAxis.html +79 -104
- data/doc/Axlsx/CatAxisData.html +40 -54
- data/doc/Axlsx/Cell.html +193 -679
- data/doc/Axlsx/CellAlignment.html +116 -157
- data/doc/Axlsx/CellProtection.html +50 -68
- data/doc/Axlsx/CellStyle.html +78 -106
- data/doc/Axlsx/Chart.html +361 -432
- data/doc/Axlsx/Color.html +56 -78
- data/doc/Axlsx/ContentType.html +28 -41
- data/doc/Axlsx/Core.html +43 -55
- data/doc/Axlsx/DataTypeValidator.html +34 -43
- data/doc/Axlsx/Default.html +55 -81
- data/doc/Axlsx/Drawing.html +322 -412
- data/doc/Axlsx/Fill.html +34 -47
- data/doc/Axlsx/Font.html +157 -207
- data/doc/Axlsx/GradientFill.html +90 -122
- data/doc/Axlsx/GradientStop.html +36 -50
- data/doc/Axlsx/GraphicFrame.html +106 -130
- data/doc/Axlsx/Line3DChart.html +108 -134
- data/doc/Axlsx/LineSeries.html +58 -67
- data/doc/Axlsx/Marker.html +84 -111
- data/doc/Axlsx/NumFmt.html +83 -102
- data/doc/Axlsx/OneCellAnchor.html +158 -196
- data/doc/Axlsx/Override.html +60 -92
- data/doc/Axlsx/Package.html +190 -759
- data/doc/Axlsx/PatternFill.html +78 -99
- data/doc/Axlsx/Pic.html +451 -405
- data/doc/Axlsx/Pie3DChart.html +33 -42
- data/doc/Axlsx/PieSeries.html +68 -80
- data/doc/Axlsx/RegexValidator.html +15 -20
- data/doc/Axlsx/Relationship.html +49 -66
- data/doc/Axlsx/Relationships.html +28 -41
- data/doc/Axlsx/RestrictionValidator.html +23 -32
- data/doc/Axlsx/Row.html +132 -161
- data/doc/Axlsx/Scaling.html +71 -90
- data/doc/Axlsx/SerAxis.html +61 -79
- data/doc/Axlsx/Series.html +125 -201
- data/doc/Axlsx/SeriesTitle.html +26 -31
- data/doc/Axlsx/Styles.html +286 -355
- data/doc/Axlsx/TableStyle.html +62 -87
- data/doc/Axlsx/TableStyleElement.html +84 -104
- data/doc/Axlsx/TableStyles.html +59 -82
- data/doc/Axlsx/Title.html +58 -155
- data/doc/Axlsx/TwoCellAnchor.html +165 -204
- data/doc/Axlsx/ValAxis.html +39 -53
- data/doc/Axlsx/ValAxisData.html +29 -39
- data/doc/Axlsx/View3D.html +93 -122
- data/doc/Axlsx/Workbook.html +359 -362
- data/doc/Axlsx/Worksheet.html +471 -816
- data/doc/Axlsx/Xf.html +341 -296
- data/doc/_index.html +7 -11
- data/doc/class_list.html +1 -1
- data/doc/file.LICENSE.html +86 -0
- data/doc/file.README.html +105 -107
- data/doc/file_list.html +3 -0
- data/doc/frames.html +1 -1
- data/doc/index.html +105 -107
- data/doc/method_list.html +426 -602
- data/doc/top-level-namespace.html +3 -3
- data/examples/example.rb +20 -1
- data/lib/axlsx.rb +20 -15
- data/lib/axlsx/content_type/default.rb +8 -3
- data/lib/axlsx/content_type/override.rb +11 -4
- data/lib/axlsx/doc_props/app.rb +53 -23
- data/lib/axlsx/drawing/axis.rb +16 -5
- data/lib/axlsx/drawing/bar_3D_chart.rb +15 -7
- data/lib/axlsx/drawing/bar_series.rb +7 -5
- data/lib/axlsx/drawing/cat_axis.rb +10 -3
- data/lib/axlsx/drawing/chart.rb +21 -15
- data/lib/axlsx/drawing/drawing.rb +16 -30
- data/lib/axlsx/drawing/graphic_frame.rb +2 -4
- data/lib/axlsx/drawing/line_3D_chart.rb +5 -2
- data/lib/axlsx/drawing/line_series.rb +6 -5
- data/lib/axlsx/drawing/marker.rb +9 -5
- data/lib/axlsx/drawing/one_cell_anchor.rb +7 -7
- data/lib/axlsx/drawing/pic.rb +29 -37
- data/lib/axlsx/drawing/pie_series.rb +7 -5
- data/lib/axlsx/drawing/scaling.rb +11 -5
- data/lib/axlsx/drawing/ser_axis.rb +6 -2
- data/lib/axlsx/drawing/series.rb +11 -11
- data/lib/axlsx/drawing/series_title.rb +1 -1
- data/lib/axlsx/drawing/title.rb +5 -12
- data/lib/axlsx/drawing/two_cell_anchor.rb +2 -3
- data/lib/axlsx/drawing/val_axis.rb +2 -2
- data/lib/axlsx/drawing/view_3D.rb +16 -9
- data/lib/axlsx/package.rb +25 -27
- data/lib/axlsx/rels/relationship.rb +4 -2
- data/lib/axlsx/stylesheet/border.rb +9 -4
- data/lib/axlsx/stylesheet/border_pr.rb +7 -4
- data/lib/axlsx/stylesheet/cell_alignment.rb +18 -9
- data/lib/axlsx/stylesheet/cell_protection.rb +5 -2
- data/lib/axlsx/stylesheet/cell_style.rb +12 -7
- data/lib/axlsx/stylesheet/color.rb +8 -6
- data/lib/axlsx/stylesheet/fill.rb +2 -1
- data/lib/axlsx/stylesheet/font.rb +24 -13
- data/lib/axlsx/stylesheet/gradient_fill.rb +16 -10
- data/lib/axlsx/stylesheet/gradient_stop.rb +5 -3
- data/lib/axlsx/stylesheet/num_fmt.rb +4 -2
- data/lib/axlsx/stylesheet/pattern_fill.rb +6 -4
- data/lib/axlsx/stylesheet/styles.rb +12 -12
- data/lib/axlsx/stylesheet/table_style.rb +6 -3
- data/lib/axlsx/stylesheet/table_style_element.rb +9 -4
- data/lib/axlsx/stylesheet/table_styles.rb +4 -4
- data/lib/axlsx/stylesheet/xf.rb +52 -31
- data/lib/axlsx/util/validators.rb +3 -3
- data/lib/axlsx/version.rb +1 -1
- data/lib/axlsx/workbook/workbook.rb +8 -9
- data/lib/axlsx/workbook/worksheet/cell.rb +25 -16
- data/lib/axlsx/workbook/worksheet/row.rb +2 -4
- data/lib/axlsx/workbook/worksheet/worksheet.rb +23 -32
- data/test/drawing/tc_one_cell_anchor.rb +1 -1
- metadata +135 -165
- data/doc/Axlsx/SimpleTypedList.html +0 -1686
- data/lib/schema/dc.xsd~ +0 -118
- data/lib/schema/dcterms.xsd~ +0 -331
- data/lib/schema/opc-coreProperties.xsd~ +0 -50
- data/test/drawing/tc_line_series.tc~ +0 -34
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Axlsx::CellProtection
|
|
8
8
|
|
|
9
|
-
—
|
|
9
|
+
— AXLSX
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -97,16 +97,14 @@
|
|
|
97
97
|
|
|
98
98
|
<div class="note notetag">
|
|
99
99
|
<strong>Note:</strong>
|
|
100
|
-
<div class='inline'
|
|
101
|
-
Using Styles#add_style is the recommended way to manage cell protection
|
|
102
|
-
</p>
|
|
100
|
+
<div class='inline'>
|
|
101
|
+
<p>Using Styles#add_style is the recommended way to manage cell protection.</p>
|
|
103
102
|
</div>
|
|
104
103
|
</div>
|
|
105
104
|
|
|
106
|
-
|
|
107
|
-
CellProtection stores information about locking or hiding cells in
|
|
108
|
-
spreadsheet
|
|
109
|
-
</p>
|
|
105
|
+
|
|
106
|
+
<p>CellProtection stores information about locking or hiding cells in
|
|
107
|
+
spreadsheet.</p>
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
</div>
|
|
@@ -145,9 +143,8 @@ spreadsheet.
|
|
|
145
143
|
|
|
146
144
|
|
|
147
145
|
|
|
148
|
-
<span class="summary_desc"><div class='inline'
|
|
149
|
-
specifies locking for cells that have the style containing this protection
|
|
150
|
-
</p>
|
|
146
|
+
<span class="summary_desc"><div class='inline'>
|
|
147
|
+
<p>specifies locking for cells that have the style containing this protection.</p>
|
|
151
148
|
</div></span>
|
|
152
149
|
|
|
153
150
|
</li>
|
|
@@ -172,9 +169,8 @@ specifies locking for cells that have the style containing this protection.
|
|
|
172
169
|
|
|
173
170
|
|
|
174
171
|
|
|
175
|
-
<span class="summary_desc"><div class='inline'
|
|
176
|
-
specifies if the cells that have the style containing this protection
|
|
177
|
-
</p>
|
|
172
|
+
<span class="summary_desc"><div class='inline'>
|
|
173
|
+
<p>specifies if the cells that have the style containing this protection.</p>
|
|
178
174
|
</div></span>
|
|
179
175
|
|
|
180
176
|
</li>
|
|
@@ -211,9 +207,8 @@ specifies if the cells that have the style containing this protection.
|
|
|
211
207
|
|
|
212
208
|
|
|
213
209
|
|
|
214
|
-
<span class="summary_desc"><div class='inline'
|
|
215
|
-
Creates a new CellProtection
|
|
216
|
-
</p>
|
|
210
|
+
<span class="summary_desc"><div class='inline'>
|
|
211
|
+
<p>Creates a new CellProtection.</p>
|
|
217
212
|
</div></span>
|
|
218
213
|
|
|
219
214
|
</li>
|
|
@@ -235,9 +230,8 @@ Creates a new CellProtection.
|
|
|
235
230
|
|
|
236
231
|
|
|
237
232
|
|
|
238
|
-
<span class="summary_desc"><div class='inline'
|
|
239
|
-
Serializes the cell protection
|
|
240
|
-
</p>
|
|
233
|
+
<span class="summary_desc"><div class='inline'>
|
|
234
|
+
<p>Serializes the cell protection.</p>
|
|
241
235
|
</div></span>
|
|
242
236
|
|
|
243
237
|
</li>
|
|
@@ -258,9 +252,8 @@ Serializes the cell protection.
|
|
|
258
252
|
|
|
259
253
|
</p><div class="docstring">
|
|
260
254
|
<div class="discussion">
|
|
261
|
-
|
|
262
|
-
Creates a new CellProtection
|
|
263
|
-
</p>
|
|
255
|
+
|
|
256
|
+
<p>Creates a new CellProtection</p>
|
|
264
257
|
|
|
265
258
|
|
|
266
259
|
</div>
|
|
@@ -281,9 +274,8 @@ Creates a new CellProtection
|
|
|
281
274
|
|
|
282
275
|
|
|
283
276
|
—
|
|
284
|
-
<div class='inline'
|
|
285
|
-
a customizable set of options
|
|
286
|
-
</p>
|
|
277
|
+
<div class='inline'>
|
|
278
|
+
<p>a customizable set of options</p>
|
|
287
279
|
</div>
|
|
288
280
|
|
|
289
281
|
</li>
|
|
@@ -302,9 +294,8 @@ a customizable set of options
|
|
|
302
294
|
<span class="default">
|
|
303
295
|
|
|
304
296
|
</span>
|
|
305
|
-
— <div class='inline'
|
|
306
|
-
value for hidden protection
|
|
307
|
-
</p>
|
|
297
|
+
— <div class='inline'>
|
|
298
|
+
<p>value for hidden protection</p>
|
|
308
299
|
</div>
|
|
309
300
|
</li>
|
|
310
301
|
|
|
@@ -314,9 +305,8 @@ value for hidden protection
|
|
|
314
305
|
<span class="default">
|
|
315
306
|
|
|
316
307
|
</span>
|
|
317
|
-
— <div class='inline'
|
|
318
|
-
value for locked protection
|
|
319
|
-
</p>
|
|
308
|
+
— <div class='inline'>
|
|
309
|
+
<p>value for locked protection</p>
|
|
320
310
|
</div>
|
|
321
311
|
</li>
|
|
322
312
|
|
|
@@ -339,12 +329,11 @@ value for locked protection
|
|
|
339
329
|
<td>
|
|
340
330
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 18</span>
|
|
341
331
|
|
|
342
|
-
<span class='
|
|
343
|
-
<span class='options
|
|
344
|
-
<span class='
|
|
345
|
-
<span class='
|
|
346
|
-
<span class='
|
|
347
|
-
</pre>
|
|
332
|
+
<span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
333
|
+
<span class='id options'>options</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id o'>o</span><span class='op'>|</span>
|
|
334
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id respond_to?'>respond_to?</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>"</span></span>
|
|
335
|
+
<span class='kw'>end</span>
|
|
336
|
+
<span class='kw'>end</span></pre>
|
|
348
337
|
</td>
|
|
349
338
|
</tr>
|
|
350
339
|
</table>
|
|
@@ -367,9 +356,8 @@ value for locked protection
|
|
|
367
356
|
|
|
368
357
|
</p><div class="docstring">
|
|
369
358
|
<div class="discussion">
|
|
370
|
-
|
|
371
|
-
specifies locking for cells that have the style containing this protection
|
|
372
|
-
</p>
|
|
359
|
+
|
|
360
|
+
<p>specifies locking for cells that have the style containing this protection</p>
|
|
373
361
|
|
|
374
362
|
|
|
375
363
|
</div>
|
|
@@ -403,10 +391,9 @@ specifies locking for cells that have the style containing this protection
|
|
|
403
391
|
<td>
|
|
404
392
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 9</span>
|
|
405
393
|
|
|
406
|
-
<span class='
|
|
407
|
-
<span class='
|
|
408
|
-
<span class='
|
|
409
|
-
</pre>
|
|
394
|
+
<span class='kw'>def</span> <span class='id hidden'>hidden</span>
|
|
395
|
+
<span class='ivar'>@hidden</span>
|
|
396
|
+
<span class='kw'>end</span></pre>
|
|
410
397
|
</td>
|
|
411
398
|
</tr>
|
|
412
399
|
</table>
|
|
@@ -424,9 +411,8 @@ specifies locking for cells that have the style containing this protection
|
|
|
424
411
|
|
|
425
412
|
</p><div class="docstring">
|
|
426
413
|
<div class="discussion">
|
|
427
|
-
|
|
428
|
-
specifies if the cells that have the style containing this protection
|
|
429
|
-
</p>
|
|
414
|
+
|
|
415
|
+
<p>specifies if the cells that have the style containing this protection</p>
|
|
430
416
|
|
|
431
417
|
|
|
432
418
|
</div>
|
|
@@ -460,10 +446,9 @@ specifies if the cells that have the style containing this protection
|
|
|
460
446
|
<td>
|
|
461
447
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 13</span>
|
|
462
448
|
|
|
463
|
-
<span class='
|
|
464
|
-
<span class='
|
|
465
|
-
<span class='
|
|
466
|
-
</pre>
|
|
449
|
+
<span class='kw'>def</span> <span class='id locked'>locked</span>
|
|
450
|
+
<span class='ivar'>@locked</span>
|
|
451
|
+
<span class='kw'>end</span></pre>
|
|
467
452
|
</td>
|
|
468
453
|
</tr>
|
|
469
454
|
</table>
|
|
@@ -485,9 +470,8 @@ specifies if the cells that have the style containing this protection
|
|
|
485
470
|
|
|
486
471
|
</p><div class="docstring">
|
|
487
472
|
<div class="discussion">
|
|
488
|
-
|
|
489
|
-
Serializes the cell protection
|
|
490
|
-
</p>
|
|
473
|
+
|
|
474
|
+
<p>Serializes the cell protection</p>
|
|
491
475
|
|
|
492
476
|
|
|
493
477
|
</div>
|
|
@@ -506,9 +490,8 @@ Serializes the cell protection
|
|
|
506
490
|
|
|
507
491
|
|
|
508
492
|
—
|
|
509
|
-
<div class='inline'
|
|
510
|
-
The document builder instance this objects xml will be added to
|
|
511
|
-
</p>
|
|
493
|
+
<div class='inline'>
|
|
494
|
+
<p>The document builder instance this objects xml will be added to.</p>
|
|
512
495
|
</div>
|
|
513
496
|
|
|
514
497
|
</li>
|
|
@@ -535,17 +518,16 @@ The document builder instance this objects xml will be added to.
|
|
|
535
518
|
<pre class="lines">
|
|
536
519
|
|
|
537
520
|
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
521
|
+
32
|
|
522
|
+
33
|
|
523
|
+
34</pre>
|
|
541
524
|
</td>
|
|
542
525
|
<td>
|
|
543
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line
|
|
526
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_protection.rb', line 32</span>
|
|
544
527
|
|
|
545
|
-
<span class='
|
|
546
|
-
<span class='xml
|
|
547
|
-
<span class='
|
|
548
|
-
</pre>
|
|
528
|
+
<span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span>
|
|
529
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id protection'>protection</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id instance_values'>instance_values</span><span class='rparen'>)</span>
|
|
530
|
+
<span class='kw'>end</span></pre>
|
|
549
531
|
</td>
|
|
550
532
|
</tr>
|
|
551
533
|
</table>
|
|
@@ -556,9 +538,9 @@ The document builder instance this objects xml will be added to.
|
|
|
556
538
|
</div>
|
|
557
539
|
|
|
558
540
|
<div id="footer">
|
|
559
|
-
Generated on
|
|
541
|
+
Generated on Sat Nov 26 13:16:40 2011 by
|
|
560
542
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
561
|
-
0.7.3 (ruby-1.
|
|
543
|
+
0.7.3 (ruby-1.9.3).
|
|
562
544
|
</div>
|
|
563
545
|
|
|
564
546
|
</body>
|
data/doc/Axlsx/CellStyle.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: Axlsx::CellStyle
|
|
8
8
|
|
|
9
|
-
—
|
|
9
|
+
— AXLSX
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
@@ -97,16 +97,14 @@
|
|
|
97
97
|
|
|
98
98
|
<div class="note notetag">
|
|
99
99
|
<strong>Note:</strong>
|
|
100
|
-
<div class='inline'
|
|
101
|
-
Using Styles#add_style is the recommended way to manage cell styling
|
|
102
|
-
</p>
|
|
100
|
+
<div class='inline'>
|
|
101
|
+
<p>Using Styles#add_style is the recommended way to manage cell styling.</p>
|
|
103
102
|
</div>
|
|
104
103
|
</div>
|
|
105
104
|
|
|
106
|
-
|
|
107
|
-
CellStyle defines named styles that reference defined formatting records
|
|
108
|
-
and can be used in your worksheet
|
|
109
|
-
</p>
|
|
105
|
+
|
|
106
|
+
<p>CellStyle defines named styles that reference defined formatting records
|
|
107
|
+
and can be used in your worksheet.</p>
|
|
110
108
|
|
|
111
109
|
|
|
112
110
|
</div>
|
|
@@ -145,9 +143,8 @@ and can be used in your worksheet.
|
|
|
145
143
|
|
|
146
144
|
|
|
147
145
|
|
|
148
|
-
<span class="summary_desc"><div class='inline'
|
|
149
|
-
The buildinId to use when this named style is applied
|
|
150
|
-
</p>
|
|
146
|
+
<span class="summary_desc"><div class='inline'>
|
|
147
|
+
<p>The buildinId to use when this named style is applied.</p>
|
|
151
148
|
</div></span>
|
|
152
149
|
|
|
153
150
|
</li>
|
|
@@ -172,9 +169,8 @@ The buildinId to use when this named style is applied.
|
|
|
172
169
|
|
|
173
170
|
|
|
174
171
|
|
|
175
|
-
<span class="summary_desc"><div class='inline'
|
|
176
|
-
Indicates that the build in style reference has been customized
|
|
177
|
-
</p>
|
|
172
|
+
<span class="summary_desc"><div class='inline'>
|
|
173
|
+
<p>Indicates that the build in style reference has been customized.</p>
|
|
178
174
|
</div></span>
|
|
179
175
|
|
|
180
176
|
</li>
|
|
@@ -199,10 +195,9 @@ Indicates that the build in style reference has been customized.
|
|
|
199
195
|
|
|
200
196
|
|
|
201
197
|
|
|
202
|
-
<span class="summary_desc"><div class='inline'
|
|
203
|
-
Determines if this named style should show in the list of styles when using
|
|
204
|
-
excel
|
|
205
|
-
</p>
|
|
198
|
+
<span class="summary_desc"><div class='inline'>
|
|
199
|
+
<p>Determines if this named style should show in the list of styles when using
|
|
200
|
+
excel.</p>
|
|
206
201
|
</div></span>
|
|
207
202
|
|
|
208
203
|
</li>
|
|
@@ -227,10 +222,9 @@ excel.
|
|
|
227
222
|
|
|
228
223
|
|
|
229
224
|
|
|
230
|
-
<span class="summary_desc"><div class='inline'
|
|
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>
|
|
225
|
+
<span class="summary_desc"><div class='inline'>
|
|
226
|
+
<p>Determines if this formatting is for an outline style, and what level of
|
|
227
|
+
the outline it is to be applied to.</p>
|
|
234
228
|
</div></span>
|
|
235
229
|
|
|
236
230
|
</li>
|
|
@@ -255,9 +249,8 @@ the outline it is to be applied to.
|
|
|
255
249
|
|
|
256
250
|
|
|
257
251
|
|
|
258
|
-
<span class="summary_desc"><div class='inline'
|
|
259
|
-
The name of this cell style
|
|
260
|
-
</p>
|
|
252
|
+
<span class="summary_desc"><div class='inline'>
|
|
253
|
+
<p>The name of this cell style.</p>
|
|
261
254
|
</div></span>
|
|
262
255
|
|
|
263
256
|
</li>
|
|
@@ -282,9 +275,8 @@ The name of this cell style.
|
|
|
282
275
|
|
|
283
276
|
|
|
284
277
|
|
|
285
|
-
<span class="summary_desc"><div class='inline'
|
|
286
|
-
The formatting record id this named style utilizes
|
|
287
|
-
</p>
|
|
278
|
+
<span class="summary_desc"><div class='inline'>
|
|
279
|
+
<p>The formatting record id this named style utilizes.</p>
|
|
288
280
|
</div></span>
|
|
289
281
|
|
|
290
282
|
</li>
|
|
@@ -321,9 +313,8 @@ The formatting record id this named style utilizes.
|
|
|
321
313
|
|
|
322
314
|
|
|
323
315
|
|
|
324
|
-
<span class="summary_desc"><div class='inline'
|
|
325
|
-
Creats a new CellStyle object
|
|
326
|
-
</p>
|
|
316
|
+
<span class="summary_desc"><div class='inline'>
|
|
317
|
+
<p>Creats a new CellStyle object.</p>
|
|
327
318
|
</div></span>
|
|
328
319
|
|
|
329
320
|
</li>
|
|
@@ -345,9 +336,8 @@ Creats a new CellStyle object.
|
|
|
345
336
|
|
|
346
337
|
|
|
347
338
|
|
|
348
|
-
<span class="summary_desc"><div class='inline'
|
|
349
|
-
Serializes the cell style
|
|
350
|
-
</p>
|
|
339
|
+
<span class="summary_desc"><div class='inline'>
|
|
340
|
+
<p>Serializes the cell style.</p>
|
|
351
341
|
</div></span>
|
|
352
342
|
|
|
353
343
|
</li>
|
|
@@ -368,9 +358,8 @@ Serializes the cell style.
|
|
|
368
358
|
|
|
369
359
|
</p><div class="docstring">
|
|
370
360
|
<div class="discussion">
|
|
371
|
-
|
|
372
|
-
Creats a new CellStyle object
|
|
373
|
-
</p>
|
|
361
|
+
|
|
362
|
+
<p>Creats a new CellStyle object</p>
|
|
374
363
|
|
|
375
364
|
|
|
376
365
|
</div>
|
|
@@ -391,9 +380,8 @@ Creats a new CellStyle object
|
|
|
391
380
|
|
|
392
381
|
|
|
393
382
|
—
|
|
394
|
-
<div class='inline'
|
|
395
|
-
a customizable set of options
|
|
396
|
-
</p>
|
|
383
|
+
<div class='inline'>
|
|
384
|
+
<p>a customizable set of options</p>
|
|
397
385
|
</div>
|
|
398
386
|
|
|
399
387
|
</li>
|
|
@@ -479,12 +467,11 @@ a customizable set of options
|
|
|
479
467
|
<td>
|
|
480
468
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 39</span>
|
|
481
469
|
|
|
482
|
-
<span class='
|
|
483
|
-
<span class='options
|
|
484
|
-
<span class='
|
|
485
|
-
<span class='
|
|
486
|
-
<span class='
|
|
487
|
-
</pre>
|
|
470
|
+
<span class='kw'>def</span> <span class='id initialize'>initialize</span><span class='lparen'>(</span><span class='id options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
|
471
|
+
<span class='id options'>options</span><span class='period'>.</span><span class='id each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id o'>o</span><span class='op'>|</span>
|
|
472
|
+
<span class='kw'>self</span><span class='period'>.</span><span class='id send'>send</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rparen'>)</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id respond_to?'>respond_to?</span> <span class='id o'>o</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span>
|
|
473
|
+
<span class='kw'>end</span>
|
|
474
|
+
<span class='kw'>end</span></pre>
|
|
488
475
|
</td>
|
|
489
476
|
</tr>
|
|
490
477
|
</table>
|
|
@@ -507,9 +494,8 @@ a customizable set of options
|
|
|
507
494
|
|
|
508
495
|
</p><div class="docstring">
|
|
509
496
|
<div class="discussion">
|
|
510
|
-
|
|
511
|
-
The buildinId to use when this named style is applied
|
|
512
|
-
</p>
|
|
497
|
+
|
|
498
|
+
<p>The buildinId to use when this named style is applied</p>
|
|
513
499
|
|
|
514
500
|
|
|
515
501
|
</div>
|
|
@@ -550,10 +536,9 @@ The buildinId to use when this named style is applied
|
|
|
550
536
|
<td>
|
|
551
537
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 18</span>
|
|
552
538
|
|
|
553
|
-
<span class='
|
|
554
|
-
<span class='
|
|
555
|
-
<span class='
|
|
556
|
-
</pre>
|
|
539
|
+
<span class='kw'>def</span> <span class='id builtinId'>builtinId</span>
|
|
540
|
+
<span class='ivar'>@builtinId</span>
|
|
541
|
+
<span class='kw'>end</span></pre>
|
|
557
542
|
</td>
|
|
558
543
|
</tr>
|
|
559
544
|
</table>
|
|
@@ -571,9 +556,8 @@ The buildinId to use when this named style is applied
|
|
|
571
556
|
|
|
572
557
|
</p><div class="docstring">
|
|
573
558
|
<div class="discussion">
|
|
574
|
-
|
|
575
|
-
Indicates that the build in style reference has been customized
|
|
576
|
-
</p>
|
|
559
|
+
|
|
560
|
+
<p>Indicates that the build in style reference has been customized.</p>
|
|
577
561
|
|
|
578
562
|
|
|
579
563
|
</div>
|
|
@@ -607,10 +591,9 @@ Indicates that the build in style reference has been customized.
|
|
|
607
591
|
<td>
|
|
608
592
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 30</span>
|
|
609
593
|
|
|
610
|
-
<span class='
|
|
611
|
-
<span class='
|
|
612
|
-
<span class='
|
|
613
|
-
</pre>
|
|
594
|
+
<span class='kw'>def</span> <span class='id customBuiltin'>customBuiltin</span>
|
|
595
|
+
<span class='ivar'>@customBuiltin</span>
|
|
596
|
+
<span class='kw'>end</span></pre>
|
|
614
597
|
</td>
|
|
615
598
|
</tr>
|
|
616
599
|
</table>
|
|
@@ -628,10 +611,9 @@ Indicates that the build in style reference has been customized.
|
|
|
628
611
|
|
|
629
612
|
</p><div class="docstring">
|
|
630
613
|
<div class="discussion">
|
|
631
|
-
|
|
632
|
-
Determines if this named style should show in the list of styles when using
|
|
633
|
-
excel
|
|
634
|
-
</p>
|
|
614
|
+
|
|
615
|
+
<p>Determines if this named style should show in the list of styles when using
|
|
616
|
+
excel</p>
|
|
635
617
|
|
|
636
618
|
|
|
637
619
|
</div>
|
|
@@ -665,10 +647,9 @@ excel
|
|
|
665
647
|
<td>
|
|
666
648
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 26</span>
|
|
667
649
|
|
|
668
|
-
<span class='
|
|
669
|
-
<span class='
|
|
670
|
-
<span class='
|
|
671
|
-
</pre>
|
|
650
|
+
<span class='kw'>def</span> <span class='id hidden'>hidden</span>
|
|
651
|
+
<span class='ivar'>@hidden</span>
|
|
652
|
+
<span class='kw'>end</span></pre>
|
|
672
653
|
</td>
|
|
673
654
|
</tr>
|
|
674
655
|
</table>
|
|
@@ -686,10 +667,9 @@ excel
|
|
|
686
667
|
|
|
687
668
|
</p><div class="docstring">
|
|
688
669
|
<div class="discussion">
|
|
689
|
-
|
|
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>
|
|
670
|
+
|
|
671
|
+
<p>Determines if this formatting is for an outline style, and what level of
|
|
672
|
+
the outline it is to be applied to.</p>
|
|
693
673
|
|
|
694
674
|
|
|
695
675
|
</div>
|
|
@@ -723,10 +703,9 @@ the outline it is to be applied to.
|
|
|
723
703
|
<td>
|
|
724
704
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 22</span>
|
|
725
705
|
|
|
726
|
-
<span class='
|
|
727
|
-
<span class='
|
|
728
|
-
<span class='
|
|
729
|
-
</pre>
|
|
706
|
+
<span class='kw'>def</span> <span class='id iLevel'>iLevel</span>
|
|
707
|
+
<span class='ivar'>@iLevel</span>
|
|
708
|
+
<span class='kw'>end</span></pre>
|
|
730
709
|
</td>
|
|
731
710
|
</tr>
|
|
732
711
|
</table>
|
|
@@ -744,9 +723,8 @@ the outline it is to be applied to.
|
|
|
744
723
|
|
|
745
724
|
</p><div class="docstring">
|
|
746
725
|
<div class="discussion">
|
|
747
|
-
|
|
748
|
-
The name of this cell style
|
|
749
|
-
</p>
|
|
726
|
+
|
|
727
|
+
<p>The name of this cell style</p>
|
|
750
728
|
|
|
751
729
|
|
|
752
730
|
</div>
|
|
@@ -780,10 +758,9 @@ The name of this cell style
|
|
|
780
758
|
<td>
|
|
781
759
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 8</span>
|
|
782
760
|
|
|
783
|
-
<span class='
|
|
784
|
-
<span class='
|
|
785
|
-
<span class='
|
|
786
|
-
</pre>
|
|
761
|
+
<span class='kw'>def</span> <span class='id name'>name</span>
|
|
762
|
+
<span class='ivar'>@name</span>
|
|
763
|
+
<span class='kw'>end</span></pre>
|
|
787
764
|
</td>
|
|
788
765
|
</tr>
|
|
789
766
|
</table>
|
|
@@ -801,9 +778,8 @@ The name of this cell style
|
|
|
801
778
|
|
|
802
779
|
</p><div class="docstring">
|
|
803
780
|
<div class="discussion">
|
|
804
|
-
|
|
805
|
-
The formatting record id this named style utilizes
|
|
806
|
-
</p>
|
|
781
|
+
|
|
782
|
+
<p>The formatting record id this named style utilizes</p>
|
|
807
783
|
|
|
808
784
|
|
|
809
785
|
</div>
|
|
@@ -844,10 +820,9 @@ The formatting record id this named style utilizes
|
|
|
844
820
|
<td>
|
|
845
821
|
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 13</span>
|
|
846
822
|
|
|
847
|
-
<span class='
|
|
848
|
-
<span class='
|
|
849
|
-
<span class='
|
|
850
|
-
</pre>
|
|
823
|
+
<span class='kw'>def</span> <span class='id xfId'>xfId</span>
|
|
824
|
+
<span class='ivar'>@xfId</span>
|
|
825
|
+
<span class='kw'>end</span></pre>
|
|
851
826
|
</td>
|
|
852
827
|
</tr>
|
|
853
828
|
</table>
|
|
@@ -869,9 +844,8 @@ The formatting record id this named style utilizes
|
|
|
869
844
|
|
|
870
845
|
</p><div class="docstring">
|
|
871
846
|
<div class="discussion">
|
|
872
|
-
|
|
873
|
-
Serializes the cell style
|
|
874
|
-
</p>
|
|
847
|
+
|
|
848
|
+
<p>Serializes the cell style</p>
|
|
875
849
|
|
|
876
850
|
|
|
877
851
|
</div>
|
|
@@ -890,9 +864,8 @@ Serializes the cell style
|
|
|
890
864
|
|
|
891
865
|
|
|
892
866
|
—
|
|
893
|
-
<div class='inline'
|
|
894
|
-
The document builder instance this objects xml will be added to
|
|
895
|
-
</p>
|
|
867
|
+
<div class='inline'>
|
|
868
|
+
<p>The document builder instance this objects xml will be added to.</p>
|
|
896
869
|
</div>
|
|
897
870
|
|
|
898
871
|
</li>
|
|
@@ -919,17 +892,16 @@ The document builder instance this objects xml will be added to.
|
|
|
919
892
|
<pre class="lines">
|
|
920
893
|
|
|
921
894
|
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
895
|
+
60
|
|
896
|
+
61
|
|
897
|
+
62</pre>
|
|
925
898
|
</td>
|
|
926
899
|
<td>
|
|
927
|
-
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line
|
|
900
|
+
<pre class="code"><span class="info file"># File 'lib/axlsx/stylesheet/cell_style.rb', line 60</span>
|
|
928
901
|
|
|
929
|
-
<span class='
|
|
930
|
-
<span class='xml
|
|
931
|
-
<span class='
|
|
932
|
-
</pre>
|
|
902
|
+
<span class='kw'>def</span> <span class='id to_xml'>to_xml</span><span class='lparen'>(</span><span class='id xml'>xml</span><span class='rparen'>)</span>
|
|
903
|
+
<span class='id xml'>xml</span><span class='period'>.</span><span class='id cellStyle'>cellStyle</span><span class='lparen'>(</span><span class='kw'>self</span><span class='period'>.</span><span class='id instance_values'>instance_values</span><span class='rparen'>)</span>
|
|
904
|
+
<span class='kw'>end</span></pre>
|
|
933
905
|
</td>
|
|
934
906
|
</tr>
|
|
935
907
|
</table>
|
|
@@ -940,9 +912,9 @@ The document builder instance this objects xml will be added to.
|
|
|
940
912
|
</div>
|
|
941
913
|
|
|
942
914
|
<div id="footer">
|
|
943
|
-
Generated on
|
|
915
|
+
Generated on Sat Nov 26 13:16:39 2011 by
|
|
944
916
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
945
|
-
0.7.3 (ruby-1.
|
|
917
|
+
0.7.3 (ruby-1.9.3).
|
|
946
918
|
</div>
|
|
947
919
|
|
|
948
920
|
</body>
|