aspose_cells_cloud 25.2 → 25.4
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.
- checksums.yaml +4 -4
- data/README.md +59 -62
- data/lib/aspose_cells_cloud/api/cells_api.rb +66 -0
- data/lib/aspose_cells_cloud/models/chart_points.rb +1 -1
- data/lib/aspose_cells_cloud/models/charts.rb +1 -1
- data/lib/aspose_cells_cloud/models/check_external_reference_options.rb +258 -0
- data/lib/aspose_cells_cloud/models/check_formula_error_options.rb +258 -0
- data/lib/aspose_cells_cloud/models/checked_external_reference_response.rb +258 -0
- data/lib/aspose_cells_cloud/models/checked_formula_errors_response.rb +246 -0
- data/lib/aspose_cells_cloud/models/convert_workbook_options.rb +282 -0
- data/lib/aspose_cells_cloud/models/data_cleansing.rb +1 -1
- data/lib/aspose_cells_cloud/models/dif_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/docx_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/models/files_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/html_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/image_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/json_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/m_html_save_options.rb +392 -8
- data/lib/aspose_cells_cloud/models/markdown_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/ods_save_options.rb +100 -4
- data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/page_sections_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/paginated_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/models/pdf_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/pptx_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/shapes.rb +1 -1
- data/lib/aspose_cells_cloud/models/specify_cells_object.rb +234 -0
- data/lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/styles.rb +1 -1
- data/lib/aspose_cells_cloud/models/styles_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/svg_save_options.rb +208 -4
- data/lib/aspose_cells_cloud/models/txt_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/workbook.rb +1 -1
- data/lib/aspose_cells_cloud/models/xls_save_options.rb +88 -4
- data/lib/aspose_cells_cloud/models/xlsb_save_options.rb +88 -4
- data/lib/aspose_cells_cloud/models/xps_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/requests/add_picture_in_cell_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/check_workbook_formula_errors_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/check_wrokbook_external_reference_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/get_all_styles_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_request.rb +111 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_docx_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_html_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_json_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_markdown_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pdf_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pptx_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_worksheet_to_image_request.rb +10 -2
- data/lib/aspose_cells_cloud/requests/post_export_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_import_data_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_workbook_save_as_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_to_image_request.rb +1 -1
- data/lib/aspose_cells_cloud/requests/put_convert_workbook_request.rb +13 -2
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +12 -0
- data/spec/api/batch_controller_spec.rb +23 -0
- data/spec/api/pivot_tables_controller_spec.rb +1 -4
- data/spec/conversion/conversion_json_spec.rb +0 -22
- data/spec/conversion/conversion_png_spec.rb +0 -22
- data/spec/conversion/conversion_spec.rb +18 -104
- data/spec/document/light_cells_spec.rb +54 -428
- data/spec/spec_helper.rb +3 -3
- metadata +14 -2
@@ -35,6 +35,7 @@ module AsposeCellsCloud
|
|
35
35
|
attr_accessor :password
|
36
36
|
attr_accessor :check_excel_restriction
|
37
37
|
attr_accessor :region
|
38
|
+
attr_accessor :fonts_location
|
38
39
|
|
39
40
|
def initialize(attributes = {})
|
40
41
|
return unless attributes.is_a?(Hash)
|
@@ -54,6 +55,9 @@ module AsposeCellsCloud
|
|
54
55
|
if attributes.has_key?(:'region')
|
55
56
|
self.region = attributes[:'region']
|
56
57
|
end
|
58
|
+
if attributes.has_key?(:'FontsLocation')
|
59
|
+
self.fonts_location = attributes[:'FontsLocation']
|
60
|
+
end
|
57
61
|
|
58
62
|
end
|
59
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -62,7 +66,8 @@ module AsposeCellsCloud
|
|
62
66
|
:'file' => :'File',
|
63
67
|
:'password' => :'password',
|
64
68
|
:'check_excel_restriction' => :'checkExcelRestriction',
|
65
|
-
:'region' => :'region'
|
69
|
+
:'region' => :'region',
|
70
|
+
:'fonts_location' => :'FontsLocation'
|
66
71
|
}
|
67
72
|
end
|
68
73
|
|
@@ -72,7 +77,8 @@ module AsposeCellsCloud
|
|
72
77
|
:'file' => :'Hash',
|
73
78
|
:'password' => :'String',
|
74
79
|
:'check_excel_restriction' => :'BOOLEAN',
|
75
|
-
:'region' => :'String'
|
80
|
+
:'region' => :'String',
|
81
|
+
:'fonts_location' => :'String'
|
76
82
|
}
|
77
83
|
end
|
78
84
|
|
@@ -93,6 +99,7 @@ module AsposeCellsCloud
|
|
93
99
|
query_params[:'password'] = self.password if !self.password.nil?
|
94
100
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
95
101
|
query_params[:'region'] = self.region if !self.region.nil?
|
102
|
+
query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
96
103
|
|
97
104
|
# header parameters
|
98
105
|
header_params = {}
|
@@ -35,6 +35,7 @@ module AsposeCellsCloud
|
|
35
35
|
attr_accessor :password
|
36
36
|
attr_accessor :check_excel_restriction
|
37
37
|
attr_accessor :region
|
38
|
+
attr_accessor :fonts_location
|
38
39
|
|
39
40
|
def initialize(attributes = {})
|
40
41
|
return unless attributes.is_a?(Hash)
|
@@ -54,6 +55,9 @@ module AsposeCellsCloud
|
|
54
55
|
if attributes.has_key?(:'region')
|
55
56
|
self.region = attributes[:'region']
|
56
57
|
end
|
58
|
+
if attributes.has_key?(:'FontsLocation')
|
59
|
+
self.fonts_location = attributes[:'FontsLocation']
|
60
|
+
end
|
57
61
|
|
58
62
|
end
|
59
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -62,7 +66,8 @@ module AsposeCellsCloud
|
|
62
66
|
:'file' => :'File',
|
63
67
|
:'password' => :'password',
|
64
68
|
:'check_excel_restriction' => :'checkExcelRestriction',
|
65
|
-
:'region' => :'region'
|
69
|
+
:'region' => :'region',
|
70
|
+
:'fonts_location' => :'FontsLocation'
|
66
71
|
}
|
67
72
|
end
|
68
73
|
|
@@ -72,7 +77,8 @@ module AsposeCellsCloud
|
|
72
77
|
:'file' => :'Hash',
|
73
78
|
:'password' => :'String',
|
74
79
|
:'check_excel_restriction' => :'BOOLEAN',
|
75
|
-
:'region' => :'String'
|
80
|
+
:'region' => :'String',
|
81
|
+
:'fonts_location' => :'String'
|
76
82
|
}
|
77
83
|
end
|
78
84
|
|
@@ -93,6 +99,7 @@ module AsposeCellsCloud
|
|
93
99
|
query_params[:'password'] = self.password if !self.password.nil?
|
94
100
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
95
101
|
query_params[:'region'] = self.region if !self.region.nil?
|
102
|
+
query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
96
103
|
|
97
104
|
# header parameters
|
98
105
|
header_params = {}
|
@@ -35,6 +35,7 @@ module AsposeCellsCloud
|
|
35
35
|
attr_accessor :password
|
36
36
|
attr_accessor :check_excel_restriction
|
37
37
|
attr_accessor :region
|
38
|
+
attr_accessor :fonts_location
|
38
39
|
|
39
40
|
def initialize(attributes = {})
|
40
41
|
return unless attributes.is_a?(Hash)
|
@@ -54,6 +55,9 @@ module AsposeCellsCloud
|
|
54
55
|
if attributes.has_key?(:'region')
|
55
56
|
self.region = attributes[:'region']
|
56
57
|
end
|
58
|
+
if attributes.has_key?(:'FontsLocation')
|
59
|
+
self.fonts_location = attributes[:'FontsLocation']
|
60
|
+
end
|
57
61
|
|
58
62
|
end
|
59
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -62,7 +66,8 @@ module AsposeCellsCloud
|
|
62
66
|
:'file' => :'File',
|
63
67
|
:'password' => :'password',
|
64
68
|
:'check_excel_restriction' => :'checkExcelRestriction',
|
65
|
-
:'region' => :'region'
|
69
|
+
:'region' => :'region',
|
70
|
+
:'fonts_location' => :'FontsLocation'
|
66
71
|
}
|
67
72
|
end
|
68
73
|
|
@@ -72,7 +77,8 @@ module AsposeCellsCloud
|
|
72
77
|
:'file' => :'Hash',
|
73
78
|
:'password' => :'String',
|
74
79
|
:'check_excel_restriction' => :'BOOLEAN',
|
75
|
-
:'region' => :'String'
|
80
|
+
:'region' => :'String',
|
81
|
+
:'fonts_location' => :'String'
|
76
82
|
}
|
77
83
|
end
|
78
84
|
|
@@ -93,6 +99,7 @@ module AsposeCellsCloud
|
|
93
99
|
query_params[:'password'] = self.password if !self.password.nil?
|
94
100
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
95
101
|
query_params[:'region'] = self.region if !self.region.nil?
|
102
|
+
query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
96
103
|
|
97
104
|
# header parameters
|
98
105
|
header_params = {}
|
@@ -35,6 +35,7 @@ module AsposeCellsCloud
|
|
35
35
|
attr_accessor :password
|
36
36
|
attr_accessor :check_excel_restriction
|
37
37
|
attr_accessor :region
|
38
|
+
attr_accessor :fonts_location
|
38
39
|
|
39
40
|
def initialize(attributes = {})
|
40
41
|
return unless attributes.is_a?(Hash)
|
@@ -54,6 +55,9 @@ module AsposeCellsCloud
|
|
54
55
|
if attributes.has_key?(:'region')
|
55
56
|
self.region = attributes[:'region']
|
56
57
|
end
|
58
|
+
if attributes.has_key?(:'FontsLocation')
|
59
|
+
self.fonts_location = attributes[:'FontsLocation']
|
60
|
+
end
|
57
61
|
|
58
62
|
end
|
59
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -62,7 +66,8 @@ module AsposeCellsCloud
|
|
62
66
|
:'file' => :'File',
|
63
67
|
:'password' => :'password',
|
64
68
|
:'check_excel_restriction' => :'checkExcelRestriction',
|
65
|
-
:'region' => :'region'
|
69
|
+
:'region' => :'region',
|
70
|
+
:'fonts_location' => :'FontsLocation'
|
66
71
|
}
|
67
72
|
end
|
68
73
|
|
@@ -72,7 +77,8 @@ module AsposeCellsCloud
|
|
72
77
|
:'file' => :'Hash',
|
73
78
|
:'password' => :'String',
|
74
79
|
:'check_excel_restriction' => :'BOOLEAN',
|
75
|
-
:'region' => :'String'
|
80
|
+
:'region' => :'String',
|
81
|
+
:'fonts_location' => :'String'
|
76
82
|
}
|
77
83
|
end
|
78
84
|
|
@@ -93,6 +99,7 @@ module AsposeCellsCloud
|
|
93
99
|
query_params[:'password'] = self.password if !self.password.nil?
|
94
100
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
95
101
|
query_params[:'region'] = self.region if !self.region.nil?
|
102
|
+
query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
96
103
|
|
97
104
|
# header parameters
|
98
105
|
header_params = {}
|
@@ -35,6 +35,7 @@ module AsposeCellsCloud
|
|
35
35
|
attr_accessor :password
|
36
36
|
attr_accessor :check_excel_restriction
|
37
37
|
attr_accessor :region
|
38
|
+
attr_accessor :fonts_location
|
38
39
|
|
39
40
|
def initialize(attributes = {})
|
40
41
|
return unless attributes.is_a?(Hash)
|
@@ -54,6 +55,9 @@ module AsposeCellsCloud
|
|
54
55
|
if attributes.has_key?(:'region')
|
55
56
|
self.region = attributes[:'region']
|
56
57
|
end
|
58
|
+
if attributes.has_key?(:'FontsLocation')
|
59
|
+
self.fonts_location = attributes[:'FontsLocation']
|
60
|
+
end
|
57
61
|
|
58
62
|
end
|
59
63
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -62,7 +66,8 @@ module AsposeCellsCloud
|
|
62
66
|
:'file' => :'File',
|
63
67
|
:'password' => :'password',
|
64
68
|
:'check_excel_restriction' => :'checkExcelRestriction',
|
65
|
-
:'region' => :'region'
|
69
|
+
:'region' => :'region',
|
70
|
+
:'fonts_location' => :'FontsLocation'
|
66
71
|
}
|
67
72
|
end
|
68
73
|
|
@@ -72,7 +77,8 @@ module AsposeCellsCloud
|
|
72
77
|
:'file' => :'Hash',
|
73
78
|
:'password' => :'String',
|
74
79
|
:'check_excel_restriction' => :'BOOLEAN',
|
75
|
-
:'region' => :'String'
|
80
|
+
:'region' => :'String',
|
81
|
+
:'fonts_location' => :'String'
|
76
82
|
}
|
77
83
|
end
|
78
84
|
|
@@ -93,6 +99,7 @@ module AsposeCellsCloud
|
|
93
99
|
query_params[:'password'] = self.password if !self.password.nil?
|
94
100
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
95
101
|
query_params[:'region'] = self.region if !self.region.nil?
|
102
|
+
query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
96
103
|
|
97
104
|
# header parameters
|
98
105
|
header_params = {}
|
@@ -32,6 +32,7 @@ module AsposeCellsCloud
|
|
32
32
|
class PostConvertWorksheetToImageRequest
|
33
33
|
|
34
34
|
attr_accessor :convert_worksheet_options
|
35
|
+
attr_accessor :fonts_location
|
35
36
|
|
36
37
|
def initialize(attributes = {})
|
37
38
|
return unless attributes.is_a?(Hash)
|
@@ -42,19 +43,24 @@ module AsposeCellsCloud
|
|
42
43
|
if attributes.has_key?(:'convertWorksheetOptions')
|
43
44
|
self.convert_worksheet_options = attributes[:'convertWorksheetOptions']
|
44
45
|
end
|
46
|
+
if attributes.has_key?(:'FontsLocation')
|
47
|
+
self.fonts_location = attributes[:'FontsLocation']
|
48
|
+
end
|
45
49
|
|
46
50
|
end
|
47
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
52
|
def self.attribute_map
|
49
53
|
{
|
50
|
-
:'convert_worksheet_options' => :'convertWorksheetOptions'
|
54
|
+
:'convert_worksheet_options' => :'convertWorksheetOptions',
|
55
|
+
:'fonts_location' => :'FontsLocation'
|
51
56
|
}
|
52
57
|
end
|
53
58
|
|
54
59
|
# Attribute type mapping.
|
55
60
|
def self.swagger_types
|
56
61
|
{
|
57
|
-
:'convert_worksheet_options' => :'ConvertWorksheetOptions'
|
62
|
+
:'convert_worksheet_options' => :'ConvertWorksheetOptions',
|
63
|
+
:'fonts_location' => :'String'
|
58
64
|
}
|
59
65
|
end
|
60
66
|
|
@@ -72,6 +78,8 @@ module AsposeCellsCloud
|
|
72
78
|
local_var_path = "/cells/convertWorksheetToImage"
|
73
79
|
# query parameters
|
74
80
|
query_params = {}
|
81
|
+
query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
82
|
+
|
75
83
|
# header parameters
|
76
84
|
header_params = {}
|
77
85
|
# HTTP header 'Accept' (if needed)
|
@@ -37,6 +37,7 @@ module AsposeCellsCloud
|
|
37
37
|
attr_accessor :password
|
38
38
|
attr_accessor :check_excel_restriction
|
39
39
|
attr_accessor :region
|
40
|
+
attr_accessor :fonts_location
|
40
41
|
|
41
42
|
def initialize(attributes = {})
|
42
43
|
return unless attributes.is_a?(Hash)
|
@@ -62,6 +63,9 @@ module AsposeCellsCloud
|
|
62
63
|
if attributes.has_key?(:'region')
|
63
64
|
self.region = attributes[:'region']
|
64
65
|
end
|
66
|
+
if attributes.has_key?(:'FontsLocation')
|
67
|
+
self.fonts_location = attributes[:'FontsLocation']
|
68
|
+
end
|
65
69
|
|
66
70
|
end
|
67
71
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -72,7 +76,8 @@ module AsposeCellsCloud
|
|
72
76
|
:'format' => :'format',
|
73
77
|
:'password' => :'password',
|
74
78
|
:'check_excel_restriction' => :'checkExcelRestriction',
|
75
|
-
:'region' => :'region'
|
79
|
+
:'region' => :'region',
|
80
|
+
:'fonts_location' => :'FontsLocation'
|
76
81
|
}
|
77
82
|
end
|
78
83
|
|
@@ -84,7 +89,8 @@ module AsposeCellsCloud
|
|
84
89
|
:'format' => :'String',
|
85
90
|
:'password' => :'String',
|
86
91
|
:'check_excel_restriction' => :'BOOLEAN',
|
87
|
-
:'region' => :'String'
|
92
|
+
:'region' => :'String',
|
93
|
+
:'fonts_location' => :'String'
|
88
94
|
}
|
89
95
|
end
|
90
96
|
|
@@ -107,6 +113,7 @@ module AsposeCellsCloud
|
|
107
113
|
query_params[:'password'] = self.password if !self.password.nil?
|
108
114
|
query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
|
109
115
|
query_params[:'region'] = self.region if !self.region.nil?
|
116
|
+
query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
110
117
|
|
111
118
|
# header parameters
|
112
119
|
header_params = {}
|
@@ -36,6 +36,7 @@ module AsposeCellsCloud
|
|
36
36
|
attr_accessor :folder
|
37
37
|
attr_accessor :storage_name
|
38
38
|
attr_accessor :region
|
39
|
+
attr_accessor :fonts_location
|
39
40
|
|
40
41
|
def initialize(attributes = {})
|
41
42
|
return unless attributes.is_a?(Hash)
|
@@ -58,6 +59,9 @@ module AsposeCellsCloud
|
|
58
59
|
if attributes.has_key?(:'region')
|
59
60
|
self.region = attributes[:'region']
|
60
61
|
end
|
62
|
+
if attributes.has_key?(:'FontsLocation')
|
63
|
+
self.fonts_location = attributes[:'FontsLocation']
|
64
|
+
end
|
61
65
|
|
62
66
|
end
|
63
67
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -67,7 +71,8 @@ module AsposeCellsCloud
|
|
67
71
|
:'import_option' => :'importOption',
|
68
72
|
:'folder' => :'folder',
|
69
73
|
:'storage_name' => :'storageName',
|
70
|
-
:'region' => :'region'
|
74
|
+
:'region' => :'region',
|
75
|
+
:'fonts_location' => :'FontsLocation'
|
71
76
|
}
|
72
77
|
end
|
73
78
|
|
@@ -78,7 +83,8 @@ module AsposeCellsCloud
|
|
78
83
|
:'import_option' => :'ImportOption',
|
79
84
|
:'folder' => :'String',
|
80
85
|
:'storage_name' => :'String',
|
81
|
-
:'region' => :'String'
|
86
|
+
:'region' => :'String',
|
87
|
+
:'fonts_location' => :'String'
|
82
88
|
}
|
83
89
|
end
|
84
90
|
|
@@ -99,6 +105,7 @@ module AsposeCellsCloud
|
|
99
105
|
query_params[:'folder'] = self.folder if !self.folder.nil?
|
100
106
|
query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
|
101
107
|
query_params[:'region'] = self.region if !self.region.nil?
|
108
|
+
query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
102
109
|
|
103
110
|
# header parameters
|
104
111
|
header_params = {}
|
@@ -43,6 +43,7 @@ module AsposeCellsCloud
|
|
43
43
|
attr_accessor :region
|
44
44
|
attr_accessor :page_wide_fit_on_per_sheet
|
45
45
|
attr_accessor :page_tall_fit_on_per_sheet
|
46
|
+
attr_accessor :fonts_location
|
46
47
|
|
47
48
|
def initialize(attributes = {})
|
48
49
|
return unless attributes.is_a?(Hash)
|
@@ -86,6 +87,9 @@ module AsposeCellsCloud
|
|
86
87
|
if attributes.has_key?(:'pageTallFitOnPerSheet')
|
87
88
|
self.page_tall_fit_on_per_sheet = attributes[:'pageTallFitOnPerSheet']
|
88
89
|
end
|
90
|
+
if attributes.has_key?(:'FontsLocation')
|
91
|
+
self.fonts_location = attributes[:'FontsLocation']
|
92
|
+
end
|
89
93
|
|
90
94
|
end
|
91
95
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -102,7 +106,8 @@ module AsposeCellsCloud
|
|
102
106
|
:'check_excel_restriction' => :'checkExcelRestriction',
|
103
107
|
:'region' => :'region',
|
104
108
|
:'page_wide_fit_on_per_sheet' => :'pageWideFitOnPerSheet',
|
105
|
-
:'page_tall_fit_on_per_sheet' => :'pageTallFitOnPerSheet'
|
109
|
+
:'page_tall_fit_on_per_sheet' => :'pageTallFitOnPerSheet',
|
110
|
+
:'fonts_location' => :'FontsLocation'
|
106
111
|
}
|
107
112
|
end
|
108
113
|
|
@@ -120,7 +125,8 @@ module AsposeCellsCloud
|
|
120
125
|
:'check_excel_restriction' => :'BOOLEAN',
|
121
126
|
:'region' => :'String',
|
122
127
|
:'page_wide_fit_on_per_sheet' => :'BOOLEAN',
|
123
|
-
:'page_tall_fit_on_per_sheet' => :'BOOLEAN'
|
128
|
+
:'page_tall_fit_on_per_sheet' => :'BOOLEAN',
|
129
|
+
:'fonts_location' => :'String'
|
124
130
|
}
|
125
131
|
end
|
126
132
|
|
@@ -152,6 +158,7 @@ module AsposeCellsCloud
|
|
152
158
|
query_params[:'region'] = self.region if !self.region.nil?
|
153
159
|
query_params[:'pageWideFitOnPerSheet'] = self.page_wide_fit_on_per_sheet if !self.page_wide_fit_on_per_sheet.nil?
|
154
160
|
query_params[:'pageTallFitOnPerSheet'] = self.page_tall_fit_on_per_sheet if !self.page_tall_fit_on_per_sheet.nil?
|
161
|
+
query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
155
162
|
|
156
163
|
# header parameters
|
157
164
|
header_params = {}
|
@@ -128,7 +128,7 @@ module AsposeCellsCloud
|
|
128
128
|
:form_params => form_params,
|
129
129
|
:body => post_body,
|
130
130
|
:auth_names => auth_names,
|
131
|
-
:return_type => '
|
131
|
+
:return_type => 'File')
|
132
132
|
if api_client.config.debugging
|
133
133
|
api_client.config.logger.debug "API called: Specification.Name>Api.post_worksheet_cells_range_to_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
134
134
|
end
|
@@ -43,6 +43,7 @@ module AsposeCellsCloud
|
|
43
43
|
attr_accessor :page_tall_fit_on_per_sheet
|
44
44
|
attr_accessor :sheet_name
|
45
45
|
attr_accessor :page_index
|
46
|
+
attr_accessor :fonts_location
|
46
47
|
|
47
48
|
def initialize(attributes = {})
|
48
49
|
return unless attributes.is_a?(Hash)
|
@@ -86,6 +87,9 @@ module AsposeCellsCloud
|
|
86
87
|
if attributes.has_key?(:'pageIndex')
|
87
88
|
self.page_index = attributes[:'pageIndex']
|
88
89
|
end
|
90
|
+
if attributes.has_key?(:'FontsLocation')
|
91
|
+
self.fonts_location = attributes[:'FontsLocation']
|
92
|
+
end
|
89
93
|
|
90
94
|
end
|
91
95
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -102,7 +106,8 @@ module AsposeCellsCloud
|
|
102
106
|
:'page_wide_fit_on_per_sheet' => :'pageWideFitOnPerSheet',
|
103
107
|
:'page_tall_fit_on_per_sheet' => :'pageTallFitOnPerSheet',
|
104
108
|
:'sheet_name' => :'sheetName',
|
105
|
-
:'page_index' => :'pageIndex'
|
109
|
+
:'page_index' => :'pageIndex',
|
110
|
+
:'fonts_location' => :'FontsLocation'
|
106
111
|
}
|
107
112
|
end
|
108
113
|
|
@@ -120,7 +125,8 @@ module AsposeCellsCloud
|
|
120
125
|
:'page_wide_fit_on_per_sheet' => :'BOOLEAN',
|
121
126
|
:'page_tall_fit_on_per_sheet' => :'BOOLEAN',
|
122
127
|
:'sheet_name' => :'String',
|
123
|
-
:'page_index' => :'Integer'
|
128
|
+
:'page_index' => :'Integer',
|
129
|
+
:'fonts_location' => :'String'
|
124
130
|
}
|
125
131
|
end
|
126
132
|
|
@@ -133,6 +139,10 @@ module AsposeCellsCloud
|
|
133
139
|
if api_client.config.client_side_validation && file.nil?
|
134
140
|
fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.put_convert_workbook "
|
135
141
|
end
|
142
|
+
# verify the required parameter 'format' is set
|
143
|
+
if api_client.config.client_side_validation && format.nil?
|
144
|
+
fail ArgumentError, "Missing the required parameter 'format' when calling CellsApi.put_convert_workbook "
|
145
|
+
end
|
136
146
|
|
137
147
|
# resource path
|
138
148
|
local_var_path = "/cells/convert"
|
@@ -149,6 +159,7 @@ module AsposeCellsCloud
|
|
149
159
|
query_params[:'pageTallFitOnPerSheet'] = self.page_tall_fit_on_per_sheet if !self.page_tall_fit_on_per_sheet.nil?
|
150
160
|
query_params[:'sheetName'] = self.sheet_name if !self.sheet_name.nil?
|
151
161
|
query_params[:'pageIndex'] = self.page_index if !self.page_index.nil?
|
162
|
+
query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
152
163
|
|
153
164
|
# header parameters
|
154
165
|
header_params = {}
|
data/lib/aspose_cells_cloud.rb
CHANGED
@@ -217,6 +217,8 @@ require 'aspose_cells_cloud/models/chart_points_response'
|
|
217
217
|
require 'aspose_cells_cloud/models/chart_response'
|
218
218
|
require 'aspose_cells_cloud/models/charts_response'
|
219
219
|
require 'aspose_cells_cloud/models/check_box_response'
|
220
|
+
require 'aspose_cells_cloud/models/checked_external_reference_response'
|
221
|
+
require 'aspose_cells_cloud/models/checked_formula_errors_response'
|
220
222
|
require 'aspose_cells_cloud/models/column_response'
|
221
223
|
require 'aspose_cells_cloud/models/columns_response'
|
222
224
|
require 'aspose_cells_cloud/models/combo_box_response'
|
@@ -285,6 +287,7 @@ require 'aspose_cells_cloud/models/sparkline_groups_response'
|
|
285
287
|
require 'aspose_cells_cloud/models/spinner_response'
|
286
288
|
require 'aspose_cells_cloud/models/split_result_response'
|
287
289
|
require 'aspose_cells_cloud/models/style_response'
|
290
|
+
require 'aspose_cells_cloud/models/styles_response'
|
288
291
|
require 'aspose_cells_cloud/models/task_run_result_response'
|
289
292
|
require 'aspose_cells_cloud/models/text_box_response'
|
290
293
|
require 'aspose_cells_cloud/models/text_item_response'
|
@@ -353,8 +356,11 @@ require 'aspose_cells_cloud/models/pivot_tables'
|
|
353
356
|
require 'aspose_cells_cloud/models/add_text_options'
|
354
357
|
require 'aspose_cells_cloud/models/base_operate_options'
|
355
358
|
require 'aspose_cells_cloud/models/character_count_options'
|
359
|
+
require 'aspose_cells_cloud/models/check_external_reference_options'
|
360
|
+
require 'aspose_cells_cloud/models/check_formula_error_options'
|
356
361
|
require 'aspose_cells_cloud/models/combination_source_data'
|
357
362
|
require 'aspose_cells_cloud/models/convert_text_options'
|
363
|
+
require 'aspose_cells_cloud/models/convert_workbook_options'
|
358
364
|
require 'aspose_cells_cloud/models/convert_worksheet_options'
|
359
365
|
require 'aspose_cells_cloud/models/data_output_location'
|
360
366
|
require 'aspose_cells_cloud/models/extract_text_options'
|
@@ -365,6 +371,7 @@ require 'aspose_cells_cloud/models/remove_characters_options'
|
|
365
371
|
require 'aspose_cells_cloud/models/remove_duplicates_options'
|
366
372
|
require 'aspose_cells_cloud/models/scope_item'
|
367
373
|
require 'aspose_cells_cloud/models/scope_options'
|
374
|
+
require 'aspose_cells_cloud/models/specify_cells_object'
|
368
375
|
require 'aspose_cells_cloud/models/specify_words_count_options'
|
369
376
|
require 'aspose_cells_cloud/models/split_text_options'
|
370
377
|
require 'aspose_cells_cloud/models/table_position_info'
|
@@ -578,6 +585,9 @@ require 'aspose_cells_cloud/requests/post_convert_workbook_to_json_request'
|
|
578
585
|
require 'aspose_cells_cloud/requests/post_convert_workbook_to_sql_request'
|
579
586
|
require 'aspose_cells_cloud/requests/post_convert_workbook_to_csv_request'
|
580
587
|
require 'aspose_cells_cloud/requests/post_convert_worksheet_to_image_request'
|
588
|
+
require 'aspose_cells_cloud/requests/post_convert_workbook_request'
|
589
|
+
require 'aspose_cells_cloud/requests/check_wrokbook_external_reference_request'
|
590
|
+
require 'aspose_cells_cloud/requests/check_workbook_formula_errors_request'
|
581
591
|
require 'aspose_cells_cloud/requests/post_export_request'
|
582
592
|
require 'aspose_cells_cloud/requests/post_workbook_export_xml_request'
|
583
593
|
require 'aspose_cells_cloud/requests/post_workbook_import_json_request'
|
@@ -653,6 +663,7 @@ require 'aspose_cells_cloud/requests/post_fit_tall_to_pages_request'
|
|
653
663
|
require 'aspose_cells_cloud/requests/get_worksheet_pictures_request'
|
654
664
|
require 'aspose_cells_cloud/requests/get_worksheet_picture_with_format_request'
|
655
665
|
require 'aspose_cells_cloud/requests/put_worksheet_add_picture_request'
|
666
|
+
require 'aspose_cells_cloud/requests/add_picture_in_cell_request'
|
656
667
|
require 'aspose_cells_cloud/requests/post_worksheet_picture_request'
|
657
668
|
require 'aspose_cells_cloud/requests/delete_worksheet_picture_request'
|
658
669
|
require 'aspose_cells_cloud/requests/delete_worksheet_pictures_request'
|
@@ -756,6 +767,7 @@ require 'aspose_cells_cloud/requests/put_workbook_background_request'
|
|
756
767
|
require 'aspose_cells_cloud/requests/delete_workbook_background_request'
|
757
768
|
require 'aspose_cells_cloud/requests/put_workbook_water_marker_request'
|
758
769
|
require 'aspose_cells_cloud/requests/get_page_count_request'
|
770
|
+
require 'aspose_cells_cloud/requests/get_all_styles_request'
|
759
771
|
require 'aspose_cells_cloud/requests/get_worksheets_request'
|
760
772
|
require 'aspose_cells_cloud/requests/get_worksheet_with_format_request'
|
761
773
|
require 'aspose_cells_cloud/requests/put_change_visibility_worksheet_request'
|
@@ -102,4 +102,27 @@ describe 'CellsApi' do
|
|
102
102
|
@instance.post_batch_unlock(request);
|
103
103
|
end
|
104
104
|
end
|
105
|
+
|
106
|
+
describe 'post_batch_split test' do
|
107
|
+
it "should work" do
|
108
|
+
remote_folder = 'TestData/In'
|
109
|
+
|
110
|
+
local_book1 = 'Book1.xlsx'
|
111
|
+
remote_book1 = 'Book1.xlsx'
|
112
|
+
local_my_doc = 'myDocument.xlsx'
|
113
|
+
remote_my_doc = 'myDocument.xlsx'
|
114
|
+
|
115
|
+
|
116
|
+
mapFiles = { }
|
117
|
+
mapFiles[local_book1] = ::File.open(File.expand_path("TestData/"+local_book1),"r")
|
118
|
+
mapFiles[local_my_doc] = ::File.open(File.expand_path("TestData/"+local_my_doc),"r")
|
119
|
+
|
120
|
+
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
121
|
+
@instance.upload_file(uploadrequest)
|
122
|
+
batchSplitRequestMatchCondition = AsposeCellsCloud::MatchConditionRequest.new(:RegexPattern=>'(^Book)(.+)(xlsx$)' );
|
123
|
+
batchSplitRequest = AsposeCellsCloud::BatchSplitRequest.new(:SourceFolder=>remote_folder ,:Format=>'Pdf' ,:OutFolder=>'OutResult' ,:MatchCondition=>batchSplitRequestMatchCondition );
|
124
|
+
request = AsposeCellsCloud::PostBatchSplitRequest.new(:batchSplitRequest=>batchSplitRequest);
|
125
|
+
@instance.post_batch_split(request);
|
126
|
+
end
|
127
|
+
end
|
105
128
|
end
|
@@ -154,10 +154,7 @@ describe 'CellsApi' do
|
|
154
154
|
|
155
155
|
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
156
156
|
@instance.upload_file(uploadrequest)
|
157
|
-
|
158
|
-
filterColumn = AsposeCellsCloud::FilterColumn.new(:FilterType=>'Top10Filter', :Top10Filter=>top10Filter );
|
159
|
-
autoFilter = AsposeCellsCloud::AutoFilter.new(:FilterColumns=>[filterColumn] );
|
160
|
-
filter = AsposeCellsCloud::PivotFilter.new(:FieldIndex=>0 ,:FilterType=>'Count' , :AutoFilter=>autoFilter );
|
157
|
+
filter = AsposeCellsCloud::PivotFilter.new(:FieldIndex=>0 ,:FilterType=>'Count' );
|
161
158
|
request = AsposeCellsCloud::PutWorksheetPivotTableFilterRequest.new(:name=>remote_name,:sheetName=>'Sheet4',:pivotTableIndex=>0,:filter=>filter,:needReCalculate=>true,:folder=>remote_folder,:storageName=>'');
|
162
159
|
@instance.put_worksheet_pivot_table_filter(request);
|
163
160
|
end
|
@@ -253,28 +253,6 @@ describe 'CellsApi' do
|
|
253
253
|
end
|
254
254
|
end
|
255
255
|
|
256
|
-
describe 'convert_workbook_numbers test' do
|
257
|
-
it "should work" do
|
258
|
-
remote_folder = 'TestData/In'
|
259
|
-
|
260
|
-
local_name = 'codegen-spec.json'
|
261
|
-
remote_name = 'codegen-spec.json'
|
262
|
-
|
263
|
-
format = "numbers"
|
264
|
-
|
265
|
-
|
266
|
-
mapFiles = { }
|
267
|
-
mapFiles = { }
|
268
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
269
|
-
|
270
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
271
|
-
@instance.upload_file(uploadrequest)
|
272
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
273
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
274
|
-
@instance.put_convert_workbook(request);
|
275
|
-
end
|
276
|
-
end
|
277
|
-
|
278
256
|
describe 'convert_workbook_svg test' do
|
279
257
|
it "should work" do
|
280
258
|
remote_folder = 'TestData/In'
|
@@ -209,28 +209,6 @@ describe 'CellsApi' do
|
|
209
209
|
end
|
210
210
|
end
|
211
211
|
|
212
|
-
describe 'convert_workbook_numbers test' do
|
213
|
-
it "should work" do
|
214
|
-
remote_folder = 'TestData/In'
|
215
|
-
|
216
|
-
local_name = 'cloud.png'
|
217
|
-
remote_name = 'cloud.png'
|
218
|
-
|
219
|
-
format = "numbers"
|
220
|
-
|
221
|
-
|
222
|
-
mapFiles = { }
|
223
|
-
mapFiles = { }
|
224
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
225
|
-
|
226
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
227
|
-
@instance.upload_file(uploadrequest)
|
228
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
229
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
230
|
-
@instance.put_convert_workbook(request);
|
231
|
-
end
|
232
|
-
end
|
233
|
-
|
234
212
|
describe 'convert_workbook_svg test' do
|
235
213
|
it "should work" do
|
236
214
|
remote_folder = 'TestData/In'
|