xlsxrb 0.1.4 → 0.1.6

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.
Files changed (166) hide show
  1. checksums.yaml +4 -4
  2. data/.devcontainer/Dockerfile +1 -1
  3. data/.gem_rbs_collection/ast/2.4/.rbs_meta.yaml +9 -0
  4. data/.gem_rbs_collection/ast/2.4/ast.rbs +73 -0
  5. data/.gem_rbs_collection/concurrent-ruby/1.1/.rbs_meta.yaml +9 -0
  6. data/.gem_rbs_collection/concurrent-ruby/1.1/array.rbs +4 -0
  7. data/.gem_rbs_collection/concurrent-ruby/1.1/atomic_reference.rbs +16 -0
  8. data/.gem_rbs_collection/concurrent-ruby/1.1/executor.rbs +96 -0
  9. data/.gem_rbs_collection/concurrent-ruby/1.1/hash.rbs +4 -0
  10. data/.gem_rbs_collection/concurrent-ruby/1.1/map.rbs +68 -0
  11. data/.gem_rbs_collection/concurrent-ruby/1.1/promises.rbs +249 -0
  12. data/.gem_rbs_collection/concurrent-ruby/1.1/set.rbs +4 -0
  13. data/.gem_rbs_collection/concurrent-ruby/1.1/timer_task.rbs +47 -0
  14. data/.gem_rbs_collection/concurrent-ruby/1.1/utility/processor_counter.rbs +5 -0
  15. data/.gem_rbs_collection/csv/3.3/.rbs_meta.yaml +9 -0
  16. data/.gem_rbs_collection/csv/3.3/csv.rbs +3871 -0
  17. data/.gem_rbs_collection/csv/3.3/manifest.yaml +3 -0
  18. data/.gem_rbs_collection/lint_roller/1.1/.rbs_meta.yaml +9 -0
  19. data/.gem_rbs_collection/lint_roller/1.1/lint_roller.rbs +48 -0
  20. data/.gem_rbs_collection/listen/3.9/.rbs_meta.yaml +9 -0
  21. data/.gem_rbs_collection/listen/3.9/listen.rbs +25 -0
  22. data/.gem_rbs_collection/listen/3.9/listener.rbs +24 -0
  23. data/.gem_rbs_collection/logger/1.7/.rbs_meta.yaml +9 -0
  24. data/.gem_rbs_collection/logger/1.7/formatter.rbs +45 -0
  25. data/.gem_rbs_collection/logger/1.7/log_device.rbs +100 -0
  26. data/.gem_rbs_collection/logger/1.7/logger.rbs +796 -0
  27. data/.gem_rbs_collection/logger/1.7/manifest.yaml +2 -0
  28. data/.gem_rbs_collection/logger/1.7/period.rbs +17 -0
  29. data/.gem_rbs_collection/logger/1.7/severity.rbs +34 -0
  30. data/.gem_rbs_collection/nokogiri/1.11/.rbs_meta.yaml +9 -0
  31. data/.gem_rbs_collection/nokogiri/1.11/nokogiri.rbs +2332 -0
  32. data/.gem_rbs_collection/nokogiri/1.11/patch.rbs +4 -0
  33. data/.gem_rbs_collection/parallel/1.20/.rbs_meta.yaml +9 -0
  34. data/.gem_rbs_collection/parallel/1.20/parallel.rbs +86 -0
  35. data/.gem_rbs_collection/parser/3.2/.rbs_meta.yaml +9 -0
  36. data/.gem_rbs_collection/parser/3.2/manifest.yaml +7 -0
  37. data/.gem_rbs_collection/parser/3.2/parser.rbs +194 -0
  38. data/.gem_rbs_collection/parser/3.2/polyfill.rbs +4 -0
  39. data/.gem_rbs_collection/rainbow/3.0/.rbs_meta.yaml +9 -0
  40. data/.gem_rbs_collection/rainbow/3.0/global.rbs +7 -0
  41. data/.gem_rbs_collection/rainbow/3.0/presenter.rbs +209 -0
  42. data/.gem_rbs_collection/rainbow/3.0/rainbow.rbs +5 -0
  43. data/.gem_rbs_collection/rake/13.0/.rbs_meta.yaml +9 -0
  44. data/.gem_rbs_collection/rake/13.0/manifest.yaml +2 -0
  45. data/.gem_rbs_collection/rake/13.0/rake.rbs +39 -0
  46. data/.gem_rbs_collection/regexp_parser/2.8/.rbs_meta.yaml +9 -0
  47. data/.gem_rbs_collection/regexp_parser/2.8/regexp_parser.rbs +17 -0
  48. data/.gem_rbs_collection/rubocop/1.57/.rbs_meta.yaml +9 -0
  49. data/.gem_rbs_collection/rubocop/1.57/rubocop.rbs +208 -0
  50. data/.gem_rbs_collection/rubocop-ast/1.46/.rbs_meta.yaml +9 -0
  51. data/.gem_rbs_collection/rubocop-ast/1.46/rubocop-ast.rbs +903 -0
  52. data/.gem_rbs_collection/rubyzip/3.2/.rbs_meta.yaml +9 -0
  53. data/.gem_rbs_collection/rubyzip/3.2/manifest.yaml +8 -0
  54. data/.gem_rbs_collection/rubyzip/3.2/zip/central_directory.rbs +42 -0
  55. data/.gem_rbs_collection/rubyzip/3.2/zip/compressor.rbs +5 -0
  56. data/.gem_rbs_collection/rubyzip/3.2/zip/constants.rbs +47 -0
  57. data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/aes_encryption.rbs +30 -0
  58. data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/decrypted_io.rbs +9 -0
  59. data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/encryption.rbs +7 -0
  60. data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/null_encryption.rbs +19 -0
  61. data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/traditional_encryption.rbs +31 -0
  62. data/.gem_rbs_collection/rubyzip/3.2/zip/decompressor.rbs +18 -0
  63. data/.gem_rbs_collection/rubyzip/3.2/zip/deflater.rbs +12 -0
  64. data/.gem_rbs_collection/rubyzip/3.2/zip/dirtyable.rbs +11 -0
  65. data/.gem_rbs_collection/rubyzip/3.2/zip/dos_time.rbs +13 -0
  66. data/.gem_rbs_collection/rubyzip/3.2/zip/entry.rbs +95 -0
  67. data/.gem_rbs_collection/rubyzip/3.2/zip/entry_set.rbs +31 -0
  68. data/.gem_rbs_collection/rubyzip/3.2/zip/errors.rbs +58 -0
  69. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/aes.rbs +24 -0
  70. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/generic.rbs +17 -0
  71. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/ntfs.rbs +23 -0
  72. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/old_unix.rbs +22 -0
  73. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/universal_time.rbs +30 -0
  74. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/unix.rbs +20 -0
  75. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/unknown.rbs +15 -0
  76. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/zip64.rbs +26 -0
  77. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field.rbs +21 -0
  78. data/.gem_rbs_collection/rubyzip/3.2/zip/file.rbs +131 -0
  79. data/.gem_rbs_collection/rubyzip/3.2/zip/file_split.rbs +14 -0
  80. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/dir.rbs +33 -0
  81. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/directory_iterator.rbs +21 -0
  82. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/file.rbs +63 -0
  83. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/file_stat.rbs +55 -0
  84. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/zip_file_name_mapper.rbs +35 -0
  85. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem.rbs +7 -0
  86. data/.gem_rbs_collection/rubyzip/3.2/zip/inflater.rbs +10 -0
  87. data/.gem_rbs_collection/rubyzip/3.2/zip/input_stream.rbs +22 -0
  88. data/.gem_rbs_collection/rubyzip/3.2/zip/ioextras/abstract_input_stream.rbs +29 -0
  89. data/.gem_rbs_collection/rubyzip/3.2/zip/ioextras/abstract_output_stream.rbs +17 -0
  90. data/.gem_rbs_collection/rubyzip/3.2/zip/ioextras.rbs +13 -0
  91. data/.gem_rbs_collection/rubyzip/3.2/zip/null_compressor.rbs +10 -0
  92. data/.gem_rbs_collection/rubyzip/3.2/zip/null_decompressor.rbs +8 -0
  93. data/.gem_rbs_collection/rubyzip/3.2/zip/null_input_stream.rbs +6 -0
  94. data/.gem_rbs_collection/rubyzip/3.2/zip/output_stream.rbs +30 -0
  95. data/.gem_rbs_collection/rubyzip/3.2/zip/pass_thru_compressor.rbs +10 -0
  96. data/.gem_rbs_collection/rubyzip/3.2/zip/pass_thru_decompressor.rbs +10 -0
  97. data/.gem_rbs_collection/rubyzip/3.2/zip/streamable_directory.rbs +5 -0
  98. data/.gem_rbs_collection/rubyzip/3.2/zip/streamable_stream.rbs +15 -0
  99. data/.gem_rbs_collection/rubyzip/3.2/zip/version.rbs +3 -0
  100. data/.gem_rbs_collection/rubyzip/3.2/zip.rbs +40 -0
  101. data/CHANGELOG.md +42 -3
  102. data/README.md +130 -49
  103. data/Rakefile +23 -2
  104. data/Steepfile +17 -0
  105. data/benchmark.rb +324 -348
  106. data/docs/ARCHITECTURE.md +24 -0
  107. data/docs/DEVELOPMENT.md +58 -0
  108. data/docs/QUALITY_ASSURANCE.md +26 -0
  109. data/docs/visual/VisualGallery.md +893 -938
  110. data/docs/wasm/ruby.wasm +0 -0
  111. data/lib/xlsxrb/elements/cell.rb +113 -8
  112. data/lib/xlsxrb/elements/column.rb +2 -0
  113. data/lib/xlsxrb/elements/row.rb +52 -4
  114. data/lib/xlsxrb/elements/types.rb +6 -0
  115. data/lib/xlsxrb/elements/workbook.rb +29 -0
  116. data/lib/xlsxrb/elements/worksheet.rb +98 -1
  117. data/lib/xlsxrb/elements.rb +2 -0
  118. data/lib/xlsxrb/ooxml/reader.rb +8 -6
  119. data/lib/xlsxrb/ooxml/shared_strings_parser.rb +106 -40
  120. data/lib/xlsxrb/ooxml/styles_parser.rb +2 -0
  121. data/lib/xlsxrb/ooxml/utils.rb +2 -0
  122. data/lib/xlsxrb/ooxml/workbook_parser.rb +6 -1
  123. data/lib/xlsxrb/ooxml/workbook_writer.rb +15 -4
  124. data/lib/xlsxrb/ooxml/worksheet_parser.rb +156 -23
  125. data/lib/xlsxrb/ooxml/worksheet_writer.rb +207 -152
  126. data/lib/xlsxrb/ooxml/writer.rb +217 -5
  127. data/lib/xlsxrb/ooxml/xml_builder.rb +18 -10
  128. data/lib/xlsxrb/ooxml/xml_parser.rb +2 -0
  129. data/lib/xlsxrb/ooxml/zip_generator.rb +5 -8
  130. data/lib/xlsxrb/ooxml/zip_reader.rb +179 -57
  131. data/lib/xlsxrb/ooxml/zip_writer.rb +65 -25
  132. data/lib/xlsxrb/ooxml.rb +3 -1
  133. data/lib/xlsxrb/style_builder.rb +284 -36
  134. data/lib/xlsxrb/version.rb +3 -1
  135. data/lib/xlsxrb.rb +1761 -275
  136. data/rbs_collection.lock.yaml +252 -0
  137. data/rbs_collection.yaml +19 -0
  138. data/sig/generated/xlsxrb/elements/cell.rbs +30 -0
  139. data/sig/generated/xlsxrb/elements/column.rbs +30 -0
  140. data/sig/generated/xlsxrb/elements/row.rbs +32 -0
  141. data/sig/generated/xlsxrb/elements/types.rbs +74 -0
  142. data/sig/generated/xlsxrb/elements/workbook.rbs +25 -0
  143. data/sig/generated/xlsxrb/elements/worksheet.rbs +27 -0
  144. data/sig/generated/xlsxrb/elements.rbs +8 -0
  145. data/sig/generated/xlsxrb/ooxml/reader.rbs +1412 -0
  146. data/sig/generated/xlsxrb/ooxml/shared_strings_parser.rbs +21 -0
  147. data/sig/generated/xlsxrb/ooxml/styles_parser.rbs +44 -0
  148. data/sig/generated/xlsxrb/ooxml/utils.rbs +40 -0
  149. data/sig/generated/xlsxrb/ooxml/workbook_parser.rbs +46 -0
  150. data/sig/generated/xlsxrb/ooxml/workbook_writer.rbs +66 -0
  151. data/sig/generated/xlsxrb/ooxml/worksheet_parser.rbs +67 -0
  152. data/sig/generated/xlsxrb/ooxml/worksheet_writer.rbs +92 -0
  153. data/sig/generated/xlsxrb/ooxml/writer.rbs +880 -0
  154. data/sig/generated/xlsxrb/ooxml/xml_builder.rbs +45 -0
  155. data/sig/generated/xlsxrb/ooxml/xml_parser.rbs +30 -0
  156. data/sig/generated/xlsxrb/ooxml/zip_generator.rbs +38 -0
  157. data/sig/generated/xlsxrb/ooxml/zip_reader.rbs +45 -0
  158. data/sig/generated/xlsxrb/ooxml/zip_writer.rbs +45 -0
  159. data/sig/generated/xlsxrb/ooxml.rbs +23 -0
  160. data/sig/generated/xlsxrb/style_builder.rbs +250 -0
  161. data/sig/generated/xlsxrb/version.rbs +5 -0
  162. data/sig/generated/xlsxrb.rbs +1276 -0
  163. data/sig/rexml.rbs +4 -0
  164. metadata +145 -4
  165. data/measure_memory.rb +0 -42
  166. data/sig/xlsxrb.rbs +0 -23
@@ -0,0 +1,252 @@
1
+ ---
2
+ path: ".gem_rbs_collection"
3
+ gems:
4
+ - name: ast
5
+ version: '2.4'
6
+ source:
7
+ type: git
8
+ name: ruby/gem_rbs_collection
9
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
10
+ remote: https://github.com/ruby/gem_rbs_collection.git
11
+ repo_dir: gems
12
+ - name: bigdecimal
13
+ version: 4.1.2
14
+ source:
15
+ type: rubygems
16
+ - name: concurrent-ruby
17
+ version: '1.1'
18
+ source:
19
+ type: git
20
+ name: ruby/gem_rbs_collection
21
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
22
+ remote: https://github.com/ruby/gem_rbs_collection.git
23
+ repo_dir: gems
24
+ - name: csv
25
+ version: '3.3'
26
+ source:
27
+ type: git
28
+ name: ruby/gem_rbs_collection
29
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
30
+ remote: https://github.com/ruby/gem_rbs_collection.git
31
+ repo_dir: gems
32
+ - name: delegate
33
+ version: '0'
34
+ source:
35
+ type: stdlib
36
+ - name: digest
37
+ version: '0'
38
+ source:
39
+ type: stdlib
40
+ - name: erb
41
+ version: '0'
42
+ source:
43
+ type: stdlib
44
+ - name: ffi
45
+ version: 1.17.4
46
+ source:
47
+ type: rubygems
48
+ - name: fileutils
49
+ version: '0'
50
+ source:
51
+ type: stdlib
52
+ - name: forwardable
53
+ version: '0'
54
+ source:
55
+ type: stdlib
56
+ - name: io-console
57
+ version: '0'
58
+ source:
59
+ type: stdlib
60
+ - name: json
61
+ version: '0'
62
+ source:
63
+ type: stdlib
64
+ - name: language_server-protocol
65
+ version: 3.17.0.6
66
+ source:
67
+ type: rubygems
68
+ - name: lint_roller
69
+ version: '1.1'
70
+ source:
71
+ type: git
72
+ name: ruby/gem_rbs_collection
73
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
74
+ remote: https://github.com/ruby/gem_rbs_collection.git
75
+ repo_dir: gems
76
+ - name: listen
77
+ version: '3.9'
78
+ source:
79
+ type: git
80
+ name: ruby/gem_rbs_collection
81
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
82
+ remote: https://github.com/ruby/gem_rbs_collection.git
83
+ repo_dir: gems
84
+ - name: logger
85
+ version: '1.7'
86
+ source:
87
+ type: git
88
+ name: ruby/gem_rbs_collection
89
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
90
+ remote: https://github.com/ruby/gem_rbs_collection.git
91
+ repo_dir: gems
92
+ - name: monitor
93
+ version: '0'
94
+ source:
95
+ type: stdlib
96
+ - name: nokogiri
97
+ version: '1.11'
98
+ source:
99
+ type: git
100
+ name: ruby/gem_rbs_collection
101
+ revision: 9ab762c8247028f90620fc93c4e7aac20eb693d7
102
+ remote: https://github.com/ruby/gem_rbs_collection.git
103
+ repo_dir: gems
104
+ - name: openssl
105
+ version: '0'
106
+ source:
107
+ type: stdlib
108
+ - name: optparse
109
+ version: '0'
110
+ source:
111
+ type: stdlib
112
+ - name: parallel
113
+ version: '1.20'
114
+ source:
115
+ type: git
116
+ name: ruby/gem_rbs_collection
117
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
118
+ remote: https://github.com/ruby/gem_rbs_collection.git
119
+ repo_dir: gems
120
+ - name: parser
121
+ version: '3.2'
122
+ source:
123
+ type: git
124
+ name: ruby/gem_rbs_collection
125
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
126
+ remote: https://github.com/ruby/gem_rbs_collection.git
127
+ repo_dir: gems
128
+ - name: pbt
129
+ version: 0.7.0
130
+ source:
131
+ type: rubygems
132
+ - name: pp
133
+ version: '0'
134
+ source:
135
+ type: stdlib
136
+ - name: prettyprint
137
+ version: '0'
138
+ source:
139
+ type: stdlib
140
+ - name: prism
141
+ version: 1.9.0
142
+ source:
143
+ type: rubygems
144
+ - name: rainbow
145
+ version: '3.0'
146
+ source:
147
+ type: git
148
+ name: ruby/gem_rbs_collection
149
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
150
+ remote: https://github.com/ruby/gem_rbs_collection.git
151
+ repo_dir: gems
152
+ - name: rake
153
+ version: '13.0'
154
+ source:
155
+ type: git
156
+ name: ruby/gem_rbs_collection
157
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
158
+ remote: https://github.com/ruby/gem_rbs_collection.git
159
+ repo_dir: gems
160
+ - name: random-formatter
161
+ version: '0'
162
+ source:
163
+ type: stdlib
164
+ - name: rbs
165
+ version: 4.1.2
166
+ source:
167
+ type: rubygems
168
+ - name: rdoc
169
+ version: '0'
170
+ source:
171
+ type: stdlib
172
+ - name: regexp_parser
173
+ version: '2.8'
174
+ source:
175
+ type: git
176
+ name: ruby/gem_rbs_collection
177
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
178
+ remote: https://github.com/ruby/gem_rbs_collection.git
179
+ repo_dir: gems
180
+ - name: rubocop
181
+ version: '1.57'
182
+ source:
183
+ type: git
184
+ name: ruby/gem_rbs_collection
185
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
186
+ remote: https://github.com/ruby/gem_rbs_collection.git
187
+ repo_dir: gems
188
+ - name: rubocop-ast
189
+ version: '1.46'
190
+ source:
191
+ type: git
192
+ name: ruby/gem_rbs_collection
193
+ revision: 82762423fc5694b82888ea89a972847cf19838c2
194
+ remote: https://github.com/ruby/gem_rbs_collection.git
195
+ repo_dir: gems
196
+ - name: ruby_wasm
197
+ version: 2.9.4
198
+ source:
199
+ type: rubygems
200
+ - name: rubyzip
201
+ version: '3.2'
202
+ source:
203
+ type: git
204
+ name: ruby/gem_rbs_collection
205
+ revision: 9ab762c8247028f90620fc93c4e7aac20eb693d7
206
+ remote: https://github.com/ruby/gem_rbs_collection.git
207
+ repo_dir: gems
208
+ - name: securerandom
209
+ version: '0'
210
+ source:
211
+ type: stdlib
212
+ - name: singleton
213
+ version: '0'
214
+ source:
215
+ type: stdlib
216
+ - name: socket
217
+ version: '0'
218
+ source:
219
+ type: stdlib
220
+ - name: stringio
221
+ version: '0'
222
+ source:
223
+ type: stdlib
224
+ - name: strscan
225
+ version: '0'
226
+ source:
227
+ type: stdlib
228
+ - name: tempfile
229
+ version: '0'
230
+ source:
231
+ type: stdlib
232
+ - name: tmpdir
233
+ version: '0'
234
+ source:
235
+ type: stdlib
236
+ - name: tsort
237
+ version: '0'
238
+ source:
239
+ type: stdlib
240
+ - name: uri
241
+ version: '0'
242
+ source:
243
+ type: stdlib
244
+ - name: webrick
245
+ version: 1.9.2
246
+ source:
247
+ type: rubygems
248
+ - name: zlib
249
+ version: '0'
250
+ source:
251
+ type: stdlib
252
+ gemfile_lock_path: Gemfile.lock
@@ -0,0 +1,19 @@
1
+ # Download sources
2
+ sources:
3
+ - type: git
4
+ name: ruby/gem_rbs_collection
5
+ remote: https://github.com/ruby/gem_rbs_collection.git
6
+ revision: main
7
+ repo_dir: gems
8
+
9
+ # You can specify local directories as sources also.
10
+ # - type: local
11
+ # path: path/to/your/local/repository
12
+
13
+ # A directory to install the downloaded RBSs
14
+ path: .gem_rbs_collection
15
+
16
+ # gems:
17
+ # # If you want to avoid installing rbs files for gems, you can specify them here.
18
+ # - name: GEM_NAME
19
+ # ignore: true
@@ -0,0 +1,30 @@
1
+ # Generated from lib/xlsxrb/elements/cell.rb with RBS::Inline
2
+
3
+ module Xlsxrb
4
+ module Elements
5
+ # Represents a single cell in a worksheet.
6
+ # All indices are 0-based.
7
+ class Cell < Data
8
+ attr_reader row_index(): untyped
9
+
10
+ attr_reader column_index(): untyped
11
+
12
+ attr_reader value(): untyped
13
+
14
+ attr_reader formula(): untyped
15
+
16
+ attr_reader style_index(): untyped
17
+
18
+ attr_reader unmapped_data(): untyped
19
+
20
+ attr_reader errors(): untyped
21
+
22
+ def self.new: (untyped row_index, untyped column_index, untyped value, untyped formula, untyped style_index, untyped unmapped_data, untyped errors) -> instance
23
+ | (row_index: untyped, column_index: untyped, value: untyped, formula: untyped, style_index: untyped, unmapped_data: untyped, errors: untyped) -> instance
24
+
25
+ def self.members: () -> [ :row_index, :column_index, :value, :formula, :style_index, :unmapped_data, :errors ]
26
+
27
+ def members: () -> [ :row_index, :column_index, :value, :formula, :style_index, :unmapped_data, :errors ]
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,30 @@
1
+ # Generated from lib/xlsxrb/elements/column.rb with RBS::Inline
2
+
3
+ module Xlsxrb
4
+ module Elements
5
+ # Represents column formatting in a worksheet.
6
+ # index is 0-based.
7
+ class Column < Data
8
+ attr_reader index(): untyped
9
+
10
+ attr_reader width(): untyped
11
+
12
+ attr_reader hidden(): untyped
13
+
14
+ attr_reader custom_width(): untyped
15
+
16
+ attr_reader outline_level(): untyped
17
+
18
+ attr_reader unmapped_data(): untyped
19
+
20
+ attr_reader errors(): untyped
21
+
22
+ def self.new: (untyped index, untyped width, untyped hidden, untyped custom_width, untyped outline_level, untyped unmapped_data, untyped errors) -> instance
23
+ | (index: untyped, width: untyped, hidden: untyped, custom_width: untyped, outline_level: untyped, unmapped_data: untyped, errors: untyped) -> instance
24
+
25
+ def self.members: () -> [ :index, :width, :hidden, :custom_width, :outline_level, :unmapped_data, :errors ]
26
+
27
+ def members: () -> [ :index, :width, :hidden, :custom_width, :outline_level, :unmapped_data, :errors ]
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,32 @@
1
+ # Generated from lib/xlsxrb/elements/row.rb with RBS::Inline
2
+
3
+ module Xlsxrb
4
+ module Elements
5
+ # Represents a single row in a worksheet.
6
+ # index is 0-based.
7
+ class Row < Data
8
+ attr_reader index(): untyped
9
+
10
+ attr_reader cells(): untyped
11
+
12
+ attr_reader height(): untyped
13
+
14
+ attr_reader hidden(): untyped
15
+
16
+ attr_reader custom_height(): untyped
17
+
18
+ attr_reader outline_level(): untyped
19
+
20
+ attr_reader unmapped_data(): untyped
21
+
22
+ attr_reader errors(): untyped
23
+
24
+ def self.new: (untyped index, untyped cells, untyped height, untyped hidden, untyped custom_height, untyped outline_level, untyped unmapped_data, untyped errors) -> instance
25
+ | (index: untyped, cells: untyped, height: untyped, hidden: untyped, custom_height: untyped, outline_level: untyped, unmapped_data: untyped, errors: untyped) -> instance
26
+
27
+ def self.members: () -> [ :index, :cells, :height, :hidden, :custom_height, :outline_level, :unmapped_data, :errors ]
28
+
29
+ def members: () -> [ :index, :cells, :height, :hidden, :custom_height, :outline_level, :unmapped_data, :errors ]
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,74 @@
1
+ # Generated from lib/xlsxrb/elements/types.rb with RBS::Inline
2
+
3
+ module Xlsxrb
4
+ module Elements
5
+ EMPTY_ERRORS: untyped
6
+
7
+ EMPTY_HASH: untyped
8
+
9
+ EMPTY_CELLS: untyped
10
+
11
+ # Represents a formula with an optional cached value.
12
+ # Optional: type (:shared, :array), ref (range), shared_index (si for shared formulas)
13
+ class Formula < Data
14
+ attr_reader expression(): untyped
15
+
16
+ attr_reader cached_value(): untyped
17
+
18
+ attr_reader type(): untyped
19
+
20
+ attr_reader ref(): untyped
21
+
22
+ attr_reader shared_index(): untyped
23
+
24
+ attr_reader calculate_always(): untyped
25
+
26
+ attr_reader aca(): untyped
27
+
28
+ attr_reader bx(): untyped
29
+
30
+ attr_reader dt2d(): untyped
31
+
32
+ attr_reader dtr(): untyped
33
+
34
+ attr_reader r1(): untyped
35
+
36
+ attr_reader r2(): untyped
37
+
38
+ def self.new: (untyped expression, untyped cached_value, untyped type, untyped ref, untyped shared_index, untyped calculate_always, untyped aca, untyped bx, untyped dt2d, untyped dtr, untyped r1, untyped r2) -> instance
39
+ | (expression: untyped, cached_value: untyped, type: untyped, ref: untyped, shared_index: untyped, calculate_always: untyped, aca: untyped, bx: untyped, dt2d: untyped, dtr: untyped, r1: untyped, r2: untyped) -> instance
40
+
41
+ def self.members: () -> [ :expression, :cached_value, :type, :ref, :shared_index, :calculate_always, :aca, :bx, :dt2d, :dtr, :r1, :r2 ]
42
+
43
+ def members: () -> [ :expression, :cached_value, :type, :ref, :shared_index, :calculate_always, :aca, :bx, :dt2d, :dtr, :r1, :r2 ]
44
+ end
45
+
46
+ # Represents a cell error value (e.g. #N/A, #REF!, #DIV/0!).
47
+ VALID_ERROR_CODES: untyped
48
+
49
+ class CellError < Data
50
+ attr_reader code(): untyped
51
+
52
+ def self.new: (untyped code) -> instance
53
+ | (code: untyped) -> instance
54
+
55
+ def self.members: () -> [ :code ]
56
+
57
+ def members: () -> [ :code ]
58
+ end
59
+
60
+ # Represents a rich text string with formatting runs.
61
+ # runs: array of hashes, each with :text and optional :font (hash of font properties).
62
+ # Font properties: :bold, :italic, :underline, :sz, :color, :name
63
+ class RichText < Data
64
+ attr_reader runs(): untyped
65
+
66
+ def self.new: (untyped runs) -> instance
67
+ | (runs: untyped) -> instance
68
+
69
+ def self.members: () -> [ :runs ]
70
+
71
+ def members: () -> [ :runs ]
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,25 @@
1
+ # Generated from lib/xlsxrb/elements/workbook.rb with RBS::Inline
2
+
3
+ module Xlsxrb
4
+ module Elements
5
+ # Represents an entire XLSX workbook.
6
+ class Workbook < Data
7
+ attr_reader sheets(): untyped
8
+
9
+ attr_reader shared_strings(): untyped
10
+
11
+ attr_reader styles(): untyped
12
+
13
+ attr_reader unmapped_data(): untyped
14
+
15
+ attr_reader errors(): untyped
16
+
17
+ def self.new: (untyped sheets, untyped shared_strings, untyped styles, untyped unmapped_data, untyped errors) -> instance
18
+ | (sheets: untyped, shared_strings: untyped, styles: untyped, unmapped_data: untyped, errors: untyped) -> instance
19
+
20
+ def self.members: () -> [ :sheets, :shared_strings, :styles, :unmapped_data, :errors ]
21
+
22
+ def members: () -> [ :sheets, :shared_strings, :styles, :unmapped_data, :errors ]
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,27 @@
1
+ # Generated from lib/xlsxrb/elements/worksheet.rb with RBS::Inline
2
+
3
+ module Xlsxrb
4
+ module Elements
5
+ # Represents a single worksheet in a workbook.
6
+ class Worksheet < Data
7
+ attr_reader name(): untyped
8
+
9
+ attr_reader rows(): untyped
10
+
11
+ attr_reader columns(): untyped
12
+
13
+ attr_reader charts(): untyped
14
+
15
+ attr_reader unmapped_data(): untyped
16
+
17
+ attr_reader errors(): untyped
18
+
19
+ def self.new: (untyped name, untyped rows, untyped columns, untyped charts, untyped unmapped_data, untyped errors) -> instance
20
+ | (name: untyped, rows: untyped, columns: untyped, charts: untyped, unmapped_data: untyped, errors: untyped) -> instance
21
+
22
+ def self.members: () -> [ :name, :rows, :columns, :charts, :unmapped_data, :errors ]
23
+
24
+ def members: () -> [ :name, :rows, :columns, :charts, :unmapped_data, :errors ]
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,8 @@
1
+ # Generated from lib/xlsxrb/elements.rb with RBS::Inline
2
+
3
+ module Xlsxrb
4
+ # High-level domain model layer.
5
+ # Provides immutable Data classes representing Excel concepts.
6
+ module Elements
7
+ end
8
+ end