aspose_cells_cloud 26.3.1 → 26.6.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 +9 -11
- data/lib/aspose_cells_cloud/api/cells_api.rb +111 -0
- data/lib/aspose_cells_cloud/models/ebook_save_options.rb +822 -0
- data/lib/aspose_cells_cloud/requests/accept_all_revisions_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/add_text_in_remote_spreadsheet_request.rb +196 -0
- data/lib/aspose_cells_cloud/requests/add_text_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/add_worksheet_to_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/aggregate_cells_by_color_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/compress_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/convert_chart_to_image_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/convert_chart_to_pdf_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/convert_range_to_csv_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_range_to_html_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_range_to_image_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_range_to_json_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_range_to_pdf_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_spreadsheet_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_spreadsheet_to_csv_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_spreadsheet_to_json_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_spreadsheet_to_pdf_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_table_to_csv_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_table_to_html_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_table_to_image_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_table_to_json_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_table_to_pdf_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_text_in_remote_spreadsheet_request.rb +184 -0
- data/lib/aspose_cells_cloud/requests/convert_text_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/convert_worksheet_to_csv_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_worksheet_to_html_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_worksheet_to_html_table_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/convert_worksheet_to_image_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_worksheet_to_json_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/convert_worksheet_to_pdf_request.rb +17 -0
- data/lib/aspose_cells_cloud/requests/delete_metadata_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/delete_worksheet_from_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/export_range_as_format_request.rb +16 -0
- data/lib/aspose_cells_cloud/requests/export_spreadsheet_as_format_request.rb +16 -0
- data/lib/aspose_cells_cloud/requests/export_table_as_format_request.rb +16 -0
- data/lib/aspose_cells_cloud/requests/export_worksheet_as_format_request.rb +16 -0
- data/lib/aspose_cells_cloud/requests/extract_text_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/flip_data_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/get_merged_cells_in_worksheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/get_metadata_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/get_spreadsheet_structure_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/get_structure_in_remote_spreadsheet_request.rb +134 -0
- data/lib/aspose_cells_cloud/requests/get_worksheets_with_local_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/import_csv_data_into_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/import_data_into_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/import_json_data_into_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/import_xml_data_into_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/math_calculate_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/merge_spreadsheets_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/move_worksheet_in_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/post_assemble_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/post_clear_objects_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_compress_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_csv_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_docx_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_html_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_json_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_markdown_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pdf_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_png_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pptx_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_sql_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_export_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_import_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_lock_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_merge_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/post_metadata_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_protect_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_repair_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_replace_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_reverse_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_rotate_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_search_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_split_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_unlock_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/post_watermark_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/protect_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/put_convert_workbook_request.rb +5 -2
- data/lib/aspose_cells_cloud/requests/put_workbook_background_request.rb +4 -3
- data/lib/aspose_cells_cloud/requests/put_worksheet_background_request.rb +4 -3
- data/lib/aspose_cells_cloud/requests/remove_characters_by_position_in_remote_spreadsheet_request.rb +196 -0
- data/lib/aspose_cells_cloud/requests/remove_characters_by_position_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/remove_characters_in_remote_spreadsheet_request.rb +188 -0
- data/lib/aspose_cells_cloud/requests/remove_characters_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/remove_duplicate_substrings_in_remote_spreadsheet_request.rb +184 -0
- data/lib/aspose_cells_cloud/requests/remove_duplicate_substrings_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/remove_duplicates_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/remove_spreadsheet_blank_columns_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/remove_spreadsheet_blank_rows_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/remove_spreadsheet_blank_worksheets_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/rename_worksheet_in_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/repair_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/replace_spreadsheet_content_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/report_ai_analysis_request.rb +122 -0
- data/lib/aspose_cells_cloud/requests/save_spreadsheet_as_request.rb +16 -0
- data/lib/aspose_cells_cloud/requests/search_spreadsheet_all_text_items_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/search_spreadsheet_broken_links_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/search_spreadsheet_content_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/split_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/split_table_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/split_text_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/spreadsheet_digitalsignature_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/summarize_spreadsheet_request.rb +123 -0
- data/lib/aspose_cells_cloud/requests/swap_range_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/translate_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/translate_text_file_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/transpose_data_request.rb +163 -0
- data/lib/aspose_cells_cloud/requests/trim_character_in_remote_spreadsheet_request.rb +212 -0
- data/lib/aspose_cells_cloud/requests/trim_character_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/unpivot_range_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/unpivot_table_request.rb +171 -0
- data/lib/aspose_cells_cloud/requests/unprotect_spreadsheet_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/update_word_case_in_remote_spreadsheet_request.rb +168 -0
- data/lib/aspose_cells_cloud/requests/update_word_case_request.rb +1 -0
- data/lib/aspose_cells_cloud/requests/upload_file_request.rb +1 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +15 -0
- data/spec/TestData/AggregateCellsByColor.xlsx +0 -0
- data/spec/TestData/Book1.xlsx +0 -0
- data/spec/TestData/BookCsvDuplicateData.csv +21 -0
- data/spec/TestData/BookDuplicateData.xlsx +0 -0
- data/spec/TestData/BookFormula.xlsx +0 -0
- data/spec/TestData/BookTableL2W.xlsx +0 -0
- data/spec/TestData/BookText.xlsx +0 -0
- data/spec/TestData/CompanySales.xlsx +0 -0
- data/spec/TestData/EmployeeSalesSummary-BlankWorksheet.xlsx +0 -0
- data/spec/TestData/EmployeeSalesSummary.xlsx +0 -0
- data/spec/TestData/EmployeeSalesSummary_Locked.xlsx +0 -0
- data/spec/TestData/Formula tutorial.xlsx +0 -0
- data/spec/TestData/Group.xlsx +0 -0
- data/spec/TestData/Home inventory.xlsx +0 -0
- data/spec/TestData/LockedEmployeeSalesSummary.xlsx +0 -0
- data/spec/TestData/OLEDoc.docx +0 -0
- data/spec/TestData/ReportData.xml +1 -0
- data/spec/TestData/Simple invoice.xlsx +0 -0
- data/spec/TestData/Template.xlsx +0 -0
- data/spec/TestData/TestCase.xlsx +0 -0
- data/spec/TestData/TestTables.xlsx +0 -0
- data/spec/TestData/WaterMark.png +0 -0
- data/spec/TestData/assemblytest.xlsx +0 -0
- data/spec/TestData/data.xml +1 -0
- data/spec/TestData/datasource.xlsx +0 -0
- data/spec/TestData/myDocument.xlsx +0 -0
- data/spec/TestData/needUnlock.xlsx +0 -0
- data/spec/TestData/needlock.xlsx +0 -0
- data/spec/TestData/roywang.pfx +0 -0
- data/spec/TestData/word.jpg +0 -0
- data/spec/calculate/calculate_spec.rb +29 -0
- data/spec/cells_cloud30/auto_filter_controller_spec.rb +211 -0
- data/spec/cells_cloud30/batch_controller_spec.rb +113 -0
- data/spec/cells_cloud30/cells_controller_spec.rb +627 -0
- data/spec/cells_cloud30/cells_status_controller_spec.rb +43 -0
- data/spec/cells_cloud30/chart_area_controller_spec.rb +58 -0
- data/spec/cells_cloud30/charts_controller_spec.rb +227 -0
- data/spec/cells_cloud30/conditional_formattings_controller_spec.rb +149 -0
- data/spec/cells_cloud30/conversion30_spec.rb +1112 -0
- data/spec/cells_cloud30/data_processing_controller_spec.rb +97 -0
- data/spec/cells_cloud30/hypelinks_controller_spec.rb +104 -0
- data/spec/cells_cloud30/light_cells_spec.rb +1059 -0
- data/spec/cells_cloud30/list_objects_controller_spec.rb +225 -0
- data/spec/cells_cloud30/ole_objects_controller_spec.rb +108 -0
- data/spec/cells_cloud30/page_breaks_controller_spec.rb +163 -0
- data/spec/cells_cloud30/page_setup_controller_spec.rb +149 -0
- data/spec/cells_cloud30/pictures_controller_spec.rb +106 -0
- data/spec/cells_cloud30/pivot_tables_controller_spec.rb +312 -0
- data/spec/cells_cloud30/properties_controller_spec.rb +89 -0
- data/spec/cells_cloud30/ranges_controller_spec.rb +227 -0
- data/spec/cells_cloud30/shapes_controller_spec.rb +139 -0
- data/spec/cells_cloud30/sparkline_groups_controller_spec.rb +104 -0
- data/spec/cells_cloud30/text_processing_controller_spec.rb +67 -0
- data/spec/cells_cloud30/workbook_controller_spec.rb +519 -0
- data/spec/cells_cloud30/worksheet_controller_spec.rb +609 -0
- data/spec/cells_cloud30/worksheet_validations_controller_spec.rb +104 -0
- data/spec/cells_cloud30/xml_controller_spec.rb +48 -0
- data/spec/data_processing/conversion_spec.rb +428 -0
- data/spec/data_processing/import_data_spec.rb +24 -0
- data/spec/data_processing/merger_spec.rb +28 -0
- data/spec/data_processing/protection_spec.rb +29 -0
- data/spec/data_processing/splitter_spec.rb +47 -0
- data/spec/data_processing/transform_spec.rb +43 -0
- data/spec/dynabic/file_controller_spec.rb +60 -0
- data/spec/dynabic/folder_controller_spec.rb +88 -0
- data/spec/dynabic/storage_controller_spec.rb +73 -0
- data/spec/management/management_spec.rb +111 -0
- data/spec/search2_replace/replacer_spec.rb +46 -0
- data/spec/search2_replace/searcher_spec.rb +131 -0
- data/spec/spec_helper.rb +134 -0
- data/spec/text_processing/add_text_spec.rb +45 -0
- data/spec/text_processing/convert_text_spec.rb +37 -0
- data/spec/text_processing/extract_text_spec.rb +37 -0
- data/spec/text_processing/remove_characters_spec.rb +53 -0
- data/spec/text_processing/split_text_spec.rb +21 -0
- data/spec/text_processing/trim_spreadsheet_spec.rb +29 -0
- data/spec/text_processing/update_word_case_spec.rb +37 -0
- metadata +95 -3
|
@@ -123,6 +123,7 @@ module AsposeCellsCloud
|
|
|
123
123
|
# form parameters
|
|
124
124
|
form_params = {}
|
|
125
125
|
post_body = nil
|
|
126
|
+
|
|
126
127
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
127
128
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
128
129
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
|
3
|
+
<copyright company="Aspose" file="AddTextInRemoteSpreadsheet_request.rb.cs">
|
|
4
|
+
Copyright (c) 2026 Aspose.Cells Cloud
|
|
5
|
+
</copyright>
|
|
6
|
+
<summary>
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
SOFTWARE.
|
|
24
|
+
</summary>
|
|
25
|
+
--------------------------------------------------------------------------------------------------------------------
|
|
26
|
+
=end
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
require "uri"
|
|
30
|
+
|
|
31
|
+
module AsposeCellsCloud
|
|
32
|
+
class AddTextInRemoteSpreadsheetRequest
|
|
33
|
+
|
|
34
|
+
attr_accessor :name
|
|
35
|
+
attr_accessor :worksheet
|
|
36
|
+
attr_accessor :range
|
|
37
|
+
attr_accessor :text
|
|
38
|
+
attr_accessor :position
|
|
39
|
+
attr_accessor :select_text
|
|
40
|
+
attr_accessor :skip_empty_cells
|
|
41
|
+
attr_accessor :folder
|
|
42
|
+
attr_accessor :storage_name
|
|
43
|
+
attr_accessor :region
|
|
44
|
+
attr_accessor :password
|
|
45
|
+
|
|
46
|
+
def initialize(attributes = {})
|
|
47
|
+
return unless attributes.is_a?(Hash)
|
|
48
|
+
|
|
49
|
+
# convert string to symbol for hash key
|
|
50
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
51
|
+
|
|
52
|
+
if attributes.has_key?(:'name')
|
|
53
|
+
self.name = attributes[:'name']
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
if attributes.has_key?(:'worksheet')
|
|
57
|
+
self.worksheet = attributes[:'worksheet']
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
if attributes.has_key?(:'range')
|
|
61
|
+
self.range = attributes[:'range']
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
if attributes.has_key?(:'text')
|
|
65
|
+
self.text = attributes[:'text']
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
if attributes.has_key?(:'position')
|
|
69
|
+
self.position = attributes[:'position']
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
if attributes.has_key?(:'selectText')
|
|
73
|
+
self.select_text = attributes[:'selectText']
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
if attributes.has_key?(:'skipEmptyCells')
|
|
77
|
+
self.skip_empty_cells = attributes[:'skipEmptyCells']
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
if attributes.has_key?(:'folder')
|
|
81
|
+
self.folder = attributes[:'folder']
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
if attributes.has_key?(:'storageName')
|
|
85
|
+
self.storage_name = attributes[:'storageName']
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
if attributes.has_key?(:'region')
|
|
89
|
+
self.region = attributes[:'region']
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
if attributes.has_key?(:'password')
|
|
93
|
+
self.password = attributes[:'password']
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
end
|
|
97
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
98
|
+
def self.attribute_map
|
|
99
|
+
{
|
|
100
|
+
:'name' => :'name',
|
|
101
|
+
:'worksheet' => :'worksheet',
|
|
102
|
+
:'range' => :'range',
|
|
103
|
+
:'text' => :'text',
|
|
104
|
+
:'position' => :'position',
|
|
105
|
+
:'select_text' => :'selectText',
|
|
106
|
+
:'skip_empty_cells' => :'skipEmptyCells',
|
|
107
|
+
:'folder' => :'folder',
|
|
108
|
+
:'storage_name' => :'storageName',
|
|
109
|
+
:'region' => :'region',
|
|
110
|
+
:'password' => :'password'
|
|
111
|
+
}
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
# Attribute type mapping.
|
|
115
|
+
def self.swagger_types
|
|
116
|
+
{
|
|
117
|
+
:'name' => :'String',
|
|
118
|
+
:'worksheet' => :'String',
|
|
119
|
+
:'range' => :'String',
|
|
120
|
+
:'text' => :'String',
|
|
121
|
+
:'position' => :'String',
|
|
122
|
+
:'select_text' => :'String',
|
|
123
|
+
:'skip_empty_cells' => :'BOOLEAN',
|
|
124
|
+
:'folder' => :'String',
|
|
125
|
+
:'storage_name' => :'String',
|
|
126
|
+
:'region' => :'String',
|
|
127
|
+
:'password' => :'String'
|
|
128
|
+
}
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
def create_http_request(api_client,opts = {})
|
|
132
|
+
if api_client.config.debugging
|
|
133
|
+
api_client.config.logger.debug "Calling API: CellsApi.add_text_in_remote_spreadsheet ..."
|
|
134
|
+
end
|
|
135
|
+
api_client.request_token_if_needed
|
|
136
|
+
# verify the required parameter 'name' is set
|
|
137
|
+
if api_client.config.client_side_validation && name.nil?
|
|
138
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.add_text_in_remote_spreadsheet "
|
|
139
|
+
end
|
|
140
|
+
# verify the required parameter 'worksheet' is set
|
|
141
|
+
if api_client.config.client_side_validation && worksheet.nil?
|
|
142
|
+
fail ArgumentError, "Missing the required parameter 'worksheet' when calling CellsApi.add_text_in_remote_spreadsheet "
|
|
143
|
+
end
|
|
144
|
+
# verify the required parameter 'range' is set
|
|
145
|
+
if api_client.config.client_side_validation && range.nil?
|
|
146
|
+
fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.add_text_in_remote_spreadsheet "
|
|
147
|
+
end
|
|
148
|
+
# verify the required parameter 'text' is set
|
|
149
|
+
if api_client.config.client_side_validation && text.nil?
|
|
150
|
+
fail ArgumentError, "Missing the required parameter 'text' when calling CellsApi.add_text_in_remote_spreadsheet "
|
|
151
|
+
end
|
|
152
|
+
# verify the required parameter 'position' is set
|
|
153
|
+
if api_client.config.client_side_validation && position.nil?
|
|
154
|
+
fail ArgumentError, "Missing the required parameter 'position' when calling CellsApi.add_text_in_remote_spreadsheet "
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# resource path
|
|
158
|
+
local_var_path = "v4.0/cells/{name}/worksheets/{worksheet}/range/{range}/content/add/text".sub('{' + 'name' + '}', name.to_s).sub('{' + 'worksheet' + '}', worksheet.to_s).sub('{' + 'range' + '}', range.to_s)
|
|
159
|
+
# query parameters
|
|
160
|
+
query_params = {}
|
|
161
|
+
query_params[:'text'] = self.text if !self.text.nil?
|
|
162
|
+
query_params[:'position'] = self.position if !self.position.nil?
|
|
163
|
+
query_params[:'selectText'] = self.select_text if !self.select_text.nil?
|
|
164
|
+
query_params[:'skipEmptyCells'] = self.skip_empty_cells if !self.skip_empty_cells.nil?
|
|
165
|
+
query_params[:'folder'] = self.folder if !self.folder.nil?
|
|
166
|
+
query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
|
|
167
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
|
168
|
+
query_params[:'password'] = self.password if !self.password.nil?
|
|
169
|
+
|
|
170
|
+
# header parameters
|
|
171
|
+
header_params = {}
|
|
172
|
+
# HTTP header 'Accept' (if needed)
|
|
173
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
|
174
|
+
# HTTP header 'Content-Type'
|
|
175
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
|
176
|
+
|
|
177
|
+
# form parameters
|
|
178
|
+
form_params = {}
|
|
179
|
+
post_body = nil
|
|
180
|
+
|
|
181
|
+
#auth_names = []
|
|
182
|
+
auth_names = ['JWT']
|
|
183
|
+
data, status_code, headers = api_client.call_api(:PUT, local_var_path,
|
|
184
|
+
:header_params => header_params,
|
|
185
|
+
:query_params => query_params,
|
|
186
|
+
:form_params => form_params,
|
|
187
|
+
:body => post_body,
|
|
188
|
+
:auth_names => auth_names,
|
|
189
|
+
:return_type => 'CellsCloudResponse')
|
|
190
|
+
if api_client.config.debugging
|
|
191
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.add_text_in_remote_spreadsheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
192
|
+
end
|
|
193
|
+
return data, status_code, headers
|
|
194
|
+
end
|
|
195
|
+
end
|
|
196
|
+
end
|
|
@@ -171,6 +171,7 @@ module AsposeCellsCloud
|
|
|
171
171
|
# form parameters
|
|
172
172
|
form_params = {}
|
|
173
173
|
post_body = nil
|
|
174
|
+
|
|
174
175
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
175
176
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
176
177
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -139,6 +139,7 @@ module AsposeCellsCloud
|
|
|
139
139
|
# form parameters
|
|
140
140
|
form_params = {}
|
|
141
141
|
post_body = nil
|
|
142
|
+
|
|
142
143
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
143
144
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
144
145
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -131,6 +131,7 @@ module AsposeCellsCloud
|
|
|
131
131
|
# form parameters
|
|
132
132
|
form_params = {}
|
|
133
133
|
post_body = nil
|
|
134
|
+
|
|
134
135
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
135
136
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
136
137
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -127,6 +127,7 @@ module AsposeCellsCloud
|
|
|
127
127
|
# form parameters
|
|
128
128
|
form_params = {}
|
|
129
129
|
post_body = nil
|
|
130
|
+
|
|
130
131
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
131
132
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
132
133
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -159,6 +159,7 @@ module AsposeCellsCloud
|
|
|
159
159
|
# form parameters
|
|
160
160
|
form_params = {}
|
|
161
161
|
post_body = nil
|
|
162
|
+
|
|
162
163
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
163
164
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
164
165
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -147,6 +147,7 @@ module AsposeCellsCloud
|
|
|
147
147
|
# form parameters
|
|
148
148
|
form_params = {}
|
|
149
149
|
post_body = nil
|
|
150
|
+
|
|
150
151
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
151
152
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
152
153
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -37,6 +37,8 @@ module AsposeCellsCloud
|
|
|
37
37
|
attr_accessor :out_path
|
|
38
38
|
attr_accessor :out_storage_name
|
|
39
39
|
attr_accessor :fonts_location
|
|
40
|
+
attr_accessor :auto_rows_fit
|
|
41
|
+
attr_accessor :auto_columns_fit
|
|
40
42
|
attr_accessor :region
|
|
41
43
|
attr_accessor :password
|
|
42
44
|
|
|
@@ -70,6 +72,14 @@ module AsposeCellsCloud
|
|
|
70
72
|
self.fonts_location = attributes[:'fontsLocation']
|
|
71
73
|
end
|
|
72
74
|
|
|
75
|
+
if attributes.has_key?(:'AutoRowsFit')
|
|
76
|
+
self.auto_rows_fit = attributes[:'AutoRowsFit']
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
if attributes.has_key?(:'AutoColumnsFit')
|
|
80
|
+
self.auto_columns_fit = attributes[:'AutoColumnsFit']
|
|
81
|
+
end
|
|
82
|
+
|
|
73
83
|
if attributes.has_key?(:'region')
|
|
74
84
|
self.region = attributes[:'region']
|
|
75
85
|
end
|
|
@@ -88,6 +98,8 @@ module AsposeCellsCloud
|
|
|
88
98
|
:'out_path' => :'outPath',
|
|
89
99
|
:'out_storage_name' => :'outStorageName',
|
|
90
100
|
:'fonts_location' => :'fontsLocation',
|
|
101
|
+
:'auto_rows_fit' => :'AutoRowsFit',
|
|
102
|
+
:'auto_columns_fit' => :'AutoColumnsFit',
|
|
91
103
|
:'region' => :'region',
|
|
92
104
|
:'password' => :'password'
|
|
93
105
|
}
|
|
@@ -102,6 +114,8 @@ module AsposeCellsCloud
|
|
|
102
114
|
:'out_path' => :'String',
|
|
103
115
|
:'out_storage_name' => :'String',
|
|
104
116
|
:'fonts_location' => :'String',
|
|
117
|
+
:'auto_rows_fit' => :'String',
|
|
118
|
+
:'auto_columns_fit' => :'String',
|
|
105
119
|
:'region' => :'String',
|
|
106
120
|
:'password' => :'String'
|
|
107
121
|
}
|
|
@@ -134,6 +148,8 @@ module AsposeCellsCloud
|
|
|
134
148
|
query_params[:'outPath'] = self.out_path if !self.out_path.nil?
|
|
135
149
|
query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
|
|
136
150
|
query_params[:'fontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
|
151
|
+
query_params[:'AutoRowsFit'] = self.auto_rows_fit if !self.auto_rows_fit.nil?
|
|
152
|
+
query_params[:'AutoColumnsFit'] = self.auto_columns_fit if !self.auto_columns_fit.nil?
|
|
137
153
|
query_params[:'region'] = self.region if !self.region.nil?
|
|
138
154
|
query_params[:'password'] = self.password if !self.password.nil?
|
|
139
155
|
|
|
@@ -147,6 +163,7 @@ module AsposeCellsCloud
|
|
|
147
163
|
# form parameters
|
|
148
164
|
form_params = {}
|
|
149
165
|
post_body = nil
|
|
166
|
+
|
|
150
167
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
151
168
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
152
169
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -37,6 +37,8 @@ module AsposeCellsCloud
|
|
|
37
37
|
attr_accessor :out_path
|
|
38
38
|
attr_accessor :out_storage_name
|
|
39
39
|
attr_accessor :fonts_location
|
|
40
|
+
attr_accessor :auto_rows_fit
|
|
41
|
+
attr_accessor :auto_columns_fit
|
|
40
42
|
attr_accessor :region
|
|
41
43
|
attr_accessor :password
|
|
42
44
|
|
|
@@ -70,6 +72,14 @@ module AsposeCellsCloud
|
|
|
70
72
|
self.fonts_location = attributes[:'fontsLocation']
|
|
71
73
|
end
|
|
72
74
|
|
|
75
|
+
if attributes.has_key?(:'AutoRowsFit')
|
|
76
|
+
self.auto_rows_fit = attributes[:'AutoRowsFit']
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
if attributes.has_key?(:'AutoColumnsFit')
|
|
80
|
+
self.auto_columns_fit = attributes[:'AutoColumnsFit']
|
|
81
|
+
end
|
|
82
|
+
|
|
73
83
|
if attributes.has_key?(:'region')
|
|
74
84
|
self.region = attributes[:'region']
|
|
75
85
|
end
|
|
@@ -88,6 +98,8 @@ module AsposeCellsCloud
|
|
|
88
98
|
:'out_path' => :'outPath',
|
|
89
99
|
:'out_storage_name' => :'outStorageName',
|
|
90
100
|
:'fonts_location' => :'fontsLocation',
|
|
101
|
+
:'auto_rows_fit' => :'AutoRowsFit',
|
|
102
|
+
:'auto_columns_fit' => :'AutoColumnsFit',
|
|
91
103
|
:'region' => :'region',
|
|
92
104
|
:'password' => :'password'
|
|
93
105
|
}
|
|
@@ -102,6 +114,8 @@ module AsposeCellsCloud
|
|
|
102
114
|
:'out_path' => :'String',
|
|
103
115
|
:'out_storage_name' => :'String',
|
|
104
116
|
:'fonts_location' => :'String',
|
|
117
|
+
:'auto_rows_fit' => :'String',
|
|
118
|
+
:'auto_columns_fit' => :'String',
|
|
105
119
|
:'region' => :'String',
|
|
106
120
|
:'password' => :'String'
|
|
107
121
|
}
|
|
@@ -134,6 +148,8 @@ module AsposeCellsCloud
|
|
|
134
148
|
query_params[:'outPath'] = self.out_path if !self.out_path.nil?
|
|
135
149
|
query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
|
|
136
150
|
query_params[:'fontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
|
151
|
+
query_params[:'AutoRowsFit'] = self.auto_rows_fit if !self.auto_rows_fit.nil?
|
|
152
|
+
query_params[:'AutoColumnsFit'] = self.auto_columns_fit if !self.auto_columns_fit.nil?
|
|
137
153
|
query_params[:'region'] = self.region if !self.region.nil?
|
|
138
154
|
query_params[:'password'] = self.password if !self.password.nil?
|
|
139
155
|
|
|
@@ -147,6 +163,7 @@ module AsposeCellsCloud
|
|
|
147
163
|
# form parameters
|
|
148
164
|
form_params = {}
|
|
149
165
|
post_body = nil
|
|
166
|
+
|
|
150
167
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
151
168
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
152
169
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -39,6 +39,8 @@ module AsposeCellsCloud
|
|
|
39
39
|
attr_accessor :out_path
|
|
40
40
|
attr_accessor :out_storage_name
|
|
41
41
|
attr_accessor :fonts_location
|
|
42
|
+
attr_accessor :auto_rows_fit
|
|
43
|
+
attr_accessor :auto_columns_fit
|
|
42
44
|
attr_accessor :region
|
|
43
45
|
attr_accessor :password
|
|
44
46
|
|
|
@@ -80,6 +82,14 @@ module AsposeCellsCloud
|
|
|
80
82
|
self.fonts_location = attributes[:'fontsLocation']
|
|
81
83
|
end
|
|
82
84
|
|
|
85
|
+
if attributes.has_key?(:'AutoRowsFit')
|
|
86
|
+
self.auto_rows_fit = attributes[:'AutoRowsFit']
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
if attributes.has_key?(:'AutoColumnsFit')
|
|
90
|
+
self.auto_columns_fit = attributes[:'AutoColumnsFit']
|
|
91
|
+
end
|
|
92
|
+
|
|
83
93
|
if attributes.has_key?(:'region')
|
|
84
94
|
self.region = attributes[:'region']
|
|
85
95
|
end
|
|
@@ -100,6 +110,8 @@ module AsposeCellsCloud
|
|
|
100
110
|
:'out_path' => :'outPath',
|
|
101
111
|
:'out_storage_name' => :'outStorageName',
|
|
102
112
|
:'fonts_location' => :'fontsLocation',
|
|
113
|
+
:'auto_rows_fit' => :'AutoRowsFit',
|
|
114
|
+
:'auto_columns_fit' => :'AutoColumnsFit',
|
|
103
115
|
:'region' => :'region',
|
|
104
116
|
:'password' => :'password'
|
|
105
117
|
}
|
|
@@ -116,6 +128,8 @@ module AsposeCellsCloud
|
|
|
116
128
|
:'out_path' => :'String',
|
|
117
129
|
:'out_storage_name' => :'String',
|
|
118
130
|
:'fonts_location' => :'String',
|
|
131
|
+
:'auto_rows_fit' => :'String',
|
|
132
|
+
:'auto_columns_fit' => :'String',
|
|
119
133
|
:'region' => :'String',
|
|
120
134
|
:'password' => :'String'
|
|
121
135
|
}
|
|
@@ -154,6 +168,8 @@ module AsposeCellsCloud
|
|
|
154
168
|
query_params[:'outPath'] = self.out_path if !self.out_path.nil?
|
|
155
169
|
query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
|
|
156
170
|
query_params[:'fontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
|
171
|
+
query_params[:'AutoRowsFit'] = self.auto_rows_fit if !self.auto_rows_fit.nil?
|
|
172
|
+
query_params[:'AutoColumnsFit'] = self.auto_columns_fit if !self.auto_columns_fit.nil?
|
|
157
173
|
query_params[:'region'] = self.region if !self.region.nil?
|
|
158
174
|
query_params[:'password'] = self.password if !self.password.nil?
|
|
159
175
|
|
|
@@ -167,6 +183,7 @@ module AsposeCellsCloud
|
|
|
167
183
|
# form parameters
|
|
168
184
|
form_params = {}
|
|
169
185
|
post_body = nil
|
|
186
|
+
|
|
170
187
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
171
188
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
172
189
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -37,6 +37,8 @@ module AsposeCellsCloud
|
|
|
37
37
|
attr_accessor :out_path
|
|
38
38
|
attr_accessor :out_storage_name
|
|
39
39
|
attr_accessor :fonts_location
|
|
40
|
+
attr_accessor :auto_rows_fit
|
|
41
|
+
attr_accessor :auto_columns_fit
|
|
40
42
|
attr_accessor :region
|
|
41
43
|
attr_accessor :password
|
|
42
44
|
|
|
@@ -70,6 +72,14 @@ module AsposeCellsCloud
|
|
|
70
72
|
self.fonts_location = attributes[:'fontsLocation']
|
|
71
73
|
end
|
|
72
74
|
|
|
75
|
+
if attributes.has_key?(:'AutoRowsFit')
|
|
76
|
+
self.auto_rows_fit = attributes[:'AutoRowsFit']
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
if attributes.has_key?(:'AutoColumnsFit')
|
|
80
|
+
self.auto_columns_fit = attributes[:'AutoColumnsFit']
|
|
81
|
+
end
|
|
82
|
+
|
|
73
83
|
if attributes.has_key?(:'region')
|
|
74
84
|
self.region = attributes[:'region']
|
|
75
85
|
end
|
|
@@ -88,6 +98,8 @@ module AsposeCellsCloud
|
|
|
88
98
|
:'out_path' => :'outPath',
|
|
89
99
|
:'out_storage_name' => :'outStorageName',
|
|
90
100
|
:'fonts_location' => :'fontsLocation',
|
|
101
|
+
:'auto_rows_fit' => :'AutoRowsFit',
|
|
102
|
+
:'auto_columns_fit' => :'AutoColumnsFit',
|
|
91
103
|
:'region' => :'region',
|
|
92
104
|
:'password' => :'password'
|
|
93
105
|
}
|
|
@@ -102,6 +114,8 @@ module AsposeCellsCloud
|
|
|
102
114
|
:'out_path' => :'String',
|
|
103
115
|
:'out_storage_name' => :'String',
|
|
104
116
|
:'fonts_location' => :'String',
|
|
117
|
+
:'auto_rows_fit' => :'String',
|
|
118
|
+
:'auto_columns_fit' => :'String',
|
|
105
119
|
:'region' => :'String',
|
|
106
120
|
:'password' => :'String'
|
|
107
121
|
}
|
|
@@ -134,6 +148,8 @@ module AsposeCellsCloud
|
|
|
134
148
|
query_params[:'outPath'] = self.out_path if !self.out_path.nil?
|
|
135
149
|
query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
|
|
136
150
|
query_params[:'fontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
|
151
|
+
query_params[:'AutoRowsFit'] = self.auto_rows_fit if !self.auto_rows_fit.nil?
|
|
152
|
+
query_params[:'AutoColumnsFit'] = self.auto_columns_fit if !self.auto_columns_fit.nil?
|
|
137
153
|
query_params[:'region'] = self.region if !self.region.nil?
|
|
138
154
|
query_params[:'password'] = self.password if !self.password.nil?
|
|
139
155
|
|
|
@@ -147,6 +163,7 @@ module AsposeCellsCloud
|
|
|
147
163
|
# form parameters
|
|
148
164
|
form_params = {}
|
|
149
165
|
post_body = nil
|
|
166
|
+
|
|
150
167
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
151
168
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
152
169
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -37,6 +37,8 @@ module AsposeCellsCloud
|
|
|
37
37
|
attr_accessor :out_path
|
|
38
38
|
attr_accessor :out_storage_name
|
|
39
39
|
attr_accessor :fonts_location
|
|
40
|
+
attr_accessor :auto_rows_fit
|
|
41
|
+
attr_accessor :auto_columns_fit
|
|
40
42
|
attr_accessor :region
|
|
41
43
|
attr_accessor :password
|
|
42
44
|
|
|
@@ -70,6 +72,14 @@ module AsposeCellsCloud
|
|
|
70
72
|
self.fonts_location = attributes[:'fontsLocation']
|
|
71
73
|
end
|
|
72
74
|
|
|
75
|
+
if attributes.has_key?(:'AutoRowsFit')
|
|
76
|
+
self.auto_rows_fit = attributes[:'AutoRowsFit']
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
if attributes.has_key?(:'AutoColumnsFit')
|
|
80
|
+
self.auto_columns_fit = attributes[:'AutoColumnsFit']
|
|
81
|
+
end
|
|
82
|
+
|
|
73
83
|
if attributes.has_key?(:'region')
|
|
74
84
|
self.region = attributes[:'region']
|
|
75
85
|
end
|
|
@@ -88,6 +98,8 @@ module AsposeCellsCloud
|
|
|
88
98
|
:'out_path' => :'outPath',
|
|
89
99
|
:'out_storage_name' => :'outStorageName',
|
|
90
100
|
:'fonts_location' => :'fontsLocation',
|
|
101
|
+
:'auto_rows_fit' => :'AutoRowsFit',
|
|
102
|
+
:'auto_columns_fit' => :'AutoColumnsFit',
|
|
91
103
|
:'region' => :'region',
|
|
92
104
|
:'password' => :'password'
|
|
93
105
|
}
|
|
@@ -102,6 +114,8 @@ module AsposeCellsCloud
|
|
|
102
114
|
:'out_path' => :'String',
|
|
103
115
|
:'out_storage_name' => :'String',
|
|
104
116
|
:'fonts_location' => :'String',
|
|
117
|
+
:'auto_rows_fit' => :'String',
|
|
118
|
+
:'auto_columns_fit' => :'String',
|
|
105
119
|
:'region' => :'String',
|
|
106
120
|
:'password' => :'String'
|
|
107
121
|
}
|
|
@@ -134,6 +148,8 @@ module AsposeCellsCloud
|
|
|
134
148
|
query_params[:'outPath'] = self.out_path if !self.out_path.nil?
|
|
135
149
|
query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
|
|
136
150
|
query_params[:'fontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
|
151
|
+
query_params[:'AutoRowsFit'] = self.auto_rows_fit if !self.auto_rows_fit.nil?
|
|
152
|
+
query_params[:'AutoColumnsFit'] = self.auto_columns_fit if !self.auto_columns_fit.nil?
|
|
137
153
|
query_params[:'region'] = self.region if !self.region.nil?
|
|
138
154
|
query_params[:'password'] = self.password if !self.password.nil?
|
|
139
155
|
|
|
@@ -147,6 +163,7 @@ module AsposeCellsCloud
|
|
|
147
163
|
# form parameters
|
|
148
164
|
form_params = {}
|
|
149
165
|
post_body = nil
|
|
166
|
+
|
|
150
167
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
151
168
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
152
169
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -36,6 +36,8 @@ module AsposeCellsCloud
|
|
|
36
36
|
attr_accessor :out_path
|
|
37
37
|
attr_accessor :out_storage_name
|
|
38
38
|
attr_accessor :fonts_location
|
|
39
|
+
attr_accessor :auto_rows_fit
|
|
40
|
+
attr_accessor :auto_columns_fit
|
|
39
41
|
attr_accessor :region
|
|
40
42
|
attr_accessor :password
|
|
41
43
|
|
|
@@ -65,6 +67,14 @@ module AsposeCellsCloud
|
|
|
65
67
|
self.fonts_location = attributes[:'fontsLocation']
|
|
66
68
|
end
|
|
67
69
|
|
|
70
|
+
if attributes.has_key?(:'AutoRowsFit')
|
|
71
|
+
self.auto_rows_fit = attributes[:'AutoRowsFit']
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
if attributes.has_key?(:'AutoColumnsFit')
|
|
75
|
+
self.auto_columns_fit = attributes[:'AutoColumnsFit']
|
|
76
|
+
end
|
|
77
|
+
|
|
68
78
|
if attributes.has_key?(:'region')
|
|
69
79
|
self.region = attributes[:'region']
|
|
70
80
|
end
|
|
@@ -82,6 +92,8 @@ module AsposeCellsCloud
|
|
|
82
92
|
:'out_path' => :'outPath',
|
|
83
93
|
:'out_storage_name' => :'outStorageName',
|
|
84
94
|
:'fonts_location' => :'fontsLocation',
|
|
95
|
+
:'auto_rows_fit' => :'AutoRowsFit',
|
|
96
|
+
:'auto_columns_fit' => :'AutoColumnsFit',
|
|
85
97
|
:'region' => :'region',
|
|
86
98
|
:'password' => :'password'
|
|
87
99
|
}
|
|
@@ -95,6 +107,8 @@ module AsposeCellsCloud
|
|
|
95
107
|
:'out_path' => :'String',
|
|
96
108
|
:'out_storage_name' => :'String',
|
|
97
109
|
:'fonts_location' => :'String',
|
|
110
|
+
:'auto_rows_fit' => :'String',
|
|
111
|
+
:'auto_columns_fit' => :'String',
|
|
98
112
|
:'region' => :'String',
|
|
99
113
|
:'password' => :'String'
|
|
100
114
|
}
|
|
@@ -122,6 +136,8 @@ module AsposeCellsCloud
|
|
|
122
136
|
query_params[:'outPath'] = self.out_path if !self.out_path.nil?
|
|
123
137
|
query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
|
|
124
138
|
query_params[:'fontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
|
139
|
+
query_params[:'AutoRowsFit'] = self.auto_rows_fit if !self.auto_rows_fit.nil?
|
|
140
|
+
query_params[:'AutoColumnsFit'] = self.auto_columns_fit if !self.auto_columns_fit.nil?
|
|
125
141
|
query_params[:'region'] = self.region if !self.region.nil?
|
|
126
142
|
query_params[:'password'] = self.password if !self.password.nil?
|
|
127
143
|
|
|
@@ -135,6 +151,7 @@ module AsposeCellsCloud
|
|
|
135
151
|
# form parameters
|
|
136
152
|
form_params = {}
|
|
137
153
|
post_body = nil
|
|
154
|
+
|
|
138
155
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
139
156
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
140
157
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
@@ -35,6 +35,8 @@ module AsposeCellsCloud
|
|
|
35
35
|
attr_accessor :out_path
|
|
36
36
|
attr_accessor :out_storage_name
|
|
37
37
|
attr_accessor :fonts_location
|
|
38
|
+
attr_accessor :auto_rows_fit
|
|
39
|
+
attr_accessor :auto_columns_fit
|
|
38
40
|
attr_accessor :region
|
|
39
41
|
attr_accessor :password
|
|
40
42
|
|
|
@@ -60,6 +62,14 @@ module AsposeCellsCloud
|
|
|
60
62
|
self.fonts_location = attributes[:'fontsLocation']
|
|
61
63
|
end
|
|
62
64
|
|
|
65
|
+
if attributes.has_key?(:'AutoRowsFit')
|
|
66
|
+
self.auto_rows_fit = attributes[:'AutoRowsFit']
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
if attributes.has_key?(:'AutoColumnsFit')
|
|
70
|
+
self.auto_columns_fit = attributes[:'AutoColumnsFit']
|
|
71
|
+
end
|
|
72
|
+
|
|
63
73
|
if attributes.has_key?(:'region')
|
|
64
74
|
self.region = attributes[:'region']
|
|
65
75
|
end
|
|
@@ -76,6 +86,8 @@ module AsposeCellsCloud
|
|
|
76
86
|
:'out_path' => :'outPath',
|
|
77
87
|
:'out_storage_name' => :'outStorageName',
|
|
78
88
|
:'fonts_location' => :'fontsLocation',
|
|
89
|
+
:'auto_rows_fit' => :'AutoRowsFit',
|
|
90
|
+
:'auto_columns_fit' => :'AutoColumnsFit',
|
|
79
91
|
:'region' => :'region',
|
|
80
92
|
:'password' => :'password'
|
|
81
93
|
}
|
|
@@ -88,6 +100,8 @@ module AsposeCellsCloud
|
|
|
88
100
|
:'out_path' => :'String',
|
|
89
101
|
:'out_storage_name' => :'String',
|
|
90
102
|
:'fonts_location' => :'String',
|
|
103
|
+
:'auto_rows_fit' => :'String',
|
|
104
|
+
:'auto_columns_fit' => :'String',
|
|
91
105
|
:'region' => :'String',
|
|
92
106
|
:'password' => :'String'
|
|
93
107
|
}
|
|
@@ -110,6 +124,8 @@ module AsposeCellsCloud
|
|
|
110
124
|
query_params[:'outPath'] = self.out_path if !self.out_path.nil?
|
|
111
125
|
query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
|
|
112
126
|
query_params[:'fontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
|
127
|
+
query_params[:'AutoRowsFit'] = self.auto_rows_fit if !self.auto_rows_fit.nil?
|
|
128
|
+
query_params[:'AutoColumnsFit'] = self.auto_columns_fit if !self.auto_columns_fit.nil?
|
|
113
129
|
query_params[:'region'] = self.region if !self.region.nil?
|
|
114
130
|
query_params[:'password'] = self.password if !self.password.nil?
|
|
115
131
|
|
|
@@ -123,6 +139,7 @@ module AsposeCellsCloud
|
|
|
123
139
|
# form parameters
|
|
124
140
|
form_params = {}
|
|
125
141
|
post_body = nil
|
|
142
|
+
|
|
126
143
|
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
127
144
|
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
128
145
|
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|