spreadsheet 0.9.3 → 0.9.4
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/History.md +4 -0
- data/Manifest.txt +3 -0
- data/lib/spreadsheet.rb +1 -1
- data/lib/spreadsheet/noteObject.rb +17 -0
- data/test/data/test_comment.xls +0 -0
- data/test/data/test_worksheet_visibility.xls +0 -0
- metadata +4 -1
data/History.md
CHANGED
data/Manifest.txt
CHANGED
@@ -44,6 +44,7 @@ lib/spreadsheet/formula.rb
|
|
44
44
|
lib/spreadsheet/helpers.rb
|
45
45
|
lib/spreadsheet/link.rb
|
46
46
|
lib/spreadsheet/note.rb
|
47
|
+
lib/spreadsheet/noteObject.rb
|
47
48
|
lib/spreadsheet/row.rb
|
48
49
|
lib/spreadsheet/workbook.rb
|
49
50
|
lib/spreadsheet/worksheet.rb
|
@@ -52,6 +53,7 @@ spreadsheet.gemspec
|
|
52
53
|
test/data/test_adding_data_to_existing_file.xls
|
53
54
|
test/data/test_borders.xls
|
54
55
|
test/data/test_changes.xls
|
56
|
+
test/data/test_comment.xls
|
55
57
|
test/data/test_copy.xls
|
56
58
|
test/data/test_datetime.xls
|
57
59
|
test/data/test_empty.xls
|
@@ -66,6 +68,7 @@ test/data/test_version_excel5.xls
|
|
66
68
|
test/data/test_version_excel95.xls
|
67
69
|
test/data/test_version_excel97.xls
|
68
70
|
test/data/test_version_excel97_2010.xls
|
71
|
+
test/data/test_worksheet_visibility.xls
|
69
72
|
test/excel/reader.rb
|
70
73
|
test/excel/row.rb
|
71
74
|
test/excel/writer/workbook.rb
|
data/lib/spreadsheet.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'spreadsheet/encodings'
|
2
|
+
|
3
|
+
module Spreadsheet
|
4
|
+
##
|
5
|
+
# The NoteObject class is made to handle the text output from the
|
6
|
+
# object, txo, continue records which contain a comment's text record.
|
7
|
+
#
|
8
|
+
#
|
9
|
+
class NoteObject
|
10
|
+
include Encodings
|
11
|
+
attr_accessor :objID, :text
|
12
|
+
def initialize
|
13
|
+
@objID = -1
|
14
|
+
@text = ""
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spreadsheet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -115,6 +115,7 @@ files:
|
|
115
115
|
- lib/spreadsheet/helpers.rb
|
116
116
|
- lib/spreadsheet/link.rb
|
117
117
|
- lib/spreadsheet/note.rb
|
118
|
+
- lib/spreadsheet/noteObject.rb
|
118
119
|
- lib/spreadsheet/row.rb
|
119
120
|
- lib/spreadsheet/workbook.rb
|
120
121
|
- lib/spreadsheet/worksheet.rb
|
@@ -123,6 +124,7 @@ files:
|
|
123
124
|
- test/data/test_adding_data_to_existing_file.xls
|
124
125
|
- test/data/test_borders.xls
|
125
126
|
- test/data/test_changes.xls
|
127
|
+
- test/data/test_comment.xls
|
126
128
|
- test/data/test_copy.xls
|
127
129
|
- test/data/test_datetime.xls
|
128
130
|
- test/data/test_empty.xls
|
@@ -137,6 +139,7 @@ files:
|
|
137
139
|
- test/data/test_version_excel95.xls
|
138
140
|
- test/data/test_version_excel97.xls
|
139
141
|
- test/data/test_version_excel97_2010.xls
|
142
|
+
- test/data/test_worksheet_visibility.xls
|
140
143
|
- test/excel/reader.rb
|
141
144
|
- test/excel/row.rb
|
142
145
|
- test/excel/writer/workbook.rb
|