aspose_cells_cloud 23.9 → 23.11
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 +16 -15
- data/lib/aspose_cells_cloud/api/cells_api.rb +161 -22832
- 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/{value_type.rb → barcode_response.rb} +77 -20
- data/lib/aspose_cells_cloud/models/{total_request.rb → barcode_response_list.rb} +2 -2
- 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/{access_token_response.rb → data_sorter_key.rb} +93 -84
- 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/{cells_error.rb → import_json_request.rb} +60 -55
- data/lib/aspose_cells_cloud/models/import_picture_option.rb +1 -1
- data/lib/aspose_cells_cloud/models/import_xml_request.rb +16 -4
- 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/spreadsheet_m_l2003_save_options.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_workbook_import_json_request.rb +156 -0
- 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 +23 -19
- data/spec/api/folder_controller_spec.rb +1 -1
- 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/conversion/conversion_json_spec.rb +0 -198
- data/spec/conversion/conversion_png_spec.rb +0 -264
- data/spec/conversion/conversion_spec.rb +92 -653
- data/spec/document/light_cells_spec.rb +18 -3
- metadata +11 -15
- data/lib/aspose_cells_cloud/api/light_cells_api.rb +0 -1304
- data/lib/aspose_cells_cloud/api/lite_cells_api.rb +0 -1179
- data/lib/aspose_cells_cloud/models/spreadsheet_ml2003_save_options.rb +0 -292
- data/spec/one_case_spec.rb +0 -27
- data/spec/onecase_spec.rb +0 -28
@@ -31,19 +31,19 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PatternFill
|
34
|
-
#
|
34
|
+
#Gets or sets the fill pattern type
|
35
35
|
attr_accessor :pattern
|
36
|
-
#
|
36
|
+
#Gets and sets the foreground object.
|
37
37
|
attr_accessor :background_cells_color
|
38
|
-
#
|
38
|
+
#Gets and sets the foreground object.
|
39
39
|
attr_accessor :foreground_cells_color
|
40
|
-
#
|
40
|
+
#Gets or sets the foreground .
|
41
41
|
attr_accessor :foreground_color
|
42
|
-
#
|
42
|
+
#Gets or sets the background of the .
|
43
43
|
attr_accessor :background_color
|
44
|
-
#
|
44
|
+
#Gets or sets the transparency of background color.
|
45
45
|
attr_accessor :back_transparency
|
46
|
-
#
|
46
|
+
#Gets or sets the transparency of foreground color.
|
47
47
|
attr_accessor :fore_transparency
|
48
48
|
|
49
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,43 +31,43 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PdfSaveOptions
|
34
|
-
#
|
34
|
+
#Indicates whether the window's title bar should display the document title.
|
35
35
|
attr_accessor :display_doc_title
|
36
|
-
#
|
36
|
+
#Indicates whether to export document structure.
|
37
37
|
attr_accessor :export_document_structure
|
38
|
-
#
|
38
|
+
#Setting for rendering Emf metafile.
|
39
39
|
attr_accessor :emf_render_setting
|
40
|
-
#
|
40
|
+
#Specifies the way CustomDocumentPropertyCollection are exported to PDF file.
|
41
41
|
attr_accessor :custom_properties_export
|
42
|
-
#
|
42
|
+
#Gets and sets pdf optimization type.
|
43
43
|
attr_accessor :optimization_type
|
44
|
-
#
|
44
|
+
#Gets and sets producer of generated pdf document.
|
45
45
|
attr_accessor :producer
|
46
|
-
#
|
46
|
+
#Indicate the compression algorithm.
|
47
47
|
attr_accessor :pdf_compression
|
48
|
-
#
|
48
|
+
#Gets or sets embedded font encoding in pdf.
|
49
49
|
attr_accessor :font_encoding
|
50
|
-
#
|
50
|
+
#Gets or sets watermark to output.
|
51
51
|
attr_accessor :watermark
|
52
|
-
#
|
52
|
+
#Indicates whether calculate formulas before saving pdf file.The default value is false.
|
53
53
|
attr_accessor :calculate_formula
|
54
|
-
#
|
54
|
+
#Indicates whether check font compatibility for every character in text. The default value is true. Disable this property may give better performance. But when the default or specified font of text/character cannot be used to render it, unreadable characters(such as block) maybe occur in the generated pdf. For such situation user should keep this property as true so that alternative font can be searched and used to render the text instead;
|
55
55
|
attr_accessor :check_font_compatibility
|
56
|
-
#
|
56
|
+
#Workbook converts to pdf will according to PdfCompliance in this property.
|
57
57
|
attr_accessor :compliance
|
58
|
-
#
|
58
|
+
#When characters in the Excel are unicode and not be set with correct font in cell style, They may appear as block in pdf,image. Set the DefaultFont such as MingLiu or MS Gothic to show these characters. If this property is not set, Aspose.Cells will use system default font to show these unicode characters.
|
59
59
|
attr_accessor :default_font
|
60
|
-
#
|
60
|
+
#If OnePagePerSheet is true , all content of one sheet will output to only one page in result. The paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect.
|
61
61
|
attr_accessor :one_page_per_sheet
|
62
|
-
#
|
62
|
+
#Indicates which pages will not be printed.
|
63
63
|
attr_accessor :printing_page_type
|
64
|
-
#
|
64
|
+
#Set this options, when security is need in xls2pdf result.
|
65
65
|
attr_accessor :security_options
|
66
|
-
#
|
66
|
+
#Set desired PPI(pixels per inch) of resample images and jpeg quality All images will be converted to JPEG with the specified quality setting, and images that are greater than the specified PPI (pixels per inch) will be resampled. Desired pixels per inch. 220 high quality. 150 screen quality. 96 email quality.
|
67
67
|
attr_accessor :desired_ppi
|
68
|
-
#
|
68
|
+
#Set desired PPI(pixels per inch) of resample images and jpeg quality All images will be converted to JPEG with the specified quality setting, and images that are greater than the specified PPI (pixels per inch) will be resampled. 0 - 100% JPEG quality.
|
69
69
|
attr_accessor :jpeg_quality
|
70
|
-
#
|
70
|
+
#Represents the image type when converting the chart and shape .
|
71
71
|
attr_accessor :image_type
|
72
72
|
#
|
73
73
|
attr_accessor :save_format
|
@@ -31,17 +31,17 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PicFormatOption
|
34
|
-
#
|
34
|
+
#Gets or sets the picture fill type.
|
35
35
|
attr_accessor :type
|
36
|
-
#
|
36
|
+
#Gets or sets how many the picture stack and scale with.
|
37
37
|
attr_accessor :scale
|
38
|
-
#
|
38
|
+
#Gets or sets the left offset for stretching picture.
|
39
39
|
attr_accessor :left
|
40
|
-
#
|
40
|
+
#Gets or sets the right offset for stretching picture.
|
41
41
|
attr_accessor :right
|
42
|
-
#
|
42
|
+
#Gets or sets the top offset for stretching picture.
|
43
43
|
attr_accessor :top
|
44
|
-
#
|
44
|
+
#Gets or sets the bottom offset for stretching picture.
|
45
45
|
attr_accessor :bottom
|
46
46
|
|
47
47
|
# 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 Picture
|
34
|
-
#
|
34
|
+
#Represents the of the border line of a picture.
|
35
35
|
attr_accessor :border_line_color
|
36
|
-
#
|
36
|
+
#Gets or sets the weight of the border line of a picture in units of pt.
|
37
37
|
attr_accessor :border_weight
|
38
|
-
#
|
38
|
+
#Gets the original height of the picture.
|
39
39
|
attr_accessor :original_height
|
40
|
-
#
|
40
|
+
#Gets the original width of the picture.
|
41
41
|
attr_accessor :original_width
|
42
42
|
#
|
43
43
|
attr_accessor :image_format
|
44
|
-
#
|
44
|
+
#Gets or sets the path and name of the source file for the linked image.
|
45
45
|
attr_accessor :source_full_name
|
46
46
|
#
|
47
47
|
attr_accessor :name
|
@@ -31,13 +31,13 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class PlotArea
|
34
|
-
#
|
34
|
+
#Gets or sets the height of plot area in units of 1/4000 of the chart area.
|
35
35
|
attr_accessor :inner_height
|
36
|
-
#
|
36
|
+
#Gets or sets the width of plot area in units of 1/4000 of the chart area.
|
37
37
|
attr_accessor :inner_width
|
38
|
-
#
|
38
|
+
#Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area.
|
39
39
|
attr_accessor :inner_x
|
40
|
-
#
|
40
|
+
#Gets or gets the x coordinate of the upper top corner of plot area in units of 1/4000 of the chart area.
|
41
41
|
attr_accessor :inner_y
|
42
42
|
#
|
43
43
|
attr_accessor :area
|
data/lib/aspose_cells_cloud/models/{protect_workbook_requst.rb → protect_workbook_request.rb}
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
=begin
|
2
2
|
--------------------------------------------------------------------------------------------------------------------
|
3
|
-
<copyright company="Aspose" file="
|
3
|
+
<copyright company="Aspose" file="ProtectWorkbookRequestrb.cs">
|
4
4
|
Copyright (c) 2023 Aspose.Cells Cloud
|
5
5
|
</copyright>
|
6
6
|
<summary>
|
@@ -30,24 +30,24 @@ require 'date'
|
|
30
30
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
|
-
class
|
34
|
-
#
|
35
|
-
attr_accessor :
|
36
|
-
#
|
33
|
+
class ProtectWorkbookRequest
|
34
|
+
#Indicates aways open read-only.
|
35
|
+
attr_accessor :aways_open_read_only
|
36
|
+
#Indicates encrypt with password.
|
37
37
|
attr_accessor :encrypt_with_password
|
38
|
-
#
|
38
|
+
#Represents the various types of protection options available for a worksheet.
|
39
39
|
attr_accessor :protect_current_sheet
|
40
|
-
#
|
40
|
+
#Indicates protect workbook structure. All, Contents, Objects, Scenarios, Structure, Windows, and None.
|
41
41
|
attr_accessor :protect_workbook_structure
|
42
|
-
#
|
42
|
+
#Indicates signature in file.
|
43
43
|
attr_accessor :digital_signature
|
44
|
-
#
|
44
|
+
#Indicates mark as final.
|
45
45
|
attr_accessor :mark_as_final
|
46
46
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
48
|
def self.attribute_map
|
49
49
|
{
|
50
|
-
:'
|
50
|
+
:'aways_open_read_only' => :'AwaysOpenReadOnly',
|
51
51
|
:'encrypt_with_password' => :'EncryptWithPassword',
|
52
52
|
:'protect_current_sheet' => :'ProtectCurrentSheet',
|
53
53
|
:'protect_workbook_structure' => :'ProtectWorkbookStructure',
|
@@ -59,7 +59,7 @@ module AsposeCellsCloud
|
|
59
59
|
# Attribute type mapping.
|
60
60
|
def self.swagger_types
|
61
61
|
{
|
62
|
-
:'
|
62
|
+
:'aways_open_read_only' => :'BOOLEAN',
|
63
63
|
:'encrypt_with_password' => :'String',
|
64
64
|
:'protect_current_sheet' => :'Protection',
|
65
65
|
:'protect_workbook_structure' => :'String',
|
@@ -76,8 +76,8 @@ module AsposeCellsCloud
|
|
76
76
|
# convert string to symbol for hash key
|
77
77
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
78
78
|
|
79
|
-
if attributes.has_key?(:'
|
80
|
-
self.
|
79
|
+
if attributes.has_key?(:'AwaysOpenReadOnly')
|
80
|
+
self.aways_open_read_only = attributes[:'AwaysOpenReadOnly']
|
81
81
|
end
|
82
82
|
if attributes.has_key?(:'EncryptWithPassword')
|
83
83
|
self.encrypt_with_password = attributes[:'EncryptWithPassword']
|
@@ -101,8 +101,8 @@ module AsposeCellsCloud
|
|
101
101
|
# @return Array for valid properies with the reasons
|
102
102
|
def list_invalid_properties
|
103
103
|
invalid_properties = Array.new
|
104
|
-
if @
|
105
|
-
invalid_properties.push("invalid value for '
|
104
|
+
if @aways_open_read_only.nil?
|
105
|
+
invalid_properties.push("invalid value for 'aways_open_read_only', aways_open_read_only cannot be nil.")
|
106
106
|
end
|
107
107
|
if @encrypt_with_password.nil?
|
108
108
|
invalid_properties.push("invalid value for 'encrypt_with_password', encrypt_with_password cannot be nil.")
|
@@ -126,7 +126,7 @@ module AsposeCellsCloud
|
|
126
126
|
# Check to see if the all the properties in the model are valid
|
127
127
|
# @return true if the model is valid
|
128
128
|
def valid?
|
129
|
-
return false if @
|
129
|
+
return false if @aways_open_read_only.nil?
|
130
130
|
return false if @encrypt_with_password.nil?
|
131
131
|
return false if @protect_current_sheet.nil?
|
132
132
|
return false if @protect_workbook_structure.nil?
|
@@ -140,7 +140,7 @@ module AsposeCellsCloud
|
|
140
140
|
def ==(o)
|
141
141
|
return true if self.equal?(o)
|
142
142
|
self.class == o.class &&
|
143
|
-
|
143
|
+
aways_open_read_only == o.aways_open_read_only &&
|
144
144
|
encrypt_with_password == o.encrypt_with_password &&
|
145
145
|
protect_current_sheet == o.protect_current_sheet &&
|
146
146
|
protect_workbook_structure == o.protect_workbook_structure &&
|
@@ -158,7 +158,7 @@ module AsposeCellsCloud
|
|
158
158
|
# Calculates hash code according to all attributes.
|
159
159
|
# @return [Fixnum] Hash code
|
160
160
|
def hash
|
161
|
-
[
|
161
|
+
[ aways_open_read_only , encrypt_with_password , protect_current_sheet , protect_workbook_structure , digital_signature , mark_as_final ].hash
|
162
162
|
end
|
163
163
|
|
164
164
|
# Builds the object from hash
|
@@ -31,39 +31,39 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class Protection
|
34
|
-
#
|
34
|
+
#Represents if the deletion of columns is allowed on a protected worksheet.
|
35
35
|
attr_accessor :allow_deleting_column
|
36
|
-
#
|
36
|
+
#Represents if the deletion of rows is allowed on a protected worksheet.
|
37
37
|
attr_accessor :allow_deleting_row
|
38
|
-
#
|
38
|
+
#Represents if the user is allowed to make use of an AutoFilter that was created before the sheet was protected.
|
39
39
|
attr_accessor :allow_filtering
|
40
|
-
#
|
40
|
+
#Represents if the formatting of cells is allowed on a protected worksheet.
|
41
41
|
attr_accessor :allow_formatting_cell
|
42
|
-
#
|
42
|
+
#Represents if the formatting of columns is allowed on a protected worksheet
|
43
43
|
attr_accessor :allow_formatting_column
|
44
|
-
#
|
44
|
+
#Represents if the formatting of rows is allowed on a protected worksheet
|
45
45
|
attr_accessor :allow_formatting_row
|
46
|
-
#
|
46
|
+
#Represents if the insertion of columns is allowed on a protected worksheet
|
47
47
|
attr_accessor :allow_inserting_column
|
48
|
-
#
|
48
|
+
#Represents if the insertion of hyperlinks is allowed on a protected worksheet
|
49
49
|
attr_accessor :allow_inserting_hyperlink
|
50
|
-
#
|
50
|
+
#Represents if the insertion of rows is allowed on a protected worksheet
|
51
51
|
attr_accessor :allow_inserting_row
|
52
|
-
#
|
52
|
+
#Represents if the sorting option is allowed on a protected worksheet.
|
53
53
|
attr_accessor :allow_sorting
|
54
|
-
#
|
54
|
+
#Represents if the user is allowed to manipulate pivot tables on a protected worksheet.
|
55
55
|
attr_accessor :allow_using_pivot_table
|
56
|
-
#
|
56
|
+
#Represents if the user is allowed to edit contents of locked cells on a protected worksheet.
|
57
57
|
attr_accessor :allow_editing_content
|
58
|
-
#
|
58
|
+
#Represents if the user is allowed to manipulate drawing objects on a protected worksheet.
|
59
59
|
attr_accessor :allow_editing_object
|
60
|
-
#
|
60
|
+
#Represents if the user is allowed to edit scenarios on a protected worksheet.
|
61
61
|
attr_accessor :allow_editing_scenario
|
62
|
-
#
|
62
|
+
#Represents the password to protect the worksheet.
|
63
63
|
attr_accessor :password
|
64
|
-
#
|
64
|
+
#Represents if the user is allowed to select locked cells on a protected worksheet.
|
65
65
|
attr_accessor :allow_selecting_locked_cell
|
66
|
-
#
|
66
|
+
#Represents if the user is allowed to select unlocked cells on a protected worksheet.
|
67
67
|
attr_accessor :allow_selecting_unlocked_cell
|
68
68
|
|
69
69
|
# 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 QueryTable
|
34
|
-
#
|
34
|
+
#Gets the connection id of the query table.
|
35
35
|
attr_accessor :connection_id
|
36
|
-
#
|
36
|
+
#Gets the name of querytable.
|
37
37
|
attr_accessor :name
|
38
|
-
#
|
38
|
+
#Gets the range of the result.
|
39
39
|
attr_accessor :result_range
|
40
|
-
#
|
40
|
+
#Returns or sets the PreserveFormatting of the object.
|
41
41
|
attr_accessor :preserve_formatting
|
42
|
-
#
|
42
|
+
#Returns or sets the AdjustColumnWidth of the object.
|
43
43
|
attr_accessor :adjust_column_width
|
44
44
|
|
45
45
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,11 +31,11 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class RadioButton
|
34
|
-
#
|
34
|
+
#Gets the GroupBox that contains this RadioButton.
|
35
35
|
attr_accessor :group_box
|
36
|
-
#
|
36
|
+
#Indicates if the radiobutton is checked or not.
|
37
37
|
attr_accessor :is_checked
|
38
|
-
#
|
38
|
+
#Indicates whether the combobox has 3-D shading.
|
39
39
|
attr_accessor :shadow
|
40
40
|
#
|
41
41
|
attr_accessor :name
|
@@ -31,23 +31,23 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class Range
|
34
|
-
#Gets the count of columns in the range.
|
34
|
+
#Gets the count of columns in the range.
|
35
35
|
attr_accessor :column_count
|
36
|
-
#Sets or gets the column width of this range
|
36
|
+
#Sets or gets the column width of this range
|
37
37
|
attr_accessor :column_width
|
38
|
-
#Gets the index of the first column of the range.
|
38
|
+
#Gets the index of the first column of the range.
|
39
39
|
attr_accessor :first_column
|
40
|
-
#Gets the index of the first row of the range.
|
40
|
+
#Gets the index of the first row of the range.
|
41
41
|
attr_accessor :first_row
|
42
|
-
#Gets or sets the name of the range.
|
42
|
+
#Gets or sets the name of the range.
|
43
43
|
attr_accessor :name
|
44
|
-
#Gets the range's refers to.
|
44
|
+
#Gets the range's refers to.
|
45
45
|
attr_accessor :refers_to
|
46
|
-
#Gets the count of rows in the range.
|
46
|
+
#Gets the count of rows in the range.
|
47
47
|
attr_accessor :row_count
|
48
|
-
#Sets or gets the height of rows in this range
|
48
|
+
#Sets or gets the height of rows in this range
|
49
49
|
attr_accessor :row_height
|
50
|
-
#Gets the
|
50
|
+
#Gets the object which contains this range.
|
51
51
|
attr_accessor :worksheet
|
52
52
|
|
53
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,13 +31,13 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class RangeCopyRequest
|
34
|
-
#
|
34
|
+
#copydata, copystyle, copyto, copyvalue.
|
35
35
|
attr_accessor :operate
|
36
|
-
#
|
36
|
+
#Source range.
|
37
37
|
attr_accessor :source
|
38
|
-
#
|
38
|
+
#Target range.
|
39
39
|
attr_accessor :target
|
40
|
-
#
|
40
|
+
#Represents the paste special options.
|
41
41
|
attr_accessor :paste_options
|
42
42
|
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,13 +31,13 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class RangeSetOutlineBorderRequest
|
34
|
-
#
|
34
|
+
#Encapsulates the object that represents a range of cells within a spreadsheet.
|
35
35
|
attr_accessor :range
|
36
|
-
#
|
36
|
+
#LeftBorder, RightBorder, TopBorder, BottomBorder, DiagonalDown, DiagonalUp, Vertical and Horizontal.
|
37
37
|
attr_accessor :border_edge
|
38
|
-
#
|
38
|
+
#None, Thin, Medium, Dashed, Dotted, Thick, Double, Hair, MediumDashed, DashDot, MediumDashDot, DashDotDot, MediumDashDotDot and SlantedDashDot.
|
39
39
|
attr_accessor :border_style
|
40
|
-
#
|
40
|
+
#Border color.
|
41
41
|
attr_accessor :border_color
|
42
42
|
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,9 +31,9 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class RangeSetStyleRequest
|
34
|
-
#
|
34
|
+
#Encapsulates the object that represents a range of cells within a spreadsheet.
|
35
35
|
attr_accessor :range
|
36
|
-
#
|
36
|
+
#Represents display style of excel document,such as font,color,alignment,border,etc.
|
37
37
|
attr_accessor :style
|
38
38
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -31,9 +31,9 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class RangeSortRequest
|
34
|
-
#
|
34
|
+
#Summary description for DataSorter.
|
35
35
|
attr_accessor :data_sorter
|
36
|
-
#
|
36
|
+
#Encapsulates the object that represents a range of cells within a spreadsheet.
|
37
37
|
attr_accessor :cell_area
|
38
38
|
|
39
39
|
# 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 Row
|
34
|
-
#
|
34
|
+
#Gets the group level of the row.
|
35
35
|
attr_accessor :group_level
|
36
|
-
#
|
36
|
+
#Gets and sets the row height in unit of Points.
|
37
37
|
attr_accessor :height
|
38
|
-
#
|
38
|
+
#Gets the index of this row.
|
39
39
|
attr_accessor :index
|
40
|
-
#
|
40
|
+
#Indicates whether the row contains any data
|
41
41
|
attr_accessor :is_blank
|
42
|
-
#
|
42
|
+
#Indicates that row height and default font height matches.
|
43
43
|
attr_accessor :is_height_matched
|
44
|
-
#
|
44
|
+
#Indicates whether the row is hidden.
|
45
45
|
attr_accessor :is_hidden
|
46
|
-
#
|
46
|
+
#Represents the style of this row.
|
47
47
|
attr_accessor :style
|
48
48
|
#
|
49
49
|
attr_accessor :link
|
@@ -31,7 +31,7 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class SaveOptions
|
34
|
-
#
|
34
|
+
#Save format name
|
35
35
|
attr_accessor :save_format
|
36
36
|
#The cached file folder is used to store some large data.
|
37
37
|
attr_accessor :cached_file_folder
|
@@ -39,11 +39,11 @@ module AsposeCellsCloud
|
|
39
39
|
attr_accessor :clear_data
|
40
40
|
#If true and the directory does not exist, the directory will be automatically created before saving the file.
|
41
41
|
attr_accessor :create_directory
|
42
|
-
#
|
42
|
+
#whether http compression is to be used.
|
43
43
|
attr_accessor :enable_http_compression
|
44
|
-
#
|
44
|
+
#Indicates whether refreshing chart cache data
|
45
45
|
attr_accessor :refresh_chart_cache
|
46
|
-
#
|
46
|
+
#Indicates whether sorting defined names before saving file.
|
47
47
|
attr_accessor :sort_names
|
48
48
|
#Indicates whether validate merged areas before saving the file.The default value is false.
|
49
49
|
attr_accessor :validate_merged_areas
|
@@ -31,19 +31,19 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class ScrollBar
|
34
|
-
#
|
34
|
+
#Gets or sets the current value.
|
35
35
|
attr_accessor :current_value
|
36
|
-
#
|
36
|
+
#Gets or sets the amount that the scroll bar or spinner is incremented a line scroll.
|
37
37
|
attr_accessor :incremental_change
|
38
|
-
#
|
38
|
+
#Indicates whether this is a horizontal scroll bar.
|
39
39
|
attr_accessor :is_horizontal
|
40
|
-
#
|
40
|
+
#Gets or sets the maximum value of a scroll bar or spinner range.
|
41
41
|
attr_accessor :max
|
42
|
-
#
|
42
|
+
#Gets or sets the minimum value of a scroll bar or spinner range.
|
43
43
|
attr_accessor :min
|
44
|
-
#
|
44
|
+
#Gets or sets page change
|
45
45
|
attr_accessor :page_change
|
46
|
-
#
|
46
|
+
#Indicates whether the shape has 3-D shading.
|
47
47
|
attr_accessor :shadow
|
48
48
|
#
|
49
49
|
attr_accessor :name
|