aspose_cells_cloud 23.9 → 23.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +4 -1
  3. data/README.md +16 -15
  4. data/lib/aspose_cells_cloud/api/cells_api.rb +161 -22832
  5. data/lib/aspose_cells_cloud/models/above_average.rb +3 -3
  6. data/lib/aspose_cells_cloud/models/arc_shape.rb +6 -6
  7. data/lib/aspose_cells_cloud/models/area.rb +5 -5
  8. data/lib/aspose_cells_cloud/models/auto_filter.rb +4 -4
  9. data/lib/aspose_cells_cloud/models/auto_fitter_options.rb +9 -9
  10. data/lib/aspose_cells_cloud/models/axis.rb +34 -34
  11. data/lib/aspose_cells_cloud/models/{value_type.rb → barcode_response.rb} +77 -20
  12. data/lib/aspose_cells_cloud/models/{total_request.rb → barcode_response_list.rb} +2 -2
  13. data/lib/aspose_cells_cloud/models/batch_convert_request.rb +7 -7
  14. data/lib/aspose_cells_cloud/models/batch_lock_request.rb +6 -6
  15. data/lib/aspose_cells_cloud/models/batch_protect_request.rb +6 -6
  16. data/lib/aspose_cells_cloud/models/batch_split_request.rb +9 -9
  17. data/lib/aspose_cells_cloud/models/border.rb +4 -4
  18. data/lib/aspose_cells_cloud/models/calculation_options.rb +4 -4
  19. data/lib/aspose_cells_cloud/models/cell.rb +15 -15
  20. data/lib/aspose_cells_cloud/models/cells.rb +4 -4
  21. data/lib/aspose_cells_cloud/models/cells_color.rb +7 -7
  22. data/lib/aspose_cells_cloud/models/chart.rb +43 -43
  23. data/lib/aspose_cells_cloud/models/chart_data_table.rb +8 -8
  24. data/lib/aspose_cells_cloud/models/chart_frame.rb +13 -13
  25. data/lib/aspose_cells_cloud/models/chart_point.rb +8 -8
  26. data/lib/aspose_cells_cloud/models/check_box.rb +3 -3
  27. data/lib/aspose_cells_cloud/models/color_filter.rb +1 -1
  28. data/lib/aspose_cells_cloud/models/color_filter_request.rb +3 -3
  29. data/lib/aspose_cells_cloud/models/color_scale.rb +6 -6
  30. data/lib/aspose_cells_cloud/models/column.rb +5 -5
  31. data/lib/aspose_cells_cloud/models/combo_box.rb +5 -5
  32. data/lib/aspose_cells_cloud/models/comment.rb +10 -10
  33. data/lib/aspose_cells_cloud/models/comment_shape.rb +1 -1
  34. data/lib/aspose_cells_cloud/models/conditional_formatting_icon.rb +3 -3
  35. data/lib/aspose_cells_cloud/models/conditional_formatting_value.rb +3 -3
  36. data/lib/aspose_cells_cloud/models/copy_options.rb +6 -6
  37. data/lib/aspose_cells_cloud/models/create_pivot_table_request.rb +7 -7
  38. data/lib/aspose_cells_cloud/models/custom_filter.rb +2 -2
  39. data/lib/aspose_cells_cloud/models/custom_parser_config.rb +2 -2
  40. data/lib/aspose_cells_cloud/models/data_bar.rb +12 -12
  41. data/lib/aspose_cells_cloud/models/data_bar_border.rb +2 -2
  42. data/lib/aspose_cells_cloud/models/data_labels.rb +13 -13
  43. data/lib/aspose_cells_cloud/models/data_sorter.rb +21 -9
  44. data/lib/aspose_cells_cloud/models/{access_token_response.rb → data_sorter_key.rb} +93 -84
  45. data/lib/aspose_cells_cloud/models/date_time_group_item.rb +7 -7
  46. data/lib/aspose_cells_cloud/models/digital_signature.rb +8 -8
  47. data/lib/aspose_cells_cloud/models/display_unit_label.rb +1 -1
  48. data/lib/aspose_cells_cloud/models/drop_bars.rb +2 -2
  49. data/lib/aspose_cells_cloud/models/dynamic_filter.rb +3 -3
  50. data/lib/aspose_cells_cloud/models/error_bar.rb +6 -6
  51. data/lib/aspose_cells_cloud/models/fill_format.rb +6 -6
  52. data/lib/aspose_cells_cloud/models/filter_column.rb +3 -3
  53. data/lib/aspose_cells_cloud/models/floor.rb +1 -1
  54. data/lib/aspose_cells_cloud/models/font.rb +10 -10
  55. data/lib/aspose_cells_cloud/models/font_setting.rb +5 -5
  56. data/lib/aspose_cells_cloud/models/format_condition.rb +14 -14
  57. data/lib/aspose_cells_cloud/models/formula_format_condition.rb +3 -3
  58. data/lib/aspose_cells_cloud/models/gradient_fill.rb +4 -4
  59. data/lib/aspose_cells_cloud/models/group_box.rb +1 -1
  60. data/lib/aspose_cells_cloud/models/horizontal_page_break.rb +3 -3
  61. data/lib/aspose_cells_cloud/models/html_save_options.rb +30 -30
  62. data/lib/aspose_cells_cloud/models/hyperlink.rb +5 -5
  63. data/lib/aspose_cells_cloud/models/icon_filter.rb +2 -2
  64. data/lib/aspose_cells_cloud/models/icon_set.rb +5 -5
  65. data/lib/aspose_cells_cloud/models/image_or_print_options.rb +8 -8
  66. data/lib/aspose_cells_cloud/models/image_save_options.rb +12 -12
  67. data/lib/aspose_cells_cloud/models/{cells_error.rb → import_json_request.rb} +60 -55
  68. data/lib/aspose_cells_cloud/models/import_picture_option.rb +1 -1
  69. data/lib/aspose_cells_cloud/models/import_xml_request.rb +16 -4
  70. data/lib/aspose_cells_cloud/models/json_save_options.rb +4 -4
  71. data/lib/aspose_cells_cloud/models/label.rb +1 -1
  72. data/lib/aspose_cells_cloud/models/legend.rb +2 -2
  73. data/lib/aspose_cells_cloud/models/legend_entry.rb +4 -4
  74. data/lib/aspose_cells_cloud/models/line.rb +19 -19
  75. data/lib/aspose_cells_cloud/models/line_format.rb +11 -11
  76. data/lib/aspose_cells_cloud/models/line_shape.rb +6 -6
  77. data/lib/aspose_cells_cloud/models/list_box.rb +6 -6
  78. data/lib/aspose_cells_cloud/models/list_column.rb +4 -4
  79. data/lib/aspose_cells_cloud/models/list_object.rb +21 -21
  80. data/lib/aspose_cells_cloud/models/load_options.rb +8 -8
  81. data/lib/aspose_cells_cloud/models/m_html_save_options.rb +12 -12
  82. data/lib/aspose_cells_cloud/models/markdown_save_options.rb +3 -3
  83. data/lib/aspose_cells_cloud/models/marker.rb +4 -4
  84. data/lib/aspose_cells_cloud/models/match_condition_request.rb +2 -2
  85. data/lib/aspose_cells_cloud/models/name.rb +6 -6
  86. data/lib/aspose_cells_cloud/models/negative_bar_format.rb +4 -4
  87. data/lib/aspose_cells_cloud/models/ole_object.rb +7 -7
  88. data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +5 -5
  89. data/lib/aspose_cells_cloud/models/page_setup.rb +34 -34
  90. data/lib/aspose_cells_cloud/models/password_request.rb +1 -1
  91. data/lib/aspose_cells_cloud/models/paste_options.rb +4 -4
  92. data/lib/aspose_cells_cloud/models/pattern_fill.rb +7 -7
  93. data/lib/aspose_cells_cloud/models/pdf_save_options.rb +19 -19
  94. data/lib/aspose_cells_cloud/models/pic_format_option.rb +6 -6
  95. data/lib/aspose_cells_cloud/models/picture.rb +5 -5
  96. data/lib/aspose_cells_cloud/models/pivot_table_field_request.rb +1 -1
  97. data/lib/aspose_cells_cloud/models/plot_area.rb +4 -4
  98. data/lib/aspose_cells_cloud/models/{protect_workbook_requst.rb → protect_workbook_request.rb} +18 -18
  99. data/lib/aspose_cells_cloud/models/protection.rb +17 -17
  100. data/lib/aspose_cells_cloud/models/query_table.rb +5 -5
  101. data/lib/aspose_cells_cloud/models/radio_button.rb +3 -3
  102. data/lib/aspose_cells_cloud/models/range.rb +9 -9
  103. data/lib/aspose_cells_cloud/models/range_copy_request.rb +4 -4
  104. data/lib/aspose_cells_cloud/models/range_set_outline_border_request.rb +4 -4
  105. data/lib/aspose_cells_cloud/models/range_set_style_request.rb +2 -2
  106. data/lib/aspose_cells_cloud/models/range_sort_request.rb +2 -2
  107. data/lib/aspose_cells_cloud/models/row.rb +7 -7
  108. data/lib/aspose_cells_cloud/models/save_options.rb +4 -4
  109. data/lib/aspose_cells_cloud/models/scroll_bar.rb +7 -7
  110. data/lib/aspose_cells_cloud/models/series.rb +47 -47
  111. data/lib/aspose_cells_cloud/models/shadow_effect.rb +7 -7
  112. data/lib/aspose_cells_cloud/models/shape.rb +36 -36
  113. data/lib/aspose_cells_cloud/models/solid_fill.rb +3 -3
  114. data/lib/aspose_cells_cloud/models/sparkline.rb +3 -3
  115. data/lib/aspose_cells_cloud/models/sparkline_group.rb +27 -27
  116. data/lib/aspose_cells_cloud/models/spinner.rb +5 -5
  117. data/lib/aspose_cells_cloud/models/split_result_response.rb +1 -1
  118. data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +3 -3
  119. data/lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb +3 -3
  120. data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +14 -14
  121. data/lib/aspose_cells_cloud/models/style.rb +22 -22
  122. data/lib/aspose_cells_cloud/models/svg_save_options.rb +1 -1
  123. data/lib/aspose_cells_cloud/models/table_total_request.rb +3 -3
  124. data/lib/aspose_cells_cloud/models/text_format_condition.rb +1 -1
  125. data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +4 -4
  126. data/lib/aspose_cells_cloud/models/texture_fill.rb +5 -5
  127. data/lib/aspose_cells_cloud/models/theme_color.rb +2 -2
  128. data/lib/aspose_cells_cloud/models/tick_labels.rb +11 -11
  129. data/lib/aspose_cells_cloud/models/tile_pic_option.rb +6 -6
  130. data/lib/aspose_cells_cloud/models/time_period_format_condition.rb +1 -1
  131. data/lib/aspose_cells_cloud/models/title.rb +2 -2
  132. data/lib/aspose_cells_cloud/models/top10.rb +3 -3
  133. data/lib/aspose_cells_cloud/models/top10_filter.rb +4 -4
  134. data/lib/aspose_cells_cloud/models/trendline.rb +12 -12
  135. data/lib/aspose_cells_cloud/models/txt_save_options.rb +4 -4
  136. data/lib/aspose_cells_cloud/models/validation.rb +16 -16
  137. data/lib/aspose_cells_cloud/models/vertical_page_break.rb +3 -3
  138. data/lib/aspose_cells_cloud/models/walls.rb +5 -5
  139. data/lib/aspose_cells_cloud/models/workbook.rb +4 -4
  140. data/lib/aspose_cells_cloud/models/workbook_protection_request.rb +1 -1
  141. data/lib/aspose_cells_cloud/models/workbook_settings.rb +44 -44
  142. data/lib/aspose_cells_cloud/models/worksheet.rb +29 -29
  143. data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +1 -1
  144. data/lib/aspose_cells_cloud/requests/delete_un_protect_workbook_request.rb +9 -9
  145. data/lib/aspose_cells_cloud/requests/post_protect_request.rb +9 -9
  146. data/lib/aspose_cells_cloud/requests/post_protect_workbook_request.rb +9 -9
  147. data/lib/aspose_cells_cloud/requests/post_workbook_import_json_request.rb +156 -0
  148. data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_sort_request.rb +9 -9
  149. data/lib/aspose_cells_cloud/requests/{post_worksheet_cells_ranges_request.rb → post_worksheet_cells_ranges_copy_request.rb} +8 -8
  150. data/lib/aspose_cells_cloud/version.rb +1 -1
  151. data/lib/aspose_cells_cloud.rb +23 -19
  152. data/spec/api/folder_controller_spec.rb +1 -1
  153. data/spec/api/list_objects_controller_spec.rb +1 -0
  154. data/spec/api/pivot_tables_controller_spec.rb +3 -3
  155. data/spec/api/ranges_controller_spec.rb +8 -7
  156. data/spec/api/workbook_controller_spec.rb +3 -4
  157. data/spec/conversion/conversion_json_spec.rb +0 -198
  158. data/spec/conversion/conversion_png_spec.rb +0 -264
  159. data/spec/conversion/conversion_spec.rb +92 -653
  160. data/spec/document/light_cells_spec.rb +18 -3
  161. metadata +11 -15
  162. data/lib/aspose_cells_cloud/api/light_cells_api.rb +0 -1304
  163. data/lib/aspose_cells_cloud/api/lite_cells_api.rb +0 -1179
  164. data/lib/aspose_cells_cloud/models/spreadsheet_ml2003_save_options.rb +0 -292
  165. data/spec/one_case_spec.rb +0 -27
  166. data/spec/onecase_spec.rb +0 -28
@@ -31,11 +31,11 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class AboveAverage
34
- #Get or set the flag indicating whether the rule is an "above average" rule. 'true' indicates 'above average'. Default value is true.
34
+ #Get or set the flag indicating whether the rule is an "above average" rule. 'true' indicates 'above average'. Default value is true.
35
35
  attr_accessor :is_above_average
36
- #Get or set the flag indicating whether the 'aboveAverage' and 'belowAverage' criteria is inclusive of the average itself, or exclusive of that value. 'true' indicates to include the average value in the criteria. Default value is false.
36
+ #Get or set the flag indicating whether the 'aboveAverage' and 'belowAverage' criteria is inclusive of the average itself, or exclusive of that value. 'true' indicates to include the average value in the criteria. Default value is false.
37
37
  attr_accessor :is_equal_average
38
- #Get or set the number of standard deviations to include above or below the average in the conditional formatting rule. The input value must between 0 and 3 (include 0 and 3). Setting this value to 0 means stdDev is not set. The default value is 0.
38
+ #Get or set the number of standard deviations to include above or below the average in the conditional formatting rule. The input value must between 0 and 3 (include 0 and 3). Setting this value to 0 means stdDev is not set. The default value is 0.
39
39
  attr_accessor :std_dev
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,17 +31,17 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class ArcShape
34
- #
34
+ #Gets and sets the begin arrow head length of the line.
35
35
  attr_accessor :begin_arrowhead_length
36
- #
36
+ #Gets and sets the begin arrow head style of the line.
37
37
  attr_accessor :begin_arrowhead_style
38
- #
38
+ #Gets and sets the begin arrow head width of the line.
39
39
  attr_accessor :begin_arrowhead_width
40
- #
40
+ #Gets and sets the end arrow head length of the line.
41
41
  attr_accessor :end_arrowhead_length
42
- #
42
+ #Gets and sets the end arrow head style of the line.
43
43
  attr_accessor :end_arrowhead_style
44
- #
44
+ #Gets and sets the end arrow head width of the line.
45
45
  attr_accessor :end_arrowhead_width
46
46
  #
47
47
  attr_accessor :name
@@ -31,17 +31,17 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Area
34
- #
34
+ #Gets or sets the background of the .
35
35
  attr_accessor :background_color
36
- #
36
+ #Represents a object that contains fill formatting properties for the specified chart or shape.
37
37
  attr_accessor :fill_format
38
- #
38
+ #Gets or sets the foreground .
39
39
  attr_accessor :foreground_color
40
40
  #
41
41
  attr_accessor :format
42
- #
42
+ #If the property is true and the value of chart point is a negative number, the foreground color and background color will be exchanged.
43
43
  attr_accessor :invert_if_negative
44
- #
44
+ #Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
45
45
  attr_accessor :transparency
46
46
 
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,13 +31,13 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class AutoFilter
34
- #
34
+ #Gets the collection of the filter columns.
35
35
  attr_accessor :filter_columns
36
- #
36
+ #Represents the range to which the specified AutoFilter applies.
37
37
  attr_accessor :range
38
- #
38
+ #Gets the data sorter.
39
39
  attr_accessor :sorter
40
- #
40
+ #Indicates whether the AutoFilter button for this column is visible.
41
41
  attr_accessor :show_filter_button
42
42
  #
43
43
  attr_accessor :link
@@ -31,23 +31,23 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class AutoFitterOptions
34
- #
34
+ #Gets and set the type of auto fitting row height of merged cells.
35
35
  attr_accessor :auto_fit_merged_cells_type
36
- #
36
+ #Indicates whether auto fit row height when the cells is merged in a row. The default value is false.
37
37
  attr_accessor :auto_fit_merged_cells
38
- #
38
+ #Ignores the hidden rows/columns.
39
39
  attr_accessor :ignore_hidden
40
- #
40
+ #Indicates whether only fit the rows which height are not customed.
41
41
  attr_accessor :only_auto
42
- #
42
+ #Gets or sets default edit language.
43
43
  attr_accessor :default_edit_language
44
- #
44
+ #Gets and sets the max row height(in unit of Point) when autofitting rows.
45
45
  attr_accessor :max_row_height
46
- #
46
+ #Gets and sets the type of auto fitting wrapped text.
47
47
  attr_accessor :auto_fit_wrapped_text_type
48
- #
48
+ #Gets and sets the formatted strategy.
49
49
  attr_accessor :format_strategy
50
- #
50
+ #Indicates whether fit for rendering purpose.
51
51
  attr_accessor :for_rendering
52
52
 
53
53
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,73 +31,73 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Axis
34
- #
34
+ #Gets the .
35
35
  attr_accessor :area
36
- #
36
+ #Represents if the value axis crosses the category axis between categories.
37
37
  attr_accessor :axis_between_categories
38
- #
38
+ #Gets the appearance of an Axis.
39
39
  attr_accessor :axis_line
40
- #
40
+ #Represents the base unit scale for the category axis.
41
41
  attr_accessor :base_unit_scale
42
- #
42
+ #Represents the category axis type.
43
43
  attr_accessor :category_type
44
- #
44
+ #Represents the point on the value axis where the category axis crosses it.
45
45
  attr_accessor :cross_at
46
- #
46
+ #Represents the on the specified axis where the other axis crosses.
47
47
  attr_accessor :cross_type
48
- #
48
+ #Represents the unit label for the specified axis.
49
49
  attr_accessor :display_unit
50
- #
50
+ #Represents a unit label on an axis in the specified chart. Unit labels are useful for charting large values— for example, in the millions or billions.
51
51
  attr_accessor :display_unit_label
52
- #
52
+ #Indicates whether the labels shall be shown as multi level.
53
53
  attr_accessor :has_multi_level_labels
54
- #
54
+ #Indicates whether the major unit of the axis is automatically assigned.
55
55
  attr_accessor :is_automatic_major_unit
56
- #
56
+ #Indicates whether the max value is automatically assigned.
57
57
  attr_accessor :is_automatic_max_value
58
- #
58
+ #Indicates whether the minor unit of the axis is automatically assigned.
59
59
  attr_accessor :is_automatic_minor_unit
60
- #
60
+ #Indicates whether the min value is automatically assigned.
61
61
  attr_accessor :is_automatic_min_value
62
- #
62
+ #Represents if the display unit label is shown on the specified axis.
63
63
  attr_accessor :is_display_unit_label_shown
64
- #
64
+ #Represents if the value axis scale type is logarithmic or not.
65
65
  attr_accessor :is_logarithmic
66
- #
66
+ #Represents if Microsoft Excel plots data points from last to first.
67
67
  attr_accessor :is_plot_order_reversed
68
- #
68
+ #Represents if the axis is visible.
69
69
  attr_accessor :is_visible
70
- #
70
+ #Represents the logarithmic base. Default value is 10.Only applies for Excel2007.
71
71
  attr_accessor :log_base
72
- #
72
+ #Represents major gridlines on a chart axis.
73
73
  attr_accessor :major_grid_lines
74
- #
74
+ #Represents the type of major tick mark for the specified axis.
75
75
  attr_accessor :major_tick_mark
76
- #
76
+ #Represents the major units for the axis.
77
77
  attr_accessor :major_unit
78
- #
78
+ #Represents the major unit scale for the category axis.
79
79
  attr_accessor :major_unit_scale
80
- #
80
+ #Represents the maximum value on the value axis.
81
81
  attr_accessor :max_value
82
- #
82
+ #Represents minor gridlines on a chart axis.
83
83
  attr_accessor :minor_grid_lines
84
- #
84
+ #Represents the type of minor tick mark for the specified axis.
85
85
  attr_accessor :minor_tick_mark
86
- #
86
+ #Represents the minor units for the axis.
87
87
  attr_accessor :minor_unit
88
- #
88
+ #Represents the major unit scale for the category axis.
89
89
  attr_accessor :minor_unit_scale
90
- #
90
+ #Represents the minimum value on the value axis.
91
91
  attr_accessor :min_value
92
- #
92
+ #Represents the position of tick-mark labels on the specified axis.
93
93
  attr_accessor :tick_label_position
94
- #
94
+ #Returns a object that represents the tick-mark labels for the specified axis.
95
95
  attr_accessor :tick_labels
96
- #
96
+ #Represents the number of categories or series between tick-mark labels. Applies only to category and series axes.
97
97
  attr_accessor :tick_label_spacing
98
- #
98
+ #Returns or sets the number of categories or series between tick marks. Applies only to category and series axes.
99
99
  attr_accessor :tick_mark_spacing
100
- #
100
+ #Gets the axis' title.
101
101
  attr_accessor :title
102
102
  #
103
103
  attr_accessor :link
@@ -1,40 +1,62 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- Copyright (c) 2022 Aspose.Cells Cloud
4
- Permission is hereby granted, free of charge, to any person obtaining a copy
5
- of this software and associated documentation files (the "Software"), to deal
6
- in the Software without restriction, including without limitation the rights
7
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- copies of the Software, and to permit persons to whom the Software is
9
- furnished to do so, subject to the following conditions:
10
- The above copyright notice and this permission notice shall be included in all
11
- copies or substantial portions of the Software.
12
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
- SOFTWARE.
3
+ <copyright company="Aspose" file="BarcodeResponserb.cs">
4
+ Copyright (c) 2023 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
19
25
  --------------------------------------------------------------------------------------------------------------------
20
-
21
26
  =end
22
27
 
28
+
23
29
  require 'date'
24
30
 
25
31
  module AsposeCellsCloud
26
32
 
27
- class ValueType
33
+ class BarcodeResponse
34
+ #Gets or sets barcode data.
35
+ attr_accessor :barcode_value
36
+ #Gets or sets type of the barcode.
37
+ attr_accessor :barcode_type
38
+ #Gets or sets region with barcode.
39
+ attr_accessor :region
40
+ #Gets or sets checksum of barcode.
41
+ attr_accessor :checksum
28
42
 
29
43
  # Attribute mapping from ruby-style variable name to JSON key.
30
44
  def self.attribute_map
31
45
  {
46
+ :'barcode_value' => :'BarcodeValue',
47
+ :'barcode_type' => :'BarcodeType',
48
+ :'region' => :'Region',
49
+ :'checksum' => :'Checksum'
32
50
  }
33
51
  end
34
52
 
35
53
  # Attribute type mapping.
36
54
  def self.swagger_types
37
55
  {
56
+ :'barcode_value' => :'String',
57
+ :'barcode_type' => :'String',
58
+ :'region' => :'Array<Point>',
59
+ :'checksum' => :'String'
38
60
  }
39
61
  end
40
62
 
@@ -46,18 +68,48 @@ module AsposeCellsCloud
46
68
  # convert string to symbol for hash key
47
69
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
48
70
 
71
+ if attributes.has_key?(:'BarcodeValue')
72
+ self.barcode_value = attributes[:'BarcodeValue']
73
+ end
74
+ if attributes.has_key?(:'BarcodeType')
75
+ self.barcode_type = attributes[:'BarcodeType']
76
+ end
77
+ if attributes.has_key?(:'Region')
78
+ self.region = attributes[:'Region']
79
+ end
80
+ if attributes.has_key?(:'Checksum')
81
+ self.checksum = attributes[:'Checksum']
82
+ end
83
+
49
84
  end
50
85
 
51
86
  # Show invalid properties with the reasons. Usually used together with valid?
52
87
  # @return Array for valid properies with the reasons
53
88
  def list_invalid_properties
54
89
  invalid_properties = Array.new
90
+ if @barcode_value.nil?
91
+ invalid_properties.push("invalid value for 'barcode_value', barcode_value cannot be nil.")
92
+ end
93
+ if @barcode_type.nil?
94
+ invalid_properties.push("invalid value for 'barcode_type', barcode_type cannot be nil.")
95
+ end
96
+ if @region.nil?
97
+ invalid_properties.push("invalid value for 'region', region cannot be nil.")
98
+ end
99
+ if @checksum.nil?
100
+ invalid_properties.push("invalid value for 'checksum', checksum cannot be nil.")
101
+ end
102
+
55
103
  return invalid_properties
56
104
  end
57
105
 
58
106
  # Check to see if the all the properties in the model are valid
59
107
  # @return true if the model is valid
60
108
  def valid?
109
+ return false if @barcode_value.nil?
110
+ return false if @barcode_type.nil?
111
+ return false if @region.nil?
112
+ return false if @checksum.nil?
61
113
  return true
62
114
  end
63
115
 
@@ -65,7 +117,12 @@ module AsposeCellsCloud
65
117
  # @param [Object] Object to be compared
66
118
  def ==(o)
67
119
  return true if self.equal?(o)
68
- self.class == o.class
120
+ self.class == o.class &&
121
+ barcode_value == o.barcode_value &&
122
+ barcode_type == o.barcode_type &&
123
+ region == o.region &&
124
+ checksum == o.checksum
125
+ std_dev == o.std_dev
69
126
  end
70
127
 
71
128
  # @see the `==` method
@@ -77,7 +134,7 @@ module AsposeCellsCloud
77
134
  # Calculates hash code according to all attributes.
78
135
  # @return [Fixnum] Hash code
79
136
  def hash
80
- [].hash
137
+ [ barcode_value , barcode_type , region , checksum ].hash
81
138
  end
82
139
 
83
140
  # Builds the object from hash
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- <copyright company="Aspose" file="TotalRequestrb.cs">
3
+ <copyright company="Aspose" file="BarcodeResponseListrb.cs">
4
4
  Copyright (c) 2023 Aspose.Cells Cloud
5
5
  </copyright>
6
6
  <summary>
@@ -30,7 +30,7 @@ require 'date'
30
30
 
31
31
  module AsposeCellsCloud
32
32
 
33
- class TotalRequest
33
+ class BarcodeResponseList
34
34
 
35
35
  # Attribute mapping from ruby-style variable name to JSON key.
36
36
  def self.attribute_map
@@ -31,19 +31,19 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class BatchConvertRequest
34
- #
34
+ #The directory stores files that need to format conversion.
35
35
  attr_accessor :source_folder
36
- #
36
+ #Aspose Cloud storage name.
37
37
  attr_accessor :source_storage
38
- #
38
+ #Indicates the match condition that needs to be processed for the file name.
39
39
  attr_accessor :match_condition
40
- #
40
+ #Conversion format.
41
41
  attr_accessor :format
42
- #
42
+ #The directory that stores files whose format conversion was successful.
43
43
  attr_accessor :out_folder
44
- #
44
+ #Aspose Cloud storage name.
45
45
  attr_accessor :out_storage
46
- #
46
+ #Indicates save options.
47
47
  attr_accessor :save_options
48
48
 
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,17 +31,17 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class BatchLockRequest
34
- #
34
+ #The directory stores files that need to format conversion.
35
35
  attr_accessor :source_folder
36
- #
36
+ #Aspose Cloud storage name
37
37
  attr_accessor :source_storage
38
- #
38
+ #Indicates the match condition that needs to be processed for the file name.
39
39
  attr_accessor :match_condition
40
- #
40
+ #Lock file with password
41
41
  attr_accessor :password
42
- #
42
+ #The directory that stores files whose format conversion was successful.
43
43
  attr_accessor :out_folder
44
- #
44
+ #Aspose Cloud storage name
45
45
  attr_accessor :out_storage
46
46
 
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,19 +31,19 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class BatchProtectRequest
34
- #
34
+ #The directory stores files that need to format conversion.
35
35
  attr_accessor :source_folder
36
- #
36
+ #Aspose Cloud storage name
37
37
  attr_accessor :source_storage
38
- #
38
+ #Indicates the match condition that needs to be processed for the file name.
39
39
  attr_accessor :match_condition
40
40
  #
41
41
  attr_accessor :protection_type
42
- #
42
+ #
43
43
  attr_accessor :password
44
- #
44
+ #The directory that stores files whose format conversion was successful.
45
45
  attr_accessor :out_folder
46
- #
46
+ #Aspose Cloud storage name.
47
47
  attr_accessor :out_storage
48
48
 
49
49
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,23 +31,23 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class BatchSplitRequest
34
- #
34
+ #The directory stores files that need to format conversion.
35
35
  attr_accessor :source_folder
36
- #
36
+ #Aspose Cloud storage name
37
37
  attr_accessor :source_storage
38
- #
38
+ #Indicates the match condition that needs to be processed for the file name.
39
39
  attr_accessor :match_condition
40
- #
40
+ #Output file format
41
41
  attr_accessor :format
42
- #
42
+ #From worksheet index of workbook.
43
43
  attr_accessor :from_index
44
- #
44
+ #To worksheet index of workbook.
45
45
  attr_accessor :to_index
46
- #
46
+ #The directory that stores files whose format conversion was successful.
47
47
  attr_accessor :out_folder
48
- #
48
+ #Aspose Cloud storage name.
49
49
  attr_accessor :out_storage
50
- #
50
+ #Indicates save options.
51
51
  attr_accessor :save_options
52
52
 
53
53
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,15 +31,15 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Border
34
- #
34
+ #Gets or sets the cell border type.
35
35
  attr_accessor :line_style
36
- #
36
+ #Gets or sets the of the border.
37
37
  attr_accessor :color
38
38
  #
39
39
  attr_accessor :border_type
40
- #
40
+ #Gets and sets the theme color of the border.
41
41
  attr_accessor :theme_color
42
- #
42
+ #Gets and sets the color with a 32-bit ARGB value.
43
43
  attr_accessor :argb_color
44
44
 
45
45
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,13 +31,13 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class CalculationOptions
34
- #
34
+ #Specifies the stack size for calculating cells recursively.
35
35
  attr_accessor :calc_stack_size
36
- #
36
+ #Indicates whether errors encountered while calculating formulas should be ignored. The error may be unsupported function, external links, etc. The default value is true.
37
37
  attr_accessor :ignore_error
38
- #
38
+ #Specifies the strategy for processing precision of calculation.
39
39
  attr_accessor :precision_strategy
40
- #
40
+ #Indicates whether calculate the dependent cells recursively when calculating one cell and it depends on other cells. The default value is true.
41
41
  attr_accessor :recursive
42
42
  #The custom formula calculation engine to extend the default calculation engine of Aspose.Cells.
43
43
  attr_accessor :custom_engine
@@ -31,37 +31,37 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Cell
34
- #
34
+ #Gets the name of the cell.
35
35
  attr_accessor :name
36
- #
36
+ #Gets row number (zero based) of the cell.
37
37
  attr_accessor :row
38
- #
38
+ #Gets column number (zero based) of the cell.
39
39
  attr_accessor :column
40
- #
40
+ #Gets the value contained in this cell.
41
41
  attr_accessor :value
42
- #
42
+ #Represents cell value type.
43
43
  attr_accessor :type
44
- #
44
+ #Gets or sets a formula of the .
45
45
  attr_accessor :formula
46
- #
46
+ #Represents if the specified cell contains formula.
47
47
  attr_accessor :is_formula
48
- #
48
+ #Checks if a cell is part of a merged range or not.
49
49
  attr_accessor :is_merged
50
- #
50
+ #Indicates the cell's formula is and array formula and it is the first cell of the array.
51
51
  attr_accessor :is_array_header
52
- #
52
+ #Indicates whether the cell formula is an array formula.
53
53
  attr_accessor :is_in_array
54
- #
54
+ #Checks if the value of this cell is an error.
55
55
  attr_accessor :is_error_value
56
- #
56
+ #Indicates whether this cell is part of table formula.
57
57
  attr_accessor :is_in_table
58
- #
58
+ #Indicates if the cell's style is set. If return false, it means this cell has a default cell format.
59
59
  attr_accessor :is_style_set
60
- #
60
+ #Gets and sets the html string which contains data and some formats in this cell.
61
61
  attr_accessor :html_string
62
62
  #
63
63
  attr_accessor :style
64
- #
64
+ #Gets the parent worksheet.
65
65
  attr_accessor :worksheet
66
66
  #
67
67
  attr_accessor :link
@@ -31,15 +31,15 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Cells
34
- #
34
+ #Maximum row index of cell which contains data or style.
35
35
  attr_accessor :max_row
36
- #
36
+ #Maximum column index of those cells that have been instantiated in the collection(does not include the column where style is defined for the whole column but no cell has been instantiated in it).
37
37
  attr_accessor :max_column
38
38
  #
39
39
  attr_accessor :cell_count
40
- #
40
+ #Gets the collection of objects that represents the individual rows in this worksheet.
41
41
  attr_accessor :rows
42
- #
42
+ #Gets the collection of objects that represents the individual columns in this worksheet.
43
43
  attr_accessor :columns
44
44
  #
45
45
  attr_accessor :cell_list