axlsx 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +14 -0
- data/Gemfile +3 -7
- data/Gemfile.lock +17 -8
- data/README.md +88 -59
- data/axlsx.gemspec +9 -3
- data/doc/Axlsx.html +482 -248
- data/doc/Axlsx/App.html +237 -159
- data/doc/Axlsx/Axis.html +75 -51
- data/doc/Axlsx/Bar3DChart.html +75 -53
- data/doc/Axlsx/BarSeries.html +45 -31
- data/doc/Axlsx/Border.html +70 -50
- data/doc/Axlsx/BorderPr.html +80 -62
- data/doc/Axlsx/CatAxis.html +62 -43
- data/doc/Axlsx/CatAxisData.html +23 -16
- data/doc/Axlsx/Cell.html +2022 -393
- data/doc/Axlsx/CellAlignment.html +103 -75
- data/doc/Axlsx/CellProtection.html +44 -30
- data/doc/Axlsx/CellStyle.html +66 -46
- data/doc/Axlsx/Chart.html +159 -108
- data/doc/Axlsx/Color.html +73 -52
- data/doc/Axlsx/ContentType.html +20 -14
- data/doc/Axlsx/Core.html +29 -20
- data/doc/Axlsx/DataTypeValidator.html +27 -19
- data/doc/Axlsx/Default.html +39 -27
- data/doc/Axlsx/Drawing.html +104 -70
- data/doc/Axlsx/Fill.html +33 -23
- data/doc/Axlsx/Font.html +132 -98
- data/doc/Axlsx/GradientFill.html +70 -48
- data/doc/Axlsx/GradientStop.html +31 -21
- data/doc/Axlsx/GraphicFrame.html +40 -27
- data/doc/Axlsx/Line3DChart.html +62 -43
- data/doc/Axlsx/LineSeries.html +37 -25
- data/doc/Axlsx/Marker.html +63 -43
- data/doc/Axlsx/NumFmt.html +79 -65
- data/doc/Axlsx/OneCellAnchor.html +78 -54
- data/doc/Axlsx/Override.html +39 -27
- data/doc/Axlsx/Package.html +103 -163
- data/doc/Axlsx/Parser.html +549 -0
- data/doc/Axlsx/PatternFill.html +66 -51
- data/doc/Axlsx/Pic.html +230 -123
- data/doc/Axlsx/PictureLocking.html +1159 -0
- data/doc/Axlsx/Pie3DChart.html +23 -16
- data/doc/Axlsx/PieSeries.html +44 -30
- data/doc/Axlsx/RegexValidator.html +14 -10
- data/doc/Axlsx/Relationship.html +40 -27
- data/doc/Axlsx/Relationships.html +20 -14
- data/doc/Axlsx/RestrictionValidator.html +25 -17
- data/doc/Axlsx/Row.html +73 -53
- data/doc/Axlsx/Scaling.html +46 -31
- data/doc/Axlsx/SerAxis.html +49 -33
- data/doc/Axlsx/Series.html +51 -35
- data/doc/Axlsx/SeriesTitle.html +14 -10
- data/doc/Axlsx/Styles.html +210 -156
- data/doc/Axlsx/TableStyle.html +47 -32
- data/doc/Axlsx/TableStyleElement.html +75 -61
- data/doc/Axlsx/TableStyles.html +42 -28
- data/doc/Axlsx/Title.html +36 -25
- data/doc/Axlsx/TwoCellAnchor.html +83 -58
- data/doc/Axlsx/ValAxis.html +35 -24
- data/doc/Axlsx/ValAxisData.html +13 -9
- data/doc/Axlsx/View3D.html +64 -43
- data/doc/Axlsx/Workbook.html +305 -147
- data/doc/Axlsx/Worksheet.html +567 -271
- data/doc/Axlsx/Xf.html +114 -77
- data/doc/_index.html +15 -1
- data/doc/class_list.html +1 -1
- data/doc/css/style.css +1 -1
- data/doc/file.LICENSE.html +25 -21
- data/doc/file.README.html +89 -66
- data/doc/index.html +89 -66
- data/doc/js/app.js +4 -4
- data/doc/method_list.html +717 -413
- data/doc/top-level-namespace.html +1 -1
- data/examples/example.rb +52 -25
- data/examples/follow_20111202.xlsx +0 -0
- data/lib/axlsx.rb +14 -1
- data/lib/axlsx/drawing/chart.rb +20 -4
- data/lib/axlsx/drawing/drawing.rb +1 -1
- data/lib/axlsx/drawing/pic.rb +5 -2
- data/lib/axlsx/drawing/picture_locking.rb +72 -0
- data/lib/axlsx/package.rb +9 -7
- data/lib/axlsx/stylesheet/color.rb +19 -9
- data/lib/axlsx/stylesheet/styles.rb +2 -0
- data/lib/axlsx/util/constants.rb +6 -0
- data/lib/axlsx/util/parser.rb +43 -0
- data/lib/axlsx/version.rb +1 -1
- data/lib/axlsx/workbook/workbook.rb +21 -1
- data/lib/axlsx/workbook/worksheet/cell.rb +159 -7
- data/lib/axlsx/workbook/worksheet/row.rb +4 -2
- data/lib/axlsx/workbook/worksheet/worksheet.rb +38 -4
- data/test/drawing/tc_picture_locking.rb +73 -0
- data/test/rels/tc_relationships.rb +0 -1
- data/test/stylesheet/tc_styles.rb +0 -12
- data/test/tc_package.rb +5 -3
- data/test/workbook/tc_workbook.rb +7 -0
- data/test/workbook/worksheet/tc_cell.rb +102 -1
- data/test/workbook/worksheet/tc_worksheet.rb +17 -0
- metadata +79 -19
- data/doc/Axlsx/Ar.html +0 -196
- data/doc/Axlsx/Ar/ClassMethods.html +0 -188
- data/doc/Axlsx/Ar/InstanceMethods.html +0 -108
- data/doc/Axlsx/Ar/SingletonMethods.html +0 -312
@@ -99,14 +99,16 @@
|
|
99
99
|
|
100
100
|
<div class="note notetag">
|
101
101
|
<strong>Note:</strong>
|
102
|
-
<div class='inline'>
|
103
|
-
|
102
|
+
<div class='inline'><p>
|
103
|
+
The package automatically manages releationships.
|
104
|
+
</p>
|
104
105
|
</div>
|
105
106
|
</div>
|
106
107
|
|
107
|
-
|
108
|
-
|
109
|
-
are related
|
108
|
+
<p>
|
109
|
+
Relationships are a collection of Relations that define how package parts
|
110
|
+
are related.
|
111
|
+
</p>
|
110
112
|
|
111
113
|
|
112
114
|
</div>
|
@@ -157,8 +159,9 @@ are related.</p>
|
|
157
159
|
|
158
160
|
|
159
161
|
|
160
|
-
<span class="summary_desc"><div class='inline'>
|
161
|
-
|
162
|
+
<span class="summary_desc"><div class='inline'><p>
|
163
|
+
Creates a new Relationships collection based on SimpleTypedList.
|
164
|
+
</p>
|
162
165
|
</div></span>
|
163
166
|
|
164
167
|
</li>
|
@@ -180,8 +183,9 @@ are related.</p>
|
|
180
183
|
|
181
184
|
|
182
185
|
|
183
|
-
<span class="summary_desc"><div class='inline'>
|
184
|
-
|
186
|
+
<span class="summary_desc"><div class='inline'><p>
|
187
|
+
Serializes the relationships document.
|
188
|
+
</p>
|
185
189
|
</div></span>
|
186
190
|
|
187
191
|
</li>
|
@@ -207,8 +211,9 @@ are related.</p>
|
|
207
211
|
|
208
212
|
</p><div class="docstring">
|
209
213
|
<div class="discussion">
|
210
|
-
|
211
|
-
|
214
|
+
<p>
|
215
|
+
Creates a new Relationships collection based on SimpleTypedList
|
216
|
+
</p>
|
212
217
|
|
213
218
|
|
214
219
|
</div>
|
@@ -264,8 +269,9 @@ are related.</p>
|
|
264
269
|
|
265
270
|
</p><div class="docstring">
|
266
271
|
<div class="discussion">
|
267
|
-
|
268
|
-
|
272
|
+
<p>
|
273
|
+
Serializes the relationships document.
|
274
|
+
</p>
|
269
275
|
|
270
276
|
|
271
277
|
</div>
|
@@ -323,7 +329,7 @@ are related.</p>
|
|
323
329
|
</div>
|
324
330
|
|
325
331
|
<div id="footer">
|
326
|
-
Generated on
|
332
|
+
Generated on Mon Dec 5 14:21:17 2011 by
|
327
333
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
328
334
|
0.7.3 (ruby-1.8.7).
|
329
335
|
</div>
|
@@ -94,8 +94,9 @@
|
|
94
94
|
|
95
95
|
<h2>Overview</h2><div class="docstring">
|
96
96
|
<div class="discussion">
|
97
|
-
|
98
|
-
|
97
|
+
<p>
|
98
|
+
Validate a value against a specific list of allowed values.
|
99
|
+
</p>
|
99
100
|
|
100
101
|
|
101
102
|
</div>
|
@@ -132,8 +133,9 @@
|
|
132
133
|
|
133
134
|
|
134
135
|
|
135
|
-
<span class="summary_desc"><div class='inline'>
|
136
|
-
|
136
|
+
<span class="summary_desc"><div class='inline'><p>
|
137
|
+
Perform validation.
|
138
|
+
</p>
|
137
139
|
</div></span>
|
138
140
|
|
139
141
|
</li>
|
@@ -157,8 +159,9 @@
|
|
157
159
|
|
158
160
|
</p><div class="docstring">
|
159
161
|
<div class="discussion">
|
160
|
-
|
161
|
-
|
162
|
+
<p>
|
163
|
+
Perform validation
|
164
|
+
</p>
|
162
165
|
|
163
166
|
|
164
167
|
</div>
|
@@ -177,8 +180,9 @@
|
|
177
180
|
|
178
181
|
|
179
182
|
—
|
180
|
-
<div class='inline'>
|
181
|
-
|
183
|
+
<div class='inline'><p>
|
184
|
+
The name of what is being validatied. This is included in the error message
|
185
|
+
</p>
|
182
186
|
</div>
|
183
187
|
|
184
188
|
</li>
|
@@ -193,8 +197,9 @@
|
|
193
197
|
|
194
198
|
|
195
199
|
—
|
196
|
-
<div class='inline'>
|
197
|
-
|
200
|
+
<div class='inline'><p>
|
201
|
+
The list of choices to validate against
|
202
|
+
</p>
|
198
203
|
</div>
|
199
204
|
|
200
205
|
</li>
|
@@ -209,8 +214,9 @@
|
|
209
214
|
|
210
215
|
|
211
216
|
—
|
212
|
-
<div class='inline'>
|
213
|
-
|
217
|
+
<div class='inline'><p>
|
218
|
+
The value to be validated
|
219
|
+
</p>
|
214
220
|
</div>
|
215
221
|
|
216
222
|
</li>
|
@@ -228,8 +234,9 @@
|
|
228
234
|
|
229
235
|
|
230
236
|
—
|
231
|
-
<div class='inline'>
|
232
|
-
|
237
|
+
<div class='inline'><p>
|
238
|
+
true if validation succeeds.
|
239
|
+
</p>
|
233
240
|
</div>
|
234
241
|
|
235
242
|
</li>
|
@@ -246,8 +253,9 @@
|
|
246
253
|
|
247
254
|
|
248
255
|
—
|
249
|
-
<div class='inline'>
|
250
|
-
|
256
|
+
<div class='inline'><p>
|
257
|
+
Raised if the value provided is not in the list of choices.
|
258
|
+
</p>
|
251
259
|
</div>
|
252
260
|
|
253
261
|
</li>
|
@@ -283,7 +291,7 @@
|
|
283
291
|
</div>
|
284
292
|
|
285
293
|
<div id="footer">
|
286
|
-
Generated on
|
294
|
+
Generated on Mon Dec 5 14:21:12 2011 by
|
287
295
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
288
296
|
0.7.3 (ruby-1.8.7).
|
289
297
|
</div>
|
data/doc/Axlsx/Row.html
CHANGED
@@ -97,13 +97,15 @@
|
|
97
97
|
|
98
98
|
<div class="note notetag">
|
99
99
|
<strong>Note:</strong>
|
100
|
-
<div class='inline'>
|
101
|
-
|
100
|
+
<div class='inline'><p>
|
101
|
+
The recommended way to manage rows and cells is to use Worksheet#add_row
|
102
|
+
</p>
|
102
103
|
</div>
|
103
104
|
</div>
|
104
105
|
|
105
|
-
|
106
|
-
|
106
|
+
<p>
|
107
|
+
A Row is a single row in a worksheet.
|
108
|
+
</p>
|
107
109
|
|
108
110
|
|
109
111
|
</div>
|
@@ -142,8 +144,9 @@
|
|
142
144
|
|
143
145
|
|
144
146
|
|
145
|
-
<span class="summary_desc"><div class='inline'>
|
146
|
-
|
147
|
+
<span class="summary_desc"><div class='inline'><p>
|
148
|
+
The cells this row holds.
|
149
|
+
</p>
|
147
150
|
</div></span>
|
148
151
|
|
149
152
|
</li>
|
@@ -168,8 +171,9 @@
|
|
168
171
|
|
169
172
|
|
170
173
|
|
171
|
-
<span class="summary_desc"><div class='inline'>
|
172
|
-
|
174
|
+
<span class="summary_desc"><div class='inline'><p>
|
175
|
+
The worksheet this row belongs to.
|
176
|
+
</p>
|
173
177
|
</div></span>
|
174
178
|
|
175
179
|
</li>
|
@@ -204,9 +208,10 @@
|
|
204
208
|
|
205
209
|
|
206
210
|
|
207
|
-
<span class="summary_desc"><div class='inline'>
|
208
|
-
|
209
|
-
worksheet
|
211
|
+
<span class="summary_desc"><div class='inline'><p>
|
212
|
+
Adds a singel sell to the row based on the data provided and updates the
|
213
|
+
worksheet’s autofit data.
|
214
|
+
</p>
|
210
215
|
</div></span>
|
211
216
|
|
212
217
|
</li>
|
@@ -228,8 +233,9 @@ worksheet’s autofit data.</p>
|
|
228
233
|
|
229
234
|
|
230
235
|
|
231
|
-
<span class="summary_desc"><div class='inline'>
|
232
|
-
|
236
|
+
<span class="summary_desc"><div class='inline'><p>
|
237
|
+
The index of this row in the worksheet.
|
238
|
+
</p>
|
233
239
|
</div></span>
|
234
240
|
|
235
241
|
</li>
|
@@ -253,8 +259,9 @@ worksheet’s autofit data.</p>
|
|
253
259
|
|
254
260
|
|
255
261
|
|
256
|
-
<span class="summary_desc"><div class='inline'>
|
257
|
-
|
262
|
+
<span class="summary_desc"><div class='inline'><p>
|
263
|
+
Creates a new row.
|
264
|
+
</p>
|
258
265
|
</div></span>
|
259
266
|
|
260
267
|
</li>
|
@@ -276,8 +283,9 @@ worksheet’s autofit data.</p>
|
|
276
283
|
|
277
284
|
|
278
285
|
|
279
|
-
<span class="summary_desc"><div class='inline'>
|
280
|
-
|
286
|
+
<span class="summary_desc"><div class='inline'><p>
|
287
|
+
sets the style for every cell in this row.
|
288
|
+
</p>
|
281
289
|
</div></span>
|
282
290
|
|
283
291
|
</li>
|
@@ -299,9 +307,10 @@ worksheet’s autofit data.</p>
|
|
299
307
|
|
300
308
|
|
301
309
|
|
302
|
-
<span class="summary_desc"><div class='inline'>
|
303
|
-
|
304
|
-
into columns
|
310
|
+
<span class="summary_desc"><div class='inline'><p>
|
311
|
+
returns the cells in this row as an array This lets us transpose the rows
|
312
|
+
into columns.
|
313
|
+
</p>
|
305
314
|
</div></span>
|
306
315
|
|
307
316
|
</li>
|
@@ -323,8 +332,9 @@ into columns.</p>
|
|
323
332
|
|
324
333
|
|
325
334
|
|
326
|
-
<span class="summary_desc"><div class='inline'>
|
327
|
-
|
335
|
+
<span class="summary_desc"><div class='inline'><p>
|
336
|
+
Serializes the row.
|
337
|
+
</p>
|
328
338
|
</div></span>
|
329
339
|
|
330
340
|
</li>
|
@@ -345,17 +355,18 @@ into columns.</p>
|
|
345
355
|
|
346
356
|
</p><div class="docstring">
|
347
357
|
<div class="discussion">
|
348
|
-
|
349
|
-
|
358
|
+
<p>
|
359
|
+
Creates a new row. New Cell objects are created based on the values, types
|
350
360
|
and style options. A new cell is created for each item in the values array.
|
351
|
-
style and types options are applied as follows
|
352
|
-
|
353
|
-
<pre class="code"
|
354
|
-
<span class='If constant id'>If</span> <span class='the identifier id'>the</span> <span class='types identifier id'>types</span> <span class='option identifier id'>option</span> <span class='is identifier id'>is</span> <span class='
|
355
|
-
<span class='If constant id'>If</span> <span class='the identifier id'>the</span> <span class='types identifier id'>types</span> <span class='option identifier id'>option</span> <span class='is identifier id'>is</span> <span class='
|
356
|
-
<span class='If constant id'>If</span> <span class='the identifier id'>the</span> <span class='
|
357
|
-
<span class='If constant id'>If</span> <span class='the identifier id'>the</span> <span class='style identifier id'>style</span> <span class='option identifier id'>option</span> <span class='is identifier id'>is</span> <span class='
|
358
|
-
<span class='If constant id'>If</span> <span class='the identifier id'>the</span> <span class='style identifier id'>style</span> <span class='option identifier id'>option</span> <span class='is identifier id'>is</span> <span class='
|
361
|
+
style and types options are applied as follows:
|
362
|
+
</p>
|
363
|
+
<pre class="code">
|
364
|
+
<span class='If constant id'>If</span> <span class='the identifier id'>the</span> <span class='types identifier id'>types</span> <span class='option identifier id'>option</span> <span class='is identifier id'>is</span> <span class='defined identifier id'>defined</span> <span class='and and kw'>and</span> <span class='is identifier id'>is</span> <span class='a identifier id'>a</span> <span class='symbol identifier id'>symbol</span> <span class='it identifier id'>it</span> <span class='is identifier id'>is</span> <span class='applied identifier id'>applied</span> <span class='to identifier id'>to</span> <span class='all identifier id'>all</span> <span class='the identifier id'>the</span> <span class='cells identifier id'>cells</span> <span class='created identifier id'>created</span><span class='dot token'>.</span>
|
365
|
+
<span class='If constant id'>If</span> <span class='the identifier id'>the</span> <span class='types identifier id'>types</span> <span class='option identifier id'>option</span> <span class='is identifier id'>is</span> <span class='an identifier id'>an</span> <span class='array identifier id'>array</span><span class='comma token'>,</span> <span class='cell identifier id'>cell</span> <span class='types identifier id'>types</span> <span class='are identifier id'>are</span> <span class='applied identifier id'>applied</span> <span class='by identifier id'>by</span> <span class='index identifier id'>index</span> <span class='for for kw'>for</span> <span class='each identifier id'>each</span> <span class='cell identifier id'>cell</span>
|
366
|
+
<span class='If constant id'>If</span> <span class='the identifier id'>the</span> <span class='types identifier id'>types</span> <span class='option identifier id'>option</span> <span class='is identifier id'>is</span> <span class='not not kw'>not</span> <span class='set identifier id'>set</span><span class='comma token'>,</span> <span class='the identifier id'>the</span> <span class='cell identifier id'>cell</span> <span class='will identifier id'>will</span> <span class='automatically identifier id'>automatically</span> <span class='determine identifier id'>determine</span> <span class='its identifier id'>its</span> <span class='type identifier id'>type</span><span class='dot token'>.</span>
|
367
|
+
<span class='If constant id'>If</span> <span class='the identifier id'>the</span> <span class='style identifier id'>style</span> <span class='option identifier id'>option</span> <span class='is identifier id'>is</span> <span class='defined identifier id'>defined</span> <span class='and and kw'>and</span> <span class='is identifier id'>is</span> <span class='an identifier id'>an</span> <span class='Integer constant id'>Integer</span><span class='comma token'>,</span> <span class='it identifier id'>it</span> <span class='is identifier id'>is</span> <span class='applied identifier id'>applied</span> <span class='to identifier id'>to</span> <span class='all identifier id'>all</span> <span class='cells identifier id'>cells</span> <span class='created identifier id'>created</span><span class='dot token'>.</span>
|
368
|
+
<span class='If constant id'>If</span> <span class='the identifier id'>the</span> <span class='style identifier id'>style</span> <span class='option identifier id'>option</span> <span class='is identifier id'>is</span> <span class='an identifier id'>an</span> <span class='array identifier id'>array</span><span class='comma token'>,</span> <span class='style identifier id'>style</span> <span class='is identifier id'>is</span> <span class='applied identifier id'>applied</span> <span class='by identifier id'>by</span> <span class='index identifier id'>index</span> <span class='for for kw'>for</span> <span class='each identifier id'>each</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span>
|
369
|
+
<span class='If constant id'>If</span> <span class='the identifier id'>the</span> <span class='style identifier id'>style</span> <span class='option identifier id'>option</span> <span class='is identifier id'>is</span> <span class='not not kw'>not</span> <span class='defined identifier id'>defined</span><span class='comma token'>,</span> <span class='the identifier id'>the</span> <span class='default identifier id'>default</span> <span class='style identifier id'>style</span> <span class='lparen token'>(</span><span class='integer val'>0</span><span class='rparen token'>)</span> <span class='is identifier id'>is</span> <span class='applied identifier id'>applied</span> <span class='to identifier id'>to</span> <span class='each identifier id'>each</span> <span class='cell identifier id'>cell</span><span class='dot token'>.</span>
|
359
370
|
</pre>
|
360
371
|
|
361
372
|
|
@@ -388,8 +399,9 @@ style and types options are applied as follows:</p>
|
|
388
399
|
|
389
400
|
|
390
401
|
—
|
391
|
-
<div class='inline'>
|
392
|
-
|
402
|
+
<div class='inline'><p>
|
403
|
+
a customizable set of options
|
404
|
+
</p>
|
393
405
|
</div>
|
394
406
|
|
395
407
|
</li>
|
@@ -491,8 +503,9 @@ style and types options are applied as follows:</p>
|
|
491
503
|
|
492
504
|
</p><div class="docstring">
|
493
505
|
<div class="discussion">
|
494
|
-
|
495
|
-
|
506
|
+
<p>
|
507
|
+
The cells this row holds
|
508
|
+
</p>
|
496
509
|
|
497
510
|
|
498
511
|
</div>
|
@@ -547,8 +560,9 @@ style and types options are applied as follows:</p>
|
|
547
560
|
|
548
561
|
</p><div class="docstring">
|
549
562
|
<div class="discussion">
|
550
|
-
|
551
|
-
|
563
|
+
<p>
|
564
|
+
The worksheet this row belongs to
|
565
|
+
</p>
|
552
566
|
|
553
567
|
|
554
568
|
</div>
|
@@ -607,9 +621,10 @@ style and types options are applied as follows:</p>
|
|
607
621
|
|
608
622
|
</p><div class="docstring">
|
609
623
|
<div class="discussion">
|
610
|
-
|
611
|
-
|
612
|
-
worksheet
|
624
|
+
<p>
|
625
|
+
Adds a singel sell to the row based on the data provided and updates the
|
626
|
+
worksheet’s autofit data.
|
627
|
+
</p>
|
613
628
|
|
614
629
|
|
615
630
|
</div>
|
@@ -665,8 +680,9 @@ worksheet’s autofit data.</p>
|
|
665
680
|
|
666
681
|
</p><div class="docstring">
|
667
682
|
<div class="discussion">
|
668
|
-
|
669
|
-
|
683
|
+
<p>
|
684
|
+
The index of this row in the worksheet
|
685
|
+
</p>
|
670
686
|
|
671
687
|
|
672
688
|
</div>
|
@@ -718,8 +734,9 @@ worksheet’s autofit data.</p>
|
|
718
734
|
|
719
735
|
</p><div class="docstring">
|
720
736
|
<div class="discussion">
|
721
|
-
|
722
|
-
|
737
|
+
<p>
|
738
|
+
sets the style for every cell in this row
|
739
|
+
</p>
|
723
740
|
|
724
741
|
|
725
742
|
</div>
|
@@ -764,9 +781,10 @@ worksheet’s autofit data.</p>
|
|
764
781
|
|
765
782
|
</p><div class="docstring">
|
766
783
|
<div class="discussion">
|
767
|
-
|
768
|
-
|
769
|
-
into columns
|
784
|
+
<p>
|
785
|
+
returns the cells in this row as an array This lets us transpose the rows
|
786
|
+
into columns
|
787
|
+
</p>
|
770
788
|
|
771
789
|
|
772
790
|
</div>
|
@@ -818,8 +836,9 @@ into columns</p>
|
|
818
836
|
|
819
837
|
</p><div class="docstring">
|
820
838
|
<div class="discussion">
|
821
|
-
|
822
|
-
|
839
|
+
<p>
|
840
|
+
Serializes the row
|
841
|
+
</p>
|
823
842
|
|
824
843
|
|
825
844
|
</div>
|
@@ -838,8 +857,9 @@ into columns</p>
|
|
838
857
|
|
839
858
|
|
840
859
|
—
|
841
|
-
<div class='inline'>
|
842
|
-
|
860
|
+
<div class='inline'><p>
|
861
|
+
The document builder instance this objects xml will be added to.
|
862
|
+
</p>
|
843
863
|
</div>
|
844
864
|
|
845
865
|
</li>
|
@@ -887,7 +907,7 @@ into columns</p>
|
|
887
907
|
</div>
|
888
908
|
|
889
909
|
<div id="footer">
|
890
|
-
Generated on
|
910
|
+
Generated on Mon Dec 5 14:21:21 2011 by
|
891
911
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
892
912
|
0.7.3 (ruby-1.8.7).
|
893
913
|
</div>
|
data/doc/Axlsx/Scaling.html
CHANGED
@@ -94,8 +94,9 @@
|
|
94
94
|
|
95
95
|
<h2>Overview</h2><div class="docstring">
|
96
96
|
<div class="discussion">
|
97
|
-
|
98
|
-
|
97
|
+
<p>
|
98
|
+
The Scaling class defines axis scaling
|
99
|
+
</p>
|
99
100
|
|
100
101
|
|
101
102
|
</div>
|
@@ -127,8 +128,9 @@
|
|
127
128
|
|
128
129
|
|
129
130
|
|
130
|
-
<span class="summary_desc"><div class='inline'>
|
131
|
-
|
131
|
+
<span class="summary_desc"><div class='inline'><p>
|
132
|
+
logarithmic base for a logarithmic axis.
|
133
|
+
</p>
|
132
134
|
</div></span>
|
133
135
|
|
134
136
|
</li>
|
@@ -153,8 +155,9 @@
|
|
153
155
|
|
154
156
|
|
155
157
|
|
156
|
-
<span class="summary_desc"><div class='inline'>
|
157
|
-
|
158
|
+
<span class="summary_desc"><div class='inline'><p>
|
159
|
+
the maximum scaling.
|
160
|
+
</p>
|
158
161
|
</div></span>
|
159
162
|
|
160
163
|
</li>
|
@@ -179,8 +182,9 @@
|
|
179
182
|
|
180
183
|
|
181
184
|
|
182
|
-
<span class="summary_desc"><div class='inline'>
|
183
|
-
|
185
|
+
<span class="summary_desc"><div class='inline'><p>
|
186
|
+
the minimu scaling.
|
187
|
+
</p>
|
184
188
|
</div></span>
|
185
189
|
|
186
190
|
</li>
|
@@ -205,8 +209,9 @@
|
|
205
209
|
|
206
210
|
|
207
211
|
|
208
|
-
<span class="summary_desc"><div class='inline'>
|
209
|
-
|
212
|
+
<span class="summary_desc"><div class='inline'><p>
|
213
|
+
the orientation of the axis must be one of [:minMax, :maxMin].
|
214
|
+
</p>
|
210
215
|
</div></span>
|
211
216
|
|
212
217
|
</li>
|
@@ -243,8 +248,9 @@
|
|
243
248
|
|
244
249
|
|
245
250
|
|
246
|
-
<span class="summary_desc"><div class='inline'>
|
247
|
-
|
251
|
+
<span class="summary_desc"><div class='inline'><p>
|
252
|
+
creates a new Scaling object.
|
253
|
+
</p>
|
248
254
|
</div></span>
|
249
255
|
|
250
256
|
</li>
|
@@ -266,8 +272,9 @@
|
|
266
272
|
|
267
273
|
|
268
274
|
|
269
|
-
<span class="summary_desc"><div class='inline'>
|
270
|
-
|
275
|
+
<span class="summary_desc"><div class='inline'><p>
|
276
|
+
Serializes the axId.
|
277
|
+
</p>
|
271
278
|
</div></span>
|
272
279
|
|
273
280
|
</li>
|
@@ -288,8 +295,9 @@
|
|
288
295
|
|
289
296
|
</p><div class="docstring">
|
290
297
|
<div class="discussion">
|
291
|
-
|
292
|
-
|
298
|
+
<p>
|
299
|
+
creates a new Scaling object
|
300
|
+
</p>
|
293
301
|
|
294
302
|
|
295
303
|
</div>
|
@@ -310,8 +318,9 @@
|
|
310
318
|
|
311
319
|
|
312
320
|
—
|
313
|
-
<div class='inline'>
|
314
|
-
|
321
|
+
<div class='inline'><p>
|
322
|
+
a customizable set of options
|
323
|
+
</p>
|
315
324
|
</div>
|
316
325
|
|
317
326
|
</li>
|
@@ -411,8 +420,9 @@
|
|
411
420
|
|
412
421
|
</p><div class="docstring">
|
413
422
|
<div class="discussion">
|
414
|
-
|
415
|
-
|
423
|
+
<p>
|
424
|
+
logarithmic base for a logarithmic axis. must be between 2 and 1000
|
425
|
+
</p>
|
416
426
|
|
417
427
|
|
418
428
|
</div>
|
@@ -467,8 +477,9 @@
|
|
467
477
|
|
468
478
|
</p><div class="docstring">
|
469
479
|
<div class="discussion">
|
470
|
-
|
471
|
-
|
480
|
+
<p>
|
481
|
+
the maximum scaling
|
482
|
+
</p>
|
472
483
|
|
473
484
|
|
474
485
|
</div>
|
@@ -523,8 +534,9 @@
|
|
523
534
|
|
524
535
|
</p><div class="docstring">
|
525
536
|
<div class="discussion">
|
526
|
-
|
527
|
-
|
537
|
+
<p>
|
538
|
+
the minimu scaling
|
539
|
+
</p>
|
528
540
|
|
529
541
|
|
530
542
|
</div>
|
@@ -579,8 +591,9 @@
|
|
579
591
|
|
580
592
|
</p><div class="docstring">
|
581
593
|
<div class="discussion">
|
582
|
-
|
583
|
-
|
594
|
+
<p>
|
595
|
+
the orientation of the axis must be one of [:minMax, :maxMin]
|
596
|
+
</p>
|
584
597
|
|
585
598
|
|
586
599
|
</div>
|
@@ -639,8 +652,9 @@
|
|
639
652
|
|
640
653
|
</p><div class="docstring">
|
641
654
|
<div class="discussion">
|
642
|
-
|
643
|
-
|
655
|
+
<p>
|
656
|
+
Serializes the axId
|
657
|
+
</p>
|
644
658
|
|
645
659
|
|
646
660
|
</div>
|
@@ -659,8 +673,9 @@
|
|
659
673
|
|
660
674
|
|
661
675
|
—
|
662
|
-
<div class='inline'>
|
663
|
-
|
676
|
+
<div class='inline'><p>
|
677
|
+
The document builder instance this objects xml will be added to.
|
678
|
+
</p>
|
664
679
|
</div>
|
665
680
|
|
666
681
|
</li>
|
@@ -718,7 +733,7 @@
|
|
718
733
|
</div>
|
719
734
|
|
720
735
|
<div id="footer">
|
721
|
-
Generated on
|
736
|
+
Generated on Mon Dec 5 14:21:08 2011 by
|
722
737
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
723
738
|
0.7.3 (ruby-1.8.7).
|
724
739
|
</div>
|