xlsxrb 0.2.0 → 0.2.2

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 (56) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +88 -0
  3. data/README.md +25 -3
  4. data/lib/xlsxrb/dsl_helpers.rb +65 -1
  5. data/lib/xlsxrb/elements/styles.rb +15 -6
  6. data/lib/xlsxrb/elements/worksheet.rb +2 -2
  7. data/lib/xlsxrb/number_formatter.rb +26 -8
  8. data/lib/xlsxrb/ooxml/cfb.rb +11 -3
  9. data/lib/xlsxrb/ooxml/crypto/agile.rb +48 -10
  10. data/lib/xlsxrb/ooxml/crypto/standard.rb +5 -1
  11. data/lib/xlsxrb/ooxml/crypto.rb +3 -0
  12. data/lib/xlsxrb/ooxml/shared_strings_parser.rb +26 -8
  13. data/lib/xlsxrb/ooxml/utils.rb +13 -0
  14. data/lib/xlsxrb/ooxml/workbook_writer.rb +43 -21
  15. data/lib/xlsxrb/ooxml/worksheet_parser.rb +116 -12
  16. data/lib/xlsxrb/ooxml/worksheet_writer.rb +338 -259
  17. data/lib/xlsxrb/ooxml/writer/drawing_xml.rb +206 -201
  18. data/lib/xlsxrb/ooxml/writer/features_xml.rb +109 -102
  19. data/lib/xlsxrb/ooxml/writer/styles_xml.rb +46 -46
  20. data/lib/xlsxrb/ooxml/writer.rb +167 -160
  21. data/lib/xlsxrb/ooxml/xml_builder.rb +35 -7
  22. data/lib/xlsxrb/ooxml/xml_parser.rb +34 -1
  23. data/lib/xlsxrb/ooxml/zip_reader.rb +95 -68
  24. data/lib/xlsxrb/ooxml/zip_writer.rb +16 -0
  25. data/lib/xlsxrb/stream_row.rb +2 -2
  26. data/lib/xlsxrb/stream_sheet.rb +26 -11
  27. data/lib/xlsxrb/stream_writer.rb +212 -86
  28. data/lib/xlsxrb/style_builder.rb +339 -0
  29. data/lib/xlsxrb/version.rb +1 -1
  30. data/lib/xlsxrb/workbook_builder.rb +239 -88
  31. data/lib/xlsxrb/worksheet_builder.rb +847 -139
  32. data/lib/xlsxrb.rb +87 -21
  33. data/sig/generated/xlsxrb/dsl_helpers.rbs +37 -0
  34. data/sig/generated/xlsxrb/elements/styles.rbs +5 -0
  35. data/sig/generated/xlsxrb/number_formatter.rbs +7 -0
  36. data/sig/generated/xlsxrb/ooxml/cfb.rbs +2 -0
  37. data/sig/generated/xlsxrb/ooxml/crypto/agile.rbs +10 -0
  38. data/sig/generated/xlsxrb/ooxml/shared_strings_parser.rbs +7 -0
  39. data/sig/generated/xlsxrb/ooxml/utils.rbs +10 -0
  40. data/sig/generated/xlsxrb/ooxml/workbook_writer.rbs +13 -0
  41. data/sig/generated/xlsxrb/ooxml/worksheet_parser.rbs +40 -0
  42. data/sig/generated/xlsxrb/ooxml/worksheet_writer.rbs +53 -0
  43. data/sig/generated/xlsxrb/ooxml/writer/features_xml.rbs +3 -0
  44. data/sig/generated/xlsxrb/ooxml/writer.rbs +4 -0
  45. data/sig/generated/xlsxrb/ooxml/xml_builder.rbs +19 -2
  46. data/sig/generated/xlsxrb/ooxml/xml_parser.rbs +10 -0
  47. data/sig/generated/xlsxrb/ooxml/zip_reader.rbs +12 -1
  48. data/sig/generated/xlsxrb/ooxml/zip_writer.rbs +8 -0
  49. data/sig/generated/xlsxrb/stream_row.rbs +2 -2
  50. data/sig/generated/xlsxrb/stream_sheet.rbs +9 -0
  51. data/sig/generated/xlsxrb/stream_writer.rbs +46 -6
  52. data/sig/generated/xlsxrb/style_builder.rbs +261 -0
  53. data/sig/generated/xlsxrb/workbook_builder.rbs +42 -9
  54. data/sig/generated/xlsxrb/worksheet_builder.rbs +618 -4
  55. data/sig/generated/xlsxrb.rbs +53 -8
  56. metadata +9 -3
@@ -8,8 +8,9 @@ module Xlsxrb
8
8
  # @param name [String] The worksheet name.
9
9
  # @param strict_excel_mode [Boolean] Whether to enforce Microsoft Excel limits.
10
10
  # @param state [Symbol] Sheet visibility state (:visible, :hidden, or :very_hidden).
11
- # : (String name, ?strict_excel_mode: bool, ?state: Symbol) -> void
12
- def initialize: (String name, ?strict_excel_mode: bool, ?state: Symbol) -> void
11
+ # @param style_log [StyleLog] When the workbook's styles are defined (internal).
12
+ # : (String name, ?strict_excel_mode: bool, ?state: Symbol, ?style_log: StyleLog) -> void
13
+ def initialize: (String name, ?strict_excel_mode: bool, ?state: Symbol, ?style_log: StyleLog) -> void
13
14
 
14
15
  # : String
15
16
  attr_reader name: untyped
@@ -27,6 +28,8 @@ module Xlsxrb
27
28
  # @yield [style_builder]
28
29
  # @yieldparam style_builder [Xlsxrb::StyleBuilder]
29
30
  # @return [StyleBuilder]
31
+ # Using the returned value is deprecated and warns; in version 0.3.0, this method
32
+ # will return nil. Configure the style with options or in the block.
30
33
  # @api public
31
34
  # : (String | Symbol name, **untyped opts) ?{ (StyleBuilder) -> void } -> StyleBuilder
32
35
  def style: (String | Symbol name, **untyped opts) ?{ (StyleBuilder) -> void } -> StyleBuilder
@@ -678,7 +681,9 @@ module Xlsxrb
678
681
 
679
682
  # Sets the worksheet background image (<picture>).
680
683
  #
681
- # @param val [String, Hash, Elements::Image, nil] Image binary data, file path, or image options hash.
684
+ # @param val [String, Hash, Elements::Image, nil] Image binary data, or a Hash with +:data+ and
685
+ # +:ext+. A String is always the image itself: to use a file, pass its bytes, as in
686
+ # +{ data: File.binread(path), ext: "jpg" }+.
682
687
  # @return [untyped]
683
688
  # @api public
684
689
  # : (untyped val) -> untyped
@@ -900,17 +905,626 @@ module Xlsxrb
900
905
  # : (Hash[Symbol, untyped]? spec) -> Hash[Symbol, untyped]?
901
906
  def sheet_calc_properties=: (Hash[Symbol, untyped]? spec) -> Hash[Symbol, untyped]?
902
907
 
903
- # Builds and returns the in-memory {Elements::Worksheet}.
908
+ # Builds and returns the in-memory {Elements::Worksheet}. Cells carry their style
909
+ # names; {WorkbookBuilder#build} resolves them to style indexes.
904
910
  #
911
+ # @deprecated Read the sheet from the workbook that {Xlsxrb.build} returns. This
912
+ # method will be private in version 0.3.0.
905
913
  # @return [Elements::Worksheet]
906
914
  # @api public
907
915
  # : () -> Elements::Worksheet
908
916
  def build: () -> Elements::Worksheet
909
917
 
918
+ # Ends the sheet block: rows can no longer be added, and the sheet's state is taken
919
+ # as it is now.
920
+ #
921
+ # @return [Snapshot]
922
+ # @api private
923
+ # : () -> Snapshot
924
+ def close: () -> Snapshot
925
+
910
926
  # Internal: returns styles for later processing by WorkbookBuilder
911
927
  # @return [Hash{String => StyleBuilder}]
912
928
  # : Hash[String, StyleBuilder]
913
929
  attr_reader styles: untyped
930
+
931
+ private
932
+
933
+ # : () -> void
934
+ def check_open!: () -> void
935
+
936
+ # The style that a Date or Time cell without a cell style inherits, to give the cell
937
+ # in its place: the row style, or the sheet's column style in a row without one. The
938
+ # workbook then gives the cell a variant of that style with the default date or
939
+ # date-time format, so it keeps the style's font, fill, and border, as StreamWriter
940
+ # does. Returns nil for a style index or for no style.
941
+ # : (untyped row_style, Integer column_index) -> (String | Symbol | Hash[Symbol, untyped])?
942
+ def inherited_date_style: (untyped row_style, Integer column_index) -> (String | Symbol | Hash[Symbol, untyped])?
943
+
944
+ # Returns the number format code of the sheet style named +style_name+, if it has one.
945
+ # : (untyped style_name) -> String?
946
+ def format_code_of: (untyped style_name) -> String?
947
+
948
+ # : (Array[PendingRow] rows) -> Snapshot
949
+ def snapshot: (Array[PendingRow] rows) -> Snapshot
950
+ end
951
+
952
+ class WorksheetBuilder
953
+ # A row as given to {WorksheetBuilder#row}, kept until the workbook resolves its
954
+ # style names, so that its cells are created once.
955
+ #
956
+ # @api private
957
+ class PendingRow
958
+ # : Integer
959
+ attr_reader index: untyped
960
+
961
+ # Cell values; Hashes with :formula and rich text runs are already converted.
962
+ # : Array[untyped]
963
+ attr_reader values: untyped
964
+
965
+ # Style of each cell: a name, an index, or nil; or one of these for every cell.
966
+ # : untyped
967
+ attr_reader styles: untyped
968
+
969
+ # Number format codes of the cells' sheet styles: an Array, one code, or nil.
970
+ # : untyped
971
+ attr_reader format_codes: untyped
972
+
973
+ # Number of columns the row spans, including styled cells past the last value.
974
+ # : Integer
975
+ attr_reader width: untyped
976
+
977
+ # : (Float | Integer)?
978
+ attr_reader height: untyped
979
+
980
+ # : untyped
981
+ attr_reader hidden: untyped
982
+
983
+ # : bool
984
+ attr_reader custom_height: untyped
985
+
986
+ # : untyped
987
+ attr_reader collapsed: untyped
988
+
989
+ # : Integer?
990
+ attr_reader outline_level: untyped
991
+
992
+ # The row style as given: a name, an index, an inline Hash, or nil.
993
+ # : untyped
994
+ attr_reader style: untyped
995
+
996
+ # The style log clock when the row was added: its styles are the definitions made before.
997
+ # : Integer
998
+ attr_reader clock: untyped
999
+
1000
+ # : (Integer index, Array[untyped] values, untyped styles, untyped format_codes, Integer width, (Float | Integer)? height, untyped hidden, bool custom_height, untyped collapsed, Integer? outline_level, untyped style, Integer clock) -> void
1001
+ def initialize: (Integer index, Array[untyped] values, untyped styles, untyped format_codes, Integer width, (Float | Integer)? height, untyped hidden, bool custom_height, untyped collapsed, Integer? outline_level, untyped style, Integer clock) -> void
1002
+
1003
+ # : (hidden: untyped, collapsed: untyped, outline_level: Integer?) -> PendingRow
1004
+ def with_outline: (hidden: untyped, collapsed: untyped, outline_level: Integer?) -> PendingRow
1005
+
1006
+ # Returns whether every cell of the row is within Excel's row and column limits.
1007
+ # : () -> bool
1008
+ def within_limits?: () -> bool
1009
+
1010
+ # Returns the row's cells with their style names, as {WorksheetBuilder#build} gives them.
1011
+ # : () -> Array[Elements::Cell]
1012
+ def named_cells: () -> Array[Elements::Cell]
1013
+
1014
+ # : (Array[Elements::Cell] cells, untyped style_index) -> Elements::Row
1015
+ def to_row: (Array[Elements::Cell] cells, untyped style_index) -> Elements::Row
1016
+
1017
+ # Creates a cell for +value+ with +style+ (a name, an index, or nil).
1018
+ # +valid_coordinates+ tells whether the cell is within Excel's limits; a valid cell
1019
+ # has no errors, so it skips the checks of Cell.new.
1020
+ # : (Integer row_index, Integer column_index, untyped value, untyped style, String? format_code, bool valid_coordinates) -> Elements::Cell
1021
+ def self.cell: (Integer row_index, Integer column_index, untyped value, untyped style, String? format_code, bool valid_coordinates) -> Elements::Cell
1022
+ end
1023
+
1024
+ # The state of a sheet when its block ended: the worksheet without its rows, the
1025
+ # pending rows, and the hyperlinks and comments to attach to their cells.
1026
+ #
1027
+ # @api private
1028
+ class Snapshot
1029
+ # The worksheet with every part except its rows.
1030
+ # : Elements::Worksheet
1031
+ attr_reader frame: untyped
1032
+
1033
+ # : Array[PendingRow]
1034
+ attr_reader rows: untyped
1035
+
1036
+ # The style log clock when each column's style was set.
1037
+ # : Hash[Integer, Integer]
1038
+ attr_reader column_style_clocks: untyped
1039
+
1040
+ # : (Elements::Worksheet frame, Array[PendingRow] rows, Hash[String, untyped] hyperlinks, Hash[String, untyped] comments, Hash[String, Array[untyped]] threaded_comments, Hash[Integer, Integer] column_style_clocks) -> void
1041
+ def initialize: (Elements::Worksheet frame, Array[PendingRow] rows, Hash[String, untyped] hyperlinks, Hash[String, untyped] comments, Hash[String, Array[untyped]] threaded_comments, Hash[Integer, Integer] column_style_clocks) -> void
1042
+
1043
+ # Returns the worksheet with +rows+, or with the rows' named cells by default.
1044
+ # : (?Array[Elements::Row]? rows, ?Array[Elements::Column]? columns) -> Elements::Worksheet
1045
+ def worksheet: (?Array[Elements::Row]? rows, ?Array[Elements::Column]? columns) -> Elements::Worksheet
1046
+
1047
+ # Attaches the sheet's hyperlinks and comments to the cells they refer to.
1048
+ # : (Array[Elements::Cell] cells) -> Array[Elements::Cell]
1049
+ def attach_links: (Array[Elements::Cell] cells) -> Array[Elements::Cell]
1050
+ end
1051
+ end
1052
+
1053
+ # Stands in for the {Elements::Worksheet} of a sheet defined in {Xlsxrb.build}, as
1054
+ # returned by {WorkbookBuilder#sheet}. It answers the same methods with the same
1055
+ # results. The worksheet is built the first time one of them is called, or when the
1056
+ # object is frozen (as Ractor.make_shareable does), so a sheet whose return value is
1057
+ # never used costs nothing.
1058
+ #
1059
+ # @deprecated Read the sheet from the workbook that {Xlsxrb.build} returns. In version
1060
+ # 0.3.0, {WorkbookBuilder#sheet} will return the sheet's {WorksheetBuilder}, and
1061
+ # {WorkbookBuilder#[]} will return the {WorksheetBuilder} of an existing sheet.
1062
+ # @api public
1063
+ class DeferredWorksheet
1064
+ DEPRECATION_MESSAGE: ::String
1065
+
1066
+ # : (WorksheetBuilder::Snapshot snapshot) -> void
1067
+ def initialize: (WorksheetBuilder::Snapshot snapshot) -> void
1068
+
1069
+ # Returns the worksheet, building it on first use.
1070
+ #
1071
+ # @return [Elements::Worksheet]
1072
+ # @api public
1073
+ # : () -> Elements::Worksheet
1074
+ def worksheet: () -> Elements::Worksheet
1075
+
1076
+ # : (untyped other) -> bool
1077
+ def ==: (untyped other) -> bool
1078
+
1079
+ # : (untyped other) -> bool
1080
+ def eql?: (untyped other) -> bool
1081
+
1082
+ # : () -> Integer
1083
+ def hash: () -> Integer
1084
+
1085
+ # : () -> String
1086
+ def inspect: () -> String
1087
+
1088
+ # : () -> String
1089
+ def to_s: () -> String
1090
+
1091
+ # : (untyped printer) -> untyped
1092
+ def pretty_print: (untyped printer) -> untyped
1093
+
1094
+ # Builds the worksheet before freezing, so that a frozen stand-in still answers.
1095
+ # : () -> self
1096
+ def freeze: () -> self
1097
+
1098
+ # : (String | Symbol | Integer ref_or_row, ?Integer | String | Symbol | nil col) -> Elements::Cell?
1099
+ def []: (String | Symbol | Integer ref_or_row, ?Integer | String | Symbol | nil col) -> Elements::Cell?
1100
+
1101
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1102
+ def all?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1103
+
1104
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1105
+ def any?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1106
+
1107
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1108
+ def auto_filter: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1109
+
1110
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1111
+ def background_image: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1112
+
1113
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1114
+ def cell_watches: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1115
+
1116
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1117
+ def cells: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1118
+
1119
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1120
+ def chain: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1121
+
1122
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1123
+ def charts: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1124
+
1125
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1126
+ def chunk: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1127
+
1128
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1129
+ def chunk_while: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1130
+
1131
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1132
+ def code_name: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1133
+
1134
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1135
+ def collect: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1136
+
1137
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1138
+ def collect_concat: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1139
+
1140
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1141
+ def column_breaks: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1142
+
1143
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1144
+ def column_range: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1145
+
1146
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1147
+ def columns: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1148
+
1149
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1150
+ def comment: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1151
+
1152
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1153
+ def comments: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1154
+
1155
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1156
+ def comments_by_ref: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1157
+
1158
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1159
+ def compact: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1160
+
1161
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1162
+ def conditional_formats: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1163
+
1164
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1165
+ def count: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1166
+
1167
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1168
+ def cycle: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1169
+
1170
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1171
+ def data_validations: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1172
+
1173
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1174
+ def date1904?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1175
+
1176
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1177
+ def deconstruct: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1178
+
1179
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1180
+ def deconstruct_keys: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1181
+
1182
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1183
+ def detect: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1184
+
1185
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1186
+ def dimension: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1187
+
1188
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1189
+ def dimension_bounds: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1190
+
1191
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1192
+ def drop: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1193
+
1194
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1195
+ def drop_while: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1196
+
1197
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1198
+ def each: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1199
+
1200
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1201
+ def each_cell: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1202
+
1203
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1204
+ def each_cons: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1205
+
1206
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1207
+ def each_entry: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1208
+
1209
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1210
+ def each_row: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1211
+
1212
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1213
+ def each_row_values: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1214
+
1215
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1216
+ def each_slice: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1217
+
1218
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1219
+ def each_with_index: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1220
+
1221
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1222
+ def each_with_object: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1223
+
1224
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1225
+ def entries: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1226
+
1227
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1228
+ def errors: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1229
+
1230
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1231
+ def filter: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1232
+
1233
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1234
+ def filter_columns: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1235
+
1236
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1237
+ def filter_map: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1238
+
1239
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1240
+ def find: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1241
+
1242
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1243
+ def find_all: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1244
+
1245
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1246
+ def find_index: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1247
+
1248
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1249
+ def first: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1250
+
1251
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1252
+ def first_row: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1253
+
1254
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1255
+ def fit_to_page?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1256
+
1257
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1258
+ def flat_map: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1259
+
1260
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1261
+ def formatted_value: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1262
+
1263
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1264
+ def freeze_pane: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1265
+
1266
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1267
+ def full_calc_on_load?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1268
+
1269
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1270
+ def grep: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1271
+
1272
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1273
+ def grep_v: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1274
+
1275
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1276
+ def group_by: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1277
+
1278
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1279
+ def header_footer: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1280
+
1281
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1282
+ def header_footer_images: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1283
+
1284
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1285
+ def hidden?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1286
+
1287
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1288
+ def hyperlink: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1289
+
1290
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1291
+ def hyperlinks: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1292
+
1293
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1294
+ def ignored_errors: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1295
+
1296
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1297
+ def images: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1298
+
1299
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1300
+ def images_at: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1301
+
1302
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1303
+ def include?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1304
+
1305
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1306
+ def inject: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1307
+
1308
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1309
+ def last_row: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1310
+
1311
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1312
+ def lazy: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1313
+
1314
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1315
+ def map: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1316
+
1317
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1318
+ def max: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1319
+
1320
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1321
+ def max_by: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1322
+
1323
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1324
+ def member?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1325
+
1326
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1327
+ def merged_cells: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1328
+
1329
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1330
+ def min: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1331
+
1332
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1333
+ def min_by: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1334
+
1335
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1336
+ def minmax: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1337
+
1338
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1339
+ def minmax_by: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1340
+
1341
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1342
+ def name: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1343
+
1344
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1345
+ def none?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1346
+
1347
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1348
+ def one?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1349
+
1350
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1351
+ def outline_properties: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1352
+
1353
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1354
+ def pad_empty_cells?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1355
+
1356
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1357
+ def pad_empty_rows?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1358
+
1359
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1360
+ def page_margins: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1361
+
1362
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1363
+ def page_setup: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1364
+
1365
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1366
+ def partition: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1367
+
1368
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1369
+ def phonetic_properties: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1370
+
1371
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1372
+ def pivot_tables: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1373
+
1374
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1375
+ def print_area: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1376
+
1377
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1378
+ def print_options: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1379
+
1380
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1381
+ def print_titles: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1382
+
1383
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1384
+ def protected_ranges: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1385
+
1386
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1387
+ def reduce: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1388
+
1389
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1390
+ def reject: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1391
+
1392
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1393
+ def reverse_each: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1394
+
1395
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1396
+ def row_at: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1397
+
1398
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1399
+ def row_breaks: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1400
+
1401
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1402
+ def row_range: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1403
+
1404
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1405
+ def rows: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1406
+
1407
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1408
+ def select: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1409
+
1410
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1411
+ def selection: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1412
+
1413
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1414
+ def shapes: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1415
+
1416
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1417
+ def sheet_calc_properties: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1418
+
1419
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1420
+ def sheet_format: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1421
+
1422
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1423
+ def sheet_properties: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1424
+
1425
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1426
+ def sheet_protection: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1427
+
1428
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1429
+ def sheet_view: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1430
+
1431
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1432
+ def slice_after: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1433
+
1434
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1435
+ def slice_before: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1436
+
1437
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1438
+ def slice_when: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1439
+
1440
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1441
+ def sort: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1442
+
1443
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1444
+ def sort_by: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1445
+
1446
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1447
+ def sort_state: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1448
+
1449
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1450
+ def sparkline_groups: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1451
+
1452
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1453
+ def split_pane: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1454
+
1455
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1456
+ def state: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1457
+
1458
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1459
+ def styles: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1460
+
1461
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1462
+ def sum: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1463
+
1464
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1465
+ def tab_color: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1466
+
1467
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1468
+ def tables: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1469
+
1470
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1471
+ def take: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1472
+
1473
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1474
+ def take_while: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1475
+
1476
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1477
+ def tally: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1478
+
1479
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1480
+ def threaded_comment: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1481
+
1482
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1483
+ def threaded_comments: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1484
+
1485
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1486
+ def threaded_comments_at: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1487
+
1488
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1489
+ def threaded_comments_by_ref: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1490
+
1491
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1492
+ def to_a: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1493
+
1494
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1495
+ def to_h: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1496
+
1497
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1498
+ def to_set: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1499
+
1500
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1501
+ def trim_empty_rows?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1502
+
1503
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1504
+ def uniq: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1505
+
1506
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1507
+ def unmapped_data: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1508
+
1509
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1510
+ def valid?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1511
+
1512
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1513
+ def very_hidden?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1514
+
1515
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1516
+ def visible?: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1517
+
1518
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1519
+ def with: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1520
+
1521
+ # : (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1522
+ def zip: (*untyped, **untyped) ?{ (*untyped) -> untyped } -> untyped
1523
+
1524
+ # Returns the worksheet, building it on first use with a deprecation warning that
1525
+ # points at the caller of the public method.
1526
+ # : () -> Elements::Worksheet
1527
+ def built_worksheet: () -> Elements::Worksheet
914
1528
  end
915
1529
 
916
1530
  # Builder context for configuring an Excel Table (ListObject) in block form.