aspose_cells_cloud 23.8 → 23.10

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 (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
@@ -33,29 +33,29 @@ module AsposeCellsCloud
33
33
  class Trendline
34
34
  #
35
35
  attr_accessor :link
36
- #
36
+ #Returns or sets the number of periods (or units on a scatter chart) that the trendline extends backward. The number of periods must be greater than or equal to zero. If the chart type is column ,the number of periods must be between 0 and 0.5
37
37
  attr_accessor :backward
38
- #
38
+ #Represents the DataLabels object for the specified series.
39
39
  attr_accessor :data_labels
40
- #
40
+ #Represents if the equation for the trendline is displayed on the chart (in the same data label as the R-squared value). Setting this property to True automatically turns on data labels.
41
41
  attr_accessor :display_equation
42
- #
42
+ #Represents if the R-squared value of the trendline is displayed on the chart (in the same data label as the equation). Setting this property to True automatically turns on data labels.
43
43
  attr_accessor :display_r_squared
44
- #
44
+ #Returns or sets the number of periods (or units on a scatter chart) that the trendline extends forward. The number of periods must be greater than or equal to zero.
45
45
  attr_accessor :forward
46
- #
46
+ #Returns or sets the point where the trendline crosses the value axis.
47
47
  attr_accessor :intercept
48
- #
48
+ #Returns if Microsoft Excel automatically determines the name of the trendline.
49
49
  attr_accessor :is_name_auto
50
- #
50
+ #Gets the legend entry according to this trendline
51
51
  attr_accessor :legend_entry
52
- #
52
+ #Returns the name of the trendline.
53
53
  attr_accessor :name
54
- #
54
+ #Returns or sets the trendline order (an integer greater than 1) when the trendline type is Polynomial. The order must be between 2 and 6.
55
55
  attr_accessor :order
56
- #
56
+ #Returns or sets the period for the moving-average trendline.
57
57
  attr_accessor :period
58
- #
58
+ #Returns the trendline type.
59
59
  attr_accessor :type
60
60
  #
61
61
  attr_accessor :begin_arrow_length
@@ -31,13 +31,13 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class TxtSaveOptions
34
- #
34
+ #Gets or sets how to quote values in the exported text file.
35
35
  attr_accessor :quote_type
36
- #
36
+ #Gets and sets char Delimiter of text file.
37
37
  attr_accessor :separator
38
- #
38
+ #Gets and sets the a string value as separator.
39
39
  attr_accessor :separator_string
40
- #
40
+ #Indicates whether always adding '"' for each field. If true then all values will be quoted; If false then values will only be quoted when needed(for example, when values contain special characters such as '"' , '\n' or separator character). Default is false.
41
41
  attr_accessor :always_quoted
42
42
  #
43
43
  attr_accessor :save_format
@@ -31,37 +31,37 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Validation
34
- #
34
+ #Represents the validation alert style.
35
35
  attr_accessor :alert_style
36
- #
36
+ #Represents a collection of Aspose.Cells.CellArea which contains the data validation settings.
37
37
  attr_accessor :area_list
38
- #
38
+ #Represents the data validation error message.
39
39
  attr_accessor :error_message
40
- #
40
+ #Represents the title of the data-validation error dialog box.
41
41
  attr_accessor :error_title
42
- #
42
+ #Represents the value or expression associated with the data validation.
43
43
  attr_accessor :formula1
44
- #
44
+ #Represents the value or expression associated with the data validation.
45
45
  attr_accessor :formula2
46
- #
46
+ #Indicates whether blank values are permitted by the range data validation.
47
47
  attr_accessor :ignore_blank
48
- #
48
+ #Indicates whether data validation displays a drop-down list that contains acceptable values.
49
49
  attr_accessor :in_cell_drop_down
50
- #
50
+ #Represents the data validation input message.
51
51
  attr_accessor :input_message
52
- #
52
+ #Represents the title of the data-validation input dialog box.
53
53
  attr_accessor :input_title
54
- #
54
+ #Represents the operator for the data validation.
55
55
  attr_accessor :operator
56
- #
56
+ #Indicates whether the data validation error message will be displayed whenever the user enters invalid data.
57
57
  attr_accessor :show_error
58
- #
58
+ #Indicates whether the data validation input message will be displayed whenever the user selects a cell in the data validation range.
59
59
  attr_accessor :show_input
60
- #
60
+ #Represents the data validation type.
61
61
  attr_accessor :type
62
- #
62
+ #Represents the first value associated with the data validation.
63
63
  attr_accessor :value1
64
- #
64
+ #Represents the second value associated with the data validation.
65
65
  attr_accessor :value2
66
66
  #
67
67
  attr_accessor :link
@@ -31,11 +31,11 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class VerticalPageBreak
34
- #
34
+ #Gets the column index of the vertical page break.
35
35
  attr_accessor :column
36
- #
36
+ #Gets the end row index of the vertical page break.
37
37
  attr_accessor :end_row
38
- #
38
+ #Gets the start row index of the vertical page break.
39
39
  attr_accessor :start_row
40
40
 
41
41
  # 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 Walls
34
- #
34
+ #Gets the x coordinate of the left-bottom corner of Wall center in units of 1/4000 of chart's width after calls Chart.Calculate() method.
35
35
  attr_accessor :center_x
36
- #
36
+ #Gets the y coordinate of the left-bottom corner of Wall center in units of 1/4000 of chart's height after calls Chart.Calculate() method.
37
37
  attr_accessor :center_y
38
- #
38
+ #Gets the depth front to back in units of 1/4000 of chart's width after calls Chart.Calculate() method.
39
39
  attr_accessor :depth
40
- #
40
+ #Gets the height of top to bottom in units of 1/4000 of chart's height after calls Chart.Calculate() method.
41
41
  attr_accessor :height
42
- #
42
+ #Gets the width of left to right in units of 1/4000 of chart's width after calls Chart.Calculate() method.
43
43
  attr_accessor :width
44
44
  #
45
45
  attr_accessor :border
@@ -31,19 +31,19 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Workbook
34
- #
34
+ #Gets and sets the current file name.
35
35
  attr_accessor :file_name
36
36
  #
37
37
  attr_accessor :links
38
- #
38
+ #Gets the collection in the spreadsheet.
39
39
  attr_accessor :worksheets
40
- #
40
+ #Gets or sets the default object of the workbook.
41
41
  attr_accessor :default_style
42
42
  #
43
43
  attr_accessor :document_properties
44
44
  #
45
45
  attr_accessor :names
46
- #
46
+ #Represents the workbook settings.
47
47
  attr_accessor :settings
48
48
  #
49
49
  attr_accessor :is_write_protected
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class WorkbookProtectionRequest
34
- #Protection type. Can be ALL, CONTENTS, NONE, OBJECTS, SCENARIOS, STRUCTURE, WINDOWS
34
+ #Protection type. Can be ALL, CONTENTS, NONE, OBJECTS, SCENARIOS, STRUCTURE, WINDOWS
35
35
  attr_accessor :protection_type
36
36
  #Encription password.
37
37
  attr_accessor :password
@@ -31,96 +31,132 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class WorkbookSettings
34
- #
34
+ #Specifies a boolean value that indicates the application automatically compressed pictures in the workbook.
35
35
  attr_accessor :auto_compress_pictures
36
- #
36
+ #Indicates whether the file is mark for auto-recovery.
37
37
  attr_accessor :auto_recover
38
- #Specifies the incremental public release of the application.
38
+ #Specifies the incremental public release of the application.
39
39
  attr_accessor :build_version
40
- #It specifies whether to calculate formulas manually, automatically or automaticallyexcept for multiple table operations.
40
+ #It specifies whether to calculate formulas manually, automatically or automatically except for multiple table operations.
41
41
  attr_accessor :calc_mode
42
- #Specifies the stack size for calculating cells recursively. The large valuefor this size will give better performance when there are lots of cells needto be calculated recursively. On the other hand, larger value will raisethe stakes of StackOverflowException. If use gets StackOverflowExceptionwhen calculating formulas, this value should be decreased.
42
+ #Specifies the stack size for calculating cells recursively. The large value for this size will give better performance when there are lots of cells need to be calculated recursively. On the other hand, larger value will raise the risk of StackOverflowException. If user gets StackOverflowException when calculating formulas, this value should be decreased.
43
43
  attr_accessor :calc_stack_size
44
- #Specifies the version of the calculation engine used to calculate valuesin the workbook.
44
+ #Specifies the version of the calculation engine used to calculate values in the workbook.
45
45
  attr_accessor :calculation_id
46
46
  #Indicates whether check comptiliblity when saving workbook. Remarks: The default value is true.
47
47
  attr_accessor :check_comptiliblity
48
- #Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string),if this property is true, you will get an Exception. If this property isfalse, we will accept your input string value as the cell's value so thatlater you can output the complete string value for other file formats suchas CSV. However, if you have set such kind of value that is invalid forexcel file format, you should not save the workbook as excel file formatlater. Otherwise there may be unexpected error for the generated excel file.
48
+ #Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file.
49
49
  attr_accessor :check_excel_restriction
50
- #
50
+ #indicates whether the application last saved the workbook file after a crash.
51
51
  attr_accessor :crash_save
52
- #Indicates whether create calculated formulas chain.
52
+ #Whether creates calculated formulas chain. Default is false.
53
53
  attr_accessor :create_calc_chain
54
- #
54
+ #indicates whether the application last opened the workbook for data recovery.
55
55
  attr_accessor :data_extract_load
56
- #Gets or sets a value which represents if the workbook uses the 1904 datesystem.
56
+ #Gets or sets a value which represents if the workbook uses the 1904 date system.
57
57
  attr_accessor :date1904
58
- #Indicates whether and how to show objects in the workbook.
58
+ #Indicates whether and how to show objects in the workbook.
59
59
  attr_accessor :display_drawing_objects
60
- #
60
+ #Enable macros;
61
61
  attr_accessor :enable_macros
62
- #Gets or sets the first visible worksheet tab.
62
+ #Gets or sets the first visible worksheet tab.
63
63
  attr_accessor :first_visible_tab
64
- #
64
+ #Gets and sets whether hide the field list for the PivotTable.
65
65
  attr_accessor :hide_pivot_field_list
66
- #
66
+ #Indicates whether encrypting the workbook with default password if Structure and Windows of the workbook are locked.
67
67
  attr_accessor :is_default_encrypted
68
- #Indicates whether this workbook is hidden.
68
+ #Indicates whether this workbook is hidden.
69
69
  attr_accessor :is_hidden
70
- #Gets or sets a value indicating whether the generated spreadsheet will containa horizontal scroll bar. Remarks:The default value is true.
70
+ #Gets or sets a value indicating whether the generated spreadsheet will contain a horizontal scroll bar.
71
71
  attr_accessor :is_h_scroll_bar_visible
72
- #Represents whether the generated spreadsheet will be opened Minimized.
72
+ #Represents whether the generated spreadsheet will be opened Minimized.
73
73
  attr_accessor :is_minimized
74
- #Gets or sets a value indicating whether the generated spreadsheet will containa vertical scroll bar. Remarks:The default value is true.
74
+ #Gets or sets a value indicating whether the generated spreadsheet will contain a vertical scroll bar.
75
75
  attr_accessor :is_v_scroll_bar_visible
76
- #Indicates if Aspose.Cells will use iteration to resolve circular references.
76
+ #Indicates whether enable iterative calculation to resolve circular references.
77
77
  attr_accessor :iteration
78
- #Gets or sets the user interface language of the Workbook version based onCountryCode that has saved the file.
78
+ #Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file.
79
79
  attr_accessor :language_code
80
- #Returns or sets the maximum number of change that Microsoft Excel can useto resolve a circular reference.
80
+ #Returns or sets the maximum number of change to resolve a circular reference.
81
81
  attr_accessor :max_change
82
- #Returns or sets the maximum number of iterations that Aspose.Cells can useto resolve a circular reference.
82
+ #Returns or sets the maximum number of iterations to resolve a circular reference.
83
83
  attr_accessor :max_iteration
84
- #
84
+ #Gets or sets the memory usage options. The new option will be taken as the default option for newly created worksheets but does not take effect for existing worksheets.
85
85
  attr_accessor :memory_setting
86
- #
86
+ #Gets or sets the decimal separator for formatting/parsing numeric values. Default is the decimal separator of current Region.
87
87
  attr_accessor :number_decimal_separator
88
- #
88
+ #Gets or sets the character that separates groups of digits to the left of the decimal in numeric values. Default is the group separator of current Region.
89
89
  attr_accessor :number_group_separator
90
- #Indicates whether parsing the formula when reading the file. Remarks:Only applies for Excel Xlsx,Xltx, Xltm,Xlsm file because the formulas inthe files are stored with a string formula.
90
+ #Indicates whether parsing the formula when reading the file.
91
91
  attr_accessor :parsing_formula_on_open
92
- #True if calculations in this workbook will be done using only the precisionof the numbers as they're displayed
92
+ #True if calculations in this workbook will be done using only the precision of the numbers as they're displayed
93
93
  attr_accessor :precision_as_displayed
94
- #Indicates whether to recalculate before saving the document.
94
+ #Indicates whether to recalculate before saving the document.
95
95
  attr_accessor :recalculate_before_save
96
- #Indicates whether re-calculate all formulas on opening file.
96
+ #Indicates whether re-calculate all formulas on opening file.
97
97
  attr_accessor :re_calculate_on_open
98
98
  #Indicates if the Read Only Recommended option is selected.
99
99
  attr_accessor :recommend_read_only
100
- #Gets or sets the system regional settings based on CountryCode at the timethe file was saved. Remarks:If you do not want to use the region saved in the file, please reset it afterreading the file.
100
+ #Gets or sets the regional settings for workbook.
101
101
  attr_accessor :region
102
- #
102
+ #True if personal information can be removed from the specified workbook.
103
103
  attr_accessor :remove_personal_information
104
- #
104
+ #Indicates whether the application last opened the workbook in safe or repair mode.
105
105
  attr_accessor :repair_load
106
- #Gets or sets a value that indicates whether the Workbook is shared. Remarks:The default value is false.
106
+ #Gets or sets a value that indicates whether the Workbook is shared.
107
107
  attr_accessor :shared
108
- #Width of worksheet tab bar (in 1/1000 of window width).
108
+ #Width of worksheet tab bar (in 1/1000 of window width).
109
109
  attr_accessor :sheet_tab_bar_width
110
- #Get or sets a value whether the Workbook tabs are displayed. Remarks:The default value is true.
110
+ #Get or sets a value whether the Workbook tabs are displayed.
111
111
  attr_accessor :show_tabs
112
- #Indicates whether update adjacent cells' border. Remarks:The default value is true. For example: the bottom border of the cell A1is update, the top border of the cell A2 should be changed too.
112
+ #Indicates whether update adjacent cells' border.
113
113
  attr_accessor :update_adjacent_cells_border
114
- #
114
+ #Gets and sets how updates external links when the workbook is opened.
115
115
  attr_accessor :update_links_type
116
- #The height of the window, in unit of point.
116
+ #The height of the window, in unit of point.
117
117
  attr_accessor :window_height
118
- #The distance from the left edge of the client area to the left edge of thewindow, in unit of point.
118
+ #The distance from the left edge of the client area to the left edge of the window, in unit of point.
119
119
  attr_accessor :window_left
120
- #The distance from the top edge of the client area to the top edge of thewindow, in unit of point.
120
+ #The distance from the top edge of the client area to the top edge of the window, in unit of point.
121
121
  attr_accessor :window_top
122
- #The width of the window, in unit of point.
122
+ #The width of the window, in unit of point.
123
123
  attr_accessor :window_width
124
+ #Gets and sets the author of the file.
125
+ attr_accessor :author
126
+ #Indicates whether checking custom number format when setting Style.Custom.
127
+ attr_accessor :check_custom_number_format
128
+ #Gets the protection type of the workbook.
129
+ attr_accessor :protection_type
130
+ #Gets and sets the globalization settings.
131
+ attr_accessor :globalization_settings
132
+ #Represents Workbook file encryption password.
133
+ attr_accessor :password
134
+ #Provides access to the workbook write protection options.
135
+ attr_accessor :write_protection
136
+ #Gets a value that indicates whether a password is required to open this workbook.
137
+ attr_accessor :is_encrypted
138
+ #Gets a value that indicates whether the structure or window of the Workbook is protected.
139
+ attr_accessor :is_protected
140
+ #Gets the max row index, zero-based.
141
+ attr_accessor :max_row
142
+ #Gets the max column index, zero-based.
143
+ attr_accessor :max_column
144
+ #Gets and sets the number of significant digits. The default value is .
145
+ attr_accessor :significant_digits
146
+ #Indicates whether check compatibility with earlier versions when saving workbook.
147
+ attr_accessor :check_compatibility
148
+ #Gets and sets the default print paper size.
149
+ attr_accessor :paper_size
150
+ #Gets and sets the max row number of shared formula.
151
+ attr_accessor :max_rows_of_shared_formula
152
+ #Specifies the OOXML version for the output document. The default value is Ecma376_2006.
153
+ attr_accessor :compliance
154
+ #Indicates whether setting property when entering the string value(which starts with single quote mark ) to the cell
155
+ attr_accessor :quote_prefix_to_style
156
+ #Gets the settings for formula-related features.
157
+ attr_accessor :formula_settings
158
+ #Fully calculates every time when a calculation is triggered.
159
+ attr_accessor :force_full_calculate
124
160
 
125
161
  # Attribute mapping from ruby-style variable name to JSON key.
126
162
  def self.attribute_map
@@ -169,7 +205,25 @@ module AsposeCellsCloud
169
205
  :'window_height' => :'WindowHeight',
170
206
  :'window_left' => :'WindowLeft',
171
207
  :'window_top' => :'WindowTop',
172
- :'window_width' => :'WindowWidth'
208
+ :'window_width' => :'WindowWidth',
209
+ :'author' => :'Author',
210
+ :'check_custom_number_format' => :'CheckCustomNumberFormat',
211
+ :'protection_type' => :'ProtectionType',
212
+ :'globalization_settings' => :'GlobalizationSettings',
213
+ :'password' => :'Password',
214
+ :'write_protection' => :'WriteProtection',
215
+ :'is_encrypted' => :'IsEncrypted',
216
+ :'is_protected' => :'IsProtected',
217
+ :'max_row' => :'MaxRow',
218
+ :'max_column' => :'MaxColumn',
219
+ :'significant_digits' => :'SignificantDigits',
220
+ :'check_compatibility' => :'CheckCompatibility',
221
+ :'paper_size' => :'PaperSize',
222
+ :'max_rows_of_shared_formula' => :'MaxRowsOfSharedFormula',
223
+ :'compliance' => :'Compliance',
224
+ :'quote_prefix_to_style' => :'QuotePrefixToStyle',
225
+ :'formula_settings' => :'FormulaSettings',
226
+ :'force_full_calculate' => :'ForceFullCalculate'
173
227
  }
174
228
  end
175
229
 
@@ -220,7 +274,25 @@ module AsposeCellsCloud
220
274
  :'window_height' => :'Float',
221
275
  :'window_left' => :'Float',
222
276
  :'window_top' => :'Float',
223
- :'window_width' => :'Float'
277
+ :'window_width' => :'Float',
278
+ :'author' => :'String',
279
+ :'check_custom_number_format' => :'BOOLEAN',
280
+ :'protection_type' => :'String',
281
+ :'globalization_settings' => :'GlobalizationSettings',
282
+ :'password' => :'String',
283
+ :'write_protection' => :'WriteProtection',
284
+ :'is_encrypted' => :'BOOLEAN',
285
+ :'is_protected' => :'BOOLEAN',
286
+ :'max_row' => :'Integer',
287
+ :'max_column' => :'Integer',
288
+ :'significant_digits' => :'Integer',
289
+ :'check_compatibility' => :'BOOLEAN',
290
+ :'paper_size' => :'String',
291
+ :'max_rows_of_shared_formula' => :'Integer',
292
+ :'compliance' => :'String',
293
+ :'quote_prefix_to_style' => :'BOOLEAN',
294
+ :'formula_settings' => :'FormulaSettings',
295
+ :'force_full_calculate' => :'BOOLEAN'
224
296
  }
225
297
  end
226
298
 
@@ -367,6 +439,60 @@ module AsposeCellsCloud
367
439
  if attributes.has_key?(:'WindowWidth')
368
440
  self.window_width = attributes[:'WindowWidth']
369
441
  end
442
+ if attributes.has_key?(:'Author')
443
+ self.author = attributes[:'Author']
444
+ end
445
+ if attributes.has_key?(:'CheckCustomNumberFormat')
446
+ self.check_custom_number_format = attributes[:'CheckCustomNumberFormat']
447
+ end
448
+ if attributes.has_key?(:'ProtectionType')
449
+ self.protection_type = attributes[:'ProtectionType']
450
+ end
451
+ if attributes.has_key?(:'GlobalizationSettings')
452
+ self.globalization_settings = attributes[:'GlobalizationSettings']
453
+ end
454
+ if attributes.has_key?(:'Password')
455
+ self.password = attributes[:'Password']
456
+ end
457
+ if attributes.has_key?(:'WriteProtection')
458
+ self.write_protection = attributes[:'WriteProtection']
459
+ end
460
+ if attributes.has_key?(:'IsEncrypted')
461
+ self.is_encrypted = attributes[:'IsEncrypted']
462
+ end
463
+ if attributes.has_key?(:'IsProtected')
464
+ self.is_protected = attributes[:'IsProtected']
465
+ end
466
+ if attributes.has_key?(:'MaxRow')
467
+ self.max_row = attributes[:'MaxRow']
468
+ end
469
+ if attributes.has_key?(:'MaxColumn')
470
+ self.max_column = attributes[:'MaxColumn']
471
+ end
472
+ if attributes.has_key?(:'SignificantDigits')
473
+ self.significant_digits = attributes[:'SignificantDigits']
474
+ end
475
+ if attributes.has_key?(:'CheckCompatibility')
476
+ self.check_compatibility = attributes[:'CheckCompatibility']
477
+ end
478
+ if attributes.has_key?(:'PaperSize')
479
+ self.paper_size = attributes[:'PaperSize']
480
+ end
481
+ if attributes.has_key?(:'MaxRowsOfSharedFormula')
482
+ self.max_rows_of_shared_formula = attributes[:'MaxRowsOfSharedFormula']
483
+ end
484
+ if attributes.has_key?(:'Compliance')
485
+ self.compliance = attributes[:'Compliance']
486
+ end
487
+ if attributes.has_key?(:'QuotePrefixToStyle')
488
+ self.quote_prefix_to_style = attributes[:'QuotePrefixToStyle']
489
+ end
490
+ if attributes.has_key?(:'FormulaSettings')
491
+ self.formula_settings = attributes[:'FormulaSettings']
492
+ end
493
+ if attributes.has_key?(:'ForceFullCalculate')
494
+ self.force_full_calculate = attributes[:'ForceFullCalculate']
495
+ end
370
496
 
371
497
  end
372
498
 
@@ -509,6 +635,60 @@ module AsposeCellsCloud
509
635
  if @window_width.nil?
510
636
  invalid_properties.push("invalid value for 'window_width', window_width cannot be nil.")
511
637
  end
638
+ if @author.nil?
639
+ invalid_properties.push("invalid value for 'author', author cannot be nil.")
640
+ end
641
+ if @check_custom_number_format.nil?
642
+ invalid_properties.push("invalid value for 'check_custom_number_format', check_custom_number_format cannot be nil.")
643
+ end
644
+ if @protection_type.nil?
645
+ invalid_properties.push("invalid value for 'protection_type', protection_type cannot be nil.")
646
+ end
647
+ if @globalization_settings.nil?
648
+ invalid_properties.push("invalid value for 'globalization_settings', globalization_settings cannot be nil.")
649
+ end
650
+ if @password.nil?
651
+ invalid_properties.push("invalid value for 'password', password cannot be nil.")
652
+ end
653
+ if @write_protection.nil?
654
+ invalid_properties.push("invalid value for 'write_protection', write_protection cannot be nil.")
655
+ end
656
+ if @is_encrypted.nil?
657
+ invalid_properties.push("invalid value for 'is_encrypted', is_encrypted cannot be nil.")
658
+ end
659
+ if @is_protected.nil?
660
+ invalid_properties.push("invalid value for 'is_protected', is_protected cannot be nil.")
661
+ end
662
+ if @max_row.nil?
663
+ invalid_properties.push("invalid value for 'max_row', max_row cannot be nil.")
664
+ end
665
+ if @max_column.nil?
666
+ invalid_properties.push("invalid value for 'max_column', max_column cannot be nil.")
667
+ end
668
+ if @significant_digits.nil?
669
+ invalid_properties.push("invalid value for 'significant_digits', significant_digits cannot be nil.")
670
+ end
671
+ if @check_compatibility.nil?
672
+ invalid_properties.push("invalid value for 'check_compatibility', check_compatibility cannot be nil.")
673
+ end
674
+ if @paper_size.nil?
675
+ invalid_properties.push("invalid value for 'paper_size', paper_size cannot be nil.")
676
+ end
677
+ if @max_rows_of_shared_formula.nil?
678
+ invalid_properties.push("invalid value for 'max_rows_of_shared_formula', max_rows_of_shared_formula cannot be nil.")
679
+ end
680
+ if @compliance.nil?
681
+ invalid_properties.push("invalid value for 'compliance', compliance cannot be nil.")
682
+ end
683
+ if @quote_prefix_to_style.nil?
684
+ invalid_properties.push("invalid value for 'quote_prefix_to_style', quote_prefix_to_style cannot be nil.")
685
+ end
686
+ if @formula_settings.nil?
687
+ invalid_properties.push("invalid value for 'formula_settings', formula_settings cannot be nil.")
688
+ end
689
+ if @force_full_calculate.nil?
690
+ invalid_properties.push("invalid value for 'force_full_calculate', force_full_calculate cannot be nil.")
691
+ end
512
692
 
513
693
  return invalid_properties
514
694
  end
@@ -561,6 +741,24 @@ module AsposeCellsCloud
561
741
  return false if @window_left.nil?
562
742
  return false if @window_top.nil?
563
743
  return false if @window_width.nil?
744
+ return false if @author.nil?
745
+ return false if @check_custom_number_format.nil?
746
+ return false if @protection_type.nil?
747
+ return false if @globalization_settings.nil?
748
+ return false if @password.nil?
749
+ return false if @write_protection.nil?
750
+ return false if @is_encrypted.nil?
751
+ return false if @is_protected.nil?
752
+ return false if @max_row.nil?
753
+ return false if @max_column.nil?
754
+ return false if @significant_digits.nil?
755
+ return false if @check_compatibility.nil?
756
+ return false if @paper_size.nil?
757
+ return false if @max_rows_of_shared_formula.nil?
758
+ return false if @compliance.nil?
759
+ return false if @quote_prefix_to_style.nil?
760
+ return false if @formula_settings.nil?
761
+ return false if @force_full_calculate.nil?
564
762
  return true
565
763
  end
566
764
 
@@ -613,7 +811,25 @@ module AsposeCellsCloud
613
811
  window_height == o.window_height &&
614
812
  window_left == o.window_left &&
615
813
  window_top == o.window_top &&
616
- window_width == o.window_width
814
+ window_width == o.window_width &&
815
+ author == o.author &&
816
+ check_custom_number_format == o.check_custom_number_format &&
817
+ protection_type == o.protection_type &&
818
+ globalization_settings == o.globalization_settings &&
819
+ password == o.password &&
820
+ write_protection == o.write_protection &&
821
+ is_encrypted == o.is_encrypted &&
822
+ is_protected == o.is_protected &&
823
+ max_row == o.max_row &&
824
+ max_column == o.max_column &&
825
+ significant_digits == o.significant_digits &&
826
+ check_compatibility == o.check_compatibility &&
827
+ paper_size == o.paper_size &&
828
+ max_rows_of_shared_formula == o.max_rows_of_shared_formula &&
829
+ compliance == o.compliance &&
830
+ quote_prefix_to_style == o.quote_prefix_to_style &&
831
+ formula_settings == o.formula_settings &&
832
+ force_full_calculate == o.force_full_calculate
617
833
  std_dev == o.std_dev
618
834
  end
619
835
 
@@ -626,7 +842,7 @@ module AsposeCellsCloud
626
842
  # Calculates hash code according to all attributes.
627
843
  # @return [Fixnum] Hash code
628
844
  def hash
629
- [ auto_compress_pictures , auto_recover , build_version , calc_mode , calc_stack_size , calculation_id , check_comptiliblity , check_excel_restriction , crash_save , create_calc_chain , data_extract_load , date1904 , display_drawing_objects , enable_macros , first_visible_tab , hide_pivot_field_list , is_default_encrypted , is_hidden , is_h_scroll_bar_visible , is_minimized , is_v_scroll_bar_visible , iteration , language_code , max_change , max_iteration , memory_setting , number_decimal_separator , number_group_separator , parsing_formula_on_open , precision_as_displayed , recalculate_before_save , re_calculate_on_open , recommend_read_only , region , remove_personal_information , repair_load , shared , sheet_tab_bar_width , show_tabs , update_adjacent_cells_border , update_links_type , window_height , window_left , window_top , window_width ].hash
845
+ [ auto_compress_pictures , auto_recover , build_version , calc_mode , calc_stack_size , calculation_id , check_comptiliblity , check_excel_restriction , crash_save , create_calc_chain , data_extract_load , date1904 , display_drawing_objects , enable_macros , first_visible_tab , hide_pivot_field_list , is_default_encrypted , is_hidden , is_h_scroll_bar_visible , is_minimized , is_v_scroll_bar_visible , iteration , language_code , max_change , max_iteration , memory_setting , number_decimal_separator , number_group_separator , parsing_formula_on_open , precision_as_displayed , recalculate_before_save , re_calculate_on_open , recommend_read_only , region , remove_personal_information , repair_load , shared , sheet_tab_bar_width , show_tabs , update_adjacent_cells_border , update_links_type , window_height , window_left , window_top , window_width , author , check_custom_number_format , protection_type , globalization_settings , password , write_protection , is_encrypted , is_protected , max_row , max_column , significant_digits , check_compatibility , paper_size , max_rows_of_shared_formula , compliance , quote_prefix_to_style , formula_settings , force_full_calculate ].hash
630
846
  end
631
847
 
632
848
  # Builds the object from hash