aspose_cells_cloud 23.9 → 23.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +4 -1
- data/README.md +5 -7
- data/lib/aspose_cells_cloud/api/cells_api.rb +2 -2
- data/lib/aspose_cells_cloud/models/above_average.rb +3 -3
- data/lib/aspose_cells_cloud/models/arc_shape.rb +6 -6
- data/lib/aspose_cells_cloud/models/area.rb +5 -5
- data/lib/aspose_cells_cloud/models/auto_filter.rb +4 -4
- data/lib/aspose_cells_cloud/models/auto_fitter_options.rb +9 -9
- data/lib/aspose_cells_cloud/models/axis.rb +34 -34
- data/lib/aspose_cells_cloud/models/batch_convert_request.rb +7 -7
- data/lib/aspose_cells_cloud/models/batch_lock_request.rb +6 -6
- data/lib/aspose_cells_cloud/models/batch_protect_request.rb +6 -6
- data/lib/aspose_cells_cloud/models/batch_split_request.rb +9 -9
- data/lib/aspose_cells_cloud/models/border.rb +4 -4
- data/lib/aspose_cells_cloud/models/calculation_options.rb +4 -4
- data/lib/aspose_cells_cloud/models/cell.rb +15 -15
- data/lib/aspose_cells_cloud/models/cells.rb +4 -4
- data/lib/aspose_cells_cloud/models/cells_color.rb +7 -7
- data/lib/aspose_cells_cloud/models/chart.rb +43 -43
- data/lib/aspose_cells_cloud/models/chart_data_table.rb +8 -8
- data/lib/aspose_cells_cloud/models/chart_frame.rb +13 -13
- data/lib/aspose_cells_cloud/models/chart_point.rb +8 -8
- data/lib/aspose_cells_cloud/models/check_box.rb +3 -3
- data/lib/aspose_cells_cloud/models/color_filter.rb +1 -1
- data/lib/aspose_cells_cloud/models/color_filter_request.rb +3 -3
- data/lib/aspose_cells_cloud/models/color_scale.rb +6 -6
- data/lib/aspose_cells_cloud/models/column.rb +5 -5
- data/lib/aspose_cells_cloud/models/combo_box.rb +5 -5
- data/lib/aspose_cells_cloud/models/comment.rb +10 -10
- data/lib/aspose_cells_cloud/models/comment_shape.rb +1 -1
- data/lib/aspose_cells_cloud/models/conditional_formatting_icon.rb +3 -3
- data/lib/aspose_cells_cloud/models/conditional_formatting_value.rb +3 -3
- data/lib/aspose_cells_cloud/models/copy_options.rb +6 -6
- data/lib/aspose_cells_cloud/models/create_pivot_table_request.rb +7 -7
- data/lib/aspose_cells_cloud/models/custom_filter.rb +2 -2
- data/lib/aspose_cells_cloud/models/custom_parser_config.rb +2 -2
- data/lib/aspose_cells_cloud/models/data_bar.rb +12 -12
- data/lib/aspose_cells_cloud/models/data_bar_border.rb +2 -2
- data/lib/aspose_cells_cloud/models/data_labels.rb +13 -13
- data/lib/aspose_cells_cloud/models/data_sorter.rb +21 -9
- data/lib/aspose_cells_cloud/models/data_sorter_key.rb +270 -0
- data/lib/aspose_cells_cloud/models/date_time_group_item.rb +7 -7
- data/lib/aspose_cells_cloud/models/digital_signature.rb +8 -8
- data/lib/aspose_cells_cloud/models/display_unit_label.rb +1 -1
- data/lib/aspose_cells_cloud/models/drop_bars.rb +2 -2
- data/lib/aspose_cells_cloud/models/dynamic_filter.rb +3 -3
- data/lib/aspose_cells_cloud/models/error_bar.rb +6 -6
- data/lib/aspose_cells_cloud/models/fill_format.rb +6 -6
- data/lib/aspose_cells_cloud/models/filter_column.rb +3 -3
- data/lib/aspose_cells_cloud/models/floor.rb +1 -1
- data/lib/aspose_cells_cloud/models/font.rb +10 -10
- data/lib/aspose_cells_cloud/models/font_setting.rb +5 -5
- data/lib/aspose_cells_cloud/models/format_condition.rb +14 -14
- data/lib/aspose_cells_cloud/models/formula_format_condition.rb +3 -3
- data/lib/aspose_cells_cloud/models/gradient_fill.rb +4 -4
- data/lib/aspose_cells_cloud/models/group_box.rb +1 -1
- data/lib/aspose_cells_cloud/models/horizontal_page_break.rb +3 -3
- data/lib/aspose_cells_cloud/models/html_save_options.rb +30 -30
- data/lib/aspose_cells_cloud/models/hyperlink.rb +5 -5
- data/lib/aspose_cells_cloud/models/icon_filter.rb +2 -2
- data/lib/aspose_cells_cloud/models/icon_set.rb +5 -5
- data/lib/aspose_cells_cloud/models/image_or_print_options.rb +8 -8
- data/lib/aspose_cells_cloud/models/image_save_options.rb +12 -12
- data/lib/aspose_cells_cloud/models/import_picture_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/json_save_options.rb +4 -4
- data/lib/aspose_cells_cloud/models/label.rb +1 -1
- data/lib/aspose_cells_cloud/models/legend.rb +2 -2
- data/lib/aspose_cells_cloud/models/legend_entry.rb +4 -4
- data/lib/aspose_cells_cloud/models/line.rb +19 -19
- data/lib/aspose_cells_cloud/models/line_format.rb +11 -11
- data/lib/aspose_cells_cloud/models/line_shape.rb +6 -6
- data/lib/aspose_cells_cloud/models/list_box.rb +6 -6
- data/lib/aspose_cells_cloud/models/list_column.rb +4 -4
- data/lib/aspose_cells_cloud/models/list_object.rb +21 -21
- data/lib/aspose_cells_cloud/models/load_options.rb +8 -8
- data/lib/aspose_cells_cloud/models/m_html_save_options.rb +12 -12
- data/lib/aspose_cells_cloud/models/markdown_save_options.rb +3 -3
- data/lib/aspose_cells_cloud/models/marker.rb +4 -4
- data/lib/aspose_cells_cloud/models/match_condition_request.rb +2 -2
- data/lib/aspose_cells_cloud/models/name.rb +6 -6
- data/lib/aspose_cells_cloud/models/negative_bar_format.rb +4 -4
- data/lib/aspose_cells_cloud/models/ole_object.rb +7 -7
- data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +5 -5
- data/lib/aspose_cells_cloud/models/page_setup.rb +34 -34
- data/lib/aspose_cells_cloud/models/password_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/paste_options.rb +4 -4
- data/lib/aspose_cells_cloud/models/pattern_fill.rb +7 -7
- data/lib/aspose_cells_cloud/models/pdf_save_options.rb +19 -19
- data/lib/aspose_cells_cloud/models/pic_format_option.rb +6 -6
- data/lib/aspose_cells_cloud/models/picture.rb +5 -5
- data/lib/aspose_cells_cloud/models/pivot_table_field_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/plot_area.rb +4 -4
- data/lib/aspose_cells_cloud/models/{protect_workbook_requst.rb → protect_workbook_request.rb} +18 -18
- data/lib/aspose_cells_cloud/models/protection.rb +17 -17
- data/lib/aspose_cells_cloud/models/query_table.rb +5 -5
- data/lib/aspose_cells_cloud/models/radio_button.rb +3 -3
- data/lib/aspose_cells_cloud/models/range.rb +9 -9
- data/lib/aspose_cells_cloud/models/range_copy_request.rb +4 -4
- data/lib/aspose_cells_cloud/models/range_set_outline_border_request.rb +4 -4
- data/lib/aspose_cells_cloud/models/range_set_style_request.rb +2 -2
- data/lib/aspose_cells_cloud/models/range_sort_request.rb +2 -2
- data/lib/aspose_cells_cloud/models/row.rb +7 -7
- data/lib/aspose_cells_cloud/models/save_options.rb +4 -4
- data/lib/aspose_cells_cloud/models/scroll_bar.rb +7 -7
- data/lib/aspose_cells_cloud/models/series.rb +47 -47
- data/lib/aspose_cells_cloud/models/shadow_effect.rb +7 -7
- data/lib/aspose_cells_cloud/models/shape.rb +36 -36
- data/lib/aspose_cells_cloud/models/solid_fill.rb +3 -3
- data/lib/aspose_cells_cloud/models/sparkline.rb +3 -3
- data/lib/aspose_cells_cloud/models/sparkline_group.rb +27 -27
- data/lib/aspose_cells_cloud/models/spinner.rb +5 -5
- data/lib/aspose_cells_cloud/models/split_result_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/split_workbook_task_parameter.rb +3 -3
- data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +14 -14
- data/lib/aspose_cells_cloud/models/style.rb +22 -22
- data/lib/aspose_cells_cloud/models/svg_save_options.rb +1 -1
- data/lib/aspose_cells_cloud/models/table_total_request.rb +3 -3
- data/lib/aspose_cells_cloud/models/text_format_condition.rb +1 -1
- data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +4 -4
- data/lib/aspose_cells_cloud/models/texture_fill.rb +5 -5
- data/lib/aspose_cells_cloud/models/theme_color.rb +2 -2
- data/lib/aspose_cells_cloud/models/tick_labels.rb +11 -11
- data/lib/aspose_cells_cloud/models/tile_pic_option.rb +6 -6
- data/lib/aspose_cells_cloud/models/time_period_format_condition.rb +1 -1
- data/lib/aspose_cells_cloud/models/title.rb +2 -2
- data/lib/aspose_cells_cloud/models/top10.rb +3 -3
- data/lib/aspose_cells_cloud/models/top10_filter.rb +4 -4
- data/lib/aspose_cells_cloud/models/trendline.rb +12 -12
- data/lib/aspose_cells_cloud/models/txt_save_options.rb +4 -4
- data/lib/aspose_cells_cloud/models/validation.rb +16 -16
- data/lib/aspose_cells_cloud/models/vertical_page_break.rb +3 -3
- data/lib/aspose_cells_cloud/models/walls.rb +5 -5
- data/lib/aspose_cells_cloud/models/workbook.rb +4 -4
- data/lib/aspose_cells_cloud/models/workbook_protection_request.rb +1 -1
- data/lib/aspose_cells_cloud/models/workbook_settings.rb +44 -44
- data/lib/aspose_cells_cloud/models/worksheet.rb +29 -29
- data/lib/aspose_cells_cloud/models/worksheet_operate_parameter.rb +1 -1
- data/lib/aspose_cells_cloud/requests/delete_un_protect_workbook_request.rb +9 -9
- data/lib/aspose_cells_cloud/requests/post_protect_request.rb +9 -9
- data/lib/aspose_cells_cloud/requests/post_protect_workbook_request.rb +9 -9
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_sort_request.rb +9 -9
- data/lib/aspose_cells_cloud/requests/{post_worksheet_cells_ranges_request.rb → post_worksheet_cells_ranges_copy_request.rb} +8 -8
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +16 -16
- data/spec/api/list_objects_controller_spec.rb +1 -0
- data/spec/api/pivot_tables_controller_spec.rb +3 -3
- data/spec/api/ranges_controller_spec.rb +8 -7
- data/spec/api/workbook_controller_spec.rb +3 -4
- data/spec/document/light_cells_spec.rb +17 -3
- data/spec/one_case_spec.rb +4 -5
- metadata +5 -6
- data/lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb +0 -330
- data/spec/onecase_spec.rb +0 -28
@@ -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,95 +31,95 @@ 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,
|
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.
|
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
|
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.
|
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
|
-
#
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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.
|
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
|
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
|
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.
|
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.
|
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.
|
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
|
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
|
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
124
|
#Gets and sets the author of the file.
|
125
125
|
attr_accessor :author
|
@@ -141,7 +141,7 @@ module AsposeCellsCloud
|
|
141
141
|
attr_accessor :max_row
|
142
142
|
#Gets the max column index, zero-based.
|
143
143
|
attr_accessor :max_column
|
144
|
-
#
|
144
|
+
#Gets and sets the number of significant digits. The default value is .
|
145
145
|
attr_accessor :significant_digits
|
146
146
|
#Indicates whether check compatibility with earlier versions when saving workbook.
|
147
147
|
attr_accessor :check_compatibility
|
@@ -33,67 +33,67 @@ module AsposeCellsCloud
|
|
33
33
|
class Worksheet
|
34
34
|
#
|
35
35
|
attr_accessor :links
|
36
|
-
#Indicates if the specified worksheet is displayed from right to left instead
|
36
|
+
#Indicates if the specified worksheet is displayed from right to left instead of from left to right. Default is false.
|
37
37
|
attr_accessor :display_right_to_left
|
38
|
-
#True if zero values are displayed.
|
38
|
+
#True if zero values are displayed.
|
39
39
|
attr_accessor :display_zeros
|
40
|
-
#Represents first visible column index.
|
40
|
+
#Represents first visible column index.
|
41
41
|
attr_accessor :first_visible_column
|
42
|
-
#Represents first visible row index.
|
42
|
+
#Represents first visible row index.
|
43
43
|
attr_accessor :first_visible_row
|
44
|
-
#Gets or sets the name of the worksheet.
|
44
|
+
#Gets or sets the name of the worksheet.
|
45
45
|
attr_accessor :name
|
46
|
-
#Gets the index of sheet in the
|
46
|
+
#Gets the index of sheet in the worksheet collection.
|
47
47
|
attr_accessor :index
|
48
|
-
#Gets or sets a value indicating whether the
|
48
|
+
#Gets or sets a value indicating whether the gridlines are visible.Default is true.
|
49
49
|
attr_accessor :is_gridlines_visible
|
50
|
-
#Indicates whether show outline.
|
50
|
+
#Indicates whether to show outline.
|
51
51
|
attr_accessor :is_outline_shown
|
52
|
-
#
|
52
|
+
#Indicates whether the specified worksheet is shown in normal view or page break preview.
|
53
53
|
attr_accessor :is_page_break_preview
|
54
|
-
#Represents if the worksheet is visible.
|
54
|
+
#Represents if the worksheet is visible.
|
55
55
|
attr_accessor :is_visible
|
56
|
-
#Indicates if the worksheet is protected.
|
56
|
+
#Indicates if the worksheet is protected.
|
57
57
|
attr_accessor :is_protected
|
58
|
-
#Gets or sets a value indicating whether the worksheet will display row and column headers.Default is true.
|
58
|
+
#Gets or sets a value indicating whether the worksheet will display row and column headers. Default is true.
|
59
59
|
attr_accessor :is_row_column_headers_visible
|
60
|
-
#Indicates whether the ruler is visible.
|
60
|
+
#Indicates whether the ruler is visible. This property is only applied for page break preview.
|
61
61
|
attr_accessor :is_ruler_visible
|
62
|
-
#Indicates whether this worksheet is selected when the workbook is opened.
|
62
|
+
#Indicates whether this worksheet is selected when the workbook is opened.
|
63
63
|
attr_accessor :is_selected
|
64
|
-
#Represents worksheet tab color.
|
64
|
+
#Represents worksheet tab color.
|
65
65
|
attr_accessor :tab_color
|
66
|
-
#
|
66
|
+
#Indicates whether the Transition Formula Entry (Lotus compatibility) option is enabled.
|
67
67
|
attr_accessor :transition_entry
|
68
|
-
#
|
68
|
+
#Indicates whether the Transition Formula Evaluation (Lotus compatibility) option is enabled.
|
69
69
|
attr_accessor :transition_evaluation
|
70
|
-
#Represents worksheet type
|
70
|
+
#Represents worksheet type.
|
71
71
|
attr_accessor :type
|
72
|
-
#Gets and sets the view type.
|
72
|
+
#Gets and sets the view type.
|
73
73
|
attr_accessor :view_type
|
74
|
-
#Indicates the state for this sheet
|
74
|
+
#Indicates the visible state for this sheet.
|
75
75
|
attr_accessor :visibility_type
|
76
|
-
#Represents the scaling factor in
|
76
|
+
#Represents the scaling factor in percentage. It should be between 10 and 400.
|
77
77
|
attr_accessor :zoom
|
78
|
-
#
|
78
|
+
#Gets the collection.
|
79
79
|
attr_accessor :cells
|
80
|
-
#
|
80
|
+
#Gets a collection
|
81
81
|
attr_accessor :charts
|
82
82
|
#
|
83
83
|
attr_accessor :auto_shapes
|
84
|
-
#
|
84
|
+
#Represents a collection of in a worksheet.
|
85
85
|
attr_accessor :ole_objects
|
86
|
-
#
|
86
|
+
#Gets the collection.
|
87
87
|
attr_accessor :comments
|
88
|
-
#
|
88
|
+
#Gets a collection.
|
89
89
|
attr_accessor :pictures
|
90
90
|
#
|
91
91
|
attr_accessor :merged_cells
|
92
|
-
#
|
92
|
+
#Gets the data validation setting collection in the worksheet.
|
93
93
|
attr_accessor :validations
|
94
|
-
#
|
94
|
+
#Gets the ConditionalFormattings in the worksheet.
|
95
95
|
attr_accessor :conditional_formattings
|
96
|
-
#
|
96
|
+
#Gets the collection.
|
97
97
|
attr_accessor :hyperlinks
|
98
98
|
|
99
99
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -32,7 +32,7 @@ module AsposeCellsCloud
|
|
32
32
|
class DeleteUnProtectWorkbookRequest
|
33
33
|
|
34
34
|
attr_accessor :name
|
35
|
-
attr_accessor :
|
35
|
+
attr_accessor :password
|
36
36
|
attr_accessor :folder
|
37
37
|
attr_accessor :storage_name
|
38
38
|
|
@@ -45,8 +45,8 @@ module AsposeCellsCloud
|
|
45
45
|
if attributes.has_key?(:'name')
|
46
46
|
self.name = attributes[:'name']
|
47
47
|
end
|
48
|
-
if attributes.has_key?(:'
|
49
|
-
self.
|
48
|
+
if attributes.has_key?(:'password')
|
49
|
+
self.password = attributes[:'password']
|
50
50
|
end
|
51
51
|
if attributes.has_key?(:'folder')
|
52
52
|
self.folder = attributes[:'folder']
|
@@ -60,7 +60,7 @@ module AsposeCellsCloud
|
|
60
60
|
def self.attribute_map
|
61
61
|
{
|
62
62
|
:'name' => :'name',
|
63
|
-
:'
|
63
|
+
:'password' => :'password',
|
64
64
|
:'folder' => :'folder',
|
65
65
|
:'storage_name' => :'storageName'
|
66
66
|
}
|
@@ -70,7 +70,7 @@ module AsposeCellsCloud
|
|
70
70
|
def self.swagger_types
|
71
71
|
{
|
72
72
|
:'name' => :'String',
|
73
|
-
:'
|
73
|
+
:'password' => :'String',
|
74
74
|
:'folder' => :'String',
|
75
75
|
:'storage_name' => :'String'
|
76
76
|
}
|
@@ -85,15 +85,16 @@ module AsposeCellsCloud
|
|
85
85
|
if api_client.config.client_side_validation && name.nil?
|
86
86
|
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.delete_un_protect_workbook "
|
87
87
|
end
|
88
|
-
# verify the required parameter '
|
89
|
-
if api_client.config.client_side_validation &&
|
90
|
-
fail ArgumentError, "Missing the required parameter '
|
88
|
+
# verify the required parameter 'password' is set
|
89
|
+
if api_client.config.client_side_validation && password.nil?
|
90
|
+
fail ArgumentError, "Missing the required parameter 'password' when calling CellsApi.delete_un_protect_workbook "
|
91
91
|
end
|
92
92
|
|
93
93
|
# resource path
|
94
94
|
local_var_path = "/cells/{name}/protection".sub('{' + 'name' + '}', name.to_s)
|
95
95
|
# query parameters
|
96
96
|
query_params = {}
|
97
|
+
query_params[:'password'] = self.password if !self.password.nil?
|
97
98
|
query_params[:'folder'] = self.folder if !self.folder.nil?
|
98
99
|
query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
|
99
100
|
|
@@ -107,7 +108,6 @@ module AsposeCellsCloud
|
|
107
108
|
# form parameters
|
108
109
|
form_params = {}
|
109
110
|
post_body = nil
|
110
|
-
post_body = api_client.object_to_http_body(protection)
|
111
111
|
|
112
112
|
|
113
113
|
#auth_names = []
|
@@ -32,7 +32,7 @@ module AsposeCellsCloud
|
|
32
32
|
class PostProtectRequest
|
33
33
|
|
34
34
|
attr_accessor :file
|
35
|
-
attr_accessor :
|
35
|
+
attr_accessor :protect_workbook_request
|
36
36
|
attr_accessor :password
|
37
37
|
|
38
38
|
def initialize(attributes = {})
|
@@ -44,8 +44,8 @@ module AsposeCellsCloud
|
|
44
44
|
if attributes.has_key?(:'File')
|
45
45
|
self.file = attributes[:'File']
|
46
46
|
end
|
47
|
-
if attributes.has_key?(:'
|
48
|
-
self.
|
47
|
+
if attributes.has_key?(:'protectWorkbookRequest')
|
48
|
+
self.protect_workbook_request = attributes[:'protectWorkbookRequest']
|
49
49
|
end
|
50
50
|
if attributes.has_key?(:'password')
|
51
51
|
self.password = attributes[:'password']
|
@@ -56,7 +56,7 @@ module AsposeCellsCloud
|
|
56
56
|
def self.attribute_map
|
57
57
|
{
|
58
58
|
:'file' => :'File',
|
59
|
-
:'
|
59
|
+
:'protect_workbook_request' => :'protectWorkbookRequest',
|
60
60
|
:'password' => :'password'
|
61
61
|
}
|
62
62
|
end
|
@@ -65,7 +65,7 @@ module AsposeCellsCloud
|
|
65
65
|
def self.swagger_types
|
66
66
|
{
|
67
67
|
:'file' => :'Hash',
|
68
|
-
:'
|
68
|
+
:'protect_workbook_request' => :'ProtectWorkbookRequest',
|
69
69
|
:'password' => :'String'
|
70
70
|
}
|
71
71
|
end
|
@@ -79,9 +79,9 @@ module AsposeCellsCloud
|
|
79
79
|
if api_client.config.client_side_validation && file.nil?
|
80
80
|
fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.post_protect "
|
81
81
|
end
|
82
|
-
# verify the required parameter '
|
83
|
-
if api_client.config.client_side_validation &&
|
84
|
-
fail ArgumentError, "Missing the required parameter '
|
82
|
+
# verify the required parameter 'protect_workbook_request' is set
|
83
|
+
if api_client.config.client_side_validation && protect_workbook_request.nil?
|
84
|
+
fail ArgumentError, "Missing the required parameter 'protect_workbook_request' when calling CellsApi.post_protect "
|
85
85
|
end
|
86
86
|
|
87
87
|
# resource path
|
@@ -103,7 +103,7 @@ module AsposeCellsCloud
|
|
103
103
|
file.each do |filename , context|
|
104
104
|
form_params[filename] = context
|
105
105
|
end
|
106
|
-
form_params['
|
106
|
+
form_params['protect_workbook_request'] = post_body.to_json
|
107
107
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
108
108
|
|
109
109
|
|
@@ -32,7 +32,7 @@ module AsposeCellsCloud
|
|
32
32
|
class PostProtectWorkbookRequest
|
33
33
|
|
34
34
|
attr_accessor :name
|
35
|
-
attr_accessor :
|
35
|
+
attr_accessor :protect_workbook_request
|
36
36
|
attr_accessor :folder
|
37
37
|
attr_accessor :storage_name
|
38
38
|
|
@@ -45,8 +45,8 @@ module AsposeCellsCloud
|
|
45
45
|
if attributes.has_key?(:'name')
|
46
46
|
self.name = attributes[:'name']
|
47
47
|
end
|
48
|
-
if attributes.has_key?(:'
|
49
|
-
self.
|
48
|
+
if attributes.has_key?(:'protectWorkbookRequest')
|
49
|
+
self.protect_workbook_request = attributes[:'protectWorkbookRequest']
|
50
50
|
end
|
51
51
|
if attributes.has_key?(:'folder')
|
52
52
|
self.folder = attributes[:'folder']
|
@@ -60,7 +60,7 @@ module AsposeCellsCloud
|
|
60
60
|
def self.attribute_map
|
61
61
|
{
|
62
62
|
:'name' => :'name',
|
63
|
-
:'
|
63
|
+
:'protect_workbook_request' => :'protectWorkbookRequest',
|
64
64
|
:'folder' => :'folder',
|
65
65
|
:'storage_name' => :'storageName'
|
66
66
|
}
|
@@ -70,7 +70,7 @@ module AsposeCellsCloud
|
|
70
70
|
def self.swagger_types
|
71
71
|
{
|
72
72
|
:'name' => :'String',
|
73
|
-
:'
|
73
|
+
:'protect_workbook_request' => :'ProtectWorkbookRequest',
|
74
74
|
:'folder' => :'String',
|
75
75
|
:'storage_name' => :'String'
|
76
76
|
}
|
@@ -85,9 +85,9 @@ module AsposeCellsCloud
|
|
85
85
|
if api_client.config.client_side_validation && name.nil?
|
86
86
|
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.post_protect_workbook "
|
87
87
|
end
|
88
|
-
# verify the required parameter '
|
89
|
-
if api_client.config.client_side_validation &&
|
90
|
-
fail ArgumentError, "Missing the required parameter '
|
88
|
+
# verify the required parameter 'protect_workbook_request' is set
|
89
|
+
if api_client.config.client_side_validation && protect_workbook_request.nil?
|
90
|
+
fail ArgumentError, "Missing the required parameter 'protect_workbook_request' when calling CellsApi.post_protect_workbook "
|
91
91
|
end
|
92
92
|
|
93
93
|
# resource path
|
@@ -107,7 +107,7 @@ module AsposeCellsCloud
|
|
107
107
|
# form parameters
|
108
108
|
form_params = {}
|
109
109
|
post_body = nil
|
110
|
-
post_body = api_client.object_to_http_body(
|
110
|
+
post_body = api_client.object_to_http_body(protect_workbook_request)
|
111
111
|
|
112
112
|
|
113
113
|
#auth_names = []
|
@@ -33,7 +33,7 @@ module AsposeCellsCloud
|
|
33
33
|
|
34
34
|
attr_accessor :name
|
35
35
|
attr_accessor :sheet_name
|
36
|
-
attr_accessor :
|
36
|
+
attr_accessor :range_sort_request
|
37
37
|
attr_accessor :folder
|
38
38
|
attr_accessor :storage_name
|
39
39
|
|
@@ -49,8 +49,8 @@ module AsposeCellsCloud
|
|
49
49
|
if attributes.has_key?(:'sheetName')
|
50
50
|
self.sheet_name = attributes[:'sheetName']
|
51
51
|
end
|
52
|
-
if attributes.has_key?(:'
|
53
|
-
self.
|
52
|
+
if attributes.has_key?(:'rangeSortRequest')
|
53
|
+
self.range_sort_request = attributes[:'rangeSortRequest']
|
54
54
|
end
|
55
55
|
if attributes.has_key?(:'folder')
|
56
56
|
self.folder = attributes[:'folder']
|
@@ -65,7 +65,7 @@ module AsposeCellsCloud
|
|
65
65
|
{
|
66
66
|
:'name' => :'name',
|
67
67
|
:'sheet_name' => :'sheetName',
|
68
|
-
:'
|
68
|
+
:'range_sort_request' => :'rangeSortRequest',
|
69
69
|
:'folder' => :'folder',
|
70
70
|
:'storage_name' => :'storageName'
|
71
71
|
}
|
@@ -76,7 +76,7 @@ module AsposeCellsCloud
|
|
76
76
|
{
|
77
77
|
:'name' => :'String',
|
78
78
|
:'sheet_name' => :'String',
|
79
|
-
:'
|
79
|
+
:'range_sort_request' => :'RangeSortRequest',
|
80
80
|
:'folder' => :'String',
|
81
81
|
:'storage_name' => :'String'
|
82
82
|
}
|
@@ -95,9 +95,9 @@ module AsposeCellsCloud
|
|
95
95
|
if api_client.config.client_side_validation && sheet_name.nil?
|
96
96
|
fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.post_worksheet_cells_range_sort "
|
97
97
|
end
|
98
|
-
# verify the required parameter '
|
99
|
-
if api_client.config.client_side_validation &&
|
100
|
-
fail ArgumentError, "Missing the required parameter '
|
98
|
+
# verify the required parameter 'range_sort_request' is set
|
99
|
+
if api_client.config.client_side_validation && range_sort_request.nil?
|
100
|
+
fail ArgumentError, "Missing the required parameter 'range_sort_request' when calling CellsApi.post_worksheet_cells_range_sort "
|
101
101
|
end
|
102
102
|
|
103
103
|
# resource path
|
@@ -117,7 +117,7 @@ module AsposeCellsCloud
|
|
117
117
|
# form parameters
|
118
118
|
form_params = {}
|
119
119
|
post_body = nil
|
120
|
-
post_body = api_client.object_to_http_body(
|
120
|
+
post_body = api_client.object_to_http_body(range_sort_request)
|
121
121
|
|
122
122
|
|
123
123
|
#auth_names = []
|
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
<copyright company="Aspose" file="
|
3
|
+
<copyright company="Aspose" file="PostWorksheetCellsRangesCopy_request.rb.cs">
|
4
4
|
Copyright (c) 2023 Aspose.Cells Cloud
|
5
5
|
</copyright>
|
6
6
|
<summary>
|
@@ -29,7 +29,7 @@
|
|
29
29
|
require "uri"
|
30
30
|
|
31
31
|
module AsposeCellsCloud
|
32
|
-
class
|
32
|
+
class PostWorksheetCellsRangesCopyRequest
|
33
33
|
|
34
34
|
attr_accessor :name
|
35
35
|
attr_accessor :sheet_name
|
@@ -84,24 +84,24 @@ module AsposeCellsCloud
|
|
84
84
|
|
85
85
|
def create_http_request(api_client,opts = {})
|
86
86
|
if api_client.config.debugging
|
87
|
-
api_client.config.logger.debug "Calling API: CellsApi.
|
87
|
+
api_client.config.logger.debug "Calling API: CellsApi.post_worksheet_cells_ranges_copy ..."
|
88
88
|
end
|
89
89
|
api_client.request_token_if_needed
|
90
90
|
# verify the required parameter 'name' is set
|
91
91
|
if api_client.config.client_side_validation && name.nil?
|
92
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.
|
92
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.post_worksheet_cells_ranges_copy "
|
93
93
|
end
|
94
94
|
# verify the required parameter 'sheet_name' is set
|
95
95
|
if api_client.config.client_side_validation && sheet_name.nil?
|
96
|
-
fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.
|
96
|
+
fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.post_worksheet_cells_ranges_copy "
|
97
97
|
end
|
98
98
|
# verify the required parameter 'range_operate' is set
|
99
99
|
if api_client.config.client_side_validation && range_operate.nil?
|
100
|
-
fail ArgumentError, "Missing the required parameter 'range_operate' when calling CellsApi.
|
100
|
+
fail ArgumentError, "Missing the required parameter 'range_operate' when calling CellsApi.post_worksheet_cells_ranges_copy "
|
101
101
|
end
|
102
102
|
|
103
103
|
# resource path
|
104
|
-
local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
|
104
|
+
local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges/copy".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
|
105
105
|
# query parameters
|
106
106
|
query_params = {}
|
107
107
|
query_params[:'folder'] = self.folder if !self.folder.nil?
|
@@ -130,7 +130,7 @@ module AsposeCellsCloud
|
|
130
130
|
:auth_names => auth_names,
|
131
131
|
:return_type => 'CellsCloudResponse')
|
132
132
|
if api_client.config.debugging
|
133
|
-
api_client.config.logger.debug "API called: Specification.Name>Api.
|
133
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.post_worksheet_cells_ranges_copy\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
134
134
|
end
|
135
135
|
return data, status_code, headers
|
136
136
|
end
|