xlsxrb 0.1.18 → 0.2.0

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 (75) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +163 -0
  3. data/README.md +34 -11
  4. data/lib/ruby_lsp/xlsxrb/completion_listener.rb +410 -80
  5. data/lib/xlsxrb/chart_builder.rb +251 -386
  6. data/lib/xlsxrb/dsl_helpers.rb +120 -67
  7. data/lib/xlsxrb/elements/cell.rb +37 -157
  8. data/lib/xlsxrb/elements/column.rb +11 -19
  9. data/lib/xlsxrb/elements/coordinate_access.rb +15 -86
  10. data/lib/xlsxrb/elements/image.rb +5 -72
  11. data/lib/xlsxrb/elements/metadata.rb +463 -817
  12. data/lib/xlsxrb/elements/row.rb +27 -145
  13. data/lib/xlsxrb/elements/styles.rb +30 -88
  14. data/lib/xlsxrb/elements/types.rb +6 -99
  15. data/lib/xlsxrb/elements/workbook.rb +19 -126
  16. data/lib/xlsxrb/elements/worksheet.rb +43 -314
  17. data/lib/xlsxrb/ooxml/reader/listeners/core_listeners.rb +4 -1
  18. data/lib/xlsxrb/ooxml/reader/listeners/drawing_listeners.rb +7 -7
  19. data/lib/xlsxrb/ooxml/reader/listeners/feature_listeners.rb +32 -17
  20. data/lib/xlsxrb/ooxml/reader.rb +49 -51
  21. data/lib/xlsxrb/ooxml/styles_parser.rb +26 -2
  22. data/lib/xlsxrb/ooxml/utils.rb +2 -2
  23. data/lib/xlsxrb/ooxml/workbook_parser.rb +0 -1
  24. data/lib/xlsxrb/ooxml/workbook_writer.rb +172 -93
  25. data/lib/xlsxrb/ooxml/worksheet_parser.rb +61 -29
  26. data/lib/xlsxrb/ooxml/worksheet_writer.rb +65 -47
  27. data/lib/xlsxrb/ooxml/writer/drawing_xml.rb +28 -11
  28. data/lib/xlsxrb/ooxml/writer/features_xml.rb +53 -14
  29. data/lib/xlsxrb/ooxml/writer/styles_xml.rb +1 -1
  30. data/lib/xlsxrb/ooxml/writer.rb +105 -41
  31. data/lib/xlsxrb/ooxml/xml_parser.rb +78 -5
  32. data/lib/xlsxrb/ooxml/zip_reader.rb +65 -15
  33. data/lib/xlsxrb/ooxml/zip_writer.rb +119 -30
  34. data/lib/xlsxrb/stream_row.rb +12 -116
  35. data/lib/xlsxrb/stream_sheet.rb +14 -261
  36. data/lib/xlsxrb/stream_writer.rb +623 -1476
  37. data/lib/xlsxrb/style_builder.rb +376 -593
  38. data/lib/xlsxrb/version.rb +1 -1
  39. data/lib/xlsxrb/workbook_builder.rb +192 -226
  40. data/lib/xlsxrb/worksheet_builder.rb +456 -1324
  41. data/lib/xlsxrb.rb +266 -1083
  42. data/sig/generated/xlsxrb/chart_builder.rbs +202 -205
  43. data/sig/generated/xlsxrb/dsl_helpers.rbs +64 -16
  44. data/sig/generated/xlsxrb/elements/cell.rbs +12 -76
  45. data/sig/generated/xlsxrb/elements/column.rbs +0 -7
  46. data/sig/generated/xlsxrb/elements/coordinate_access.rbs +5 -41
  47. data/sig/generated/xlsxrb/elements/image.rbs +3 -29
  48. data/sig/generated/xlsxrb/elements/metadata.rbs +138 -151
  49. data/sig/generated/xlsxrb/elements/row.rbs +10 -53
  50. data/sig/generated/xlsxrb/elements/styles.rbs +1 -39
  51. data/sig/generated/xlsxrb/elements/workbook.rbs +14 -78
  52. data/sig/generated/xlsxrb/elements/worksheet.rbs +5 -121
  53. data/sig/generated/xlsxrb/ooxml/reader/listeners/feature_listeners.rbs +0 -4
  54. data/sig/generated/xlsxrb/ooxml/reader.rbs +0 -3
  55. data/sig/generated/xlsxrb/ooxml/styles_parser.rbs +1 -1
  56. data/sig/generated/xlsxrb/ooxml/utils.rbs +3 -3
  57. data/sig/generated/xlsxrb/ooxml/workbook_writer.rbs +12 -0
  58. data/sig/generated/xlsxrb/ooxml/worksheet_parser.rbs +16 -0
  59. data/sig/generated/xlsxrb/ooxml/worksheet_writer.rbs +5 -3
  60. data/sig/generated/xlsxrb/ooxml/writer/features_xml.rbs +7 -0
  61. data/sig/generated/xlsxrb/ooxml/writer.rbs +20 -14
  62. data/sig/generated/xlsxrb/ooxml/xml_parser.rbs +70 -0
  63. data/sig/generated/xlsxrb/ooxml/zip_reader.rbs +22 -7
  64. data/sig/generated/xlsxrb/ooxml/zip_writer.rbs +26 -1
  65. data/sig/generated/xlsxrb/stream_row.rbs +7 -42
  66. data/sig/generated/xlsxrb/stream_sheet.rbs +1 -158
  67. data/sig/generated/xlsxrb/stream_writer.rbs +457 -976
  68. data/sig/generated/xlsxrb/style_builder.rbs +206 -242
  69. data/sig/generated/xlsxrb/workbook_builder.rbs +84 -132
  70. data/sig/generated/xlsxrb/worksheet_builder.rbs +309 -685
  71. data/sig/generated/xlsxrb.rbs +43 -190
  72. data/sig/rexml.rbs +8 -0
  73. metadata +3 -5
  74. data/lib/xlsxrb/utils.rb +0 -251
  75. data/sig/generated/xlsxrb/utils.rbs +0 -200
@@ -5,14 +5,11 @@ module Xlsxrb
5
5
  #
6
6
  # @api public
7
7
  class WorksheetBuilder
8
- OMITTED: untyped
9
-
10
8
  # @param name [String] The worksheet name.
11
9
  # @param strict_excel_mode [Boolean] Whether to enforce Microsoft Excel limits.
12
10
  # @param state [Symbol] Sheet visibility state (:visible, :hidden, or :very_hidden).
13
- # @param escape_formulas [Boolean] Whether to treat strings starting with formula prefixes as plain text.
14
- # : (String name, ?strict_excel_mode: bool, ?state: Symbol, ?escape_formulas: bool) -> void
15
- def initialize: (String name, ?strict_excel_mode: bool, ?state: Symbol, ?escape_formulas: bool) -> void
11
+ # : (String name, ?strict_excel_mode: bool, ?state: Symbol) -> void
12
+ def initialize: (String name, ?strict_excel_mode: bool, ?state: Symbol) -> void
16
13
 
17
14
  # : String
18
15
  attr_reader name: untyped
@@ -20,17 +17,6 @@ module Xlsxrb
20
17
  # : Array[Hash[Symbol, untyped]]
21
18
  attr_reader defined_names: untyped
22
19
 
23
- # @return [Boolean] Whether to treat strings starting with formula prefixes as plain text.
24
- # : bool
25
- attr_accessor escape_formulas: untyped
26
-
27
- # Returns whether formula escaping is enabled.
28
- #
29
- # @return [Boolean]
30
- # @api public
31
- # : () -> bool
32
- def escape_formulas?: () -> bool
33
-
34
20
  # Defines or configures a named cell style.
35
21
  #
36
22
  # @example Define a bold header style
@@ -86,16 +72,11 @@ module Xlsxrb
86
72
  # @param custom_height [Boolean] Whether custom row height is enforced.
87
73
  # @param outline_level [Integer, nil] Grouping/outline hierarchy level.
88
74
  # @param collapsed [Boolean] Whether the row is collapsed.
89
- # @param styles [String, Symbol, Array<String | Symbol>, Hash, nil] Deprecated. Use cell_styles: instead.
90
- # @param style [Integer, Symbol, String, Hash, nil] Deprecated. Use row_style: instead.
91
75
  # @return [void]
92
76
  # @raise [ArgumentError] If limits are exceeded when strict_excel_mode is enabled.
93
77
  # @api public
94
- # : (Array[untyped] | Hash[untyped, untyped] values, ?cell_styles: untyped, ?row_style: (Integer | Symbol | String | Hash[Symbol, untyped])?, ?styles: untyped, ?style: (Integer | Symbol | String | Hash[Symbol, untyped])?, ?height: Float | Integer | nil, ?hidden: bool, ?custom_height: bool, ?collapsed: bool, ?outline_level: Integer | nil) -> void
95
- def row: (Array[untyped] | Hash[untyped, untyped] values, ?cell_styles: untyped, ?row_style: (Integer | Symbol | String | Hash[Symbol, untyped])?, ?styles: untyped, ?style: (Integer | Symbol | String | Hash[Symbol, untyped])?, ?height: Float | Integer | nil, ?hidden: bool, ?custom_height: bool, ?collapsed: bool, ?outline_level: Integer | nil) -> void
96
-
97
- # @deprecated Use {#row} instead. Will be removed in 0.2.0 (available via xlsxrb-adapters).
98
- alias add_row row
78
+ # : (Array[untyped] | Hash[untyped, untyped] values, ?cell_styles: untyped, ?row_style: (Integer | Symbol | String | Hash[Symbol, untyped])?, ?height: Float | Integer | nil, ?hidden: bool, ?custom_height: bool, ?collapsed: bool, ?outline_level: Integer | nil) -> void
79
+ def row: (Array[untyped] | Hash[untyped, untyped] values, ?cell_styles: untyped, ?row_style: (Integer | Symbol | String | Hash[Symbol, untyped])?, ?height: Float | Integer | nil, ?hidden: bool, ?custom_height: bool, ?collapsed: bool, ?outline_level: Integer | nil) -> void
99
80
 
100
81
  # Appends a row to the worksheet and returns self for chaining.
101
82
  #
@@ -110,9 +91,6 @@ module Xlsxrb
110
91
 
111
92
  # Advances the row cursor by count without writing empty row elements.
112
93
  #
113
- # @example Skip one row
114
- # sheet.skip_row
115
- #
116
94
  # @example Skip multiple rows
117
95
  # sheet.skip_rows(3)
118
96
  #
@@ -122,9 +100,6 @@ module Xlsxrb
122
100
  # : (?Integer count) -> void
123
101
  def skip_rows: (?Integer count) -> void
124
102
 
125
- # @deprecated Use {#skip_rows} instead. Will be removed in 0.2.0.
126
- alias skip_row skip_rows
127
-
128
103
  # Sets column formatting and properties for one or multiple columns.
129
104
  #
130
105
  # @example Set width for column A
@@ -169,15 +144,6 @@ module Xlsxrb
169
144
  # : (Integer | String | Range[Integer | String] | Array[Integer | String] index, ?level: Integer, ?collapsed: bool, ?hidden: bool, ?width: Float | Integer | nil, ?style: untyped) -> void
170
145
  def group_columns: (Integer | String | Range[Integer | String] | Array[Integer | String] index, ?level: Integer, ?collapsed: bool, ?hidden: bool, ?width: Float | Integer | nil, ?style: untyped) -> void
171
146
 
172
- # @deprecated Use {#group_columns} instead. Will be removed in 0.2.0.
173
- alias group_column group_columns
174
-
175
- # @deprecated Use {#group_columns} instead. Will be removed in 0.2.0.
176
- alias group_cols group_columns
177
-
178
- # @deprecated Use {#group_columns} instead. Will be removed in 0.2.0.
179
- alias group_col group_columns
180
-
181
147
  # Groups multiple rows with outline hierarchy, either by range or with a block.
182
148
  #
183
149
  # @example Group rows with a block
@@ -199,10 +165,10 @@ module Xlsxrb
199
165
  # : (?untyped rows, ?level: Integer, ?collapsed: bool, ?hidden: bool) ?{ (self) -> void } -> void
200
166
  def group_rows: (?untyped rows, ?level: Integer, ?collapsed: bool, ?hidden: bool) ?{ (self) -> void } -> void
201
167
 
202
- # @deprecated Use {#group_rows} instead. Will be removed in 0.2.0.
203
- alias group_row group_rows
204
-
205
- # Configures worksheet-level outline and grouping view properties.
168
+ # Configures or queries worksheet-level outline and grouping view properties.
169
+ #
170
+ # When called with no arguments, returns the outline properties Hash.
171
+ # When called with arguments, updates outline properties and returns nil.
206
172
  #
207
173
  # @example Show summary row below detail rows
208
174
  # sheet.outline_properties(summary_below: true, summary_right: true)
@@ -210,16 +176,14 @@ module Xlsxrb
210
176
  # @param summary_below [Boolean, nil] Flag indicating if summary rows appear below detail rows.
211
177
  # @param summary_right [Boolean, nil] Flag indicating if summary columns appear to the right of detail columns.
212
178
  # @param show_outline_symbols [Boolean, nil] Flag indicating whether outline symbols are visible.
213
- # @param show_symbols [Boolean, nil] Deprecated alias for show_outline_symbols.
214
179
  # @param apply_styles [Boolean, nil] Flag indicating whether automatic styles apply to outlines.
215
180
  # @param opts [Hash] Additional options.
216
181
  # @return [Hash<Symbol, untyped>, void]
217
182
  # @api public
218
- # : (?summary_below: bool?, ?summary_right: bool?, ?show_outline_symbols: bool?, ?show_symbols: bool?, ?apply_styles: bool?, **untyped opts) -> (Hash[Symbol, untyped] | void)
219
- def outline_properties: (?summary_below: untyped, ?summary_right: untyped, ?show_outline_symbols: untyped, ?show_symbols: untyped, ?apply_styles: untyped, **untyped opts) -> untyped
220
-
221
- # @deprecated Use {#outline_properties} instead. Will be removed in 0.2.0.
222
- alias outline_pr outline_properties
183
+ # : () -> Hash[Symbol, untyped]
184
+ # : (?summary_below: bool?, ?summary_right: bool?, ?show_outline_symbols: bool?, ?apply_styles: bool?, **untyped opts) -> void
185
+ def outline_properties: () -> Hash[Symbol, untyped]
186
+ | (?summary_below: bool?, ?summary_right: bool?, ?show_outline_symbols: bool?, ?apply_styles: bool?, **untyped opts) -> void
223
187
 
224
188
  # Sets worksheet outline and grouping view properties.
225
189
  #
@@ -229,8 +193,6 @@ module Xlsxrb
229
193
  # : (Hash[Symbol, untyped] opts) -> void
230
194
  def outline_properties=: (Hash[Symbol, untyped] opts) -> void
231
195
 
232
- alias outline_pr= outline_properties=
233
-
234
196
  # Adds a chart to the worksheet.
235
197
  #
236
198
  # @param type [Symbol, String, nil] Optional chart type (e.g. :bar, :line).
@@ -254,13 +216,12 @@ module Xlsxrb
254
216
  # : (String | Integer cell, ?(String | Elements::Hyperlink)? url, ?display: String?, ?tooltip: String?, ?location: String?) -> void
255
217
  def hyperlink: (String | Integer cell, ?(String | Elements::Hyperlink)? url, ?display: String?, ?tooltip: String?, ?location: String?) -> void
256
218
 
257
- # Sets an auto-filter range on the sheet.
219
+ # Returns the auto-filter range for the worksheet, or nil if none.
258
220
  #
259
- # @param range [String, nil] The cell range (e.g. "A1:E100").
260
- # @return [void]
221
+ # @return [String, nil]
261
222
  # @api public
262
- # : (String? range) -> void
263
- def auto_filter: (String? range) -> void
223
+ # : () -> String?
224
+ attr_reader auto_filter: untyped
264
225
 
265
226
  # Sets the auto-filter range for the worksheet.
266
227
  #
@@ -276,26 +237,33 @@ module Xlsxrb
276
237
  # @param filter [Hash] Filter criteria (e.g. values, custom filters).
277
238
  # @return [void]
278
239
  # @api public
279
- # : (Integer | String | Symbol col_id, untyped filter) -> void
280
- def filter_column: (Integer | String | Symbol col_id, untyped filter) -> void
240
+ # : (Integer | String | Symbol col_id, (Hash[untyped, untyped] | Array[untyped]) filter) -> void
241
+ def filter_column: (Integer | String | Symbol col_id, Hash[untyped, untyped] | Array[untyped] filter) -> void
281
242
 
282
- # Configures column sort state for the sheet.
243
+ # Configures or queries column sort state for the sheet.
283
244
  #
284
- # @param ref [String] The sorted range.
285
- # @param sort_conditions [Array<Hash>] List of sort condition definitions.
245
+ # When called with no arguments, returns the {Elements::SortState} value object.
246
+ # When called with arguments, updates sort state and returns nil.
247
+ #
248
+ # @param ref [String, nil] The sorted range.
249
+ # @param sort_conditions [Array<Hash>, nil] List of sort condition definitions.
250
+ # @param case_sensitive [Boolean] Whether sorting is case sensitive.
251
+ # @param sort_method [String, nil] Sort method.
286
252
  # @param opts [Hash] Additional sort state options.
287
- # @return [Elements::SortState, Hash<Symbol, untyped>, nil, void]
253
+ # @return [Elements::SortState, nil, void]
288
254
  # @api public
289
- # : (?String? ref, ?Array[Hash[untyped, untyped]]? sort_conditions, **untyped opts) -> (untyped | void)
290
- def sort_state: (?untyped ref, ?untyped sort_conditions, **untyped opts) -> untyped
255
+ # : () -> Elements::SortState?
256
+ # : (?String? ref, ?Array[Hash[untyped, untyped]]? sort_conditions, ?case_sensitive: bool, ?sort_method: String?, **untyped opts) -> void
257
+ def sort_state: () -> Elements::SortState?
258
+ | (?String? ref, ?Array[Hash[untyped, untyped]]? sort_conditions, ?case_sensitive: bool, ?sort_method: String?, **untyped opts) -> void
291
259
 
292
260
  # Sets column sort state for the sheet.
293
261
  #
294
262
  # @param opts [Elements::SortState, Hash, nil] Sort state options.
295
263
  # @return [void]
296
264
  # @api public
297
- # : (untyped opts) -> void
298
- def sort_state=: (untyped opts) -> void
265
+ # : (Elements::SortState | Hash[Symbol, untyped] | nil opts) -> void
266
+ def sort_state=: (Elements::SortState | Hash[Symbol, untyped] | nil opts) -> void
299
267
 
300
268
  # Adds a data validation rule to a cell, range, or coordinates.
301
269
  #
@@ -307,10 +275,6 @@ module Xlsxrb
307
275
  # : (?String? sqref, **untyped opts) ?{ (DataValidationBuilder) -> void } -> void
308
276
  def data_validation: (?String? sqref, **untyped opts) ?{ (DataValidationBuilder) -> void } -> void
309
277
 
310
- # @deprecated Use {#data_validation} instead.
311
- # : (?String? sqref, **untyped opts) ?{ (DataValidationBuilder) -> void } -> void
312
- def validate_data: (?String? sqref, **untyped opts) ?{ (DataValidationBuilder) -> void } -> void
313
-
314
278
  # Adds a conditional formatting rule to a cell range.
315
279
  # Supports block configuration via {ConditionalFormatBuilder} and coordinate targeting (:columns, :rows).
316
280
  #
@@ -343,29 +307,26 @@ module Xlsxrb
343
307
  # @param source_ref [String] Source data range (e.g. "DataSheet!A1:D100").
344
308
  # @param row_fields [Array<Integer, String>] Field names or indices for row headers.
345
309
  # @param data_fields [Array<Hash>] Data aggregation fields.
346
- # @param col_fields [Array<Integer, String>] Field names or indices for column headers.
347
- # @param dest_ref [String] Top-left destination cell (default "E1").
310
+ # @param column_fields [Array<String, Integer>, nil] Field names or indices for columns.
311
+ # @param ref [String, nil] Target cell for pivot table top-left corner (e.g. "E1").
348
312
  # @param name [String, nil] Pivot table name.
349
313
  # @param field_names [Array<String>, nil] Custom field display names.
350
- # @param items [Array, nil] Item configuration.
351
- # @param column_fields [Array<String, Integer>] Field names or indices for columns.
352
- # @param col_fields [Array<String, Integer>] Deprecated alias for column_fields.
353
- # @param ref [String] Target cell for pivot table top-left corner (e.g. "E1").
354
- # @param dest_ref [String] Deprecated alias for ref.
314
+ # @param items [Hash{Integer => Array}, nil] Items of each field, by 0-based field index.
355
315
  # @return [void]
356
316
  # @api public
357
- # : (String source_ref, row_fields: Array[String | Integer], data_fields: Array[String | Hash[Symbol, untyped]], ?column_fields: Array[String | Integer]?, ?col_fields: Array[String | Integer]?, ?ref: String?, ?dest_ref: String?, ?name: String?, ?field_names: Array[String]?, ?items: Array[untyped]?, **untyped opts) -> void
358
- def pivot_table: (String source_ref, row_fields: Array[String | Integer], data_fields: Array[String | Hash[Symbol, untyped]], ?column_fields: Array[String | Integer]?, ?col_fields: Array[String | Integer]?, ?ref: String?, ?dest_ref: String?, ?name: String?, ?field_names: Array[String]?, ?items: Array[untyped]?, **untyped opts) -> void
317
+ # : (String source_ref, row_fields: Array[String | Integer], data_fields: Array[String | Hash[Symbol, untyped]], ?column_fields: Array[String | Integer]?, ?ref: String?, ?name: String?, ?field_names: Array[String]?, ?items: Hash[Integer, Array[untyped]]?, **untyped opts) -> void
318
+ def pivot_table: (String source_ref, row_fields: Array[String | Integer], data_fields: Array[String | Hash[Symbol, untyped]], ?column_fields: Array[String | Integer]?, ?ref: String?, ?name: String?, ?field_names: Array[String]?, ?items: Hash[Integer, Array[untyped]]?, **untyped opts) -> void
359
319
 
360
320
  # Adds a cell comment / note.
361
321
  #
362
322
  # @param cell [String, Integer] Cell reference (e.g. "B2").
363
323
  # @param text [String] The comment text.
364
324
  # @param author [String] Author name.
325
+ # @param visible [Boolean] Whether the comment is always shown instead of on hover.
365
326
  # @return [void]
366
327
  # @api public
367
- # : (String | Integer cell, String text, ?author: ::String) -> void
368
- def comment: (String | Integer cell, String text, ?author: ::String) -> void
328
+ # : (String | Integer cell, String text, ?author: ::String, ?visible: bool) -> void
329
+ def comment: (String | Integer cell, String text, ?author: ::String, ?visible: bool) -> void
369
330
 
370
331
  # Adds a threaded comment to a cell.
371
332
  #
@@ -383,9 +344,6 @@ module Xlsxrb
383
344
  # : (String | Integer cell, String text, ?author: untyped, ?timestamp: untyped, ?id: String?, ?parent_id: String?, ?done: bool?, ?user_id: String?, ?provider_id: String?) -> void
384
345
  def threaded_comment: (String | Integer cell, String text, ?author: untyped, ?timestamp: untyped, ?id: String?, ?parent_id: String?, ?done: bool?, ?user_id: String?, ?provider_id: String?) -> void
385
346
 
386
- # @deprecated Use {#threaded_comment} instead. Will be removed in 0.2.0.
387
- alias add_threaded_comment threaded_comment
388
-
389
347
  # Adds a sparkline group to the sheet.
390
348
  #
391
349
  # @param sparklines [Array<Hash>] List of { data_ref:, location_ref: } items.
@@ -396,107 +354,91 @@ module Xlsxrb
396
354
  # : (sparklines: Array[String | Hash[Symbol, untyped]], ?type: (String | Symbol)?, **untyped opts) -> void
397
355
  def sparkline_group: (sparklines: Array[String | Hash[Symbol, untyped]], ?type: (String | Symbol)?, **untyped opts) -> void
398
356
 
399
- # Adds a single sparkline to the sheet.
400
- #
401
- # @example Add a line sparkline
402
- # sheet.add_sparkline(location: "F1", range: "A1:E1")
403
- #
404
- # @example Add a column sparkline with high/low markers
405
- # sheet.add_sparkline(location: "F2", range: "A2:E2", type: :column, high: true, low: true)
406
- #
407
- # @example Add a win/loss sparkline
408
- # sheet.add_sparkline(location: "F3", range: "A3:E3", type: :win_loss)
409
- #
410
- # @deprecated Use {#sparkline_group} instead. Will be removed in 0.2.0.
411
- # @param location [String, nil] Target cell for the sparkline (e.g. "F1").
412
- # @param range [String, nil] Data range for the sparkline (e.g. "A1:E1").
413
- # @param type [Symbol, String, nil] Sparkline type (:line, :column, :win_loss / :stacked).
414
- # @param opts [Hash] Additional sparkline options.
415
- # @return [void]
416
- # @api public
417
- # : (?location: String?, ?range: String?, ?type: (String | Symbol)?, **untyped opts) -> void
418
- def add_sparkline: (?location: String?, ?range: String?, ?type: (String | Symbol)?, **untyped opts) -> void
419
-
420
357
  # Merges a range of cells into a single cell.
421
358
  #
422
359
  # @example Merge with string range
423
360
  # sheet.merge("A1:C1")
424
361
  #
425
- # @deprecated Passing coordinate keyword arguments (row:, col_start:, col_end:, row_start:, row_end:) is deprecated and will be removed in 0.2.0. Use a range string (e.g. merge("A1:C1")) instead.
426
- # @param range [String, Hash, nil] Cell range (e.g. "A1:B2") or hash of coordinates.
427
- # @param row [Integer, nil] Single row index.
428
- # @param col_start [Integer, String, nil] Starting column.
429
- # @param col_end [Integer, String, nil] Ending column.
430
- # @param row_start [Integer, nil] Starting row index.
431
- # @param row_end [Integer, nil] Ending row index.
362
+ # @param range [String] Cell range (e.g. "A1:B2").
432
363
  # @return [void]
433
364
  # @api public
434
- # : (?(String | Hash[Symbol, Integer | String])? range, ?row: Integer?, ?col_start: (Integer | String)?, ?col_end: (Integer | String)?, ?row_start: Integer?, ?row_end: Integer?) -> void
435
- def merge: (?(String | Hash[Symbol, Integer | String])? range, ?row: Integer?, ?col_start: (Integer | String)?, ?col_end: (Integer | String)?, ?row_start: Integer?, ?row_end: Integer?) -> void
365
+ # : (String range) -> void
366
+ def merge: (String range) -> void
436
367
 
437
- # Freezes window panes at the specified row and column, or queries freeze pane settings.
368
+ # Configures or queries freeze panes (<pane state="frozen">).
369
+ #
370
+ # When called with no arguments, returns the {Elements::FreezePane} value object or nil.
371
+ # When called with arguments, configures the freeze pane and returns nil.
438
372
  #
439
373
  # @param row [Integer, nil] Number of rows to freeze from top (0-based split position).
440
374
  # @param column [Integer, String, nil] Number of columns to freeze from left (0-based or letter).
441
- # @param col [Integer, String, nil] Deprecated alias for column.
442
- # @return [Elements::FreezePane, Hash<Symbol, untyped>, nil, void]
375
+ # @param top_left_cell [String, nil] Top-left cell reference in bottom-right pane.
376
+ # @param active_pane [String, Symbol, nil] Active pane identifier.
377
+ # @return [Elements::FreezePane, nil, void]
443
378
  # @api public
444
- # : (?row: Integer | nil, ?column: (Integer | String)?, ?col: (Integer | String)?) -> (untyped | void)
445
- def freeze_pane: (?row: untyped, ?column: untyped, ?col: untyped) -> untyped
379
+ # : () -> Elements::FreezePane?
380
+ # : (?row: Integer | nil, ?column: (Integer | String)?, ?top_left_cell: String?, ?active_pane: (String | Symbol)?) -> void
381
+ def freeze_pane: () -> Elements::FreezePane?
382
+ | (?row: Integer | nil, ?column: (Integer | String)?, ?top_left_cell: String?, ?active_pane: (String | Symbol)?) -> void
446
383
 
447
384
  # Sets or clears freeze pane configuration.
448
385
  #
449
386
  # @param opts [Elements::FreezePane, Hash, nil] Freeze pane options.
450
387
  # @return [void]
451
388
  # @api public
452
- # : (untyped opts) -> void
453
- def freeze_pane=: (untyped opts) -> void
389
+ # : (Elements::FreezePane | Hash[Symbol, untyped] | nil opts) -> void
390
+ def freeze_pane=: (Elements::FreezePane | Hash[Symbol, untyped] | nil opts) -> void
454
391
 
455
- # Splits window panes without freezing or queries split pane settings.
392
+ # Splits window panes without freezing or queries split pane settings (<pane>).
393
+ #
394
+ # When called with no arguments, returns the {Elements::SplitPane} value object or nil.
395
+ # When called with arguments, configures the split pane and returns nil.
456
396
  #
457
397
  # @param x_split [Integer, nil] Horizontal split offset in points.
458
398
  # @param y_split [Integer, nil] Vertical split offset in points.
459
399
  # @param top_left_cell [String, nil] Top-left cell reference in bottom-right pane.
460
400
  # @param active_pane [String, Symbol, nil] Active pane identifier.
461
- # @param state [String, Symbol, nil] Split state.
462
- # @return [Elements::SplitPane, Hash<Symbol, untyped>, nil, void]
401
+ # @return [Elements::SplitPane, nil, void]
463
402
  # @api public
464
- # : (?x_split: Integer | nil, ?y_split: Integer | nil, ?top_left_cell: String?, ?active_pane: (String | Symbol)?, ?state: (String | Symbol)?) -> (untyped | void)
465
- def split_pane: (?x_split: untyped, ?y_split: untyped, ?top_left_cell: untyped, ?active_pane: untyped, ?state: untyped) -> untyped
403
+ # : () -> Elements::SplitPane?
404
+ # : (?x_split: Integer | nil, ?y_split: Integer | nil, ?top_left_cell: String?, ?active_pane: (String | Symbol)?) -> void
405
+ def split_pane: () -> Elements::SplitPane?
406
+ | (?x_split: Integer | nil, ?y_split: Integer | nil, ?top_left_cell: String?, ?active_pane: (String | Symbol)?) -> void
466
407
 
467
408
  # Sets or clears split pane configuration.
468
409
  #
469
410
  # @param opts [Elements::SplitPane, Hash, nil] Split pane options.
470
411
  # @return [void]
471
412
  # @api public
472
- # : (untyped opts) -> void
473
- def split_pane=: (untyped opts) -> void
413
+ # : (Elements::SplitPane | Hash[Symbol, untyped] | nil opts) -> void
414
+ def split_pane=: (Elements::SplitPane | Hash[Symbol, untyped] | nil opts) -> void
474
415
 
475
- # Sets or queries the active cell and selection area (<selection>).
416
+ # Configures or queries the active cell and selection area (<selection>).
417
+ #
418
+ # When called with no arguments, returns the selection ({Elements::Selection}, Array, or nil).
419
+ # When called with arguments, updates the selection and returns nil.
476
420
  #
477
421
  # @param active_cell [String, nil] Active cell reference (e.g. "A1") or range (e.g. "A1:D10").
478
422
  # @param sqref [String, nil] Selected range reference (e.g. "A1:D10").
479
423
  # @param pane [String, Symbol, nil] Target pane (:topLeft, :topRight, :bottomLeft, :bottomRight).
480
- # @return [Elements::Selection, Array<Elements::Selection>, Hash<Symbol, untyped>, nil, void]
424
+ # @return [Elements::Selection, Array<Elements::Selection>, nil, void]
481
425
  # @api public
482
- # : (?String? active_cell, ?sqref: String?, ?pane: (String | Symbol)?) -> (untyped | void)
483
- def selection: (?untyped active_cell, ?sqref: untyped, ?pane: untyped) -> untyped
426
+ # : () -> (Elements::Selection | Array[Elements::Selection])?
427
+ # : (?String? active_cell, ?sqref: String?, ?pane: (String | Symbol)?) -> void
428
+ def selection: () -> (Elements::Selection | Array[Elements::Selection])?
429
+ | (?String? active_cell, ?sqref: String?, ?pane: (String | Symbol)?) -> void
484
430
 
485
431
  # Sets or clears the selection configuration.
486
432
  #
487
433
  # @param opts [Elements::Selection, Array<Elements::Selection, Hash>, Hash, nil]
488
434
  # @return [void]
489
435
  # @api public
490
- # : (untyped opts) -> void
491
- def selection=: (untyped opts) -> void
492
-
493
- # @deprecated Use {#selection} instead.
494
- # : (String active_cell, ?sqref: String?, ?pane: (String | Symbol)?) -> void
495
- def select_cell: (String active_cell, ?sqref: String?, ?pane: (String | Symbol)?) -> void
436
+ # : (Elements::Selection | Array[Elements::Selection | Hash[Symbol, untyped]] | Hash[Symbol, untyped] | nil opts) -> void
437
+ def selection=: (Elements::Selection | Array[Elements::Selection | Hash[Symbol, untyped]] | Hash[Symbol, untyped] | nil opts) -> void
496
438
 
497
439
  # Configures or queries page margins in inches for printing (<pageMargins>).
498
440
  #
499
- # When called with no arguments, returns the page margins value object or hash.
441
+ # When called with no arguments, returns the {Elements::PageMargins} value object or nil.
500
442
  # When called with arguments, configures page margins and returns nil.
501
443
  #
502
444
  # @param left [Float, nil] Left margin.
@@ -505,51 +447,44 @@ module Xlsxrb
505
447
  # @param bottom [Float, nil] Bottom margin.
506
448
  # @param header [Float, nil] Header margin.
507
449
  # @param footer [Float, nil] Footer margin.
508
- # @return [Elements::PageMargins, Hash<Symbol, untyped>, nil, void]
450
+ # @return [Elements::PageMargins, nil, void]
509
451
  # @api public
510
- # : (?left: Float?, ?right: Float?, ?top: Float?, ?bottom: Float?, ?header: Float?, ?footer: Float?) -> (untyped | void)
511
- def page_margins: (?left: untyped, ?right: untyped, ?top: untyped, ?bottom: untyped, ?header: untyped, ?footer: untyped) -> untyped
452
+ # : () -> Elements::PageMargins?
453
+ # : (?left: Float?, ?right: Float?, ?top: Float?, ?bottom: Float?, ?header: Float?, ?footer: Float?) -> void
454
+ def page_margins: () -> Elements::PageMargins?
455
+ | (?left: Float?, ?right: Float?, ?top: Float?, ?bottom: Float?, ?header: Float?, ?footer: Float?) -> void
512
456
 
513
457
  # Sets or clears page margins configuration.
514
458
  #
515
459
  # @param opts [Hash, Elements::PageMargins, nil]
516
460
  # @return [void]
517
461
  # @api public
518
- # : (untyped opts) -> void
519
- def page_margins=: (untyped opts) -> void
462
+ # : (Hash[Symbol, untyped] | Elements::PageMargins | nil opts) -> void
463
+ def page_margins=: (Hash[Symbol, untyped] | Elements::PageMargins | nil opts) -> void
520
464
 
521
465
  # Configures or queries page setup configuration (<pageSetup>).
522
466
  #
523
- # When called with no arguments, returns the page setup value object or hash.
467
+ # When called with no arguments, returns the {Elements::PageSetup} value object.
524
468
  # When called with keyword arguments, updates page setup and returns nil.
525
469
  #
526
470
  # @param opts [Hash] Page setup options (e.g. orientation: :landscape, paper_size: 9).
527
- # @return [Elements::PageSetup, Hash<Symbol, untyped>, void]
471
+ # @return [Elements::PageSetup, void]
528
472
  # @api public
529
- # : (**untyped opts) -> (untyped | void)
530
- def page_setup: (**untyped opts) -> untyped
473
+ # : () -> Elements::PageSetup
474
+ # : (**untyped opts) -> void
475
+ def page_setup: () -> Elements::PageSetup
476
+ | (**untyped opts) -> void
531
477
 
532
478
  # Sets page setup configuration.
533
479
  #
534
480
  # @param opts [Hash, Elements::PageSetup]
535
481
  # @return [void]
536
482
  # @api public
537
- # : (untyped opts) -> void
538
- def page_setup=: (untyped opts) -> void
483
+ # : (Hash[Symbol, untyped] | Elements::PageSetup opts) -> void
484
+ def page_setup=: (Hash[Symbol, untyped] | Elements::PageSetup opts) -> void
539
485
 
540
- # Configures whether page setup fits content to page width/height.
541
- # When enabled, optionally sets fit_to_width and/or fit_to_height on page_setup.
486
+ # Returns whether page setup fits content to page width/height.
542
487
  #
543
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#fit_to_page=} or {#page_setup} with :fit_to_width/:fit_to_height instead.
544
- # @param enabled [Boolean, nil] Whether to fit to page.
545
- # @param width [Integer, nil] Pages wide to fit to.
546
- # @param height [Integer, nil] Pages tall to fit to.
547
- # @return [Boolean, void]
548
- # @api public
549
- # : (?bool? enabled, ?width: Integer?, ?height: Integer?) -> (bool | void)
550
- def fit_to_page: (?untyped enabled, ?width: untyped, ?height: untyped) -> untyped
551
-
552
- # @deprecated Use {#fit_to_page} instead. Will be removed in 0.2.0.
553
488
  # @return [Boolean]
554
489
  # @api public
555
490
  # : () -> bool
@@ -565,35 +500,37 @@ module Xlsxrb
565
500
 
566
501
  # Configures or queries headers and footers for printing (<headerFooter>).
567
502
  #
568
- # When called with no arguments, returns the header/footer value object or hash.
503
+ # When called with no arguments, returns the {Elements::HeaderFooter} value object.
569
504
  # When called with keyword arguments, updates headers and footers and returns nil.
570
505
  #
571
506
  # @param opts [Hash] Header and footer options (e.g. odd_header: "&CHeader Text").
572
- # @return [Elements::HeaderFooter, Hash<Symbol, untyped>, void]
507
+ # @return [Elements::HeaderFooter, void]
573
508
  # @api public
574
- # : (**untyped opts) -> (untyped | void)
575
- def header_footer: (**untyped opts) -> untyped
509
+ # : () -> Elements::HeaderFooter
510
+ # : (**untyped opts) -> void
511
+ def header_footer: () -> Elements::HeaderFooter
512
+ | (**untyped opts) -> void
576
513
 
577
514
  # Sets header and footer configuration.
578
515
  #
579
516
  # @param opts [Hash, Elements::HeaderFooter]
580
517
  # @return [void]
581
518
  # @api public
582
- # : (untyped opts) -> void
583
- def header_footer=: (untyped opts) -> void
519
+ # : (Hash[Symbol, untyped] | Elements::HeaderFooter opts) -> void
520
+ def header_footer=: (Hash[Symbol, untyped] | Elements::HeaderFooter opts) -> void
584
521
 
585
522
  # Configures or queries print options (<printOptions>).
586
523
  #
587
524
  # When called with no arguments, returns the {Elements::PrintOptions} value object.
588
- # When called with arguments or keyword options, configures print options and returns nil.
525
+ # When called with keyword options, configures print options and returns nil.
589
526
  #
590
- # @param name [Symbol, String, Hash, Elements::MetadataRecord, nil] Option name or hash/record of options.
591
- # @param value [Object, nil] Option value.
592
527
  # @param opts [Hash] Additional print options.
593
528
  # @return [Elements::PrintOptions, void]
594
529
  # @api public
595
- # : (?Symbol | String | Hash[Symbol, untyped] | Elements::MetadataRecord | nil name, ?untyped value, **untyped opts) -> (Elements::PrintOptions | void)
596
- def print_options: (?untyped name, ?untyped value, **untyped opts) -> untyped
530
+ # : () -> Elements::PrintOptions
531
+ # : (**untyped opts) -> void
532
+ def print_options: () -> Elements::PrintOptions
533
+ | (**untyped opts) -> void
597
534
 
598
535
  # Replaces print options with the given hash or {Elements::PrintOptions} object.
599
536
  #
@@ -609,33 +546,25 @@ module Xlsxrb
609
546
  # @param name [String] Defined name identifier.
610
547
  # @param value [Object, nil] Cell reference, formula, or constant.
611
548
  # @param hidden [Boolean] Whether the defined name is hidden from Excel's UI.
612
- # @param column [Integer, String, nil] Deprecated alias for columns.
613
549
  # @param columns [Integer, String, nil] Column index or letter for coordinate-based reference.
614
- # @param col [Integer, String, nil] Deprecated alias for column.
615
- # @param row [Integer, Range, nil] Deprecated alias for rows.
616
- # @param rows [Integer, Range, nil] Row or row range (1-based) for coordinate-based reference.
550
+ # @param rows [Integer, Range, nil] Row or row range (0-based) for coordinate-based reference.
617
551
  # @param range [String, nil] Cell range reference (e.g. "A1:A10").
618
552
  # @param sheet [String, nil] Reference sheet name (defaults to current sheet).
619
553
  # @param scope [String, Symbol, nil] Scope identifier (:workbook or sheet name).
620
- # @param local [Boolean] Deprecated alias for scope: :current.
621
554
  # @return [void]
622
555
  # @api public
623
- # : (String name, ?untyped value, ?hidden: bool, ?column: untyped, ?columns: untyped, ?col: untyped, ?row: untyped, ?rows: untyped, ?range: untyped, ?sheet: String?, ?scope: (String | Symbol)?, ?local: bool) -> void
624
- def defined_name: (String name, ?untyped value, ?hidden: bool, ?column: untyped, ?columns: untyped, ?col: untyped, ?row: untyped, ?rows: untyped, ?range: untyped, ?sheet: String?, ?scope: (String | Symbol)?, ?local: bool) -> void
556
+ # : (String name, ?untyped value, ?hidden: bool, ?columns: untyped, ?rows: untyped, ?range: untyped, ?sheet: String?, ?scope: (String | Symbol)?) -> void
557
+ def defined_name: (String name, ?untyped value, ?hidden: bool, ?columns: untyped, ?rows: untyped, ?range: untyped, ?sheet: String?, ?scope: (String | Symbol)?) -> void
625
558
 
626
- # Sets or gets the print area for the worksheet.
627
- #
628
- # @example Set print area range
629
- # sheet.print_area("A1:H50")
559
+ # Returns the print area for the worksheet, or nil if none.
630
560
  #
631
561
  # @example Get print area range
632
562
  # sheet.print_area #=> "A1:H50"
633
563
  #
634
- # @param range [String, nil] Cell range (e.g. "A1:H50").
635
- # @return [String, nil, void]
564
+ # @return [String, nil]
636
565
  # @api public
637
- # : (?String? range) -> (String | nil | void)
638
- def print_area: (?untyped range) -> untyped
566
+ # : () -> String?
567
+ attr_reader print_area: untyped
639
568
 
640
569
  # Sets the print area for the worksheet.
641
570
  #
@@ -647,20 +576,23 @@ module Xlsxrb
647
576
 
648
577
  # Sets or gets repeating print titles (rows and/or columns) for pagination.
649
578
  #
579
+ # When called with no arguments, returns the {Elements::PrintTitles} value object or nil.
580
+ # When called with arguments, updates print titles and returns nil.
581
+ #
650
582
  # @example Set repeating header rows
651
583
  # sheet.print_titles(rows: "1:2")
652
584
  #
653
585
  # @example Get repeating print titles
654
- # sheet.print_titles #=> { rows: "1:2", columns: nil, cols: nil }
586
+ # sheet.print_titles #=> #<Xlsxrb::Elements::PrintTitles ...>
655
587
  #
656
- # @param rows [String, nil] Repeating row range (e.g. "1:2").
657
588
  # @param rows [String, Integer, Range, nil] Repeating row range (e.g. "1:2" or 0-based 0..1).
658
589
  # @param columns [String, Integer, Symbol, Range, nil] Repeating column range (e.g. "A:B" or 0..1).
659
- # @param cols [String, Integer, Symbol, Range, nil] Deprecated alias for columns.
660
590
  # @return [Elements::PrintTitles, nil, void]
661
591
  # @api public
662
- # : (?rows: (String | Integer | Range[Integer])?, ?columns: (String | Integer | Symbol | Range[untyped])?, ?cols: (String | Integer | Symbol | Range[untyped])?) -> (Elements::PrintTitles | nil | void)
663
- def print_titles: (?rows: untyped, ?columns: untyped, ?cols: untyped) -> untyped
592
+ # : () -> Elements::PrintTitles?
593
+ # : (?rows: (String | Integer | Range[Integer])?, ?columns: (String | Integer | Symbol | Range[untyped])?) -> void
594
+ def print_titles: () -> Elements::PrintTitles?
595
+ | (?rows: (String | Integer | Range[Integer])?, ?columns: (String | Integer | Symbol | Range[untyped])?) -> void
664
596
 
665
597
  # Sets repeating print titles for the worksheet.
666
598
  #
@@ -702,101 +634,76 @@ module Xlsxrb
702
634
  # : (Integer | String first, ?(Integer | String)? last) -> void
703
635
  def repeat_columns: (Integer | String first, ?(Integer | String)? last) -> void
704
636
 
705
- # Configures or queries sheet-level protection with optional password hashing (<sheetProtection>).
637
+ # Sets or queries sheet-level protection with optional password hashing (<sheetProtection>).
706
638
  #
707
- # When called with no arguments, returns the sheet protection value object or hash.
639
+ # When called with no arguments, returns the {Elements::SheetProtection} value object or nil.
708
640
  # When called with keyword arguments, sets sheet protection and returns nil.
709
641
  #
710
642
  # @param opts [Hash] Protection options (e.g. password: "secret", select_locked_cells: true).
711
- # @return [Elements::SheetProtection, Hash<Symbol, untyped>, nil, void]
643
+ # @return [Elements::SheetProtection, nil, void]
712
644
  # @api public
713
- # : (**untyped opts) -> (untyped | void)
714
- def sheet_protection: (**untyped opts) -> untyped
645
+ # : () -> Elements::SheetProtection?
646
+ # : (**untyped opts) -> void
647
+ def sheet_protection: () -> Elements::SheetProtection?
648
+ | (**untyped opts) -> void
715
649
 
716
650
  # Sets or clears sheet protection configuration.
717
651
  #
718
652
  # @param opts [Elements::SheetProtection, Hash, Boolean, nil]
719
653
  # @return [void]
720
654
  # @api public
721
- # : (untyped opts) -> void
722
- def sheet_protection=: (untyped opts) -> void
723
-
724
- # @deprecated Use {#sheet_protection} instead.
725
- # : (**untyped opts) -> void
726
- def protect_sheet: (**untyped opts) -> void
655
+ # : (Elements::SheetProtection | Hash[Symbol, untyped] | bool | nil opts) -> void
656
+ def sheet_protection=: (Elements::SheetProtection | Hash[Symbol, untyped] | bool | nil opts) -> void
727
657
 
728
658
  # Inserts an embedded image from raw binary data.
729
659
  #
730
660
  # @param file_data [String] Binary image data.
731
661
  # @param ext [String] File extension ("png", "jpeg", etc.).
732
662
  # @param from_column [Integer, nil] Top-left starting column (0-based).
733
- # @param from_col [Integer, nil] Deprecated alias for from_column.
734
663
  # @param from_row [Integer] Top-left starting row (0-based).
735
664
  # @param to_column [Integer, nil] Bottom-right ending column (0-based).
736
- # @param to_col [Integer, nil] Deprecated alias for to_column.
737
665
  # @param to_row [Integer] Bottom-right ending row (0-based).
738
666
  # @param opts [Hash] Additional image anchoring options.
739
667
  # @return [void]
740
668
  # @api public
741
- # : (String file_data, ?ext: ::String, ?from_column: ::Integer?, ?from_col: ::Integer?, ?from_row: ::Integer, ?to_column: ::Integer?, ?to_col: ::Integer?, ?to_row: ::Integer, **untyped opts) -> void
742
- def image: (String file_data, ?ext: ::String, ?from_column: ::Integer?, ?from_col: ::Integer?, ?from_row: ::Integer, ?to_column: ::Integer?, ?to_col: ::Integer?, ?to_row: ::Integer, **untyped opts) -> void
669
+ # : (String file_data, ?ext: ::String, ?from_column: ::Integer?, ?from_row: ::Integer, ?to_column: ::Integer?, ?to_row: ::Integer, **untyped opts) -> void
670
+ def image: (String file_data, ?ext: ::String, ?from_column: ::Integer?, ?from_row: ::Integer, ?to_column: ::Integer?, ?to_row: ::Integer, **untyped opts) -> void
743
671
 
744
- # Configures the worksheet background image (<picture>).
745
- #
746
- # @example Set background image from binary data
747
- # sheet.background_image(png_bytes, ext: "png")
748
- #
749
- # @example Set background image from file path
750
- # sheet.background_image("path/to/background.png")
672
+ # Gets the worksheet background image (<picture>).
751
673
  #
752
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#background_image=} instead.
753
- # @param file_data [String, Hash, Elements::Image, nil] Image binary data, file path, or image options hash.
754
- # @param ext [String, nil] Image extension ("png", "jpeg", "jpg", "gif", etc.).
755
- # @param opts [Hash] Additional image options.
756
- # @return [Hash, nil]
674
+ # @return [Elements::BackgroundImage, nil]
757
675
  # @api public
758
- # : (?untyped file_data, ?ext: ::String?, **untyped opts) -> (Elements::BackgroundImage | Hash[Symbol, untyped] | nil)
759
- def background_image: (?untyped file_data, ?ext: ::String?, **untyped opts) -> (Elements::BackgroundImage | Hash[Symbol, untyped] | nil)
760
-
761
- # @deprecated Use {#background_image} instead. Will be removed in 0.2.0.
762
- alias background_picture background_image
763
-
764
- # @deprecated Use {#background_image} instead. Will be removed in 0.2.0.
765
- alias picture background_image
676
+ # : () -> Elements::BackgroundImage?
677
+ def background_image: () -> Elements::BackgroundImage?
766
678
 
679
+ # Sets the worksheet background image (<picture>).
680
+ #
681
+ # @param val [String, Hash, Elements::Image, nil] Image binary data, file path, or image options hash.
682
+ # @return [untyped]
683
+ # @api public
767
684
  # : (untyped val) -> untyped
768
685
  def background_image=: (untyped val) -> untyped
769
686
 
770
- # @deprecated Use {#background_image=} instead. Will be removed in 0.2.0.
771
- alias background_picture= background_image=
772
-
773
- # @deprecated Use {#background_image=} instead. Will be removed in 0.2.0.
774
- alias picture= background_image=
775
-
776
687
  # Inserts a drawing shape (e.g. rectangle, callout, arrow).
777
688
  #
778
689
  # @param preset [String] Shape preset name (e.g. "rect", "roundRect").
779
690
  # @param text [String, nil] Shape label text.
780
691
  # @param from_column [Integer, nil] Top-left column.
781
- # @param from_col [Integer, nil] Deprecated alias for from_column.
782
692
  # @param from_row [Integer] Top-left row.
783
693
  # @param to_column [Integer, nil] Bottom-right column.
784
- # @param to_col [Integer, nil] Deprecated alias for to_column.
785
694
  # @param to_row [Integer] Bottom-right row.
786
695
  # @param opts [Hash] Additional shape formatting options.
787
696
  # @return [void]
788
697
  # @api public
789
- # : (**untyped opts) -> void
790
- def shape: (**untyped opts) -> void
698
+ # : (?preset: String, ?text: String?, ?from_column: Integer?, ?from_row: Integer, ?to_column: Integer?, ?to_row: Integer, **untyped opts) -> void
699
+ def shape: (?preset: String, ?text: String?, ?from_column: Integer?, ?from_row: Integer, ?to_column: Integer?, ?to_row: Integer, **untyped opts) -> void
791
700
 
792
- # Gets or sets the sheet visibility state (:visible, :hidden, or :very_hidden).
701
+ # Gets the sheet visibility state (:visible, :hidden, or :very_hidden).
793
702
  #
794
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#state=} instead.
795
- # @param new_state [Symbol, nil] The new state.
796
703
  # @return [Symbol]
797
704
  # @api public
798
- # : (?Symbol? new_state) -> Symbol
799
- def state: (?Symbol? new_state) -> Symbol
705
+ # : Symbol
706
+ attr_reader state: untyped
800
707
 
801
708
  # Sets the sheet visibility state (:visible, :hidden, or :very_hidden).
802
709
  #
@@ -806,20 +713,12 @@ module Xlsxrb
806
713
  # : (Symbol | String new_state) -> Symbol
807
714
  def state=: (Symbol | String new_state) -> Symbol
808
715
 
809
- # Gets or sets the worksheet tab color.
716
+ # Gets the worksheet tab color.
810
717
  #
811
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#tab_color=} instead.
812
- # @overload tab_color()
813
- # Returns the current tab color specification.
814
- # @return [String, Hash, nil]
815
- # @overload tab_color(spec, **opts)
816
- # Sets the tab color using an RGB hex string or color options.
817
- # @param spec [String, Hash, Symbol, nil] RGB hex string (e.g. "FF0000"), theme/indexed hash, or nil.
818
- # @param opts [Hash] Color keyword arguments (e.g. theme: 1, tint: 0.5, indexed: 9, auto: true).
819
- # @return [String, Hash, nil]
718
+ # @return [String, Hash, nil]
820
719
  # @api public
821
- # : (?String | Symbol | Hash[Symbol, untyped] | nil spec, **untyped opts) -> (String | Hash[Symbol, untyped] | nil)
822
- def tab_color: (?String | Symbol | Hash[Symbol, untyped] | nil spec, **untyped opts) -> (String | Hash[Symbol, untyped] | nil)
720
+ # : () -> (String | Hash[Symbol, untyped] | nil)
721
+ def tab_color: () -> (String | Hash[Symbol, untyped] | nil)
823
722
 
824
723
  # Sets the tab color of this worksheet.
825
724
  #
@@ -831,25 +730,18 @@ module Xlsxrb
831
730
 
832
731
  # Sets a single sheet property.
833
732
  #
834
- # @param name [Symbol, String] Property name.
835
- # @param value [Object] Property value.
836
- # @return [void]
837
- # @api public
838
- # : (Symbol | String name, untyped value) -> void
839
- def sheet_property: (Symbol | String name, untyped value) -> void
840
-
841
733
  # Configures or queries sheet properties (<sheetPr>).
842
734
  #
843
735
  # When called with no arguments, returns the {Elements::SheetProperties} value object.
844
- # When called with arguments or keyword options, configures properties and returns nil.
736
+ # When called with keyword options, configures properties and returns nil.
845
737
  #
846
- # @param name [Symbol, String, Hash, Elements::MetadataRecord, nil] Property name or hash/record of properties.
847
- # @param value [Object, nil] Property value when name is provided.
848
738
  # @param opts [Hash] Additional sheet properties.
849
739
  # @return [Elements::SheetProperties, void]
850
740
  # @api public
851
- # : (?Symbol | String | Hash[Symbol, untyped] | Elements::MetadataRecord | nil name, ?untyped value, **untyped opts) -> (Elements::SheetProperties | void)
852
- def sheet_properties: (?untyped name, ?untyped value, **untyped opts) -> untyped
741
+ # : () -> Elements::SheetProperties
742
+ # : (**untyped opts) -> void
743
+ def sheet_properties: () -> Elements::SheetProperties
744
+ | (**untyped opts) -> void
853
745
 
854
746
  # Replaces worksheet properties with the given hash or {Elements::SheetProperties} object.
855
747
  #
@@ -862,15 +754,15 @@ module Xlsxrb
862
754
  # Configures or queries sheet view display properties (<sheetView>).
863
755
  #
864
756
  # When called with no arguments, returns the {Elements::SheetView} value object.
865
- # When called with arguments or keyword options, configures view properties and returns nil.
757
+ # When called with keyword options, configures view properties and returns nil.
866
758
  #
867
- # @param name [Symbol, String, Hash, Elements::MetadataRecord, nil] View property name or hash/record of properties.
868
- # @param value [Object, nil] View property value when name is provided.
869
759
  # @param opts [Hash] Additional view properties.
870
760
  # @return [Elements::SheetView, void]
871
761
  # @api public
872
- # : (?Symbol | String | Hash[Symbol, untyped] | Elements::MetadataRecord | nil name, ?untyped value, **untyped opts) -> (Elements::SheetView | void)
873
- def sheet_view: (?untyped name, ?untyped value, **untyped opts) -> untyped
762
+ # : () -> Elements::SheetView
763
+ # : (**untyped opts) -> void
764
+ def sheet_view: () -> Elements::SheetView
765
+ | (**untyped opts) -> void
874
766
 
875
767
  # Replaces sheet view properties with the given hash or {Elements::SheetView} object.
876
768
  #
@@ -883,21 +775,18 @@ module Xlsxrb
883
775
  # Configures or queries sheet format properties (<sheetFormatPr>).
884
776
  #
885
777
  # When called with no arguments, returns the {Elements::SheetFormat} value object.
886
- # When called with arguments or keyword options, configures format properties and returns nil.
778
+ # When called with keyword options, configures format properties and returns nil.
887
779
  #
888
780
  # @example Using keyword arguments
889
781
  # sheet.sheet_format(default_row_height: 24, default_column_width: 15)
890
782
  #
891
- # @example Using property name and value
892
- # sheet.sheet_format(:default_row_height, 24)
893
- #
894
- # @param name [Symbol, String, Hash, Elements::MetadataRecord, nil] Property name or hash/record of properties.
895
- # @param value [Object, nil] Property value when name is provided.
896
783
  # @param opts [Hash] Keyword arguments for sheet format properties.
897
784
  # @return [Elements::SheetFormat, void]
898
785
  # @api public
899
- # : (?Symbol | String | Hash[Symbol, untyped] | Elements::MetadataRecord | nil name, ?untyped value, **untyped opts) -> (Elements::SheetFormat | void)
900
- def sheet_format: (?untyped name, ?untyped value, **untyped opts) -> untyped
786
+ # : () -> Elements::SheetFormat
787
+ # : (**untyped opts) -> void
788
+ def sheet_format: () -> Elements::SheetFormat
789
+ | (**untyped opts) -> void
901
790
 
902
791
  # Replaces sheet format properties with the given hash or {Elements::SheetFormat} object.
903
792
  #
@@ -915,10 +804,6 @@ module Xlsxrb
915
804
  # : (Integer row_index) -> void
916
805
  def row_break: (Integer row_index) -> void
917
806
 
918
- # @deprecated Use {#row_break} instead.
919
- # : (Integer row_num) -> void
920
- def page_break_row: (Integer row_num) -> void
921
-
922
807
  # Inserts a vertical page break after the specified column.
923
808
  #
924
809
  # @param col [Integer, String, Symbol] Column index (0-based) or letter ("B", :B).
@@ -927,10 +812,6 @@ module Xlsxrb
927
812
  # : (Integer | String | Symbol col) -> void
928
813
  def column_break: (Integer | String | Symbol col) -> void
929
814
 
930
- # @deprecated Use {#column_break} instead.
931
- # : (Integer | String | Symbol col_index) -> void
932
- def page_break_col: (Integer | String | Symbol col_index) -> void
933
-
934
815
  # Adds a protected range to the worksheet.
935
816
  #
936
817
  # @param name [String] Name of the protected range.
@@ -942,9 +823,6 @@ module Xlsxrb
942
823
  # : (String name, String sqref, ?password: String?, **untyped opts) -> void
943
824
  def protected_range: (String name, String sqref, ?password: String?, **untyped opts) -> void
944
825
 
945
- # @deprecated Use {#protected_range} instead. Will be removed in 0.2.0.
946
- alias add_protected_range protected_range
947
-
948
826
  # Adds a cell watch to the worksheet.
949
827
  #
950
828
  # @param ref [String] Cell reference (e.g. "A1").
@@ -953,9 +831,6 @@ module Xlsxrb
953
831
  # : (String ref) -> void
954
832
  def cell_watch: (String ref) -> void
955
833
 
956
- # @deprecated Use {#cell_watch} instead. Will be removed in 0.2.0.
957
- alias add_cell_watch cell_watch
958
-
959
834
  # Adds an ignored error entry for the worksheet.
960
835
  #
961
836
  # @param sqref [String] Cell range reference (e.g. "A1" or "A1:B10").
@@ -965,40 +840,19 @@ module Xlsxrb
965
840
  # : (String sqref, ?eval_error: bool, ?two_digit_text_year: bool, ?number_stored_as_text: bool, ?formula: bool, ?formula_range: bool, ?unlocked_formula: bool, ?empty_cell_reference: bool, ?list_data_validation: bool, ?calculated_column: bool) -> void
966
841
  def ignored_error: (String sqref, ?eval_error: bool, ?two_digit_text_year: bool, ?number_stored_as_text: bool, ?formula: bool, ?formula_range: bool, ?unlocked_formula: bool, ?empty_cell_reference: bool, ?list_data_validation: bool, ?calculated_column: bool) -> void
967
842
 
968
- # @deprecated Use {#ignored_error} instead. Will be removed in 0.2.0.
969
- # : (String sqref, ?eval_error: bool, ?two_digit_text_year: bool, ?number_stored_as_text: bool, ?formula: bool, ?formula_range: bool, ?unlocked_formula: bool, ?empty_cell_reference: bool, ?list_data_validation: bool, ?calculated_column: bool) -> void
970
- def ignore_error: (String sqref, ?eval_error: bool, ?two_digit_text_year: bool, ?number_stored_as_text: bool, ?formula: bool, ?formula_range: bool, ?unlocked_formula: bool, ?empty_cell_reference: bool, ?list_data_validation: bool, ?calculated_column: bool) -> void
971
-
972
- # @deprecated Use {#ignored_error} instead. Will be removed in 0.2.0.
973
- # : (String sqref, ?eval_error: bool, ?two_digit_text_year: bool, ?number_stored_as_text: bool, ?formula: bool, ?formula_range: bool, ?unlocked_formula: bool, ?empty_cell_reference: bool, ?list_data_validation: bool, ?calculated_column: bool) -> void
974
- def add_ignored_error: (String sqref, ?eval_error: bool, ?two_digit_text_year: bool, ?number_stored_as_text: bool, ?formula: bool, ?formula_range: bool, ?unlocked_formula: bool, ?empty_cell_reference: bool, ?list_data_validation: bool, ?calculated_column: bool) -> void
975
-
976
843
  # Returns ignored error rules configured for this worksheet.
977
844
  #
978
- # @return [Array<Hash[Symbol, untyped]>]
845
+ # @return [Array<Elements::IgnoredError>]
979
846
  # @api public
980
- # : () -> Array[Hash[Symbol, untyped]]
981
- def ignored_errors: () -> Array[Hash[Symbol, untyped]]
847
+ # : () -> Array[Elements::IgnoredError]
848
+ def ignored_errors: () -> Array[Elements::IgnoredError]
982
849
 
983
- # Gets or sets phonetic (furigana) guide properties for the worksheet.
850
+ # Gets phonetic (furigana) guide properties for the sheet.
984
851
  #
985
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#phonetic_properties=} instead.
986
- # @overload phonetic_properties()
987
- # Returns the current phonetic properties.
988
- # @return [Hash, nil]
989
- # @overload phonetic_properties(props = nil, font_id: nil, type: nil, alignment: nil)
990
- # Sets phonetic properties.
991
- # @param spec [Hash, Integer, nil]
992
- # @param font_id [Integer, nil]
993
- # @param type [Symbol, String, nil]
994
- # @param alignment [Symbol, String, nil]
995
- # @return [Hash, nil]
852
+ # @return [Elements::PhoneticProperties, nil]
996
853
  # @api public
997
- # : (?untyped spec, ?font_id: Integer?, ?type: (Symbol | String)?, ?alignment: (Symbol | String)?, **untyped opts) -> (Elements::PhoneticProperties | Hash[Symbol, untyped] | nil)
998
- def phonetic_properties: (?untyped spec, ?font_id: Integer?, ?type: (Symbol | String)?, ?alignment: (Symbol | String)?, **untyped opts) -> (Elements::PhoneticProperties | Hash[Symbol, untyped] | nil)
999
-
1000
- # @deprecated Use {#phonetic_properties} instead. Will be removed in 0.2.0.
1001
- alias phonetic_pr phonetic_properties
854
+ # : () -> Elements::PhoneticProperties?
855
+ def phonetic_properties: () -> Elements::PhoneticProperties?
1002
856
 
1003
857
  # Sets phonetic (furigana) guide properties for the sheet.
1004
858
  #
@@ -1008,9 +862,6 @@ module Xlsxrb
1008
862
  # : (Hash[Symbol, untyped] | Integer | nil spec) -> (Hash[Symbol, untyped] | Integer | nil)
1009
863
  def phonetic_properties=: (Hash[Symbol, untyped] | Integer | nil spec) -> (Hash[Symbol, untyped] | Integer | nil)
1010
864
 
1011
- # @deprecated Use {#phonetic_properties=} instead. Will be removed in 0.2.0.
1012
- alias phonetic_pr= phonetic_properties=
1013
-
1014
865
  # Normalizes phonetic properties to OOXML schema values.
1015
866
  #
1016
867
  # @param props [Hash, nil]
@@ -1019,14 +870,12 @@ module Xlsxrb
1019
870
  # : (Hash[untyped, untyped]? props) -> Hash[Symbol, untyped]?
1020
871
  def self.normalize_phonetic_properties: (Hash[untyped, untyped]? props) -> Hash[Symbol, untyped]?
1021
872
 
1022
- # Sets or gets the internal code name of the worksheet.
873
+ # Gets the internal code name of the worksheet.
1023
874
  #
1024
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#code_name=} instead.
1025
- # @param val [String, Symbol, nil] The code name.
1026
875
  # @return [String, nil]
1027
876
  # @api public
1028
- # : (?String | Symbol | nil val) -> String?
1029
- def code_name: (?String | Symbol | nil val) -> String?
877
+ # : () -> String?
878
+ def code_name: () -> String?
1030
879
 
1031
880
  # Sets the internal code name of the worksheet.
1032
881
  #
@@ -1036,18 +885,12 @@ module Xlsxrb
1036
885
  # : (String | Symbol | nil val) -> String?
1037
886
  def code_name=: (String | Symbol | nil val) -> String?
1038
887
 
1039
- # Configures worksheet calculation properties (<sheetCalcPr>).
1040
- #
1041
- # @example Instruct Excel to recalculate formulas when loading sheet
1042
- # sheet.sheet_calc_properties = { full_calc_on_load: true }
888
+ # Gets worksheet calculation properties (<sheetCalcPr>).
1043
889
  #
1044
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#sheet_calc_properties=} instead.
1045
- # @param spec [Hash, nil] Calculation properties hash.
1046
- # @param full_calc_on_load [Boolean, nil] Whether to recalculate when loading.
1047
- # @return [Hash, nil]
890
+ # @return [Elements::SheetCalcProperties, nil]
1048
891
  # @api public
1049
- # : (?untyped spec, ?full_calc_on_load: bool?, **untyped opts) -> (Elements::SheetCalcProperties | Hash[Symbol, untyped] | nil)
1050
- def sheet_calc_properties: (?untyped spec, ?full_calc_on_load: bool?, **untyped opts) -> (Elements::SheetCalcProperties | Hash[Symbol, untyped] | nil)
892
+ # : () -> Elements::SheetCalcProperties?
893
+ def sheet_calc_properties: () -> Elements::SheetCalcProperties?
1051
894
 
1052
895
  # Sets worksheet calculation properties (<sheetCalcPr>).
1053
896
  #
@@ -1057,22 +900,6 @@ module Xlsxrb
1057
900
  # : (Hash[Symbol, untyped]? spec) -> Hash[Symbol, untyped]?
1058
901
  def sheet_calc_properties=: (Hash[Symbol, untyped]? spec) -> Hash[Symbol, untyped]?
1059
902
 
1060
- # @deprecated Use {#sheet_calc_properties} instead. Will be removed in 0.2.0.
1061
- # : (?Hash[Symbol, untyped]? spec, ?full_calc_on_load: bool?, **untyped opts) -> (Elements::SheetCalcProperties | Hash[Symbol, untyped] | nil)
1062
- def sheet_calc_pr: (?Hash[Symbol, untyped]? spec, ?full_calc_on_load: bool?, **untyped opts) -> (Elements::SheetCalcProperties | Hash[Symbol, untyped] | nil)
1063
-
1064
- # @deprecated Use {#sheet_calc_properties} instead. Will be removed in 0.2.0.
1065
- # : (?Hash[Symbol, untyped]? spec, ?full_calc_on_load: bool?, **untyped opts) -> (Elements::SheetCalcProperties | Hash[Symbol, untyped] | nil)
1066
- def calc_pr: (?Hash[Symbol, untyped]? spec, ?full_calc_on_load: bool?, **untyped opts) -> (Elements::SheetCalcProperties | Hash[Symbol, untyped] | nil)
1067
-
1068
- # @deprecated Use {#sheet_calc_properties=} instead. Will be removed in 0.2.0.
1069
- # : (Hash[Symbol, untyped]? spec) -> Hash[Symbol, untyped]?
1070
- def sheet_calc_pr=: (Hash[Symbol, untyped]? spec) -> Hash[Symbol, untyped]?
1071
-
1072
- # @deprecated Use {#sheet_calc_properties=} instead. Will be removed in 0.2.0.
1073
- # : (Hash[Symbol, untyped]? spec) -> Hash[Symbol, untyped]?
1074
- def calc_pr=: (Hash[Symbol, untyped]? spec) -> Hash[Symbol, untyped]?
1075
-
1076
903
  # Builds and returns the in-memory {Elements::Worksheet}.
1077
904
  #
1078
905
  # @return [Elements::Worksheet]
@@ -1090,8 +917,6 @@ module Xlsxrb
1090
917
  #
1091
918
  # @api public
1092
919
  class TableBuilder
1093
- OMITTED: untyped
1094
-
1095
920
  # @param ref [String, nil] Table range (e.g. "A1:D10").
1096
921
  # @param columns [Array, nil] Column header names or definition hashes.
1097
922
  # @param name [String, nil] Table name identifier.
@@ -1101,24 +926,18 @@ module Xlsxrb
1101
926
  # : (?String? ref, ?columns: untyped, ?name: String?, ?display_name: String?, ?style: String?, **untyped opts) -> void
1102
927
  def initialize: (?String? ref, ?columns: untyped, ?name: String?, ?display_name: String?, ?style: String?, **untyped opts) -> void
1103
928
 
1104
- # @deprecated Use explicit getter methods instead.
1105
- # : (untyped key) -> untyped
1106
- def []: (untyped key) -> untyped
1107
-
1108
- # @deprecated Use explicit setter methods instead.
1109
- # : (untyped key, untyped value) -> untyped
1110
- def []=: (untyped key, untyped value) -> untyped
1111
-
1112
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#ref=} instead.
1113
- # : (?String? val) -> String?
1114
- def ref: (?String? val) -> String?
929
+ # : () -> String?
930
+ def ref: () -> String?
1115
931
 
1116
932
  # : (String val) -> String
1117
933
  def ref=: (String val) -> String
1118
934
 
1119
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#columns=} instead.
1120
- # : (*untyped cols) -> untyped
1121
- def columns: (*untyped cols) -> untyped
935
+ # Returns column definitions for the table.
936
+ #
937
+ # @return [Array<Elements::TableColumn>]
938
+ # @api public
939
+ # : () -> Array[Elements::TableColumn]
940
+ def columns: () -> Array[Elements::TableColumn]
1122
941
 
1123
942
  # : (untyped cols) -> untyped
1124
943
  def columns=: (untyped cols) -> untyped
@@ -1131,9 +950,6 @@ module Xlsxrb
1131
950
  # : (String | Symbol | Hash[Symbol, untyped] col, **untyped opts) -> void
1132
951
  def column: (String | Symbol | Hash[Symbol, untyped] col, **untyped opts) -> void
1133
952
 
1134
- # @deprecated Use {#column} instead. Will be removed in 0.2.0.
1135
- alias add_column column
1136
-
1137
953
  # Appends a calculated column with formula and options.
1138
954
  #
1139
955
  # @param name [String, Symbol] The column name.
@@ -1143,90 +959,65 @@ module Xlsxrb
1143
959
  # : (String | Symbol name, String formula, **untyped opts) -> void
1144
960
  def calculated_column: (String | Symbol name, String formula, **untyped opts) -> void
1145
961
 
1146
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#name=} instead.
1147
- # : (?String? val) -> String?
1148
- def name: (?String? val) -> String?
962
+ # : () -> String?
963
+ def name: () -> String?
1149
964
 
1150
965
  # : (String val) -> String
1151
966
  def name=: (String val) -> String
1152
967
 
1153
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#display_name=} instead.
1154
- # : (?String? val) -> String?
1155
- def display_name: (?String? val) -> String?
968
+ # : () -> String?
969
+ def display_name: () -> String?
1156
970
 
1157
971
  # : (String val) -> String
1158
972
  def display_name=: (String val) -> String
1159
973
 
1160
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#style=} instead.
1161
- # : (?String? val) -> String?
1162
- def style: (?String? val) -> String?
974
+ # : () -> String?
975
+ def style: () -> String?
1163
976
 
1164
977
  # : (String val) -> String
1165
978
  def style=: (String val) -> String
1166
979
 
1167
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#show_row_stripes=} instead.
1168
- # : (?bool? val) -> bool?
1169
- def show_row_stripes: (?bool? val) -> bool?
980
+ # : () -> bool
981
+ def show_row_stripes?: () -> bool
1170
982
 
1171
983
  # : (bool val) -> bool
1172
984
  def show_row_stripes=: (bool val) -> bool
1173
985
 
1174
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#show_column_stripes=} instead.
1175
- # : (?bool? val) -> bool?
1176
- def show_column_stripes: (?bool? val) -> bool?
986
+ # : () -> bool
987
+ def show_column_stripes?: () -> bool
1177
988
 
1178
989
  # : (bool val) -> bool
1179
990
  def show_column_stripes=: (bool val) -> bool
1180
991
 
1181
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#show_first_column=} instead.
1182
- # : (?bool? val) -> bool?
1183
- def show_first_column: (?bool? val) -> bool?
992
+ # : () -> bool
993
+ def show_first_column?: () -> bool
1184
994
 
1185
995
  # : (bool val) -> bool
1186
996
  def show_first_column=: (bool val) -> bool
1187
997
 
1188
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#show_last_column=} instead.
1189
- # : (?bool? val) -> bool?
1190
- def show_last_column: (?bool? val) -> bool?
998
+ # : () -> bool
999
+ def show_last_column?: () -> bool
1191
1000
 
1192
1001
  # : (bool val) -> bool
1193
1002
  def show_last_column=: (bool val) -> bool
1194
1003
 
1195
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#totals_row_count=} instead.
1196
- # : (?Integer? val) -> Integer?
1197
- def totals_row_count: (?Integer? val) -> Integer?
1004
+ # : () -> Integer?
1005
+ def totals_row_count: () -> Integer?
1198
1006
 
1199
1007
  # : (Integer val) -> Integer
1200
1008
  def totals_row_count=: (Integer val) -> Integer
1201
1009
 
1202
- # @deprecated Use {#totals_row_count} instead. Will be removed in 0.2.0.
1203
- # : (?Integer? val) -> Integer?
1204
- def total_row_count: (?Integer? val) -> Integer?
1205
-
1206
- # @deprecated Use {#totals_row_count=} instead. Will be removed in 0.2.0.
1207
- # : (Integer val) -> Integer
1208
- def total_row_count=: (Integer val) -> Integer
1209
-
1210
- # Gets or sets whether the table has a totals row.
1010
+ # Returns whether the table has a totals row.
1211
1011
  #
1212
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#totals_row=} instead.
1213
- # : (?untyped val) -> bool?
1214
- def totals_row: (?untyped val) -> bool?
1012
+ # @return [Boolean]
1013
+ # : () -> bool
1014
+ def totals_row?: () -> bool
1215
1015
 
1216
1016
  # : (bool val) -> bool
1217
1017
  def totals_row=: (bool val) -> bool
1218
1018
 
1219
- # @deprecated Use {#totals_row} instead. Will be removed in 0.2.0.
1220
- # : (?bool? val) -> bool?
1221
- def total_row: (?bool? val) -> bool?
1222
-
1223
- # @deprecated Use {#totals_row=} instead. Will be removed in 0.2.0.
1224
- # : (bool val) -> bool
1225
- def total_row=: (bool val) -> bool
1226
-
1227
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#auto_filter=} instead.
1228
- # : (?bool? val) -> bool?
1229
- def auto_filter: (?bool? val) -> bool?
1019
+ # : () -> bool
1020
+ def auto_filter?: () -> bool
1230
1021
 
1231
1022
  # : (bool val) -> bool
1232
1023
  def auto_filter=: (bool val) -> bool
@@ -1244,63 +1035,26 @@ module Xlsxrb
1244
1035
  # : (?String? sqref, **untyped opts) -> void
1245
1036
  def initialize: (?String? sqref, **untyped opts) -> void
1246
1037
 
1247
- # @deprecated Use dedicated property accessors instead. Will be removed in 0.2.0.
1248
- # @param key [Symbol, String]
1249
- # @return [Object, nil]
1250
- # @api public
1251
- # : (untyped key) -> untyped
1252
- def []: (untyped key) -> untyped
1253
-
1254
- # @deprecated Use dedicated property accessors instead. Will be removed in 0.2.0.
1255
- # @param key [Symbol, String]
1256
- # @param value [Object]
1257
- # @return [Object]
1258
- # @api public
1259
- # : (untyped key, untyped value) -> untyped
1260
- def []=: (untyped key, untyped value) -> untyped
1261
-
1262
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#sqref=} instead.
1263
- # : (?String? val) -> String?
1264
- def sqref: (?String? val) -> String?
1038
+ # : () -> String?
1039
+ def sqref: () -> String?
1265
1040
 
1266
1041
  # : (String val) -> String
1267
1042
  def sqref=: (String val) -> String
1268
1043
 
1269
- # @deprecated Use {#sqref} instead. Will be removed in 0.2.0.
1270
- alias range sqref
1271
-
1272
- # @deprecated Use {#sqref=} instead. Will be removed in 0.2.0.
1273
- alias range= sqref=
1274
-
1275
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#columns=} instead.
1276
- # : (?untyped val) -> untyped
1277
- def columns: (?untyped val) -> untyped
1044
+ # : () -> untyped
1045
+ def columns: () -> untyped
1278
1046
 
1279
1047
  # : (untyped val) -> untyped
1280
1048
  def columns=: (untyped val) -> untyped
1281
1049
 
1282
- # @deprecated Use {#columns} instead. Will be removed in 0.2.0.
1283
- alias col columns
1284
-
1285
- # @deprecated Use {#columns=} instead. Will be removed in 0.2.0.
1286
- alias col= columns=
1287
-
1288
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#rows=} instead.
1289
- # : (?untyped val) -> untyped
1290
- def rows: (?untyped val) -> untyped
1050
+ # : () -> untyped
1051
+ def rows: () -> untyped
1291
1052
 
1292
1053
  # : (untyped val) -> untyped
1293
1054
  def rows=: (untyped val) -> untyped
1294
1055
 
1295
- # @deprecated Use {#rows} instead. Will be removed in 0.2.0.
1296
- alias row rows
1297
-
1298
- # @deprecated Use {#rows=} instead. Will be removed in 0.2.0.
1299
- alias row= rows=
1300
-
1301
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#except_rows=} instead.
1302
- # : (?untyped val) -> untyped
1303
- def except_rows: (?untyped val) -> untyped
1056
+ # : () -> untyped
1057
+ def except_rows: () -> untyped
1304
1058
 
1305
1059
  # : (untyped val) -> untyped
1306
1060
  def except_rows=: (untyped val) -> untyped
@@ -1310,115 +1064,82 @@ module Xlsxrb
1310
1064
  # @example
1311
1065
  # b.list = ["Option1", "Option2"]
1312
1066
  #
1313
- # @param val [Array<Object>, nil]
1314
1067
  # @return [Array<Object>, nil]
1315
1068
  # @api public
1316
- # : (?Array[untyped]? val) -> untyped
1317
- def list: (?Array[untyped]? val) -> untyped
1069
+ # : () -> untyped
1070
+ def list: () -> untyped
1318
1071
 
1319
1072
  # : (Array[untyped] val) -> untyped
1320
1073
  def list=: (Array[untyped] val) -> untyped
1321
1074
 
1322
- # @deprecated Use {#list} instead.
1323
- # : (?Array[untyped]? val) -> untyped
1324
- def in: (?Array[untyped]? val) -> untyped
1325
-
1326
- # @deprecated Use {#list=} instead.
1327
- # : (Array[untyped] val) -> untyped
1328
- def in=: (Array[untyped] val) -> untyped
1329
-
1330
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#type=} instead.
1331
- # : (?untyped val) -> untyped
1332
- def type: (?untyped val) -> untyped
1075
+ # : () -> untyped
1076
+ def type: () -> untyped
1333
1077
 
1334
1078
  # : (untyped val) -> untyped
1335
1079
  def type=: (untyped val) -> untyped
1336
1080
 
1337
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#operator=} instead.
1338
- # : (?untyped val) -> untyped
1339
- def operator: (?untyped val) -> untyped
1081
+ # : () -> untyped
1082
+ def operator: () -> untyped
1340
1083
 
1341
1084
  # : (untyped val) -> untyped
1342
1085
  def operator=: (untyped val) -> untyped
1343
1086
 
1344
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#formula1=} instead.
1345
- # : (?untyped val) -> untyped
1346
- def formula1: (?untyped val) -> untyped
1087
+ # : () -> untyped
1088
+ def formula1: () -> untyped
1347
1089
 
1348
1090
  # : (untyped val) -> untyped
1349
1091
  def formula1=: (untyped val) -> untyped
1350
1092
 
1351
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#formula2=} instead.
1352
- # : (?untyped val) -> untyped
1353
- def formula2: (?untyped val) -> untyped
1093
+ # : () -> untyped
1094
+ def formula2: () -> untyped
1354
1095
 
1355
1096
  # : (untyped val) -> untyped
1356
1097
  def formula2=: (untyped val) -> untyped
1357
1098
 
1358
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#allow_blank=} instead.
1359
- # : (?bool? val) -> bool?
1360
- def allow_blank: (?bool? val) -> bool?
1099
+ # : () -> bool
1100
+ def allow_blank?: () -> bool
1361
1101
 
1362
1102
  # : (bool val) -> bool
1363
1103
  def allow_blank=: (bool val) -> bool
1364
1104
 
1365
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#show_input_message=} instead.
1366
- # : (?bool? val) -> bool?
1367
- def show_input_message: (?bool? val) -> bool?
1105
+ # : () -> bool
1106
+ def show_input_message?: () -> bool
1368
1107
 
1369
1108
  # : (bool val) -> bool
1370
1109
  def show_input_message=: (bool val) -> bool
1371
1110
 
1372
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#show_error_message=} instead.
1373
- # : (?bool? val) -> bool?
1374
- def show_error_message: (?bool? val) -> bool?
1111
+ # : () -> bool
1112
+ def show_error_message?: () -> bool
1375
1113
 
1376
1114
  # : (bool val) -> bool
1377
1115
  def show_error_message=: (bool val) -> bool
1378
1116
 
1379
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#error_title=} instead.
1380
- # : (?String? val) -> String?
1381
- def error_title: (?String? val) -> String?
1117
+ # : () -> String?
1118
+ def error_title: () -> String?
1382
1119
 
1383
1120
  # : (String val) -> String
1384
1121
  def error_title=: (String val) -> String
1385
1122
 
1386
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#error_message=} instead.
1387
- # : (?String? val) -> String?
1388
- def error_message: (?String? val) -> String?
1123
+ # : () -> String?
1124
+ def error_message: () -> String?
1389
1125
 
1390
1126
  # : (String val) -> String
1391
1127
  def error_message=: (String val) -> String
1392
1128
 
1393
- # @deprecated Use {#error_message} instead. Will be removed in 0.2.0.
1394
- alias error error_message
1395
-
1396
- # @deprecated Use {#error_message=} instead. Will be removed in 0.2.0.
1397
- alias error= error_message=
1398
-
1399
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#prompt_title=} instead.
1400
- # : (?String? val) -> String?
1401
- def prompt_title: (?String? val) -> String?
1129
+ # : () -> String?
1130
+ def prompt_title: () -> String?
1402
1131
 
1403
1132
  # : (String val) -> String
1404
1133
  def prompt_title=: (String val) -> String
1405
1134
 
1406
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#prompt_message=} instead.
1407
- # : (?String? val) -> String?
1408
- def prompt_message: (?String? val) -> String?
1135
+ # : () -> String?
1136
+ def prompt_message: () -> String?
1409
1137
 
1410
1138
  # : (String val) -> String
1411
1139
  def prompt_message=: (String val) -> String
1412
1140
 
1413
- # @deprecated Use {#prompt_message} instead. Will be removed in 0.2.0.
1414
- alias prompt prompt_message
1415
-
1416
- # @deprecated Use {#prompt_message=} instead. Will be removed in 0.2.0.
1417
- alias prompt= prompt_message=
1418
-
1419
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#error_style=} instead.
1420
- # : (?untyped val) -> untyped
1421
- def error_style: (?untyped val) -> untyped
1141
+ # : () -> untyped
1142
+ def error_style: () -> untyped
1422
1143
 
1423
1144
  # : (untyped val) -> untyped
1424
1145
  def error_style=: (untyped val) -> untyped
@@ -1436,281 +1157,192 @@ module Xlsxrb
1436
1157
  # : (?String? sqref, **untyped opts) -> void
1437
1158
  def initialize: (?String? sqref, **untyped opts) -> void
1438
1159
 
1439
- # @deprecated Use dedicated property accessors instead. Will be removed in 0.2.0.
1440
- # @param key [Symbol, String]
1441
- # @return [Object, nil]
1442
- # @api public
1443
- # : (untyped key) -> untyped
1444
- def []: (untyped key) -> untyped
1445
-
1446
- # @deprecated Use dedicated property accessors instead. Will be removed in 0.2.0.
1447
- # @param key [Symbol, String]
1448
- # @param value [Object]
1449
- # @return [Object]
1450
- # @api public
1451
- # : (untyped key, untyped value) -> untyped
1452
- def []=: (untyped key, untyped value) -> untyped
1453
-
1454
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#sqref=} instead.
1455
- # : (?String? val) -> String?
1456
- def sqref: (?String? val) -> String?
1160
+ # : () -> String?
1161
+ def sqref: () -> String?
1457
1162
 
1458
1163
  # : (String val) -> String
1459
1164
  def sqref=: (String val) -> String
1460
1165
 
1461
- # @deprecated Use {#sqref} instead. Will be removed in 0.2.0.
1462
- alias range sqref
1463
-
1464
- # @deprecated Use {#sqref=} instead. Will be removed in 0.2.0.
1465
- alias range= sqref=
1466
-
1467
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#columns=} instead.
1468
- # : (?untyped val) -> untyped
1469
- def columns: (?untyped val) -> untyped
1166
+ # : () -> untyped
1167
+ def columns: () -> untyped
1470
1168
 
1471
1169
  # : (untyped val) -> untyped
1472
1170
  def columns=: (untyped val) -> untyped
1473
1171
 
1474
- # @deprecated Use {#columns} instead. Will be removed in 0.2.0.
1475
- alias col columns
1476
-
1477
- # @deprecated Use {#columns=} instead. Will be removed in 0.2.0.
1478
- alias col= columns=
1479
-
1480
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#rows=} instead.
1481
- # : (?untyped val) -> untyped
1482
- def rows: (?untyped val) -> untyped
1172
+ # : () -> untyped
1173
+ def rows: () -> untyped
1483
1174
 
1484
1175
  # : (untyped val) -> untyped
1485
1176
  def rows=: (untyped val) -> untyped
1486
1177
 
1487
- # @deprecated Use {#rows} instead. Will be removed in 0.2.0.
1488
- alias row rows
1489
-
1490
- # @deprecated Use {#rows=} instead. Will be removed in 0.2.0.
1491
- alias row= rows=
1492
-
1493
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#except_rows=} instead.
1494
- # : (?untyped val) -> untyped
1495
- def except_rows: (?untyped val) -> untyped
1178
+ # : () -> untyped
1179
+ def except_rows: () -> untyped
1496
1180
 
1497
1181
  # : (untyped val) -> untyped
1498
1182
  def except_rows=: (untyped val) -> untyped
1499
1183
 
1500
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#type=} instead.
1501
- # : (?untyped val) -> untyped
1502
- def type: (?untyped val) -> untyped
1184
+ # : () -> untyped
1185
+ def type: () -> untyped
1503
1186
 
1504
1187
  # : (untyped val) -> untyped
1505
1188
  def type=: (untyped val) -> untyped
1506
1189
 
1507
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#operator=} instead.
1508
- # : (?untyped val) -> untyped
1509
- def operator: (?untyped val) -> untyped
1190
+ # : () -> untyped
1191
+ def operator: () -> untyped
1510
1192
 
1511
1193
  # : (untyped val) -> untyped
1512
1194
  def operator=: (untyped val) -> untyped
1513
1195
 
1514
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#formula=} instead.
1515
- # : (?untyped val) -> untyped
1516
- def formula: (?untyped val) -> untyped
1196
+ # : () -> untyped
1197
+ def formula: () -> untyped
1517
1198
 
1518
1199
  # : (untyped val) -> untyped
1519
1200
  def formula=: (untyped val) -> untyped
1520
1201
 
1521
- # @deprecated Use {#formula} instead. Will be removed in 0.2.0.
1522
- # @return [Object]
1523
- # @api public
1524
- # : (*untyped vals) -> untyped
1525
- def formulas: (*untyped vals) -> untyped
1526
-
1527
- # @deprecated Use {#formula=} instead. Will be removed in 0.2.0.
1528
- # @param vals [Array, Object]
1529
- # @return [Array]
1530
- # @api public
1531
- # : (untyped vals) -> untyped
1532
- def formulas=: (untyped vals) -> untyped
1533
-
1534
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#font=} instead.
1535
- # : (?untyped val) -> untyped
1536
- def font: (?untyped val) -> untyped
1202
+ # : () -> untyped
1203
+ def font: () -> untyped
1537
1204
 
1538
1205
  # : (untyped val) -> untyped
1539
1206
  def font=: (untyped val) -> untyped
1540
1207
 
1541
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#fill=} instead.
1542
- # : (?untyped val) -> untyped
1543
- def fill: (?untyped val) -> untyped
1208
+ # : () -> untyped
1209
+ def fill: () -> untyped
1544
1210
 
1545
1211
  # : (untyped val) -> untyped
1546
1212
  def fill=: (untyped val) -> untyped
1547
1213
 
1548
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#fill_color=} instead.
1549
- # : (?untyped val) -> untyped
1550
- def fill_color: (?untyped val) -> untyped
1214
+ # : () -> untyped
1215
+ def fill_color: () -> untyped
1551
1216
 
1552
1217
  # : (untyped val) -> untyped
1553
1218
  def fill_color=: (untyped val) -> untyped
1554
1219
 
1555
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#font_color=} instead.
1556
- # : (?untyped val) -> untyped
1557
- def font_color: (?untyped val) -> untyped
1220
+ # : () -> untyped
1221
+ def font_color: () -> untyped
1558
1222
 
1559
1223
  # : (untyped val) -> untyped
1560
1224
  def font_color=: (untyped val) -> untyped
1561
1225
 
1562
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#bold=} instead.
1563
- # : (?bool? val) -> bool?
1564
- def bold: (?bool? val) -> bool?
1226
+ # : () -> bool
1227
+ def bold?: () -> bool
1565
1228
 
1566
1229
  # : (bool val) -> bool
1567
1230
  def bold=: (bool val) -> bool
1568
1231
 
1569
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#italic=} instead.
1570
- # : (?bool? val) -> bool?
1571
- def italic: (?bool? val) -> bool?
1232
+ # : () -> bool
1233
+ def italic?: () -> bool
1572
1234
 
1573
1235
  # : (bool val) -> bool
1574
1236
  def italic=: (bool val) -> bool
1575
1237
 
1576
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#underline=} instead.
1577
- # : (?untyped val) -> untyped
1578
- def underline: (?untyped val) -> untyped
1238
+ # : () -> untyped
1239
+ def underline: () -> untyped
1579
1240
 
1580
1241
  # : (untyped val) -> untyped
1581
1242
  def underline=: (untyped val) -> untyped
1582
1243
 
1583
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#font_name=} instead.
1584
- # : (?String? val) -> String?
1585
- def font_name: (?String? val) -> String?
1244
+ # : () -> String?
1245
+ def font_name: () -> String?
1586
1246
 
1587
1247
  # : (String val) -> String
1588
1248
  def font_name=: (String val) -> String
1589
1249
 
1590
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#font_size=} instead.
1591
- # : (?untyped val) -> untyped
1592
- def font_size: (?untyped val) -> untyped
1250
+ # : () -> untyped
1251
+ def font_size: () -> untyped
1593
1252
 
1594
1253
  # : (untyped val) -> untyped
1595
1254
  def font_size=: (untyped val) -> untyped
1596
1255
 
1597
- # @deprecated Use {#font_size} instead. Will be removed in 0.2.0.
1598
- def size: (?untyped val) -> untyped
1599
-
1600
- # @deprecated Use {#font_size=} instead. Will be removed in 0.2.0.
1601
- def size=: (untyped val) -> untyped
1602
-
1603
- # @deprecated Use {#font_size} instead. Will be removed in 0.2.0.
1604
- def sz: (?untyped val) -> untyped
1605
-
1606
- # @deprecated Use {#font_size=} instead. Will be removed in 0.2.0.
1607
- def sz=: (untyped val) -> untyped
1608
-
1609
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#stop_if_true=} instead.
1610
- # : (?bool? val) -> bool?
1611
- def stop_if_true: (?bool? val) -> bool?
1256
+ # : () -> bool
1257
+ def stop_if_true?: () -> bool
1612
1258
 
1613
1259
  # : (bool val) -> bool
1614
1260
  def stop_if_true=: (bool val) -> bool
1615
1261
 
1616
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#priority=} instead.
1617
- # : (?Integer? val) -> Integer?
1618
- def priority: (?Integer? val) -> Integer?
1262
+ # : () -> Integer?
1263
+ def priority: () -> Integer?
1619
1264
 
1620
1265
  # : (Integer val) -> Integer
1621
1266
  def priority=: (Integer val) -> Integer
1622
1267
 
1623
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#above_average=} instead.
1624
- # : (?bool? val) -> bool?
1625
- def above_average: (?bool? val) -> bool?
1268
+ # : () -> bool
1269
+ def above_average?: () -> bool
1626
1270
 
1627
1271
  # : (bool val) -> bool
1628
1272
  def above_average=: (bool val) -> bool
1629
1273
 
1630
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#equal_average=} instead.
1631
- # : (?bool? val) -> bool?
1632
- def equal_average: (?bool? val) -> bool?
1274
+ # : () -> bool
1275
+ def equal_average?: () -> bool
1633
1276
 
1634
1277
  # : (bool val) -> bool
1635
1278
  def equal_average=: (bool val) -> bool
1636
1279
 
1637
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#std_dev=} instead.
1638
- # : (?Integer? val) -> Integer?
1639
- def std_dev: (?Integer? val) -> Integer?
1280
+ # : () -> Integer?
1281
+ def std_dev: () -> Integer?
1640
1282
 
1641
1283
  # : (Integer val) -> Integer
1642
1284
  def std_dev=: (Integer val) -> Integer
1643
1285
 
1644
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#rank=} instead.
1645
- # : (?Integer? val) -> Integer?
1646
- def rank: (?Integer? val) -> Integer?
1286
+ # : () -> Integer?
1287
+ def rank: () -> Integer?
1647
1288
 
1648
1289
  # : (Integer val) -> Integer
1649
1290
  def rank=: (Integer val) -> Integer
1650
1291
 
1651
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#percent=} instead.
1652
- # : (?bool? val) -> bool?
1653
- def percent: (?bool? val) -> bool?
1292
+ # : () -> bool
1293
+ def percent?: () -> bool
1654
1294
 
1655
1295
  # : (bool val) -> bool
1656
1296
  def percent=: (bool val) -> bool
1657
1297
 
1658
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#bottom=} instead.
1659
- # : (?bool? val) -> bool?
1660
- def bottom: (?bool? val) -> bool?
1298
+ # : () -> bool
1299
+ def bottom?: () -> bool
1661
1300
 
1662
1301
  # : (bool val) -> bool
1663
1302
  def bottom=: (bool val) -> bool
1664
1303
 
1665
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#text=} instead.
1666
- # : (?String? val) -> String?
1667
- def text: (?String? val) -> String?
1304
+ # : () -> String?
1305
+ def text: () -> String?
1668
1306
 
1669
1307
  # : (String val) -> String
1670
1308
  def text=: (String val) -> String
1671
1309
 
1672
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#time_period=} instead.
1673
- # : (?untyped val) -> untyped
1674
- def time_period: (?untyped val) -> untyped
1310
+ # : () -> untyped
1311
+ def time_period: () -> untyped
1675
1312
 
1676
1313
  # : (untyped val) -> untyped
1677
1314
  def time_period=: (untyped val) -> untyped
1678
1315
 
1679
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#color_scale=} instead.
1680
- # : (?untyped val) -> untyped
1681
- def color_scale: (?untyped val) -> untyped
1316
+ # : () -> untyped
1317
+ def color_scale: () -> untyped
1682
1318
 
1683
1319
  # : (untyped val) -> untyped
1684
1320
  def color_scale=: (untyped val) -> untyped
1685
1321
 
1686
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#data_bar=} instead.
1687
- # : (?untyped val) -> untyped
1688
- def data_bar: (?untyped val) -> untyped
1322
+ # : () -> untyped
1323
+ def data_bar: () -> untyped
1689
1324
 
1690
1325
  # : (untyped val) -> untyped
1691
1326
  def data_bar=: (untyped val) -> untyped
1692
1327
 
1693
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#icon_set=} instead.
1694
- # : (?untyped val) -> untyped
1695
- def icon_set: (?untyped val) -> untyped
1328
+ # : () -> untyped
1329
+ def icon_set: () -> untyped
1696
1330
 
1697
1331
  # : (untyped val) -> untyped
1698
1332
  def icon_set=: (untyped val) -> untyped
1699
1333
 
1700
- # @deprecated Calling with arguments is deprecated and will be removed in 0.2.0. Use {#dxf=} instead.
1701
- # : (?untyped val) -> untyped
1702
- def dxf: (?untyped val) -> untyped
1334
+ # : () -> untyped
1335
+ def dxf: () -> untyped
1703
1336
 
1704
1337
  # : (untyped val) -> untyped
1705
1338
  def dxf=: (untyped val) -> untyped
1706
1339
 
1707
- # Gets or sets the differential format identifier (dxfId).
1340
+ # Gets the differential format identifier (dxfId).
1708
1341
  #
1709
- # @param val [Integer, nil]
1710
1342
  # @return [Integer, nil]
1711
1343
  # @api public
1712
- # : (?Integer? val) -> Integer?
1713
- def dxf_id: (?Integer? val) -> Integer?
1344
+ # : () -> Integer?
1345
+ def dxf_id: () -> Integer?
1714
1346
 
1715
1347
  # Sets the differential format identifier (dxfId).
1716
1348
  #
@@ -1720,14 +1352,6 @@ module Xlsxrb
1720
1352
  # : (Integer val) -> Integer
1721
1353
  def dxf_id=: (Integer val) -> Integer
1722
1354
 
1723
- # @deprecated Use {#dxf_id} instead. Will be removed in 0.2.0.
1724
- # : (?Integer? val) -> Integer?
1725
- def format_id: (?Integer? val) -> Integer?
1726
-
1727
- # @deprecated Use {#dxf_id=} instead. Will be removed in 0.2.0.
1728
- # : (Integer val) -> Integer
1729
- def format_id=: (Integer val) -> Integer
1730
-
1731
1355
  # : () -> Hash[Symbol, untyped]
1732
1356
  def to_h: () -> Hash[Symbol, untyped]
1733
1357
  end