aspose_cells_cloud 23.8 → 23.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +4 -1
  3. data/README.md +6 -4
  4. data/lib/aspose_cells_cloud/api/cells_api.rb +25 -2
  5. data/lib/aspose_cells_cloud/models/above_average.rb +3 -3
  6. data/lib/aspose_cells_cloud/models/abstract_calculation_engine.rb +234 -0
  7. data/lib/aspose_cells_cloud/models/{barcode_response.rb → abstract_calculation_monitor.rb} +33 -45
  8. data/lib/aspose_cells_cloud/models/arc_shape.rb +6 -6
  9. data/lib/aspose_cells_cloud/models/area.rb +5 -5
  10. data/lib/aspose_cells_cloud/models/auto_filter.rb +4 -4
  11. data/lib/aspose_cells_cloud/models/auto_fitter_options.rb +68 -8
  12. data/lib/aspose_cells_cloud/models/axis.rb +34 -34
  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 +44 -8
  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/{barcode_response_list.rb → chart_globalization_settings.rb} +2 -2
  26. data/lib/aspose_cells_cloud/models/chart_point.rb +8 -8
  27. data/lib/aspose_cells_cloud/models/check_box.rb +3 -3
  28. data/lib/aspose_cells_cloud/models/color_filter.rb +1 -1
  29. data/lib/aspose_cells_cloud/models/color_filter_request.rb +3 -3
  30. data/lib/aspose_cells_cloud/models/color_scale.rb +6 -6
  31. data/lib/aspose_cells_cloud/models/column.rb +5 -5
  32. data/lib/aspose_cells_cloud/models/combo_box.rb +5 -5
  33. data/lib/aspose_cells_cloud/models/comment.rb +10 -10
  34. data/lib/aspose_cells_cloud/models/comment_shape.rb +1 -1
  35. data/lib/aspose_cells_cloud/models/conditional_formatting_icon.rb +3 -3
  36. data/lib/aspose_cells_cloud/models/conditional_formatting_value.rb +3 -3
  37. data/lib/aspose_cells_cloud/models/copy_options.rb +6 -6
  38. data/lib/aspose_cells_cloud/models/create_pivot_table_request.rb +7 -7
  39. data/lib/aspose_cells_cloud/models/custom_filter.rb +2 -2
  40. data/lib/aspose_cells_cloud/models/custom_parser_config.rb +2 -2
  41. data/lib/aspose_cells_cloud/models/data_bar.rb +12 -12
  42. data/lib/aspose_cells_cloud/models/data_bar_border.rb +2 -2
  43. data/lib/aspose_cells_cloud/models/data_labels.rb +13 -13
  44. data/lib/aspose_cells_cloud/models/data_sorter.rb +21 -9
  45. data/lib/aspose_cells_cloud/models/data_sorter_key.rb +270 -0
  46. data/lib/aspose_cells_cloud/models/date_time_group_item.rb +7 -7
  47. data/lib/aspose_cells_cloud/models/digital_signature.rb +8 -8
  48. data/lib/aspose_cells_cloud/models/display_unit_label.rb +1 -1
  49. data/lib/aspose_cells_cloud/models/drop_bars.rb +2 -2
  50. data/lib/aspose_cells_cloud/models/dynamic_filter.rb +3 -3
  51. data/lib/aspose_cells_cloud/models/error_bar.rb +6 -6
  52. data/lib/aspose_cells_cloud/models/fill_format.rb +6 -6
  53. data/lib/aspose_cells_cloud/models/filter_column.rb +3 -3
  54. data/lib/aspose_cells_cloud/models/floor.rb +1 -1
  55. data/lib/aspose_cells_cloud/models/font.rb +10 -10
  56. data/lib/aspose_cells_cloud/models/font_setting.rb +5 -5
  57. data/lib/aspose_cells_cloud/models/format_condition.rb +14 -14
  58. data/lib/aspose_cells_cloud/models/formula_format_condition.rb +3 -3
  59. data/lib/aspose_cells_cloud/models/formula_settings.rb +330 -0
  60. data/lib/aspose_cells_cloud/models/globalization_settings.rb +258 -0
  61. data/lib/aspose_cells_cloud/models/gradient_fill.rb +4 -4
  62. data/lib/aspose_cells_cloud/models/group_box.rb +1 -1
  63. data/lib/aspose_cells_cloud/models/horizontal_page_break.rb +3 -3
  64. data/lib/aspose_cells_cloud/models/html_save_options.rb +30 -30
  65. data/lib/aspose_cells_cloud/models/hyperlink.rb +5 -5
  66. data/lib/aspose_cells_cloud/models/icon_filter.rb +2 -2
  67. data/lib/aspose_cells_cloud/models/icon_set.rb +5 -5
  68. data/lib/aspose_cells_cloud/models/image_or_print_options.rb +8 -8
  69. data/lib/aspose_cells_cloud/models/image_save_options.rb +12 -12
  70. data/lib/aspose_cells_cloud/models/import_picture_option.rb +1 -1
  71. data/lib/aspose_cells_cloud/models/json_save_options.rb +4 -4
  72. data/lib/aspose_cells_cloud/models/label.rb +1 -1
  73. data/lib/aspose_cells_cloud/models/legend.rb +2 -2
  74. data/lib/aspose_cells_cloud/models/legend_entry.rb +4 -4
  75. data/lib/aspose_cells_cloud/models/line.rb +19 -19
  76. data/lib/aspose_cells_cloud/models/line_format.rb +11 -11
  77. data/lib/aspose_cells_cloud/models/line_shape.rb +6 -6
  78. data/lib/aspose_cells_cloud/models/list_box.rb +6 -6
  79. data/lib/aspose_cells_cloud/models/list_column.rb +20 -8
  80. data/lib/aspose_cells_cloud/models/list_object.rb +88 -16
  81. data/lib/aspose_cells_cloud/models/load_options.rb +8 -8
  82. data/lib/aspose_cells_cloud/models/m_html_save_options.rb +12 -12
  83. data/lib/aspose_cells_cloud/models/markdown_save_options.rb +3 -3
  84. data/lib/aspose_cells_cloud/models/marker.rb +4 -4
  85. data/lib/aspose_cells_cloud/models/match_condition_request.rb +2 -2
  86. data/lib/aspose_cells_cloud/models/name.rb +6 -6
  87. data/lib/aspose_cells_cloud/models/negative_bar_format.rb +4 -4
  88. data/lib/aspose_cells_cloud/models/ole_object.rb +7 -7
  89. data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +5 -5
  90. data/lib/aspose_cells_cloud/models/page_setup.rb +34 -34
  91. data/lib/aspose_cells_cloud/models/password_request.rb +1 -1
  92. data/lib/aspose_cells_cloud/models/paste_options.rb +4 -4
  93. data/lib/aspose_cells_cloud/models/pattern_fill.rb +7 -7
  94. data/lib/aspose_cells_cloud/models/pdf_save_options.rb +19 -19
  95. data/lib/aspose_cells_cloud/models/pic_format_option.rb +6 -6
  96. data/lib/aspose_cells_cloud/models/picture.rb +5 -5
  97. data/lib/aspose_cells_cloud/models/pivot_globalization_settings.rb +198 -0
  98. data/lib/aspose_cells_cloud/models/pivot_table_field_request.rb +1 -1
  99. data/lib/aspose_cells_cloud/models/plot_area.rb +4 -4
  100. data/lib/aspose_cells_cloud/models/{protect_workbook_requst.rb → protect_workbook_request.rb} +18 -18
  101. data/lib/aspose_cells_cloud/models/protection.rb +17 -17
  102. data/lib/aspose_cells_cloud/models/query_table.rb +258 -0
  103. data/lib/aspose_cells_cloud/models/radio_button.rb +3 -3
  104. data/lib/aspose_cells_cloud/models/range.rb +9 -9
  105. data/lib/aspose_cells_cloud/models/range_copy_request.rb +4 -4
  106. data/lib/aspose_cells_cloud/models/range_set_outline_border_request.rb +4 -4
  107. data/lib/aspose_cells_cloud/models/range_set_style_request.rb +2 -2
  108. data/lib/aspose_cells_cloud/models/range_sort_request.rb +222 -0
  109. data/lib/aspose_cells_cloud/models/row.rb +7 -7
  110. data/lib/aspose_cells_cloud/models/save_options.rb +4 -4
  111. data/lib/aspose_cells_cloud/models/scroll_bar.rb +7 -7
  112. data/lib/aspose_cells_cloud/models/series.rb +47 -47
  113. data/lib/aspose_cells_cloud/models/shadow_effect.rb +7 -7
  114. data/lib/aspose_cells_cloud/models/shape.rb +36 -36
  115. data/lib/aspose_cells_cloud/models/solid_fill.rb +3 -3
  116. data/lib/aspose_cells_cloud/models/sparkline.rb +3 -3
  117. data/lib/aspose_cells_cloud/models/sparkline_group.rb +27 -27
  118. data/lib/aspose_cells_cloud/models/spinner.rb +5 -5
  119. data/lib/aspose_cells_cloud/models/split_result_response.rb +1 -1
  120. data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +3 -3
  121. data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +14 -14
  122. data/lib/aspose_cells_cloud/models/style.rb +22 -22
  123. data/lib/aspose_cells_cloud/models/svg_save_options.rb +1 -1
  124. data/lib/aspose_cells_cloud/models/table_total_request.rb +3 -3
  125. data/lib/aspose_cells_cloud/models/text_format_condition.rb +1 -1
  126. data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +4 -4
  127. data/lib/aspose_cells_cloud/models/texture_fill.rb +5 -5
  128. data/lib/aspose_cells_cloud/models/theme_color.rb +2 -2
  129. data/lib/aspose_cells_cloud/models/tick_labels.rb +11 -11
  130. data/lib/aspose_cells_cloud/models/tile_pic_option.rb +6 -6
  131. data/lib/aspose_cells_cloud/models/time_period_format_condition.rb +1 -1
  132. data/lib/aspose_cells_cloud/models/title.rb +2 -2
  133. data/lib/aspose_cells_cloud/models/top10.rb +3 -3
  134. data/lib/aspose_cells_cloud/models/top10_filter.rb +4 -4
  135. data/lib/aspose_cells_cloud/models/trendline.rb +12 -12
  136. data/lib/aspose_cells_cloud/models/txt_save_options.rb +4 -4
  137. data/lib/aspose_cells_cloud/models/validation.rb +16 -16
  138. data/lib/aspose_cells_cloud/models/vertical_page_break.rb +3 -3
  139. data/lib/aspose_cells_cloud/models/walls.rb +5 -5
  140. data/lib/aspose_cells_cloud/models/workbook.rb +4 -4
  141. data/lib/aspose_cells_cloud/models/workbook_protection_request.rb +1 -1
  142. data/lib/aspose_cells_cloud/models/workbook_settings.rb +263 -47
  143. data/lib/aspose_cells_cloud/models/worksheet.rb +29 -29
  144. data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +1 -1
  145. data/lib/aspose_cells_cloud/models/write_protection.rb +246 -0
  146. data/lib/aspose_cells_cloud/models/xml_data_binding.rb +210 -0
  147. data/lib/aspose_cells_cloud/models/xml_map.rb +234 -0
  148. data/lib/aspose_cells_cloud/requests/delete_un_protect_workbook_request.rb +9 -9
  149. data/lib/aspose_cells_cloud/requests/post_protect_request.rb +9 -9
  150. data/lib/aspose_cells_cloud/requests/post_protect_workbook_request.rb +9 -9
  151. data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_sort_request.rb +138 -0
  152. data/lib/aspose_cells_cloud/requests/{post_worksheet_cells_ranges_request.rb → post_worksheet_cells_ranges_copy_request.rb} +8 -8
  153. data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_insert_slicer_request.rb +159 -0
  154. data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_remove_duplicates_request.rb +137 -0
  155. data/lib/aspose_cells_cloud/version.rb +1 -1
  156. data/lib/aspose_cells_cloud.rb +28 -16
  157. data/spec/api/list_objects_controller_spec.rb +36 -0
  158. data/spec/api/pivot_tables_controller_spec.rb +3 -3
  159. data/spec/api/ranges_controller_spec.rb +24 -3
  160. data/spec/api/workbook_controller_spec.rb +3 -4
  161. data/spec/document/light_cells_spec.rb +17 -3
  162. data/spec/{onecase_spec.rb → one_case_spec.rb} +3 -5
  163. metadata +20 -8
  164. data/lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb +0 -330
@@ -31,14 +31,24 @@ 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
+ #Gets or sets default edit language.
43
+ attr_accessor :default_edit_language
44
+ #Gets and sets the max row height(in unit of Point) when autofitting rows.
45
+ attr_accessor :max_row_height
46
+ #Gets and sets the type of auto fitting wrapped text.
47
+ attr_accessor :auto_fit_wrapped_text_type
48
+ #Gets and sets the formatted strategy.
49
+ attr_accessor :format_strategy
50
+ #Indicates whether fit for rendering purpose.
51
+ attr_accessor :for_rendering
42
52
 
43
53
  # Attribute mapping from ruby-style variable name to JSON key.
44
54
  def self.attribute_map
@@ -46,7 +56,12 @@ module AsposeCellsCloud
46
56
  :'auto_fit_merged_cells_type' => :'AutoFitMergedCellsType',
47
57
  :'auto_fit_merged_cells' => :'AutoFitMergedCells',
48
58
  :'ignore_hidden' => :'IgnoreHidden',
49
- :'only_auto' => :'OnlyAuto'
59
+ :'only_auto' => :'OnlyAuto',
60
+ :'default_edit_language' => :'DefaultEditLanguage',
61
+ :'max_row_height' => :'MaxRowHeight',
62
+ :'auto_fit_wrapped_text_type' => :'AutoFitWrappedTextType',
63
+ :'format_strategy' => :'FormatStrategy',
64
+ :'for_rendering' => :'ForRendering'
50
65
  }
51
66
  end
52
67
 
@@ -56,7 +71,12 @@ module AsposeCellsCloud
56
71
  :'auto_fit_merged_cells_type' => :'String',
57
72
  :'auto_fit_merged_cells' => :'BOOLEAN',
58
73
  :'ignore_hidden' => :'BOOLEAN',
59
- :'only_auto' => :'BOOLEAN'
74
+ :'only_auto' => :'BOOLEAN',
75
+ :'default_edit_language' => :'String',
76
+ :'max_row_height' => :'Float',
77
+ :'auto_fit_wrapped_text_type' => :'String',
78
+ :'format_strategy' => :'String',
79
+ :'for_rendering' => :'BOOLEAN'
60
80
  }
61
81
  end
62
82
 
@@ -80,6 +100,21 @@ module AsposeCellsCloud
80
100
  if attributes.has_key?(:'OnlyAuto')
81
101
  self.only_auto = attributes[:'OnlyAuto']
82
102
  end
103
+ if attributes.has_key?(:'DefaultEditLanguage')
104
+ self.default_edit_language = attributes[:'DefaultEditLanguage']
105
+ end
106
+ if attributes.has_key?(:'MaxRowHeight')
107
+ self.max_row_height = attributes[:'MaxRowHeight']
108
+ end
109
+ if attributes.has_key?(:'AutoFitWrappedTextType')
110
+ self.auto_fit_wrapped_text_type = attributes[:'AutoFitWrappedTextType']
111
+ end
112
+ if attributes.has_key?(:'FormatStrategy')
113
+ self.format_strategy = attributes[:'FormatStrategy']
114
+ end
115
+ if attributes.has_key?(:'ForRendering')
116
+ self.for_rendering = attributes[:'ForRendering']
117
+ end
83
118
 
84
119
  end
85
120
 
@@ -99,6 +134,21 @@ module AsposeCellsCloud
99
134
  if @only_auto.nil?
100
135
  invalid_properties.push("invalid value for 'only_auto', only_auto cannot be nil.")
101
136
  end
137
+ if @default_edit_language.nil?
138
+ invalid_properties.push("invalid value for 'default_edit_language', default_edit_language cannot be nil.")
139
+ end
140
+ if @max_row_height.nil?
141
+ invalid_properties.push("invalid value for 'max_row_height', max_row_height cannot be nil.")
142
+ end
143
+ if @auto_fit_wrapped_text_type.nil?
144
+ invalid_properties.push("invalid value for 'auto_fit_wrapped_text_type', auto_fit_wrapped_text_type cannot be nil.")
145
+ end
146
+ if @format_strategy.nil?
147
+ invalid_properties.push("invalid value for 'format_strategy', format_strategy cannot be nil.")
148
+ end
149
+ if @for_rendering.nil?
150
+ invalid_properties.push("invalid value for 'for_rendering', for_rendering cannot be nil.")
151
+ end
102
152
 
103
153
  return invalid_properties
104
154
  end
@@ -110,6 +160,11 @@ module AsposeCellsCloud
110
160
  return false if @auto_fit_merged_cells.nil?
111
161
  return false if @ignore_hidden.nil?
112
162
  return false if @only_auto.nil?
163
+ return false if @default_edit_language.nil?
164
+ return false if @max_row_height.nil?
165
+ return false if @auto_fit_wrapped_text_type.nil?
166
+ return false if @format_strategy.nil?
167
+ return false if @for_rendering.nil?
113
168
  return true
114
169
  end
115
170
 
@@ -121,7 +176,12 @@ module AsposeCellsCloud
121
176
  auto_fit_merged_cells_type == o.auto_fit_merged_cells_type &&
122
177
  auto_fit_merged_cells == o.auto_fit_merged_cells &&
123
178
  ignore_hidden == o.ignore_hidden &&
124
- only_auto == o.only_auto
179
+ only_auto == o.only_auto &&
180
+ default_edit_language == o.default_edit_language &&
181
+ max_row_height == o.max_row_height &&
182
+ auto_fit_wrapped_text_type == o.auto_fit_wrapped_text_type &&
183
+ format_strategy == o.format_strategy &&
184
+ for_rendering == o.for_rendering
125
185
  std_dev == o.std_dev
126
186
  end
127
187
 
@@ -134,7 +194,7 @@ module AsposeCellsCloud
134
194
  # Calculates hash code according to all attributes.
135
195
  # @return [Fixnum] Hash code
136
196
  def hash
137
- [ auto_fit_merged_cells_type , auto_fit_merged_cells , ignore_hidden , only_auto ].hash
197
+ [ auto_fit_merged_cells_type , auto_fit_merged_cells , ignore_hidden , only_auto , default_edit_language , max_row_height , auto_fit_wrapped_text_type , format_strategy , for_rendering ].hash
138
198
  end
139
199
 
140
200
  # Builds the object from hash
@@ -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
@@ -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,14 +31,20 @@ 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
+ #The custom formula calculation engine to extend the default calculation engine of Aspose.Cells.
43
+ attr_accessor :custom_engine
44
+ #The monitor for user to track the progress of formula calculation.
45
+ attr_accessor :calculation_monitor
46
+ #Specifies the data sources for external links used in formulas.
47
+ attr_accessor :linked_data_sources
42
48
 
43
49
  # Attribute mapping from ruby-style variable name to JSON key.
44
50
  def self.attribute_map
@@ -46,7 +52,10 @@ module AsposeCellsCloud
46
52
  :'calc_stack_size' => :'CalcStackSize',
47
53
  :'ignore_error' => :'IgnoreError',
48
54
  :'precision_strategy' => :'PrecisionStrategy',
49
- :'recursive' => :'Recursive'
55
+ :'recursive' => :'Recursive',
56
+ :'custom_engine' => :'CustomEngine',
57
+ :'calculation_monitor' => :'CalculationMonitor',
58
+ :'linked_data_sources' => :'LinkedDataSources'
50
59
  }
51
60
  end
52
61
 
@@ -56,7 +65,10 @@ module AsposeCellsCloud
56
65
  :'calc_stack_size' => :'Integer',
57
66
  :'ignore_error' => :'BOOLEAN',
58
67
  :'precision_strategy' => :'String',
59
- :'recursive' => :'BOOLEAN'
68
+ :'recursive' => :'BOOLEAN',
69
+ :'custom_engine' => :'AbstractCalculationEngine',
70
+ :'calculation_monitor' => :'AbstractCalculationMonitor',
71
+ :'linked_data_sources' => :'Array<Workbook>'
60
72
  }
61
73
  end
62
74
 
@@ -80,6 +92,15 @@ module AsposeCellsCloud
80
92
  if attributes.has_key?(:'Recursive')
81
93
  self.recursive = attributes[:'Recursive']
82
94
  end
95
+ if attributes.has_key?(:'CustomEngine')
96
+ self.custom_engine = attributes[:'CustomEngine']
97
+ end
98
+ if attributes.has_key?(:'CalculationMonitor')
99
+ self.calculation_monitor = attributes[:'CalculationMonitor']
100
+ end
101
+ if attributes.has_key?(:'LinkedDataSources')
102
+ self.linked_data_sources = attributes[:'LinkedDataSources']
103
+ end
83
104
 
84
105
  end
85
106
 
@@ -99,6 +120,15 @@ module AsposeCellsCloud
99
120
  if @recursive.nil?
100
121
  invalid_properties.push("invalid value for 'recursive', recursive cannot be nil.")
101
122
  end
123
+ if @custom_engine.nil?
124
+ invalid_properties.push("invalid value for 'custom_engine', custom_engine cannot be nil.")
125
+ end
126
+ if @calculation_monitor.nil?
127
+ invalid_properties.push("invalid value for 'calculation_monitor', calculation_monitor cannot be nil.")
128
+ end
129
+ if @linked_data_sources.nil?
130
+ invalid_properties.push("invalid value for 'linked_data_sources', linked_data_sources cannot be nil.")
131
+ end
102
132
 
103
133
  return invalid_properties
104
134
  end
@@ -110,6 +140,9 @@ module AsposeCellsCloud
110
140
  return false if @ignore_error.nil?
111
141
  return false if @precision_strategy.nil?
112
142
  return false if @recursive.nil?
143
+ return false if @custom_engine.nil?
144
+ return false if @calculation_monitor.nil?
145
+ return false if @linked_data_sources.nil?
113
146
  return true
114
147
  end
115
148
 
@@ -121,7 +154,10 @@ module AsposeCellsCloud
121
154
  calc_stack_size == o.calc_stack_size &&
122
155
  ignore_error == o.ignore_error &&
123
156
  precision_strategy == o.precision_strategy &&
124
- recursive == o.recursive
157
+ recursive == o.recursive &&
158
+ custom_engine == o.custom_engine &&
159
+ calculation_monitor == o.calculation_monitor &&
160
+ linked_data_sources == o.linked_data_sources
125
161
  std_dev == o.std_dev
126
162
  end
127
163
 
@@ -134,7 +170,7 @@ module AsposeCellsCloud
134
170
  # Calculates hash code according to all attributes.
135
171
  # @return [Fixnum] Hash code
136
172
  def hash
137
- [ calc_stack_size , ignore_error , precision_strategy , recursive ].hash
173
+ [ calc_stack_size , ignore_error , precision_strategy , recursive , custom_engine , calculation_monitor , linked_data_sources ].hash
138
174
  end
139
175
 
140
176
  # Builds the object from hash
@@ -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
@@ -31,21 +31,21 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class CellsColor
34
- #Gets and sets the RGB color.
34
+ #Gets and sets the RGB color.
35
35
  attr_accessor :color
36
- #Gets and sets the color index in the color palette. Only applies of indexed color.
36
+ #Gets and sets the color index in the color palette. Only applies of indexed color.
37
37
  attr_accessor :color_index
38
- #Gets and set the color which should apply to cell or shape.
38
+ #Gets and set the color which should apply to cell or shape.
39
39
  attr_accessor :is_shape_color
40
40
  #Set the tint of the shape color
41
41
  attr_accessor :tint
42
- #Gets and sets the color from a 32-bit ARGB value.
42
+ #Gets and sets the color from a 32-bit ARGB value.
43
43
  attr_accessor :argb
44
- #Gets the theme color. Only applies for theme color type.
44
+ #Gets the theme color. Only applies for theme color type.
45
45
  attr_accessor :theme_color
46
- #The color type.
46
+ #The color type.
47
47
  attr_accessor :type
48
- #Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
48
+ #Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
49
49
  attr_accessor :transparency
50
50
 
51
51
  # Attribute mapping from ruby-style variable name to JSON key.