xlsxrb 0.1.11 → 0.1.13

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 (186) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +86 -34
  3. data/README.md +26 -21
  4. data/lib/xlsxrb/chart_builder.rb +18 -18
  5. data/lib/xlsxrb/dsl_helpers.rb +175 -0
  6. data/lib/xlsxrb/elements/cell.rb +56 -22
  7. data/lib/xlsxrb/elements/column.rb +27 -3
  8. data/lib/xlsxrb/elements/row.rb +27 -8
  9. data/lib/xlsxrb/elements/workbook.rb +27 -14
  10. data/lib/xlsxrb/elements/worksheet.rb +17 -1
  11. data/lib/xlsxrb/ooxml/cfb.rb +9 -6
  12. data/lib/xlsxrb/ooxml/crypto/agile.rb +5 -5
  13. data/lib/xlsxrb/ooxml/reader/listeners/core_listeners.rb +784 -0
  14. data/lib/xlsxrb/ooxml/reader/listeners/drawing_listeners.rb +3478 -0
  15. data/lib/xlsxrb/ooxml/reader/listeners/feature_listeners.rb +1796 -0
  16. data/lib/xlsxrb/ooxml/reader/listeners/style_listeners.rb +428 -0
  17. data/lib/xlsxrb/ooxml/reader/listeners.rb +4 -6446
  18. data/lib/xlsxrb/ooxml/shared_strings_parser.rb +3 -5
  19. data/lib/xlsxrb/ooxml/utils.rb +5 -6
  20. data/lib/xlsxrb/ooxml/workbook_writer.rb +5 -7
  21. data/lib/xlsxrb/ooxml/worksheet_parser.rb +172 -9
  22. data/lib/xlsxrb/ooxml/writer/drawing_xml.rb +1602 -0
  23. data/lib/xlsxrb/ooxml/writer/features_xml.rb +731 -0
  24. data/lib/xlsxrb/ooxml/writer/styles_xml.rb +348 -0
  25. data/lib/xlsxrb/ooxml/writer.rb +9 -2646
  26. data/lib/xlsxrb/ooxml/xml_builder.rb +31 -2
  27. data/lib/xlsxrb/ooxml/zip_generator.rb +26 -5
  28. data/lib/xlsxrb/ooxml/zip_reader.rb +364 -78
  29. data/lib/xlsxrb/ooxml/zip_writer.rb +32 -5
  30. data/lib/xlsxrb/stream_sheet.rb +94 -6
  31. data/lib/xlsxrb/stream_writer.rb +48 -115
  32. data/lib/xlsxrb/style_builder.rb +10 -1
  33. data/lib/xlsxrb/version.rb +1 -1
  34. data/lib/xlsxrb/workbook_builder.rb +1 -1
  35. data/lib/xlsxrb/worksheet_builder.rb +19 -81
  36. data/lib/xlsxrb.rb +449 -171
  37. data/sig/generated/xlsxrb/chart_builder.rbs +36 -36
  38. data/sig/generated/xlsxrb/dsl_helpers.rbs +92 -0
  39. data/sig/generated/xlsxrb/elements/cell.rbs +29 -0
  40. data/sig/generated/xlsxrb/elements/column.rbs +32 -21
  41. data/sig/generated/xlsxrb/elements/row.rbs +94 -14
  42. data/sig/generated/xlsxrb/elements/workbook.rbs +102 -10
  43. data/sig/generated/xlsxrb/elements/worksheet.rbs +9 -0
  44. data/sig/generated/xlsxrb/ooxml/reader/listeners/core_listeners.rbs +173 -0
  45. data/sig/generated/xlsxrb/ooxml/reader/listeners/drawing_listeners.rbs +400 -0
  46. data/sig/generated/xlsxrb/ooxml/reader/listeners/feature_listeners.rbs +442 -0
  47. data/sig/generated/xlsxrb/ooxml/reader/listeners/style_listeners.rbs +80 -0
  48. data/sig/generated/xlsxrb/ooxml/reader/listeners.rbs +0 -1072
  49. data/sig/generated/xlsxrb/ooxml/shared_strings_parser.rbs +0 -2
  50. data/sig/generated/xlsxrb/ooxml/utils.rbs +2 -0
  51. data/sig/generated/xlsxrb/ooxml/worksheet_parser.rbs +5 -4
  52. data/sig/generated/xlsxrb/ooxml/writer/drawing_xml.rbs +79 -0
  53. data/sig/generated/xlsxrb/ooxml/writer/features_xml.rbs +83 -0
  54. data/sig/generated/xlsxrb/ooxml/writer/styles_xml.rbs +53 -0
  55. data/sig/generated/xlsxrb/ooxml/writer.rbs +6 -185
  56. data/sig/generated/xlsxrb/ooxml/xml_builder.rbs +18 -0
  57. data/sig/generated/xlsxrb/ooxml/zip_generator.rbs +15 -0
  58. data/sig/generated/xlsxrb/ooxml/zip_reader.rbs +96 -8
  59. data/sig/generated/xlsxrb/ooxml/zip_writer.rbs +5 -1
  60. data/sig/generated/xlsxrb/stream_sheet.rbs +43 -3
  61. data/sig/generated/xlsxrb/style_builder.rbs +7 -0
  62. data/sig/generated/xlsxrb.rbs +18 -11
  63. metadata +22 -144
  64. data/.devcontainer/Dockerfile +0 -65
  65. data/.devcontainer/devcontainer.json +0 -17
  66. data/.gem_rbs_collection/ast/2.4/.rbs_meta.yaml +0 -9
  67. data/.gem_rbs_collection/ast/2.4/ast.rbs +0 -73
  68. data/.gem_rbs_collection/concurrent-ruby/1.1/.rbs_meta.yaml +0 -9
  69. data/.gem_rbs_collection/concurrent-ruby/1.1/array.rbs +0 -4
  70. data/.gem_rbs_collection/concurrent-ruby/1.1/atomic_reference.rbs +0 -16
  71. data/.gem_rbs_collection/concurrent-ruby/1.1/executor.rbs +0 -96
  72. data/.gem_rbs_collection/concurrent-ruby/1.1/hash.rbs +0 -4
  73. data/.gem_rbs_collection/concurrent-ruby/1.1/map.rbs +0 -68
  74. data/.gem_rbs_collection/concurrent-ruby/1.1/promises.rbs +0 -249
  75. data/.gem_rbs_collection/concurrent-ruby/1.1/set.rbs +0 -4
  76. data/.gem_rbs_collection/concurrent-ruby/1.1/timer_task.rbs +0 -47
  77. data/.gem_rbs_collection/concurrent-ruby/1.1/utility/processor_counter.rbs +0 -5
  78. data/.gem_rbs_collection/csv/3.3/.rbs_meta.yaml +0 -9
  79. data/.gem_rbs_collection/csv/3.3/csv.rbs +0 -3871
  80. data/.gem_rbs_collection/csv/3.3/manifest.yaml +0 -3
  81. data/.gem_rbs_collection/lint_roller/1.1/.rbs_meta.yaml +0 -9
  82. data/.gem_rbs_collection/lint_roller/1.1/lint_roller.rbs +0 -48
  83. data/.gem_rbs_collection/listen/3.9/.rbs_meta.yaml +0 -9
  84. data/.gem_rbs_collection/listen/3.9/listen.rbs +0 -25
  85. data/.gem_rbs_collection/listen/3.9/listener.rbs +0 -24
  86. data/.gem_rbs_collection/logger/1.7/.rbs_meta.yaml +0 -9
  87. data/.gem_rbs_collection/logger/1.7/formatter.rbs +0 -45
  88. data/.gem_rbs_collection/logger/1.7/log_device.rbs +0 -100
  89. data/.gem_rbs_collection/logger/1.7/logger.rbs +0 -796
  90. data/.gem_rbs_collection/logger/1.7/manifest.yaml +0 -2
  91. data/.gem_rbs_collection/logger/1.7/period.rbs +0 -17
  92. data/.gem_rbs_collection/logger/1.7/severity.rbs +0 -34
  93. data/.gem_rbs_collection/nokogiri/1.11/.rbs_meta.yaml +0 -9
  94. data/.gem_rbs_collection/nokogiri/1.11/nokogiri.rbs +0 -2332
  95. data/.gem_rbs_collection/nokogiri/1.11/patch.rbs +0 -4
  96. data/.gem_rbs_collection/parallel/1.20/.rbs_meta.yaml +0 -9
  97. data/.gem_rbs_collection/parallel/1.20/parallel.rbs +0 -86
  98. data/.gem_rbs_collection/parser/3.2/.rbs_meta.yaml +0 -9
  99. data/.gem_rbs_collection/parser/3.2/manifest.yaml +0 -7
  100. data/.gem_rbs_collection/parser/3.2/parser.rbs +0 -194
  101. data/.gem_rbs_collection/parser/3.2/polyfill.rbs +0 -4
  102. data/.gem_rbs_collection/rainbow/3.0/.rbs_meta.yaml +0 -9
  103. data/.gem_rbs_collection/rainbow/3.0/global.rbs +0 -7
  104. data/.gem_rbs_collection/rainbow/3.0/presenter.rbs +0 -209
  105. data/.gem_rbs_collection/rainbow/3.0/rainbow.rbs +0 -5
  106. data/.gem_rbs_collection/rake/13.0/.rbs_meta.yaml +0 -9
  107. data/.gem_rbs_collection/rake/13.0/manifest.yaml +0 -2
  108. data/.gem_rbs_collection/rake/13.0/rake.rbs +0 -39
  109. data/.gem_rbs_collection/regexp_parser/2.8/.rbs_meta.yaml +0 -9
  110. data/.gem_rbs_collection/regexp_parser/2.8/regexp_parser.rbs +0 -17
  111. data/.gem_rbs_collection/rubocop/1.57/.rbs_meta.yaml +0 -9
  112. data/.gem_rbs_collection/rubocop/1.57/rubocop.rbs +0 -208
  113. data/.gem_rbs_collection/rubocop-ast/1.46/.rbs_meta.yaml +0 -9
  114. data/.gem_rbs_collection/rubocop-ast/1.46/rubocop-ast.rbs +0 -903
  115. data/.gem_rbs_collection/rubyzip/3.2/.rbs_meta.yaml +0 -9
  116. data/.gem_rbs_collection/rubyzip/3.2/manifest.yaml +0 -8
  117. data/.gem_rbs_collection/rubyzip/3.2/zip/central_directory.rbs +0 -42
  118. data/.gem_rbs_collection/rubyzip/3.2/zip/compressor.rbs +0 -5
  119. data/.gem_rbs_collection/rubyzip/3.2/zip/constants.rbs +0 -47
  120. data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/aes_encryption.rbs +0 -30
  121. data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/decrypted_io.rbs +0 -9
  122. data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/encryption.rbs +0 -7
  123. data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/null_encryption.rbs +0 -19
  124. data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/traditional_encryption.rbs +0 -31
  125. data/.gem_rbs_collection/rubyzip/3.2/zip/decompressor.rbs +0 -18
  126. data/.gem_rbs_collection/rubyzip/3.2/zip/deflater.rbs +0 -12
  127. data/.gem_rbs_collection/rubyzip/3.2/zip/dirtyable.rbs +0 -11
  128. data/.gem_rbs_collection/rubyzip/3.2/zip/dos_time.rbs +0 -13
  129. data/.gem_rbs_collection/rubyzip/3.2/zip/entry.rbs +0 -95
  130. data/.gem_rbs_collection/rubyzip/3.2/zip/entry_set.rbs +0 -31
  131. data/.gem_rbs_collection/rubyzip/3.2/zip/errors.rbs +0 -58
  132. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/aes.rbs +0 -24
  133. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/generic.rbs +0 -17
  134. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/ntfs.rbs +0 -23
  135. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/old_unix.rbs +0 -22
  136. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/universal_time.rbs +0 -30
  137. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/unix.rbs +0 -20
  138. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/unknown.rbs +0 -15
  139. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/zip64.rbs +0 -26
  140. data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field.rbs +0 -21
  141. data/.gem_rbs_collection/rubyzip/3.2/zip/file.rbs +0 -131
  142. data/.gem_rbs_collection/rubyzip/3.2/zip/file_split.rbs +0 -14
  143. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/dir.rbs +0 -33
  144. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/directory_iterator.rbs +0 -21
  145. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/file.rbs +0 -63
  146. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/file_stat.rbs +0 -55
  147. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/zip_file_name_mapper.rbs +0 -35
  148. data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem.rbs +0 -7
  149. data/.gem_rbs_collection/rubyzip/3.2/zip/inflater.rbs +0 -10
  150. data/.gem_rbs_collection/rubyzip/3.2/zip/input_stream.rbs +0 -22
  151. data/.gem_rbs_collection/rubyzip/3.2/zip/ioextras/abstract_input_stream.rbs +0 -29
  152. data/.gem_rbs_collection/rubyzip/3.2/zip/ioextras/abstract_output_stream.rbs +0 -17
  153. data/.gem_rbs_collection/rubyzip/3.2/zip/ioextras.rbs +0 -13
  154. data/.gem_rbs_collection/rubyzip/3.2/zip/null_compressor.rbs +0 -10
  155. data/.gem_rbs_collection/rubyzip/3.2/zip/null_decompressor.rbs +0 -8
  156. data/.gem_rbs_collection/rubyzip/3.2/zip/null_input_stream.rbs +0 -6
  157. data/.gem_rbs_collection/rubyzip/3.2/zip/output_stream.rbs +0 -30
  158. data/.gem_rbs_collection/rubyzip/3.2/zip/pass_thru_compressor.rbs +0 -10
  159. data/.gem_rbs_collection/rubyzip/3.2/zip/pass_thru_decompressor.rbs +0 -10
  160. data/.gem_rbs_collection/rubyzip/3.2/zip/streamable_directory.rbs +0 -5
  161. data/.gem_rbs_collection/rubyzip/3.2/zip/streamable_stream.rbs +0 -15
  162. data/.gem_rbs_collection/rubyzip/3.2/zip/version.rbs +0 -3
  163. data/.gem_rbs_collection/rubyzip/3.2/zip.rbs +0 -40
  164. data/Rakefile +0 -567
  165. data/Steepfile +0 -18
  166. data/benchmark.rb +0 -406
  167. data/docs/ARCHITECTURE.md +0 -514
  168. data/docs/DEVELOPMENT.md +0 -133
  169. data/docs/PEER_LIBRARIES.md +0 -121
  170. data/docs/QUALITY_ASSURANCE.md +0 -25
  171. data/docs/SPEC_SOURCES.md +0 -48
  172. data/docs/assets/benchmark_results.svg +0 -144
  173. data/docs/assets/lsp_autocompletion.png +0 -0
  174. data/docs/assets/playground_preview.png +0 -0
  175. data/docs/coi-serviceworker.js +0 -82
  176. data/docs/office_thread.js +0 -77
  177. data/docs/preview.html +0 -719
  178. data/docs/visual/VisualGallery.md +0 -4672
  179. data/docs/wasm/ruby.wasm +0 -0
  180. data/docs/wasm/wasm_doc_helper.css +0 -351
  181. data/docs/wasm/wasm_doc_helper.js +0 -439
  182. data/docs/zeta.js +0 -1107
  183. data/rbs_collection.lock.yaml +0 -252
  184. data/rbs_collection.yaml +0 -19
  185. data/vendor/sdk_runner/Program.cs +0 -93
  186. data/vendor/sdk_runner/sdk_runner.csproj +0 -13
@@ -127,6 +127,15 @@ module Xlsxrb
127
127
 
128
128
  alias to_worksheet load
129
129
 
130
+ FORBIDDEN_NAME_CHARS: ::Regexp
131
+
132
+ # Returns whether the worksheet name is valid according to OOXML specifications (1..31 chars, no forbidden chars).
133
+ #
134
+ # @param name [Object]
135
+ # @return [Boolean]
136
+ # : (untyped name) -> bool
137
+ def self.valid_name?: (untyped name) -> bool
138
+
130
139
  # Validates worksheet name and rows against OOXML limits.
131
140
  #
132
141
  # @param name [String]
@@ -0,0 +1,173 @@
1
+ # Generated from lib/xlsxrb/ooxml/reader/listeners/core_listeners.rb with RBS::Inline
2
+
3
+ module Xlsxrb
4
+ module Ooxml
5
+ class Reader
6
+ # SAX2 listener for parsing shared string table (xl/sharedStrings.xml).
7
+ class SharedStringsListener
8
+ include REXML::SAX2Listener
9
+
10
+ attr_reader strings: untyped
11
+
12
+ def initialize: () -> untyped
13
+
14
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
15
+
16
+ def characters: (untyped text) -> untyped
17
+
18
+ def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
19
+
20
+ private
21
+
22
+ def element_name: (untyped local_name, untyped qname) -> untyped
23
+ end
24
+
25
+ # SAX2 listener for parsing worksheet cells.
26
+ class WorksheetListener
27
+ include REXML::SAX2Listener
28
+
29
+ attr_reader cells: untyped
30
+
31
+ attr_reader row_attributes: untyped
32
+
33
+ attr_reader cell_phonetic: untyped
34
+
35
+ def initialize: (?untyped shared_strings) -> untyped
36
+
37
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
38
+
39
+ def characters: (untyped text) -> untyped
40
+
41
+ def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
42
+
43
+ private
44
+
45
+ def parse_row_attributes: (untyped attributes) -> untyped
46
+
47
+ def store_cell_value: () -> untyped
48
+
49
+ def numeric_value: (untyped raw) -> untyped
50
+
51
+ def element_name: (untyped local_name, untyped qname) -> untyped
52
+ end
53
+
54
+ # SAX2 listener for parsing workbook.xml to discover sheet names, rIds, and workbook-level properties.
55
+ class WorkbookListener
56
+ include REXML::SAX2Listener
57
+
58
+ attr_reader sheets: untyped
59
+
60
+ attr_reader workbook_properties: untyped
61
+
62
+ attr_reader workbook_views: untyped
63
+
64
+ attr_reader calc_properties: untyped
65
+
66
+ attr_reader defined_names: untyped
67
+
68
+ attr_reader workbook_protection: untyped
69
+
70
+ attr_reader file_version: untyped
71
+
72
+ attr_reader file_sharing: untyped
73
+
74
+ attr_reader conformance: untyped
75
+
76
+ attr_reader file_recovery_properties: untyped
77
+
78
+ def initialize: () -> untyped
79
+
80
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
81
+
82
+ def characters: (untyped text) -> untyped
83
+
84
+ def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
85
+
86
+ private
87
+
88
+ def element_name: (untyped local_name, untyped qname) -> untyped
89
+ end
90
+
91
+ # SAX2 listener for parsing .rels files to map rId to Target.
92
+ class RelsListener
93
+ include REXML::SAX2Listener
94
+
95
+ attr_reader relationships: untyped
96
+
97
+ def initialize: () -> untyped
98
+
99
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
100
+
101
+ private
102
+
103
+ def element_name: (untyped local_name, untyped qname) -> untyped
104
+ end
105
+
106
+ # SAX2 listener for parsing <cols><col> elements from worksheet XML.
107
+ class ColumnsListener
108
+ include REXML::SAX2Listener
109
+
110
+ # Returns { column_index => width } hash (1-based indices).
111
+ attr_reader raw_columns: untyped
112
+
113
+ # Returns { column_index => width } hash (1-based indices).
114
+ attr_reader raw_column_attrs: untyped
115
+
116
+ def initialize: () -> untyped
117
+
118
+ def columns: () -> untyped
119
+
120
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
121
+
122
+ private
123
+
124
+ def element_name: (untyped local_name, untyped qname) -> untyped
125
+ end
126
+
127
+ # SAX2 listener for parsing <mergeCells><mergeCell> elements.
128
+ class MergeCellsListener
129
+ include REXML::SAX2Listener
130
+
131
+ attr_reader ranges: untyped
132
+
133
+ def initialize: () -> untyped
134
+
135
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
136
+
137
+ private
138
+
139
+ def element_name: (untyped local_name, untyped qname) -> untyped
140
+ end
141
+
142
+ # SAX2 listener for parsing <hyperlinks><hyperlink> elements.
143
+ class HyperlinksListener
144
+ include REXML::SAX2Listener
145
+
146
+ attr_reader links: untyped
147
+
148
+ def initialize: () -> untyped
149
+
150
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
151
+
152
+ private
153
+
154
+ def element_name: (untyped local_name, untyped qname) -> untyped
155
+ end
156
+
157
+ # SAX2 listener for parsing <dimension> element.
158
+ class DimensionListener
159
+ include REXML::SAX2Listener
160
+
161
+ attr_reader ref: untyped
162
+
163
+ def initialize: () -> untyped
164
+
165
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
166
+
167
+ private
168
+
169
+ def element_name: (untyped local_name, untyped qname) -> untyped
170
+ end
171
+ end
172
+ end
173
+ end
@@ -0,0 +1,400 @@
1
+ # Generated from lib/xlsxrb/ooxml/reader/listeners/drawing_listeners.rb with RBS::Inline
2
+
3
+ module Xlsxrb
4
+ module Ooxml
5
+ class Reader
6
+ # SAX2 listener for parsing drawing XML to extract image information.
7
+ class DrawingImagesListener
8
+ include REXML::SAX2Listener
9
+
10
+ attr_reader images: untyped
11
+
12
+ def initialize: () -> untyped
13
+
14
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
15
+
16
+ def characters: (untyped text) -> untyped
17
+
18
+ def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
19
+
20
+ private
21
+
22
+ def element_name: (untyped local_name, untyped qname) -> untyped
23
+ end
24
+
25
+ # SAX2 listener for parsing drawing XML to extract chart references.
26
+ class DrawingChartsListener
27
+ include REXML::SAX2Listener
28
+
29
+ attr_reader charts: untyped
30
+
31
+ def initialize: () -> untyped
32
+
33
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
34
+
35
+ def characters: (untyped text) -> untyped
36
+
37
+ def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
38
+
39
+ private
40
+
41
+ def element_name: (untyped local_name, untyped qname) -> untyped
42
+ end
43
+
44
+ # SAX2 listener for parsing drawing XML to extract shape elements.
45
+ class DrawingShapesListener
46
+ include REXML::SAX2Listener
47
+
48
+ attr_reader shapes: untyped
49
+
50
+ def initialize: () -> untyped
51
+
52
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
53
+
54
+ def characters: (untyped text) -> untyped
55
+
56
+ def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
57
+
58
+ private
59
+
60
+ def assign_shape_color: (untyped color_value) -> untyped
61
+
62
+ def finalize_paragraph_runs: (untyped para) -> untyped
63
+
64
+ def merge_paragraph_to_shape: (untyped para, untyped shape) -> untyped
65
+
66
+ def element_name: (untyped local_name, untyped qname) -> untyped
67
+ end
68
+
69
+ # SAX2 listener for parsing chart XML to identify chart type and title.
70
+ class ChartTypeListener
71
+ include REXML::SAX2Listener
72
+
73
+ attr_reader chart_type: untyped
74
+
75
+ attr_reader title: untyped
76
+
77
+ attr_reader title_overlay: untyped
78
+
79
+ attr_reader title_font: untyped
80
+
81
+ attr_reader title_fill_color: untyped
82
+
83
+ attr_reader title_no_fill: untyped
84
+
85
+ attr_reader title_line_color: untyped
86
+
87
+ attr_reader title_line_width: untyped
88
+
89
+ attr_reader title_line_dash: untyped
90
+
91
+ attr_reader series: untyped
92
+
93
+ attr_reader legend: untyped
94
+
95
+ attr_reader data_labels: untyped
96
+
97
+ attr_reader cat_axis_title: untyped
98
+
99
+ attr_reader val_axis_title: untyped
100
+
101
+ attr_reader grouping: untyped
102
+
103
+ attr_reader bar_dir: untyped
104
+
105
+ attr_reader vary_colors: untyped
106
+
107
+ attr_reader plot_vis_only: untyped
108
+
109
+ attr_reader disp_blanks_as: untyped
110
+
111
+ attr_reader style: untyped
112
+
113
+ attr_reader auto_title_deleted: untyped
114
+
115
+ attr_reader rounded_corners: untyped
116
+
117
+ attr_reader cat_axis_tick_lbl_pos: untyped
118
+
119
+ attr_reader val_axis_tick_lbl_pos: untyped
120
+
121
+ attr_reader cat_axis_major_gridlines: untyped
122
+
123
+ attr_reader val_axis_major_gridlines: untyped
124
+
125
+ attr_reader cat_axis_minor_gridlines: untyped
126
+
127
+ attr_reader val_axis_minor_gridlines: untyped
128
+
129
+ attr_reader show_d_lbls_over_max: untyped
130
+
131
+ attr_reader cat_axis_delete: untyped
132
+
133
+ attr_reader val_axis_delete: untyped
134
+
135
+ attr_reader cat_axis_orientation: untyped
136
+
137
+ attr_reader val_axis_orientation: untyped
138
+
139
+ attr_reader gap_width: untyped
140
+
141
+ attr_reader overlap: untyped
142
+
143
+ attr_reader view_3d: untyped
144
+
145
+ attr_reader gap_depth: untyped
146
+
147
+ attr_reader bar_shape: untyped
148
+
149
+ attr_reader bubble_3d: untyped
150
+
151
+ attr_reader bubble_scale: untyped
152
+
153
+ attr_reader show_neg_bubbles: untyped
154
+
155
+ attr_reader size_represents: untyped
156
+
157
+ attr_reader cat_axis_num_fmt: untyped
158
+
159
+ attr_reader val_axis_num_fmt: untyped
160
+
161
+ attr_reader cat_axis_major_tick_mark: untyped
162
+
163
+ attr_reader cat_axis_minor_tick_mark: untyped
164
+
165
+ attr_reader val_axis_major_tick_mark: untyped
166
+
167
+ attr_reader val_axis_minor_tick_mark: untyped
168
+
169
+ attr_reader cat_axis_crosses: untyped
170
+
171
+ attr_reader val_axis_crosses: untyped
172
+
173
+ attr_reader cat_axis_crosses_at: untyped
174
+
175
+ attr_reader val_axis_crosses_at: untyped
176
+
177
+ attr_reader cat_axis_tick_lbl_skip: untyped
178
+
179
+ attr_reader cat_axis_tick_mark_skip: untyped
180
+
181
+ attr_reader cat_axis_lbl_offset: untyped
182
+
183
+ attr_reader cat_axis_auto: untyped
184
+
185
+ attr_reader cat_axis_lbl_algn: untyped
186
+
187
+ attr_reader cat_axis_no_multi_lvl_lbl: untyped
188
+
189
+ attr_reader val_axis_cross_between: untyped
190
+
191
+ attr_reader val_axis_major_unit: untyped
192
+
193
+ attr_reader val_axis_minor_unit: untyped
194
+
195
+ attr_reader val_axis_disp_units: untyped
196
+
197
+ attr_reader cat_axis_scaling_max: untyped
198
+
199
+ attr_reader cat_axis_scaling_min: untyped
200
+
201
+ attr_reader val_axis_scaling_max: untyped
202
+
203
+ attr_reader val_axis_scaling_min: untyped
204
+
205
+ attr_reader cat_axis_log_base: untyped
206
+
207
+ attr_reader val_axis_log_base: untyped
208
+
209
+ attr_reader first_slice_ang: untyped
210
+
211
+ attr_reader hole_size: untyped
212
+
213
+ attr_reader smooth: untyped
214
+
215
+ attr_reader marker: untyped
216
+
217
+ attr_reader drop_lines: untyped
218
+
219
+ attr_reader hi_low_lines: untyped
220
+
221
+ attr_reader ser_lines: untyped
222
+
223
+ attr_reader up_down_bars: untyped
224
+
225
+ attr_reader scatter_style: untyped
226
+
227
+ attr_reader radar_style: untyped
228
+
229
+ attr_reader cat_axis_pos: untyped
230
+
231
+ attr_reader val_axis_pos: untyped
232
+
233
+ attr_reader wireframe: untyped
234
+
235
+ attr_reader band_fmts: untyped
236
+
237
+ attr_reader of_pie_type: untyped
238
+
239
+ attr_reader split_type: untyped
240
+
241
+ attr_reader split_pos: untyped
242
+
243
+ attr_reader cust_split: untyped
244
+
245
+ attr_reader second_pie_size: untyped
246
+
247
+ attr_reader data_table: untyped
248
+
249
+ attr_reader plot_area_fill: untyped
250
+
251
+ attr_reader plot_area_no_fill: untyped
252
+
253
+ attr_reader plot_area_line_color: untyped
254
+
255
+ attr_reader plot_area_line_width: untyped
256
+
257
+ attr_reader plot_area_line_dash: untyped
258
+
259
+ attr_reader plot_area_layout: untyped
260
+
261
+ attr_reader cat_axis_label_rotation: untyped
262
+
263
+ attr_reader val_axis_label_rotation: untyped
264
+
265
+ attr_reader cat_axis_font: untyped
266
+
267
+ attr_reader val_axis_font: untyped
268
+
269
+ attr_reader cat_axis_fill: untyped
270
+
271
+ attr_reader cat_axis_no_fill: untyped
272
+
273
+ attr_reader val_axis_fill: untyped
274
+
275
+ attr_reader val_axis_no_fill: untyped
276
+
277
+ attr_reader cat_axis_line_color: untyped
278
+
279
+ attr_reader cat_axis_line_width: untyped
280
+
281
+ attr_reader cat_axis_line_dash: untyped
282
+
283
+ attr_reader val_axis_line_color: untyped
284
+
285
+ attr_reader val_axis_line_width: untyped
286
+
287
+ attr_reader val_axis_line_dash: untyped
288
+
289
+ attr_reader floor: untyped
290
+
291
+ attr_reader side_wall: untyped
292
+
293
+ attr_reader back_wall: untyped
294
+
295
+ attr_reader legend_font: untyped
296
+
297
+ attr_reader cat_axis_type: untyped
298
+
299
+ attr_reader cat_axis_base_time_unit: untyped
300
+
301
+ attr_reader cat_axis_major_time_unit: untyped
302
+
303
+ attr_reader cat_axis_minor_time_unit: untyped
304
+
305
+ attr_reader cat_axis_major_unit: untyped
306
+
307
+ attr_reader cat_axis_minor_unit: untyped
308
+
309
+ attr_reader cat_axis_title_font: untyped
310
+
311
+ attr_reader val_axis_title_font: untyped
312
+
313
+ attr_reader cat_axis_title_fill: untyped
314
+
315
+ attr_reader cat_axis_title_no_fill: untyped
316
+
317
+ attr_reader cat_axis_title_line_color: untyped
318
+
319
+ attr_reader cat_axis_title_line_width: untyped
320
+
321
+ attr_reader cat_axis_title_line_dash: untyped
322
+
323
+ attr_reader val_axis_title_fill: untyped
324
+
325
+ attr_reader val_axis_title_no_fill: untyped
326
+
327
+ attr_reader val_axis_title_line_color: untyped
328
+
329
+ attr_reader val_axis_title_line_width: untyped
330
+
331
+ attr_reader val_axis_title_line_dash: untyped
332
+
333
+ attr_reader title_layout: untyped
334
+
335
+ attr_reader cat_axis_title_layout: untyped
336
+
337
+ attr_reader val_axis_title_layout: untyped
338
+
339
+ attr_reader title_rotation: untyped
340
+
341
+ attr_reader cat_axis_title_rotation: untyped
342
+
343
+ attr_reader val_axis_title_rotation: untyped
344
+
345
+ attr_reader chart_fill: untyped
346
+
347
+ attr_reader chart_no_fill: untyped
348
+
349
+ attr_reader chart_line_color: untyped
350
+
351
+ attr_reader chart_line_width: untyped
352
+
353
+ attr_reader chart_line_dash: untyped
354
+
355
+ attr_reader protection: untyped
356
+
357
+ attr_reader print_settings: untyped
358
+
359
+ attr_reader chart_font: untyped
360
+
361
+ CHART_TYPES: untyped
362
+
363
+ def initialize: () -> untyped
364
+
365
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
366
+
367
+ def characters: (untyped text) -> untyped
368
+
369
+ def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
370
+
371
+ private
372
+
373
+ def assign_title_layout_value: (untyped key, untyped value) -> untyped
374
+
375
+ def assign_chart_color: (untyped color_value) -> untyped
376
+
377
+ def element_name: (untyped local_name, untyped qname) -> untyped
378
+ end
379
+
380
+ # SAX2 listener for parsing comments XML.
381
+ class CommentsListener
382
+ include REXML::SAX2Listener
383
+
384
+ attr_reader comments: untyped
385
+
386
+ def initialize: () -> untyped
387
+
388
+ def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
389
+
390
+ def characters: (untyped text) -> untyped
391
+
392
+ def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
393
+
394
+ private
395
+
396
+ def element_name: (untyped local_name, untyped qname) -> untyped
397
+ end
398
+ end
399
+ end
400
+ end