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.
- checksums.yaml +4 -4
- data/.devcontainer/Dockerfile +1 -1
- data/.gem_rbs_collection/ast/2.4/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/ast/2.4/ast.rbs +73 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/array.rbs +4 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/atomic_reference.rbs +16 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/executor.rbs +96 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/hash.rbs +4 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/map.rbs +68 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/promises.rbs +249 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/set.rbs +4 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/timer_task.rbs +47 -0
- data/.gem_rbs_collection/concurrent-ruby/1.1/utility/processor_counter.rbs +5 -0
- data/.gem_rbs_collection/csv/3.3/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/csv/3.3/csv.rbs +3871 -0
- data/.gem_rbs_collection/csv/3.3/manifest.yaml +3 -0
- data/.gem_rbs_collection/lint_roller/1.1/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/lint_roller/1.1/lint_roller.rbs +48 -0
- data/.gem_rbs_collection/listen/3.9/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/listen/3.9/listen.rbs +25 -0
- data/.gem_rbs_collection/listen/3.9/listener.rbs +24 -0
- data/.gem_rbs_collection/logger/1.7/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/logger/1.7/formatter.rbs +45 -0
- data/.gem_rbs_collection/logger/1.7/log_device.rbs +100 -0
- data/.gem_rbs_collection/logger/1.7/logger.rbs +796 -0
- data/.gem_rbs_collection/logger/1.7/manifest.yaml +2 -0
- data/.gem_rbs_collection/logger/1.7/period.rbs +17 -0
- data/.gem_rbs_collection/logger/1.7/severity.rbs +34 -0
- data/.gem_rbs_collection/nokogiri/1.11/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/nokogiri/1.11/nokogiri.rbs +2332 -0
- data/.gem_rbs_collection/nokogiri/1.11/patch.rbs +4 -0
- data/.gem_rbs_collection/parallel/1.20/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/parallel/1.20/parallel.rbs +86 -0
- data/.gem_rbs_collection/parser/3.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/parser/3.2/manifest.yaml +7 -0
- data/.gem_rbs_collection/parser/3.2/parser.rbs +194 -0
- data/.gem_rbs_collection/parser/3.2/polyfill.rbs +4 -0
- data/.gem_rbs_collection/rainbow/3.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rainbow/3.0/global.rbs +7 -0
- data/.gem_rbs_collection/rainbow/3.0/presenter.rbs +209 -0
- data/.gem_rbs_collection/rainbow/3.0/rainbow.rbs +5 -0
- data/.gem_rbs_collection/rake/13.0/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rake/13.0/manifest.yaml +2 -0
- data/.gem_rbs_collection/rake/13.0/rake.rbs +39 -0
- data/.gem_rbs_collection/regexp_parser/2.8/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/regexp_parser/2.8/regexp_parser.rbs +17 -0
- data/.gem_rbs_collection/rubocop/1.57/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rubocop/1.57/rubocop.rbs +208 -0
- data/.gem_rbs_collection/rubocop-ast/1.46/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rubocop-ast/1.46/rubocop-ast.rbs +903 -0
- data/.gem_rbs_collection/rubyzip/3.2/.rbs_meta.yaml +9 -0
- data/.gem_rbs_collection/rubyzip/3.2/manifest.yaml +8 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/central_directory.rbs +42 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/compressor.rbs +5 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/constants.rbs +47 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/aes_encryption.rbs +30 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/decrypted_io.rbs +9 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/encryption.rbs +7 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/null_encryption.rbs +19 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/crypto/traditional_encryption.rbs +31 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/decompressor.rbs +18 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/deflater.rbs +12 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/dirtyable.rbs +11 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/dos_time.rbs +13 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/entry.rbs +95 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/entry_set.rbs +31 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/errors.rbs +58 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/aes.rbs +24 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/generic.rbs +17 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/ntfs.rbs +23 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/old_unix.rbs +22 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/universal_time.rbs +30 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/unix.rbs +20 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/unknown.rbs +15 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field/zip64.rbs +26 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/extra_field.rbs +21 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/file.rbs +131 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/file_split.rbs +14 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/dir.rbs +33 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/directory_iterator.rbs +21 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/file.rbs +63 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/file_stat.rbs +55 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem/zip_file_name_mapper.rbs +35 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/filesystem.rbs +7 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/inflater.rbs +10 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/input_stream.rbs +22 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/ioextras/abstract_input_stream.rbs +29 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/ioextras/abstract_output_stream.rbs +17 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/ioextras.rbs +13 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/null_compressor.rbs +10 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/null_decompressor.rbs +8 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/null_input_stream.rbs +6 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/output_stream.rbs +30 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/pass_thru_compressor.rbs +10 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/pass_thru_decompressor.rbs +10 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/streamable_directory.rbs +5 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/streamable_stream.rbs +15 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip/version.rbs +3 -0
- data/.gem_rbs_collection/rubyzip/3.2/zip.rbs +40 -0
- data/CHANGELOG.md +42 -3
- data/README.md +130 -49
- data/Rakefile +23 -2
- data/Steepfile +17 -0
- data/benchmark.rb +324 -348
- data/docs/ARCHITECTURE.md +24 -0
- data/docs/DEVELOPMENT.md +58 -0
- data/docs/QUALITY_ASSURANCE.md +26 -0
- data/docs/visual/VisualGallery.md +893 -938
- data/docs/wasm/ruby.wasm +0 -0
- data/lib/xlsxrb/elements/cell.rb +113 -8
- data/lib/xlsxrb/elements/column.rb +2 -0
- data/lib/xlsxrb/elements/row.rb +52 -4
- data/lib/xlsxrb/elements/types.rb +6 -0
- data/lib/xlsxrb/elements/workbook.rb +29 -0
- data/lib/xlsxrb/elements/worksheet.rb +98 -1
- data/lib/xlsxrb/elements.rb +2 -0
- data/lib/xlsxrb/ooxml/reader.rb +8 -6
- data/lib/xlsxrb/ooxml/shared_strings_parser.rb +106 -40
- data/lib/xlsxrb/ooxml/styles_parser.rb +2 -0
- data/lib/xlsxrb/ooxml/utils.rb +2 -0
- data/lib/xlsxrb/ooxml/workbook_parser.rb +6 -1
- data/lib/xlsxrb/ooxml/workbook_writer.rb +15 -4
- data/lib/xlsxrb/ooxml/worksheet_parser.rb +156 -23
- data/lib/xlsxrb/ooxml/worksheet_writer.rb +207 -152
- data/lib/xlsxrb/ooxml/writer.rb +217 -5
- data/lib/xlsxrb/ooxml/xml_builder.rb +18 -10
- data/lib/xlsxrb/ooxml/xml_parser.rb +2 -0
- data/lib/xlsxrb/ooxml/zip_generator.rb +5 -8
- data/lib/xlsxrb/ooxml/zip_reader.rb +179 -57
- data/lib/xlsxrb/ooxml/zip_writer.rb +65 -25
- data/lib/xlsxrb/ooxml.rb +3 -1
- data/lib/xlsxrb/style_builder.rb +284 -36
- data/lib/xlsxrb/version.rb +3 -1
- data/lib/xlsxrb.rb +1761 -275
- data/rbs_collection.lock.yaml +252 -0
- data/rbs_collection.yaml +19 -0
- data/sig/generated/xlsxrb/elements/cell.rbs +30 -0
- data/sig/generated/xlsxrb/elements/column.rbs +30 -0
- data/sig/generated/xlsxrb/elements/row.rbs +32 -0
- data/sig/generated/xlsxrb/elements/types.rbs +74 -0
- data/sig/generated/xlsxrb/elements/workbook.rbs +25 -0
- data/sig/generated/xlsxrb/elements/worksheet.rbs +27 -0
- data/sig/generated/xlsxrb/elements.rbs +8 -0
- data/sig/generated/xlsxrb/ooxml/reader.rbs +1412 -0
- data/sig/generated/xlsxrb/ooxml/shared_strings_parser.rbs +21 -0
- data/sig/generated/xlsxrb/ooxml/styles_parser.rbs +44 -0
- data/sig/generated/xlsxrb/ooxml/utils.rbs +40 -0
- data/sig/generated/xlsxrb/ooxml/workbook_parser.rbs +46 -0
- data/sig/generated/xlsxrb/ooxml/workbook_writer.rbs +66 -0
- data/sig/generated/xlsxrb/ooxml/worksheet_parser.rbs +67 -0
- data/sig/generated/xlsxrb/ooxml/worksheet_writer.rbs +92 -0
- data/sig/generated/xlsxrb/ooxml/writer.rbs +880 -0
- data/sig/generated/xlsxrb/ooxml/xml_builder.rbs +45 -0
- data/sig/generated/xlsxrb/ooxml/xml_parser.rbs +30 -0
- data/sig/generated/xlsxrb/ooxml/zip_generator.rbs +38 -0
- data/sig/generated/xlsxrb/ooxml/zip_reader.rbs +45 -0
- data/sig/generated/xlsxrb/ooxml/zip_writer.rbs +45 -0
- data/sig/generated/xlsxrb/ooxml.rbs +23 -0
- data/sig/generated/xlsxrb/style_builder.rbs +250 -0
- data/sig/generated/xlsxrb/version.rbs +5 -0
- data/sig/generated/xlsxrb.rbs +1276 -0
- data/sig/rexml.rbs +4 -0
- metadata +145 -4
- data/measure_memory.rb +0 -42
- data/sig/xlsxrb.rbs +0 -23
|
@@ -0,0 +1,1412 @@
|
|
|
1
|
+
# Generated from lib/xlsxrb/ooxml/reader.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
module Xlsxrb
|
|
4
|
+
module Ooxml
|
|
5
|
+
# Reads cells from an XLSX file.
|
|
6
|
+
class Reader
|
|
7
|
+
def initialize: (untyped filepath) -> untyped
|
|
8
|
+
|
|
9
|
+
# Returns cells for the given sheet (by name or 0-based index).
|
|
10
|
+
# Defaults to the first sheet. Numeric cells with date numFmt are converted to Date.
|
|
11
|
+
def cells: (?sheet: untyped) -> untyped
|
|
12
|
+
|
|
13
|
+
# Returns column widths as { "A" => 20.0, "B" => 15.5 } for the given sheet.
|
|
14
|
+
def columns: (?sheet: untyped) -> untyped
|
|
15
|
+
|
|
16
|
+
# Returns column attributes as { "A" => { hidden: true, outline_level: 1 } }.
|
|
17
|
+
def column_attributes: (?sheet: untyped) -> untyped
|
|
18
|
+
|
|
19
|
+
# Returns row attributes as { 1 => { height: 25.0 }, 3 => { hidden: true } }.
|
|
20
|
+
def row_attributes: (?sheet: untyped) -> untyped
|
|
21
|
+
|
|
22
|
+
# Returns cell addresses marked as phonetic: { "A1" => true }.
|
|
23
|
+
def cell_phonetic: (?sheet: untyped) -> untyped
|
|
24
|
+
|
|
25
|
+
# Returns merged cell ranges as ["A1:B2", "C3:D4"].
|
|
26
|
+
def merged_cells: (?sheet: untyped) -> untyped
|
|
27
|
+
|
|
28
|
+
# Returns hyperlinks as { "A1" => "https://example.com" }.
|
|
29
|
+
def hyperlinks: (?sheet: untyped) -> untyped
|
|
30
|
+
|
|
31
|
+
# Returns cell format codes as { "A1" => "0.00" } for cells with custom numFmt.
|
|
32
|
+
def cell_formats: (?sheet: untyped) -> untyped
|
|
33
|
+
|
|
34
|
+
# Returns expanded cell style info: { "A1" => { font:, fill:, border:, num_fmt: } }.
|
|
35
|
+
def cell_styles: (?sheet: untyped) -> untyped
|
|
36
|
+
|
|
37
|
+
# Returns array of differential formats (dxfs) from the styles.
|
|
38
|
+
def dxfs: () -> untyped
|
|
39
|
+
|
|
40
|
+
# Returns array of font entries from the styles.
|
|
41
|
+
def fonts: () -> untyped
|
|
42
|
+
|
|
43
|
+
# Returns array of fill entries from the styles.
|
|
44
|
+
def fills: () -> untyped
|
|
45
|
+
|
|
46
|
+
# Returns array of border entries from the styles.
|
|
47
|
+
def borders: () -> untyped
|
|
48
|
+
|
|
49
|
+
# Returns custom number formats as { numFmtId => formatCode }.
|
|
50
|
+
def num_fmts: () -> untyped
|
|
51
|
+
|
|
52
|
+
# Returns indexed colors palette (array of ARGB hex strings).
|
|
53
|
+
def indexed_colors: () -> untyped
|
|
54
|
+
|
|
55
|
+
# Returns MRU (most recently used) colors (array of color hashes).
|
|
56
|
+
def mru_colors: () -> untyped
|
|
57
|
+
|
|
58
|
+
# Returns table styles configuration hash.
|
|
59
|
+
def table_styles: () -> untyped
|
|
60
|
+
|
|
61
|
+
# Returns array of cellStyleXfs entries (base style format definitions).
|
|
62
|
+
def cell_style_xfs: () -> untyped
|
|
63
|
+
|
|
64
|
+
# Returns array of cellXfs entries (cell format definitions).
|
|
65
|
+
def cell_xfs: () -> untyped
|
|
66
|
+
|
|
67
|
+
# Returns array of named cell styles (cellStyle elements).
|
|
68
|
+
def named_cell_styles: () -> untyped
|
|
69
|
+
|
|
70
|
+
# Returns the autoFilter range string (e.g. "A1:B10") or nil.
|
|
71
|
+
def auto_filter: (?sheet: untyped) -> untyped
|
|
72
|
+
|
|
73
|
+
# Returns tables for the given sheet as an array of { id:, name:, display_name:, ref:, columns: }.
|
|
74
|
+
def tables: (?sheet: untyped) -> untyped
|
|
75
|
+
|
|
76
|
+
# Returns filter columns as { col_id => filter_hash }.
|
|
77
|
+
def filter_columns: (?sheet: untyped) -> untyped
|
|
78
|
+
|
|
79
|
+
# Returns sort state as { ref: "A1:B10", sort_conditions: [...] } or nil.
|
|
80
|
+
def sort_state: (?sheet: untyped) -> untyped
|
|
81
|
+
|
|
82
|
+
# Returns data validations as an array of hashes.
|
|
83
|
+
def data_validations: (?sheet: untyped) -> untyped
|
|
84
|
+
|
|
85
|
+
# Returns data validations container options (disablePrompts, xWindow, yWindow).
|
|
86
|
+
def data_validations_options: (?sheet: untyped) -> untyped
|
|
87
|
+
|
|
88
|
+
# Returns conditional formatting rules for the given sheet.
|
|
89
|
+
def conditional_formats: (?sheet: untyped) -> untyped
|
|
90
|
+
|
|
91
|
+
# Returns sheet-level properties (tabColor, outlinePr) for the given sheet.
|
|
92
|
+
# Returns sheet-level properties (tabColor, outlinePr) for the given sheet.
|
|
93
|
+
def sheet_properties: (?sheet: untyped) -> untyped
|
|
94
|
+
|
|
95
|
+
# Returns phonetic properties for the given sheet, or nil if not present.
|
|
96
|
+
def phonetic_properties: (?sheet: untyped) -> untyped
|
|
97
|
+
|
|
98
|
+
# Returns sheet protection settings as a hash, or nil if unprotected.
|
|
99
|
+
def sheet_protection: (?sheet: untyped) -> untyped
|
|
100
|
+
|
|
101
|
+
# Returns protected ranges for the given sheet as an array of hashes.
|
|
102
|
+
def protected_ranges: (?sheet: untyped) -> untyped
|
|
103
|
+
|
|
104
|
+
# Returns cell watches for the given sheet as an array of cell references.
|
|
105
|
+
def cell_watches: (?sheet: untyped) -> untyped
|
|
106
|
+
|
|
107
|
+
# Returns ignored errors for the given sheet.
|
|
108
|
+
def ignored_errors: (?sheet: untyped) -> untyped
|
|
109
|
+
|
|
110
|
+
# Returns data consolidation settings for the given sheet.
|
|
111
|
+
def data_consolidate: (?sheet: untyped) -> untyped
|
|
112
|
+
|
|
113
|
+
# Returns scenarios for the given sheet.
|
|
114
|
+
def scenarios: (?sheet: untyped) -> untyped
|
|
115
|
+
|
|
116
|
+
# Returns the dimension ref string (e.g. "A1:B10") for the given sheet.
|
|
117
|
+
def dimension: (?sheet: untyped) -> untyped
|
|
118
|
+
|
|
119
|
+
# Returns sheet format properties (defaultRowHeight, defaultColWidth, baseColWidth).
|
|
120
|
+
def sheet_format: (?sheet: untyped) -> untyped
|
|
121
|
+
|
|
122
|
+
# Returns sheet view properties for the given sheet.
|
|
123
|
+
def sheet_view: (?sheet: untyped) -> untyped
|
|
124
|
+
|
|
125
|
+
# Returns freeze pane settings for the given sheet.
|
|
126
|
+
def freeze_pane: (?sheet: untyped) -> untyped
|
|
127
|
+
|
|
128
|
+
# Returns selection for the given sheet.
|
|
129
|
+
def selection: (?sheet: untyped) -> untyped
|
|
130
|
+
|
|
131
|
+
# Returns print options for the given sheet.
|
|
132
|
+
def print_options: (?sheet: untyped) -> untyped
|
|
133
|
+
|
|
134
|
+
# Returns page margins for the given sheet.
|
|
135
|
+
def page_margins: (?sheet: untyped) -> untyped
|
|
136
|
+
|
|
137
|
+
# Returns page setup for the given sheet.
|
|
138
|
+
def page_setup: (?sheet: untyped) -> untyped
|
|
139
|
+
|
|
140
|
+
# Returns header/footer for the given sheet.
|
|
141
|
+
def header_footer: (?sheet: untyped) -> untyped
|
|
142
|
+
|
|
143
|
+
# Returns row breaks for the given sheet.
|
|
144
|
+
def row_breaks: (?sheet: untyped) -> untyped
|
|
145
|
+
|
|
146
|
+
# Returns column breaks for the given sheet.
|
|
147
|
+
def col_breaks: (?sheet: untyped) -> untyped
|
|
148
|
+
|
|
149
|
+
# Returns core properties as a hash (e.g. { title: "...", creator: "..." }).
|
|
150
|
+
def core_properties: () -> untyped
|
|
151
|
+
|
|
152
|
+
# Returns app properties as a hash.
|
|
153
|
+
def app_properties: () -> untyped
|
|
154
|
+
|
|
155
|
+
# Returns custom document properties as an array of { name:, value:, type: }.
|
|
156
|
+
def custom_properties: () -> untyped
|
|
157
|
+
|
|
158
|
+
# Returns workbook properties (e.g. { date1904: false, default_theme_version: 166925 }).
|
|
159
|
+
def workbook_properties: () -> untyped
|
|
160
|
+
|
|
161
|
+
# Returns the workbook conformance class ("transitional" or "strict"), or nil if not set.
|
|
162
|
+
def conformance: () -> untyped
|
|
163
|
+
|
|
164
|
+
# Returns file version properties (e.g. { app_name: "xl", last_edited: "7" }).
|
|
165
|
+
def file_version: () -> untyped
|
|
166
|
+
|
|
167
|
+
# Returns file sharing properties (e.g. { read_only_recommended: true, user_name: "John" }).
|
|
168
|
+
def file_sharing: () -> untyped
|
|
169
|
+
|
|
170
|
+
# Returns workbook view properties (e.g. { active_tab: 0 }).
|
|
171
|
+
def workbook_views: () -> untyped
|
|
172
|
+
|
|
173
|
+
# Returns workbook protection settings as a hash, or nil if unprotected.
|
|
174
|
+
def workbook_protection: () -> untyped
|
|
175
|
+
|
|
176
|
+
# Returns calc properties (e.g. { calc_id: 191029 }).
|
|
177
|
+
def calc_properties: () -> untyped
|
|
178
|
+
|
|
179
|
+
# Returns file recovery properties hash.
|
|
180
|
+
def file_recovery_properties: () -> untyped
|
|
181
|
+
|
|
182
|
+
# Returns the calc chain as an array of { ref:, sheet_id: } hashes, or empty array.
|
|
183
|
+
def calc_chain: () -> untyped
|
|
184
|
+
|
|
185
|
+
# Returns defined names as an array of hashes.
|
|
186
|
+
def defined_names: () -> untyped
|
|
187
|
+
|
|
188
|
+
# Returns the print area for the given sheet, or nil if not set.
|
|
189
|
+
def print_area: (?sheet: untyped) -> untyped
|
|
190
|
+
|
|
191
|
+
# Returns the print titles for the given sheet, or nil if not set.
|
|
192
|
+
def print_titles: (?sheet: untyped) -> untyped
|
|
193
|
+
|
|
194
|
+
# Returns sheet states as { "Sheet1" => :visible, "Hidden" => :hidden }.
|
|
195
|
+
def sheet_states: () -> untyped
|
|
196
|
+
|
|
197
|
+
# Returns ordered sheet names.
|
|
198
|
+
def sheet_names: () -> untyped
|
|
199
|
+
|
|
200
|
+
# Returns all ZIP entry paths in the file.
|
|
201
|
+
def entry_names: () -> untyped
|
|
202
|
+
|
|
203
|
+
# Returns raw bytes for a ZIP entry by path.
|
|
204
|
+
def raw_entry: (untyped name) -> untyped
|
|
205
|
+
|
|
206
|
+
# Returns true if the file contains VBA macros (vbaProject.bin).
|
|
207
|
+
def macros?: () -> untyped
|
|
208
|
+
|
|
209
|
+
# Returns images for the given sheet as an array of hashes.
|
|
210
|
+
# Each hash: { name:, embed_rid:, target:, from_col:, from_row:, to_col:, to_row:, cx:, cy: }
|
|
211
|
+
def images: (?sheet: untyped) -> untyped
|
|
212
|
+
|
|
213
|
+
# Returns charts for the given sheet as an array of hashes.
|
|
214
|
+
# Each hash: { name:, rid:, target:, chart_type:, title: }
|
|
215
|
+
def charts: (?sheet: untyped) -> untyped
|
|
216
|
+
|
|
217
|
+
# Returns shapes for the given sheet as an array of hashes.
|
|
218
|
+
# Each hash: { name:, id:, preset:, text:, from_col:, from_row:, to_col:, to_row: }
|
|
219
|
+
def shapes: (?sheet: untyped) -> untyped
|
|
220
|
+
|
|
221
|
+
# Returns comments for the given sheet as an array of hashes.
|
|
222
|
+
# Each hash: { ref:, author:, text: }
|
|
223
|
+
def comments: (?sheet: untyped) -> untyped
|
|
224
|
+
|
|
225
|
+
# Returns pivot tables for the given sheet as an array of hashes.
|
|
226
|
+
# Each hash: { name:, ref:, cache_id:, fields:, row_fields:, col_fields:, data_fields:, cache: }
|
|
227
|
+
def pivot_tables: (?sheet: untyped) -> untyped
|
|
228
|
+
|
|
229
|
+
# Returns external links from the workbook as an array of hashes.
|
|
230
|
+
# Each hash: { target:, sheet_names: [] }
|
|
231
|
+
def external_links: () -> untyped
|
|
232
|
+
|
|
233
|
+
STRICT_SSML_NS: ::String
|
|
234
|
+
|
|
235
|
+
TRANSITIONAL_SSML_NS: ::String
|
|
236
|
+
|
|
237
|
+
# Returns :strict or :transitional based on the namespace of the workbook XML.
|
|
238
|
+
def format_variant: () -> untyped
|
|
239
|
+
|
|
240
|
+
private
|
|
241
|
+
|
|
242
|
+
def resolve_sheet_for_defined_name: (untyped sheet) -> untyped
|
|
243
|
+
|
|
244
|
+
def parse_workbook_metadata: () -> untyped
|
|
245
|
+
|
|
246
|
+
def load_worksheet_xml: (untyped sheet) -> untyped
|
|
247
|
+
|
|
248
|
+
def discover_sheets: () -> untyped
|
|
249
|
+
|
|
250
|
+
def parse_rels: (untyped rels_xml) -> untyped
|
|
251
|
+
|
|
252
|
+
def parse_rels_with_types: (untyped rels_xml) -> untyped
|
|
253
|
+
|
|
254
|
+
def resolve_sheet_target: (untyped sheets, untyped sheet) -> untyped
|
|
255
|
+
|
|
256
|
+
def load_shared_strings: () -> untyped
|
|
257
|
+
|
|
258
|
+
def resolve_sheet_index: (untyped sheet) -> untyped
|
|
259
|
+
|
|
260
|
+
def load_tables: (untyped sheet_index) -> untyped
|
|
261
|
+
|
|
262
|
+
def parse_table_xml: (untyped xml) -> untyped
|
|
263
|
+
|
|
264
|
+
def load_pivot_cache_definition: (untyped pivot_table_path) -> untyped
|
|
265
|
+
|
|
266
|
+
def load_styles: () -> untyped
|
|
267
|
+
|
|
268
|
+
def parse_cell_style_indices: (untyped xml) -> untyped
|
|
269
|
+
|
|
270
|
+
def resolve_date_cells: (untyped raw_cells, untyped cell_style_map, untyped styles) -> untyped
|
|
271
|
+
|
|
272
|
+
def date_format?: (untyped fmt_id, untyped custom_num_fmts) -> untyped
|
|
273
|
+
|
|
274
|
+
def resolve_num_fmt_code: (untyped fmt_id, untyped custom_num_fmts) -> untyped
|
|
275
|
+
|
|
276
|
+
def resolve_effective_xf: (untyped xf_data, untyped cell_style_xfs) -> untyped
|
|
277
|
+
|
|
278
|
+
def date_pattern?: (untyped code) -> untyped
|
|
279
|
+
|
|
280
|
+
def extract_zip_entry: (untyped entry_name) -> untyped
|
|
281
|
+
|
|
282
|
+
def parse_worksheet_cells: (untyped xml, untyped shared_strings) -> untyped
|
|
283
|
+
|
|
284
|
+
def parse_worksheet_columns: (untyped xml) -> untyped
|
|
285
|
+
|
|
286
|
+
def parse_worksheet_column_attributes: (untyped xml) -> untyped
|
|
287
|
+
|
|
288
|
+
def parse_worksheet_row_attributes: (untyped xml) -> untyped
|
|
289
|
+
|
|
290
|
+
def parse_worksheet_cell_phonetic: (untyped xml) -> untyped
|
|
291
|
+
|
|
292
|
+
def parse_worksheet_merge_cells: (untyped xml) -> untyped
|
|
293
|
+
|
|
294
|
+
def parse_worksheet_auto_filter: (untyped xml) -> untyped
|
|
295
|
+
|
|
296
|
+
def parse_worksheet_filter_columns: (untyped xml) -> untyped
|
|
297
|
+
|
|
298
|
+
def parse_worksheet_sort_state: (untyped xml) -> untyped
|
|
299
|
+
|
|
300
|
+
def parse_worksheet_data_validations: (untyped xml) -> untyped
|
|
301
|
+
|
|
302
|
+
def parse_worksheet_data_validations_options: (untyped xml) -> untyped
|
|
303
|
+
|
|
304
|
+
def parse_worksheet_conditional_formats: (untyped xml) -> untyped
|
|
305
|
+
|
|
306
|
+
def parse_worksheet_properties: (untyped xml) -> untyped
|
|
307
|
+
|
|
308
|
+
def parse_worksheet_phonetic_pr: (untyped xml) -> untyped
|
|
309
|
+
|
|
310
|
+
def parse_worksheet_sheet_protection: (untyped xml) -> untyped
|
|
311
|
+
|
|
312
|
+
def parse_worksheet_protected_ranges: (untyped xml) -> untyped
|
|
313
|
+
|
|
314
|
+
def parse_worksheet_cell_watches: (untyped xml) -> untyped
|
|
315
|
+
|
|
316
|
+
def parse_worksheet_ignored_errors: (untyped xml) -> untyped
|
|
317
|
+
|
|
318
|
+
def parse_worksheet_data_consolidate: (untyped xml) -> untyped
|
|
319
|
+
|
|
320
|
+
def parse_worksheet_scenarios: (untyped xml) -> untyped
|
|
321
|
+
|
|
322
|
+
def parse_worksheet_dimension: (untyped xml) -> untyped
|
|
323
|
+
|
|
324
|
+
def parse_worksheet_sheet_format: (untyped xml) -> untyped
|
|
325
|
+
|
|
326
|
+
def parse_worksheet_sheet_view: (untyped xml) -> untyped
|
|
327
|
+
|
|
328
|
+
def parse_worksheet_print_page: (untyped xml) -> untyped
|
|
329
|
+
|
|
330
|
+
def column_index_to_letter: (untyped index) -> untyped
|
|
331
|
+
|
|
332
|
+
def load_drawing_xml: (untyped sheet) -> untyped
|
|
333
|
+
|
|
334
|
+
def load_drawing_rels: (untyped sheet_index) -> untyped
|
|
335
|
+
|
|
336
|
+
def find_sheet_rel_target: (untyped sheet_index, untyped type_suffix) -> untyped
|
|
337
|
+
|
|
338
|
+
def find_sheet_rel_targets: (untyped sheet_index, untyped type_suffix) -> untyped
|
|
339
|
+
|
|
340
|
+
def normalize_xl_path: (untyped target, untyped base_dir) -> untyped
|
|
341
|
+
|
|
342
|
+
def resolve_drawing_relative_path: (untyped target, untyped sheet_index) -> untyped
|
|
343
|
+
|
|
344
|
+
# SAX2 listener for parsing shared string table (xl/sharedStrings.xml).
|
|
345
|
+
class SharedStringsListener
|
|
346
|
+
include REXML::SAX2Listener
|
|
347
|
+
|
|
348
|
+
attr_reader strings: untyped
|
|
349
|
+
|
|
350
|
+
def initialize: () -> untyped
|
|
351
|
+
|
|
352
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
353
|
+
|
|
354
|
+
def characters: (untyped text) -> untyped
|
|
355
|
+
|
|
356
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
357
|
+
|
|
358
|
+
private
|
|
359
|
+
|
|
360
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
361
|
+
end
|
|
362
|
+
|
|
363
|
+
# SAX2 listener for parsing worksheet cells.
|
|
364
|
+
class WorksheetListener
|
|
365
|
+
include REXML::SAX2Listener
|
|
366
|
+
|
|
367
|
+
attr_reader cells: untyped
|
|
368
|
+
|
|
369
|
+
attr_reader row_attributes: untyped
|
|
370
|
+
|
|
371
|
+
attr_reader cell_phonetic: untyped
|
|
372
|
+
|
|
373
|
+
def initialize: (?untyped shared_strings) -> untyped
|
|
374
|
+
|
|
375
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
376
|
+
|
|
377
|
+
def characters: (untyped text) -> untyped
|
|
378
|
+
|
|
379
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
380
|
+
|
|
381
|
+
private
|
|
382
|
+
|
|
383
|
+
def parse_row_attributes: (untyped attributes) -> untyped
|
|
384
|
+
|
|
385
|
+
def store_cell_value: () -> untyped
|
|
386
|
+
|
|
387
|
+
def numeric_value: (untyped raw) -> untyped
|
|
388
|
+
|
|
389
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
390
|
+
end
|
|
391
|
+
|
|
392
|
+
# SAX2 listener for parsing workbook.xml to discover sheet names, rIds, and workbook-level properties.
|
|
393
|
+
class WorkbookListener
|
|
394
|
+
include REXML::SAX2Listener
|
|
395
|
+
|
|
396
|
+
attr_reader sheets: untyped
|
|
397
|
+
|
|
398
|
+
attr_reader workbook_properties: untyped
|
|
399
|
+
|
|
400
|
+
attr_reader workbook_views: untyped
|
|
401
|
+
|
|
402
|
+
attr_reader calc_properties: untyped
|
|
403
|
+
|
|
404
|
+
attr_reader defined_names: untyped
|
|
405
|
+
|
|
406
|
+
attr_reader workbook_protection: untyped
|
|
407
|
+
|
|
408
|
+
attr_reader file_version: untyped
|
|
409
|
+
|
|
410
|
+
attr_reader file_sharing: untyped
|
|
411
|
+
|
|
412
|
+
attr_reader conformance: untyped
|
|
413
|
+
|
|
414
|
+
attr_reader file_recovery_properties: untyped
|
|
415
|
+
|
|
416
|
+
def initialize: () -> untyped
|
|
417
|
+
|
|
418
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
419
|
+
|
|
420
|
+
def characters: (untyped text) -> untyped
|
|
421
|
+
|
|
422
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
423
|
+
|
|
424
|
+
private
|
|
425
|
+
|
|
426
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
427
|
+
end
|
|
428
|
+
|
|
429
|
+
# SAX2 listener for parsing .rels files to map rId to Target.
|
|
430
|
+
class RelsListener
|
|
431
|
+
include REXML::SAX2Listener
|
|
432
|
+
|
|
433
|
+
attr_reader relationships: untyped
|
|
434
|
+
|
|
435
|
+
def initialize: () -> untyped
|
|
436
|
+
|
|
437
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
438
|
+
|
|
439
|
+
private
|
|
440
|
+
|
|
441
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
# SAX2 listener for parsing <cols><col> elements from worksheet XML.
|
|
445
|
+
class ColumnsListener
|
|
446
|
+
include REXML::SAX2Listener
|
|
447
|
+
|
|
448
|
+
# Returns { column_index => width } hash (1-based indices).
|
|
449
|
+
attr_reader raw_columns: untyped
|
|
450
|
+
|
|
451
|
+
# Returns { column_index => width } hash (1-based indices).
|
|
452
|
+
attr_reader raw_column_attrs: untyped
|
|
453
|
+
|
|
454
|
+
def initialize: () -> untyped
|
|
455
|
+
|
|
456
|
+
def columns: () -> untyped
|
|
457
|
+
|
|
458
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
459
|
+
|
|
460
|
+
private
|
|
461
|
+
|
|
462
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
463
|
+
end
|
|
464
|
+
|
|
465
|
+
# SAX2 listener for parsing <mergeCells><mergeCell> elements.
|
|
466
|
+
class MergeCellsListener
|
|
467
|
+
include REXML::SAX2Listener
|
|
468
|
+
|
|
469
|
+
attr_reader ranges: untyped
|
|
470
|
+
|
|
471
|
+
def initialize: () -> untyped
|
|
472
|
+
|
|
473
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
474
|
+
|
|
475
|
+
private
|
|
476
|
+
|
|
477
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
478
|
+
end
|
|
479
|
+
|
|
480
|
+
# SAX2 listener for parsing <hyperlinks><hyperlink> elements.
|
|
481
|
+
class HyperlinksListener
|
|
482
|
+
include REXML::SAX2Listener
|
|
483
|
+
|
|
484
|
+
attr_reader links: untyped
|
|
485
|
+
|
|
486
|
+
def initialize: () -> untyped
|
|
487
|
+
|
|
488
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
489
|
+
|
|
490
|
+
private
|
|
491
|
+
|
|
492
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
493
|
+
end
|
|
494
|
+
|
|
495
|
+
# SAX2 listener for parsing styles.xml (numFmts + cellXfs).
|
|
496
|
+
class StylesListener
|
|
497
|
+
include REXML::SAX2Listener
|
|
498
|
+
|
|
499
|
+
attr_reader num_fmts: untyped
|
|
500
|
+
|
|
501
|
+
attr_reader cell_xfs: untyped
|
|
502
|
+
|
|
503
|
+
attr_reader cell_style_xfs: untyped
|
|
504
|
+
|
|
505
|
+
attr_reader cell_styles: untyped
|
|
506
|
+
|
|
507
|
+
attr_reader fonts: untyped
|
|
508
|
+
|
|
509
|
+
attr_reader fills: untyped
|
|
510
|
+
|
|
511
|
+
attr_reader borders: untyped
|
|
512
|
+
|
|
513
|
+
attr_reader dxfs: untyped
|
|
514
|
+
|
|
515
|
+
attr_reader indexed_colors: untyped
|
|
516
|
+
|
|
517
|
+
attr_reader mru_colors: untyped
|
|
518
|
+
|
|
519
|
+
attr_reader table_styles: untyped
|
|
520
|
+
|
|
521
|
+
def initialize: () -> untyped
|
|
522
|
+
|
|
523
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
524
|
+
|
|
525
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
526
|
+
|
|
527
|
+
private
|
|
528
|
+
|
|
529
|
+
def parse_color: (untyped attributes) -> untyped
|
|
530
|
+
|
|
531
|
+
def parse_fill_color: (untyped key, untyped attributes) -> untyped
|
|
532
|
+
|
|
533
|
+
def parse_font_name: (untyped name, untyped attributes) -> untyped
|
|
534
|
+
|
|
535
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
536
|
+
end
|
|
537
|
+
|
|
538
|
+
# SAX2 listener for parsing <autoFilter> element.
|
|
539
|
+
class AutoFilterListener
|
|
540
|
+
include REXML::SAX2Listener
|
|
541
|
+
|
|
542
|
+
attr_reader ref: untyped
|
|
543
|
+
|
|
544
|
+
attr_reader filter_columns: untyped
|
|
545
|
+
|
|
546
|
+
def initialize: () -> untyped
|
|
547
|
+
|
|
548
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
549
|
+
|
|
550
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
551
|
+
|
|
552
|
+
private
|
|
553
|
+
|
|
554
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
555
|
+
end
|
|
556
|
+
|
|
557
|
+
# SAX2 listener for parsing <sortState> element.
|
|
558
|
+
class SortStateListener
|
|
559
|
+
include REXML::SAX2Listener
|
|
560
|
+
|
|
561
|
+
attr_reader sort_state: untyped
|
|
562
|
+
|
|
563
|
+
def initialize: () -> untyped
|
|
564
|
+
|
|
565
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
566
|
+
|
|
567
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
568
|
+
|
|
569
|
+
private
|
|
570
|
+
|
|
571
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
572
|
+
end
|
|
573
|
+
|
|
574
|
+
# SAX2 listener for parsing docProps/app.xml.
|
|
575
|
+
class AppPropertiesListener
|
|
576
|
+
include REXML::SAX2Listener
|
|
577
|
+
|
|
578
|
+
attr_reader properties: untyped
|
|
579
|
+
|
|
580
|
+
def initialize: () -> untyped
|
|
581
|
+
|
|
582
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped _attributes) -> untyped
|
|
583
|
+
|
|
584
|
+
def characters: (untyped text) -> untyped
|
|
585
|
+
|
|
586
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
587
|
+
|
|
588
|
+
private
|
|
589
|
+
|
|
590
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
# SAX2 listener for parsing docProps/core.xml.
|
|
594
|
+
class CorePropertiesListener
|
|
595
|
+
include REXML::SAX2Listener
|
|
596
|
+
|
|
597
|
+
attr_reader properties: untyped
|
|
598
|
+
|
|
599
|
+
FIELD_MAP: untyped
|
|
600
|
+
|
|
601
|
+
def initialize: () -> untyped
|
|
602
|
+
|
|
603
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped _attributes) -> untyped
|
|
604
|
+
|
|
605
|
+
def characters: (untyped text) -> untyped
|
|
606
|
+
|
|
607
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
608
|
+
|
|
609
|
+
private
|
|
610
|
+
|
|
611
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
612
|
+
end
|
|
613
|
+
|
|
614
|
+
# SAX2 listener for parsing custom properties (docProps/custom.xml).
|
|
615
|
+
class CustomPropertiesListener
|
|
616
|
+
include REXML::SAX2Listener
|
|
617
|
+
|
|
618
|
+
attr_reader properties: untyped
|
|
619
|
+
|
|
620
|
+
def initialize: () -> untyped
|
|
621
|
+
|
|
622
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
623
|
+
|
|
624
|
+
def characters: (untyped text) -> untyped
|
|
625
|
+
|
|
626
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
627
|
+
|
|
628
|
+
private
|
|
629
|
+
|
|
630
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
631
|
+
end
|
|
632
|
+
|
|
633
|
+
# SAX2 listener that captures cell style index (s attribute) from worksheet.
|
|
634
|
+
class CellStyleListener
|
|
635
|
+
include REXML::SAX2Listener
|
|
636
|
+
|
|
637
|
+
attr_reader cell_style_indices: untyped
|
|
638
|
+
|
|
639
|
+
def initialize: () -> untyped
|
|
640
|
+
|
|
641
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
642
|
+
|
|
643
|
+
private
|
|
644
|
+
|
|
645
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
646
|
+
end
|
|
647
|
+
|
|
648
|
+
# SAX2 listener for parsing <sheetPr> element (tabColor, outlinePr).
|
|
649
|
+
class SheetPropertiesListener
|
|
650
|
+
include REXML::SAX2Listener
|
|
651
|
+
|
|
652
|
+
attr_reader properties: untyped
|
|
653
|
+
|
|
654
|
+
def initialize: () -> untyped
|
|
655
|
+
|
|
656
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
657
|
+
|
|
658
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
659
|
+
|
|
660
|
+
private
|
|
661
|
+
|
|
662
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
663
|
+
end
|
|
664
|
+
|
|
665
|
+
# SAX2 listener for parsing <phoneticPr> element.
|
|
666
|
+
class PhoneticPrListener
|
|
667
|
+
include REXML::SAX2Listener
|
|
668
|
+
|
|
669
|
+
attr_reader phonetic_pr: untyped
|
|
670
|
+
|
|
671
|
+
def initialize: () -> untyped
|
|
672
|
+
|
|
673
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
674
|
+
|
|
675
|
+
private
|
|
676
|
+
|
|
677
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
678
|
+
end
|
|
679
|
+
|
|
680
|
+
# SAX2 listener for parsing <sheetProtection> element.
|
|
681
|
+
class SheetProtectionListener
|
|
682
|
+
include REXML::SAX2Listener
|
|
683
|
+
|
|
684
|
+
attr_reader protection: untyped
|
|
685
|
+
|
|
686
|
+
def initialize: () -> untyped
|
|
687
|
+
|
|
688
|
+
BOOL_ATTRS: untyped
|
|
689
|
+
|
|
690
|
+
FALSE_ATTRS: untyped
|
|
691
|
+
|
|
692
|
+
ATTR_MAP: untyped
|
|
693
|
+
|
|
694
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
695
|
+
|
|
696
|
+
private
|
|
697
|
+
|
|
698
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
699
|
+
end
|
|
700
|
+
|
|
701
|
+
# SAX2 listener for parsing <protectedRanges> element.
|
|
702
|
+
class ProtectedRangesListener
|
|
703
|
+
include REXML::SAX2Listener
|
|
704
|
+
|
|
705
|
+
attr_reader ranges: untyped
|
|
706
|
+
|
|
707
|
+
def initialize: () -> untyped
|
|
708
|
+
|
|
709
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
710
|
+
|
|
711
|
+
def characters: (untyped text) -> untyped
|
|
712
|
+
|
|
713
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
714
|
+
|
|
715
|
+
private
|
|
716
|
+
|
|
717
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
718
|
+
end
|
|
719
|
+
|
|
720
|
+
# SAX2 listener for parsing <cellWatches> element.
|
|
721
|
+
class CellWatchesListener
|
|
722
|
+
include REXML::SAX2Listener
|
|
723
|
+
|
|
724
|
+
attr_reader watches: untyped
|
|
725
|
+
|
|
726
|
+
def initialize: () -> untyped
|
|
727
|
+
|
|
728
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
729
|
+
|
|
730
|
+
private
|
|
731
|
+
|
|
732
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
# SAX2 listener for parsing <ignoredErrors> element.
|
|
736
|
+
class IgnoredErrorsListener
|
|
737
|
+
include REXML::SAX2Listener
|
|
738
|
+
|
|
739
|
+
attr_reader errors: untyped
|
|
740
|
+
|
|
741
|
+
def initialize: () -> untyped
|
|
742
|
+
|
|
743
|
+
IGNORED_ERROR_BOOL_ATTRS: untyped
|
|
744
|
+
|
|
745
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
746
|
+
|
|
747
|
+
private
|
|
748
|
+
|
|
749
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
750
|
+
end
|
|
751
|
+
|
|
752
|
+
# SAX2 listener for parsing <dataConsolidate> element.
|
|
753
|
+
class DataConsolidateListener
|
|
754
|
+
include REXML::SAX2Listener
|
|
755
|
+
|
|
756
|
+
attr_reader result: untyped
|
|
757
|
+
|
|
758
|
+
def initialize: () -> untyped
|
|
759
|
+
|
|
760
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
761
|
+
|
|
762
|
+
private
|
|
763
|
+
|
|
764
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
765
|
+
end
|
|
766
|
+
|
|
767
|
+
# SAX2 listener for parsing <scenarios> element.
|
|
768
|
+
class ScenariosListener
|
|
769
|
+
include REXML::SAX2Listener
|
|
770
|
+
|
|
771
|
+
attr_reader result: untyped
|
|
772
|
+
|
|
773
|
+
def initialize: () -> untyped
|
|
774
|
+
|
|
775
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
776
|
+
|
|
777
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
778
|
+
|
|
779
|
+
private
|
|
780
|
+
|
|
781
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
782
|
+
end
|
|
783
|
+
|
|
784
|
+
# SAX2 listener for parsing <dimension> element.
|
|
785
|
+
class DimensionListener
|
|
786
|
+
include REXML::SAX2Listener
|
|
787
|
+
|
|
788
|
+
attr_reader ref: untyped
|
|
789
|
+
|
|
790
|
+
def initialize: () -> untyped
|
|
791
|
+
|
|
792
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
793
|
+
|
|
794
|
+
private
|
|
795
|
+
|
|
796
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
797
|
+
end
|
|
798
|
+
|
|
799
|
+
# SAX2 listener for parsing <sheetFormatPr> element.
|
|
800
|
+
class SheetFormatListener
|
|
801
|
+
include REXML::SAX2Listener
|
|
802
|
+
|
|
803
|
+
attr_reader properties: untyped
|
|
804
|
+
|
|
805
|
+
def initialize: () -> untyped
|
|
806
|
+
|
|
807
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
808
|
+
|
|
809
|
+
private
|
|
810
|
+
|
|
811
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
812
|
+
end
|
|
813
|
+
|
|
814
|
+
# SAX2 listener for parsing <sheetViews><sheetView>, <pane>, and <selection>.
|
|
815
|
+
class SheetViewListener
|
|
816
|
+
include REXML::SAX2Listener
|
|
817
|
+
|
|
818
|
+
attr_reader view: untyped
|
|
819
|
+
|
|
820
|
+
attr_reader pane: untyped
|
|
821
|
+
|
|
822
|
+
attr_reader selection: untyped
|
|
823
|
+
|
|
824
|
+
def initialize: () -> untyped
|
|
825
|
+
|
|
826
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
827
|
+
|
|
828
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
829
|
+
|
|
830
|
+
private
|
|
831
|
+
|
|
832
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
833
|
+
end
|
|
834
|
+
|
|
835
|
+
# SAX2 listener for parsing <dataValidations> elements.
|
|
836
|
+
class DataValidationsListener
|
|
837
|
+
include REXML::SAX2Listener
|
|
838
|
+
|
|
839
|
+
attr_reader validations: untyped
|
|
840
|
+
|
|
841
|
+
attr_reader container_options: untyped
|
|
842
|
+
|
|
843
|
+
def initialize: () -> untyped
|
|
844
|
+
|
|
845
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
846
|
+
|
|
847
|
+
def characters: (untyped text) -> untyped
|
|
848
|
+
|
|
849
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
850
|
+
|
|
851
|
+
private
|
|
852
|
+
|
|
853
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
854
|
+
|
|
855
|
+
def xml_unescape: (untyped str) -> untyped
|
|
856
|
+
end
|
|
857
|
+
|
|
858
|
+
# SAX2 listener for parsing conditionalFormatting elements.
|
|
859
|
+
class ConditionalFormattingListener
|
|
860
|
+
include REXML::SAX2Listener
|
|
861
|
+
|
|
862
|
+
attr_reader rules: untyped
|
|
863
|
+
|
|
864
|
+
def initialize: () -> untyped
|
|
865
|
+
|
|
866
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
867
|
+
|
|
868
|
+
def characters: (untyped text) -> untyped
|
|
869
|
+
|
|
870
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
871
|
+
|
|
872
|
+
private
|
|
873
|
+
|
|
874
|
+
def append_cfvo: (untyped cfvo) -> untyped
|
|
875
|
+
|
|
876
|
+
def append_cf_color: (untyped color) -> untyped
|
|
877
|
+
|
|
878
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
879
|
+
end
|
|
880
|
+
|
|
881
|
+
# SAX2 listener for parsing print/page elements from worksheet XML.
|
|
882
|
+
class PrintPageListener
|
|
883
|
+
include REXML::SAX2Listener
|
|
884
|
+
|
|
885
|
+
attr_reader print_options: untyped
|
|
886
|
+
|
|
887
|
+
attr_reader page_margins: untyped
|
|
888
|
+
|
|
889
|
+
attr_reader page_setup: untyped
|
|
890
|
+
|
|
891
|
+
attr_reader header_footer: untyped
|
|
892
|
+
|
|
893
|
+
attr_reader row_breaks: untyped
|
|
894
|
+
|
|
895
|
+
attr_reader col_breaks: untyped
|
|
896
|
+
|
|
897
|
+
def initialize: () -> untyped
|
|
898
|
+
|
|
899
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
900
|
+
|
|
901
|
+
def characters: (untyped text) -> untyped
|
|
902
|
+
|
|
903
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
904
|
+
|
|
905
|
+
private
|
|
906
|
+
|
|
907
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
908
|
+
end
|
|
909
|
+
|
|
910
|
+
# SAX2 listener for parsing table XML.
|
|
911
|
+
class TableListener
|
|
912
|
+
include REXML::SAX2Listener
|
|
913
|
+
|
|
914
|
+
attr_reader table: untyped
|
|
915
|
+
|
|
916
|
+
def initialize: () -> untyped
|
|
917
|
+
|
|
918
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
919
|
+
|
|
920
|
+
def characters: (untyped text) -> untyped
|
|
921
|
+
|
|
922
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
923
|
+
|
|
924
|
+
private
|
|
925
|
+
|
|
926
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
927
|
+
end
|
|
928
|
+
|
|
929
|
+
# SAX2 listener for parsing calcChain.xml.
|
|
930
|
+
class CalcChainListener
|
|
931
|
+
include REXML::SAX2Listener
|
|
932
|
+
|
|
933
|
+
attr_reader entries: untyped
|
|
934
|
+
|
|
935
|
+
def initialize: () -> untyped
|
|
936
|
+
|
|
937
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
938
|
+
|
|
939
|
+
private
|
|
940
|
+
|
|
941
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
942
|
+
end
|
|
943
|
+
|
|
944
|
+
# SAX2 listener for parsing drawing XML to extract image information.
|
|
945
|
+
class DrawingImagesListener
|
|
946
|
+
include REXML::SAX2Listener
|
|
947
|
+
|
|
948
|
+
attr_reader images: untyped
|
|
949
|
+
|
|
950
|
+
def initialize: () -> untyped
|
|
951
|
+
|
|
952
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
953
|
+
|
|
954
|
+
def characters: (untyped text) -> untyped
|
|
955
|
+
|
|
956
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
957
|
+
|
|
958
|
+
private
|
|
959
|
+
|
|
960
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
961
|
+
end
|
|
962
|
+
|
|
963
|
+
# SAX2 listener for parsing drawing XML to extract chart references.
|
|
964
|
+
class DrawingChartsListener
|
|
965
|
+
include REXML::SAX2Listener
|
|
966
|
+
|
|
967
|
+
attr_reader charts: untyped
|
|
968
|
+
|
|
969
|
+
def initialize: () -> untyped
|
|
970
|
+
|
|
971
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
972
|
+
|
|
973
|
+
def characters: (untyped text) -> untyped
|
|
974
|
+
|
|
975
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
976
|
+
|
|
977
|
+
private
|
|
978
|
+
|
|
979
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
980
|
+
end
|
|
981
|
+
|
|
982
|
+
# SAX2 listener for parsing drawing XML to extract shape elements.
|
|
983
|
+
class DrawingShapesListener
|
|
984
|
+
include REXML::SAX2Listener
|
|
985
|
+
|
|
986
|
+
attr_reader shapes: untyped
|
|
987
|
+
|
|
988
|
+
def initialize: () -> untyped
|
|
989
|
+
|
|
990
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
991
|
+
|
|
992
|
+
def characters: (untyped text) -> untyped
|
|
993
|
+
|
|
994
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
995
|
+
|
|
996
|
+
private
|
|
997
|
+
|
|
998
|
+
def assign_shape_color: (untyped color_value) -> untyped
|
|
999
|
+
|
|
1000
|
+
def finalize_paragraph_runs: (untyped para) -> untyped
|
|
1001
|
+
|
|
1002
|
+
def merge_paragraph_to_shape: (untyped para, untyped shape) -> untyped
|
|
1003
|
+
|
|
1004
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
1005
|
+
end
|
|
1006
|
+
|
|
1007
|
+
# SAX2 listener for parsing chart XML to identify chart type and title.
|
|
1008
|
+
class ChartTypeListener
|
|
1009
|
+
include REXML::SAX2Listener
|
|
1010
|
+
|
|
1011
|
+
attr_reader chart_type: untyped
|
|
1012
|
+
|
|
1013
|
+
attr_reader title: untyped
|
|
1014
|
+
|
|
1015
|
+
attr_reader title_overlay: untyped
|
|
1016
|
+
|
|
1017
|
+
attr_reader title_font: untyped
|
|
1018
|
+
|
|
1019
|
+
attr_reader title_fill_color: untyped
|
|
1020
|
+
|
|
1021
|
+
attr_reader title_no_fill: untyped
|
|
1022
|
+
|
|
1023
|
+
attr_reader title_line_color: untyped
|
|
1024
|
+
|
|
1025
|
+
attr_reader title_line_width: untyped
|
|
1026
|
+
|
|
1027
|
+
attr_reader title_line_dash: untyped
|
|
1028
|
+
|
|
1029
|
+
attr_reader series: untyped
|
|
1030
|
+
|
|
1031
|
+
attr_reader legend: untyped
|
|
1032
|
+
|
|
1033
|
+
attr_reader data_labels: untyped
|
|
1034
|
+
|
|
1035
|
+
attr_reader cat_axis_title: untyped
|
|
1036
|
+
|
|
1037
|
+
attr_reader val_axis_title: untyped
|
|
1038
|
+
|
|
1039
|
+
attr_reader grouping: untyped
|
|
1040
|
+
|
|
1041
|
+
attr_reader bar_dir: untyped
|
|
1042
|
+
|
|
1043
|
+
attr_reader vary_colors: untyped
|
|
1044
|
+
|
|
1045
|
+
attr_reader plot_vis_only: untyped
|
|
1046
|
+
|
|
1047
|
+
attr_reader disp_blanks_as: untyped
|
|
1048
|
+
|
|
1049
|
+
attr_reader style: untyped
|
|
1050
|
+
|
|
1051
|
+
attr_reader auto_title_deleted: untyped
|
|
1052
|
+
|
|
1053
|
+
attr_reader rounded_corners: untyped
|
|
1054
|
+
|
|
1055
|
+
attr_reader cat_axis_tick_lbl_pos: untyped
|
|
1056
|
+
|
|
1057
|
+
attr_reader val_axis_tick_lbl_pos: untyped
|
|
1058
|
+
|
|
1059
|
+
attr_reader cat_axis_major_gridlines: untyped
|
|
1060
|
+
|
|
1061
|
+
attr_reader val_axis_major_gridlines: untyped
|
|
1062
|
+
|
|
1063
|
+
attr_reader cat_axis_minor_gridlines: untyped
|
|
1064
|
+
|
|
1065
|
+
attr_reader val_axis_minor_gridlines: untyped
|
|
1066
|
+
|
|
1067
|
+
attr_reader show_d_lbls_over_max: untyped
|
|
1068
|
+
|
|
1069
|
+
attr_reader cat_axis_delete: untyped
|
|
1070
|
+
|
|
1071
|
+
attr_reader val_axis_delete: untyped
|
|
1072
|
+
|
|
1073
|
+
attr_reader cat_axis_orientation: untyped
|
|
1074
|
+
|
|
1075
|
+
attr_reader val_axis_orientation: untyped
|
|
1076
|
+
|
|
1077
|
+
attr_reader gap_width: untyped
|
|
1078
|
+
|
|
1079
|
+
attr_reader overlap: untyped
|
|
1080
|
+
|
|
1081
|
+
attr_reader view_3d: untyped
|
|
1082
|
+
|
|
1083
|
+
attr_reader gap_depth: untyped
|
|
1084
|
+
|
|
1085
|
+
attr_reader bar_shape: untyped
|
|
1086
|
+
|
|
1087
|
+
attr_reader bubble_3d: untyped
|
|
1088
|
+
|
|
1089
|
+
attr_reader bubble_scale: untyped
|
|
1090
|
+
|
|
1091
|
+
attr_reader show_neg_bubbles: untyped
|
|
1092
|
+
|
|
1093
|
+
attr_reader size_represents: untyped
|
|
1094
|
+
|
|
1095
|
+
attr_reader cat_axis_num_fmt: untyped
|
|
1096
|
+
|
|
1097
|
+
attr_reader val_axis_num_fmt: untyped
|
|
1098
|
+
|
|
1099
|
+
attr_reader cat_axis_major_tick_mark: untyped
|
|
1100
|
+
|
|
1101
|
+
attr_reader cat_axis_minor_tick_mark: untyped
|
|
1102
|
+
|
|
1103
|
+
attr_reader val_axis_major_tick_mark: untyped
|
|
1104
|
+
|
|
1105
|
+
attr_reader val_axis_minor_tick_mark: untyped
|
|
1106
|
+
|
|
1107
|
+
attr_reader cat_axis_crosses: untyped
|
|
1108
|
+
|
|
1109
|
+
attr_reader val_axis_crosses: untyped
|
|
1110
|
+
|
|
1111
|
+
attr_reader cat_axis_crosses_at: untyped
|
|
1112
|
+
|
|
1113
|
+
attr_reader val_axis_crosses_at: untyped
|
|
1114
|
+
|
|
1115
|
+
attr_reader cat_axis_tick_lbl_skip: untyped
|
|
1116
|
+
|
|
1117
|
+
attr_reader cat_axis_tick_mark_skip: untyped
|
|
1118
|
+
|
|
1119
|
+
attr_reader cat_axis_lbl_offset: untyped
|
|
1120
|
+
|
|
1121
|
+
attr_reader cat_axis_auto: untyped
|
|
1122
|
+
|
|
1123
|
+
attr_reader cat_axis_lbl_algn: untyped
|
|
1124
|
+
|
|
1125
|
+
attr_reader cat_axis_no_multi_lvl_lbl: untyped
|
|
1126
|
+
|
|
1127
|
+
attr_reader val_axis_cross_between: untyped
|
|
1128
|
+
|
|
1129
|
+
attr_reader val_axis_major_unit: untyped
|
|
1130
|
+
|
|
1131
|
+
attr_reader val_axis_minor_unit: untyped
|
|
1132
|
+
|
|
1133
|
+
attr_reader val_axis_disp_units: untyped
|
|
1134
|
+
|
|
1135
|
+
attr_reader cat_axis_scaling_max: untyped
|
|
1136
|
+
|
|
1137
|
+
attr_reader cat_axis_scaling_min: untyped
|
|
1138
|
+
|
|
1139
|
+
attr_reader val_axis_scaling_max: untyped
|
|
1140
|
+
|
|
1141
|
+
attr_reader val_axis_scaling_min: untyped
|
|
1142
|
+
|
|
1143
|
+
attr_reader cat_axis_log_base: untyped
|
|
1144
|
+
|
|
1145
|
+
attr_reader val_axis_log_base: untyped
|
|
1146
|
+
|
|
1147
|
+
attr_reader first_slice_ang: untyped
|
|
1148
|
+
|
|
1149
|
+
attr_reader hole_size: untyped
|
|
1150
|
+
|
|
1151
|
+
attr_reader smooth: untyped
|
|
1152
|
+
|
|
1153
|
+
attr_reader marker: untyped
|
|
1154
|
+
|
|
1155
|
+
attr_reader drop_lines: untyped
|
|
1156
|
+
|
|
1157
|
+
attr_reader hi_low_lines: untyped
|
|
1158
|
+
|
|
1159
|
+
attr_reader ser_lines: untyped
|
|
1160
|
+
|
|
1161
|
+
attr_reader up_down_bars: untyped
|
|
1162
|
+
|
|
1163
|
+
attr_reader scatter_style: untyped
|
|
1164
|
+
|
|
1165
|
+
attr_reader radar_style: untyped
|
|
1166
|
+
|
|
1167
|
+
attr_reader cat_axis_pos: untyped
|
|
1168
|
+
|
|
1169
|
+
attr_reader val_axis_pos: untyped
|
|
1170
|
+
|
|
1171
|
+
attr_reader wireframe: untyped
|
|
1172
|
+
|
|
1173
|
+
attr_reader band_fmts: untyped
|
|
1174
|
+
|
|
1175
|
+
attr_reader of_pie_type: untyped
|
|
1176
|
+
|
|
1177
|
+
attr_reader split_type: untyped
|
|
1178
|
+
|
|
1179
|
+
attr_reader split_pos: untyped
|
|
1180
|
+
|
|
1181
|
+
attr_reader cust_split: untyped
|
|
1182
|
+
|
|
1183
|
+
attr_reader second_pie_size: untyped
|
|
1184
|
+
|
|
1185
|
+
attr_reader data_table: untyped
|
|
1186
|
+
|
|
1187
|
+
attr_reader plot_area_fill: untyped
|
|
1188
|
+
|
|
1189
|
+
attr_reader plot_area_no_fill: untyped
|
|
1190
|
+
|
|
1191
|
+
attr_reader plot_area_line_color: untyped
|
|
1192
|
+
|
|
1193
|
+
attr_reader plot_area_line_width: untyped
|
|
1194
|
+
|
|
1195
|
+
attr_reader plot_area_line_dash: untyped
|
|
1196
|
+
|
|
1197
|
+
attr_reader plot_area_layout: untyped
|
|
1198
|
+
|
|
1199
|
+
attr_reader cat_axis_label_rotation: untyped
|
|
1200
|
+
|
|
1201
|
+
attr_reader val_axis_label_rotation: untyped
|
|
1202
|
+
|
|
1203
|
+
attr_reader cat_axis_font: untyped
|
|
1204
|
+
|
|
1205
|
+
attr_reader val_axis_font: untyped
|
|
1206
|
+
|
|
1207
|
+
attr_reader cat_axis_fill: untyped
|
|
1208
|
+
|
|
1209
|
+
attr_reader cat_axis_no_fill: untyped
|
|
1210
|
+
|
|
1211
|
+
attr_reader val_axis_fill: untyped
|
|
1212
|
+
|
|
1213
|
+
attr_reader val_axis_no_fill: untyped
|
|
1214
|
+
|
|
1215
|
+
attr_reader cat_axis_line_color: untyped
|
|
1216
|
+
|
|
1217
|
+
attr_reader cat_axis_line_width: untyped
|
|
1218
|
+
|
|
1219
|
+
attr_reader cat_axis_line_dash: untyped
|
|
1220
|
+
|
|
1221
|
+
attr_reader val_axis_line_color: untyped
|
|
1222
|
+
|
|
1223
|
+
attr_reader val_axis_line_width: untyped
|
|
1224
|
+
|
|
1225
|
+
attr_reader val_axis_line_dash: untyped
|
|
1226
|
+
|
|
1227
|
+
attr_reader floor: untyped
|
|
1228
|
+
|
|
1229
|
+
attr_reader side_wall: untyped
|
|
1230
|
+
|
|
1231
|
+
attr_reader back_wall: untyped
|
|
1232
|
+
|
|
1233
|
+
attr_reader legend_font: untyped
|
|
1234
|
+
|
|
1235
|
+
attr_reader cat_axis_type: untyped
|
|
1236
|
+
|
|
1237
|
+
attr_reader cat_axis_base_time_unit: untyped
|
|
1238
|
+
|
|
1239
|
+
attr_reader cat_axis_major_time_unit: untyped
|
|
1240
|
+
|
|
1241
|
+
attr_reader cat_axis_minor_time_unit: untyped
|
|
1242
|
+
|
|
1243
|
+
attr_reader cat_axis_major_unit: untyped
|
|
1244
|
+
|
|
1245
|
+
attr_reader cat_axis_minor_unit: untyped
|
|
1246
|
+
|
|
1247
|
+
attr_reader cat_axis_title_font: untyped
|
|
1248
|
+
|
|
1249
|
+
attr_reader val_axis_title_font: untyped
|
|
1250
|
+
|
|
1251
|
+
attr_reader cat_axis_title_fill: untyped
|
|
1252
|
+
|
|
1253
|
+
attr_reader cat_axis_title_no_fill: untyped
|
|
1254
|
+
|
|
1255
|
+
attr_reader cat_axis_title_line_color: untyped
|
|
1256
|
+
|
|
1257
|
+
attr_reader cat_axis_title_line_width: untyped
|
|
1258
|
+
|
|
1259
|
+
attr_reader cat_axis_title_line_dash: untyped
|
|
1260
|
+
|
|
1261
|
+
attr_reader val_axis_title_fill: untyped
|
|
1262
|
+
|
|
1263
|
+
attr_reader val_axis_title_no_fill: untyped
|
|
1264
|
+
|
|
1265
|
+
attr_reader val_axis_title_line_color: untyped
|
|
1266
|
+
|
|
1267
|
+
attr_reader val_axis_title_line_width: untyped
|
|
1268
|
+
|
|
1269
|
+
attr_reader val_axis_title_line_dash: untyped
|
|
1270
|
+
|
|
1271
|
+
attr_reader title_layout: untyped
|
|
1272
|
+
|
|
1273
|
+
attr_reader cat_axis_title_layout: untyped
|
|
1274
|
+
|
|
1275
|
+
attr_reader val_axis_title_layout: untyped
|
|
1276
|
+
|
|
1277
|
+
attr_reader title_rotation: untyped
|
|
1278
|
+
|
|
1279
|
+
attr_reader cat_axis_title_rotation: untyped
|
|
1280
|
+
|
|
1281
|
+
attr_reader val_axis_title_rotation: untyped
|
|
1282
|
+
|
|
1283
|
+
attr_reader chart_fill: untyped
|
|
1284
|
+
|
|
1285
|
+
attr_reader chart_no_fill: untyped
|
|
1286
|
+
|
|
1287
|
+
attr_reader chart_line_color: untyped
|
|
1288
|
+
|
|
1289
|
+
attr_reader chart_line_width: untyped
|
|
1290
|
+
|
|
1291
|
+
attr_reader chart_line_dash: untyped
|
|
1292
|
+
|
|
1293
|
+
attr_reader protection: untyped
|
|
1294
|
+
|
|
1295
|
+
attr_reader print_settings: untyped
|
|
1296
|
+
|
|
1297
|
+
attr_reader chart_font: untyped
|
|
1298
|
+
|
|
1299
|
+
CHART_TYPES: untyped
|
|
1300
|
+
|
|
1301
|
+
def initialize: () -> untyped
|
|
1302
|
+
|
|
1303
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
1304
|
+
|
|
1305
|
+
def characters: (untyped text) -> untyped
|
|
1306
|
+
|
|
1307
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
1308
|
+
|
|
1309
|
+
private
|
|
1310
|
+
|
|
1311
|
+
def assign_title_layout_value: (untyped key, untyped value) -> untyped
|
|
1312
|
+
|
|
1313
|
+
def assign_chart_color: (untyped color_value) -> untyped
|
|
1314
|
+
|
|
1315
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
1316
|
+
end
|
|
1317
|
+
|
|
1318
|
+
# SAX2 listener for parsing comments XML.
|
|
1319
|
+
class CommentsListener
|
|
1320
|
+
include REXML::SAX2Listener
|
|
1321
|
+
|
|
1322
|
+
attr_reader comments: untyped
|
|
1323
|
+
|
|
1324
|
+
def initialize: () -> untyped
|
|
1325
|
+
|
|
1326
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
1327
|
+
|
|
1328
|
+
def characters: (untyped text) -> untyped
|
|
1329
|
+
|
|
1330
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
1331
|
+
|
|
1332
|
+
private
|
|
1333
|
+
|
|
1334
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
1335
|
+
end
|
|
1336
|
+
|
|
1337
|
+
# SAX2 listener for parsing pivotTable XML.
|
|
1338
|
+
class PivotTableListener
|
|
1339
|
+
include REXML::SAX2Listener
|
|
1340
|
+
|
|
1341
|
+
attr_reader pivot_table: untyped
|
|
1342
|
+
|
|
1343
|
+
def initialize: () -> untyped
|
|
1344
|
+
|
|
1345
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
1346
|
+
|
|
1347
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
1348
|
+
|
|
1349
|
+
private
|
|
1350
|
+
|
|
1351
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
1352
|
+
end
|
|
1353
|
+
|
|
1354
|
+
# SAX2 listener for parsing pivotCacheDefinition XML.
|
|
1355
|
+
class PivotCacheDefinitionListener
|
|
1356
|
+
include REXML::SAX2Listener
|
|
1357
|
+
|
|
1358
|
+
attr_reader cache_definition: untyped
|
|
1359
|
+
|
|
1360
|
+
def initialize: () -> untyped
|
|
1361
|
+
|
|
1362
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
1363
|
+
|
|
1364
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
1365
|
+
|
|
1366
|
+
def characters: (untyped _text) -> untyped
|
|
1367
|
+
|
|
1368
|
+
def end_document: () -> untyped
|
|
1369
|
+
|
|
1370
|
+
private
|
|
1371
|
+
|
|
1372
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
1373
|
+
|
|
1374
|
+
def xml_unescape: (untyped str) -> untyped
|
|
1375
|
+
end
|
|
1376
|
+
|
|
1377
|
+
# SAX2 listener for parsing pivotCacheRecords XML.
|
|
1378
|
+
class PivotCacheRecordsListener
|
|
1379
|
+
include REXML::SAX2Listener
|
|
1380
|
+
|
|
1381
|
+
attr_reader records: untyped
|
|
1382
|
+
|
|
1383
|
+
def initialize: () -> untyped
|
|
1384
|
+
|
|
1385
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
1386
|
+
|
|
1387
|
+
def end_element: (untyped _uri, untyped local_name, untyped qname) -> untyped
|
|
1388
|
+
|
|
1389
|
+
private
|
|
1390
|
+
|
|
1391
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
1392
|
+
end
|
|
1393
|
+
|
|
1394
|
+
# SAX2 listener for parsing externalLink XML.
|
|
1395
|
+
class ExternalLinkListener
|
|
1396
|
+
include REXML::SAX2Listener
|
|
1397
|
+
|
|
1398
|
+
attr_reader sheet_names: untyped
|
|
1399
|
+
|
|
1400
|
+
def initialize: () -> untyped
|
|
1401
|
+
|
|
1402
|
+
def start_element: (untyped _uri, untyped local_name, untyped qname, untyped attributes) -> untyped
|
|
1403
|
+
|
|
1404
|
+
def end_element: (untyped _uri, untyped _local_name, untyped _qname) -> untyped
|
|
1405
|
+
|
|
1406
|
+
private
|
|
1407
|
+
|
|
1408
|
+
def element_name: (untyped local_name, untyped qname) -> untyped
|
|
1409
|
+
end
|
|
1410
|
+
end
|
|
1411
|
+
end
|
|
1412
|
+
end
|