writeexcel 0.6.8 → 0.6.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/README.rdoc +3 -0
- data/VERSION +1 -1
- data/html/en/doc_en.html +4 -4
- data/lib/writeexcel/olewriter.rb +1 -1
- data/lib/writeexcel/worksheet.rb +2 -2
- data/writeexcel.gemspec +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.9
|
data/html/en/doc_en.html
CHANGED
@@ -406,7 +406,7 @@ name="add_worksheet"
|
|
406
406
|
<p>You can specify <code>UTF-16BE</code> worksheet names using an additional optional parameter:</p>
|
407
407
|
|
408
408
|
<pre>
|
409
|
-
name = pack
|
409
|
+
name = [0x263a].pack('n')
|
410
410
|
worksheet = workbook.add_worksheet(name, true) # Smiley
|
411
411
|
</pre>
|
412
412
|
|
@@ -491,7 +491,7 @@ name="add_chart"
|
|
491
491
|
</ul>
|
492
492
|
|
493
493
|
<p>See <a href="#" class="podlinkpod"
|
494
|
-
>WriteExcel::Chart</a> for details on how to configure the chart object once it is created. See also the <code>chart_*.
|
494
|
+
>WriteExcel::Chart</a> for details on how to configure the chart object once it is created. See also the <code>chart_*.rb</code> programs in the examples directory of the distro.</p>
|
495
495
|
|
496
496
|
<h2><a class='u' href='#___top' title='click to go to top of document'
|
497
497
|
name="add_chart_ext"
|
@@ -988,7 +988,7 @@ name="write_utf16le_string"
|
|
988
988
|
<p><code>UTF-16</code> data can be changed from little-endian to big-endian format (and vice-versa) as follows:</p>
|
989
989
|
|
990
990
|
<pre>
|
991
|
-
utf16be =
|
991
|
+
utf16be = [utf16le.unpack('v*')].pack('n*')
|
992
992
|
</pre>
|
993
993
|
|
994
994
|
<h2><a class='u' href='#___top' title='click to go to top of document'
|
@@ -5038,7 +5038,7 @@ name="Introduction"
|
|
5038
5038
|
|
5039
5039
|
<!--
|
5040
5040
|
|
5041
|
-
<p>You can also modify the module to support function names in the following languages: German, French, Spanish, Portuguese, Dutch, Finnish, Italian and Swedish. See the <code>function_locale.
|
5041
|
+
<p>You can also modify the module to support function names in the following languages: German, French, Spanish, Portuguese, Dutch, Finnish, Italian and Swedish. See the <code>function_locale.rb</code> program in the <code>examples</code> directory of the distro.</p>
|
5042
5042
|
|
5043
5043
|
-->
|
5044
5044
|
|
data/lib/writeexcel/olewriter.rb
CHANGED
data/lib/writeexcel/worksheet.rb
CHANGED
@@ -5015,7 +5015,7 @@ class Worksheet < BIFFWriter
|
|
5015
5015
|
|
5016
5016
|
chars.collect! do |char|
|
5017
5017
|
i += 1
|
5018
|
-
char = char
|
5018
|
+
char = char.ord << i
|
5019
5019
|
low_15 = char & 0x7fff
|
5020
5020
|
high_15 = char & 0x7fff << 15
|
5021
5021
|
high_15 = high_15 >> 15
|
@@ -7233,7 +7233,7 @@ class Worksheet < BIFFWriter
|
|
7233
7233
|
# TODO. Won't work for external data refs. Also should use a more direct
|
7234
7234
|
# method.
|
7235
7235
|
#
|
7236
|
-
formula = "
|
7236
|
+
formula = "='#{@name}'!A1"
|
7237
7237
|
store_formula(formula)
|
7238
7238
|
|
7239
7239
|
@object_ids[0] = spid
|
data/writeexcel.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{writeexcel}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Hideo NAKAMURA"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-08-25}
|
13
13
|
s.description = %q{Multiple worksheets can be added to a workbook and formatting can be applied to cells. Text, numbers, formulas, hyperlinks and images can be written to the cells.}
|
14
14
|
s.email = %q{cxn03651@msj.biglobe.ne.jp}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: writeexcel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-08-25 00:00:00.000000000 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
description: Multiple worksheets can be added to a workbook and formatting can be
|