aspose_cells_cloud 25.2 → 25.3
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 +7 -9
- data/lib/aspose_cells_cloud/api/cells_api.rb +51 -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/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/get_all_styles_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_to_image_request.rb +1 -1
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +6 -0
- data/spec/conversion/conversion_json_spec.rb +0 -21
- data/spec/conversion/conversion_png_spec.rb +0 -21
- data/spec/conversion/conversion_spec.rb +0 -81
- data/spec/document/light_cells_spec.rb +0 -98
- metadata +8 -2
@@ -31,21 +31,73 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class MHtmlSaveOptions
|
34
|
+
#
|
35
|
+
attr_accessor :export_page_headers
|
36
|
+
#
|
37
|
+
attr_accessor :export_page_footers
|
38
|
+
#
|
39
|
+
attr_accessor :export_row_column_headings
|
40
|
+
#
|
41
|
+
attr_accessor :show_all_sheets
|
42
|
+
#
|
43
|
+
attr_accessor :image_options
|
44
|
+
#Indicates whether save the html as single file. The default value is false.
|
45
|
+
attr_accessor :save_as_single_file
|
46
|
+
#Indicates whether save the html as single file. The default value is false.
|
47
|
+
attr_accessor :export_hidden_worksheet
|
48
|
+
#Indicating whether exporting the gridlines.The default value is false.
|
49
|
+
attr_accessor :export_grid_lines
|
50
|
+
#Indicating if html or mht file is presentation preference.The default value is false.if you want to get more beautiful presentation,please set the value to true.
|
51
|
+
attr_accessor :presentation_preference
|
52
|
+
#Gets and sets the prefix of the css name,the default value is "".
|
53
|
+
attr_accessor :cell_css_prefix
|
54
|
+
#Gets and sets the prefix of the type css name such as tr,col,td and so on, they are contained in the table element which has the specific TableCssId attribute. The default value is "".
|
55
|
+
attr_accessor :table_css_id
|
56
|
+
#Indicating whether using full path link in sheet00x.htm,filelist.xml and tabstrip.htm. The default value is false.
|
57
|
+
attr_accessor :is_full_path_link
|
58
|
+
#Indicating whether export the worksheet css separately.The default value is false.
|
59
|
+
attr_accessor :export_worksheet_css_separately
|
60
|
+
#
|
61
|
+
attr_accessor :export_similar_border_style
|
62
|
+
#Indicates whether merging empty TD element forcely when exporting file to html. The size of html file will be reduced significantly after setting value to true. The default value is false. If you want to import the html file to excel or export perfect grid lines when saving file to html, please keep the default value.
|
63
|
+
attr_accessor :merge_empty_td_forcely
|
64
|
+
#Indicates whether exporting excel coordinate of nonblank cells when saving file to html. The default value is false. If you want to import the output html to excel, please keep the default value.
|
65
|
+
attr_accessor :export_cell_coordinate
|
66
|
+
#Indicates whether exporting extra headings when the length of text is longer than max display column. The default value is false. If you want to import the html file to excel, please keep the default value.
|
67
|
+
attr_accessor :export_extra_headings
|
68
|
+
#Indicates whether exporting headings when saving file to html.The default value is false. If you want to import the html file to excel, please keep the default value.
|
69
|
+
attr_accessor :export_headings
|
70
|
+
#Indicates whether exporting formula when saving file to html. The default value is true. If you want to import the output html to excel, please keep the default value
|
71
|
+
attr_accessor :export_formula
|
72
|
+
#Indicates whether adding tooltip text when the data can't be fully displayed.
|
73
|
+
attr_accessor :add_tooltip_text
|
74
|
+
#Indicating whether exporting bogus bottom row data. The default value is true.If you want to import the html or mht file to excel, please keep the default value.
|
75
|
+
attr_accessor :export_bogus_row_data
|
76
|
+
#Indicating whether excluding unused styles.The default value is false.If you want to import the html or mht file to excel, please keep the default value.
|
77
|
+
attr_accessor :exclude_unused_styles
|
78
|
+
#Indicating whether exporting document properties.The default value is true.If you want to import the html or mht file to excel, please keep the default value.
|
79
|
+
attr_accessor :export_document_properties
|
80
|
+
#Indicating whether exporting worksheet properties.The default value is true.If you want to import the html or mht file to excel, please keep the default value.
|
81
|
+
attr_accessor :export_worksheet_properties
|
82
|
+
#Indicating whether exporting workbook properties.The default value is true.If you want to import the html or mht file to excel, please keep the default value.
|
83
|
+
attr_accessor :export_workbook_properties
|
84
|
+
#Indicating whether exporting frame scripts and document properties. The default value is true.If you want to import the html or mht file to excel, please keep the default value.
|
85
|
+
attr_accessor :export_frame_scripts_and_properties
|
34
86
|
#The directory that the attached files will be saved to. Only for saving to html stream.
|
35
87
|
attr_accessor :attached_files_directory
|
36
88
|
#Specify the Url prefix of attached files such as image in the html file. Only for saving to html stream.
|
37
89
|
attr_accessor :attached_files_url_prefix
|
38
|
-
#
|
90
|
+
#
|
39
91
|
attr_accessor :encoding
|
40
92
|
#Indicates if exporting the whole workbook to html file.
|
41
93
|
attr_accessor :export_active_worksheet_only
|
42
94
|
#Get or set the format of chart image before exporting
|
43
95
|
attr_accessor :export_chart_image_format
|
44
|
-
#
|
96
|
+
#
|
45
97
|
attr_accessor :export_images_as_base64
|
46
|
-
#Hidden column(the width of this column is 0) in excel,before save this into
|
98
|
+
#Hidden column(the width of this column is 0) in excel,before save this into html format, if HtmlHiddenColDisplayType is "Remove",the hidden column would ont been output, if the value is "Hidden", the column would been output,but was hidden,the default value is "Hidden"
|
47
99
|
attr_accessor :hidden_col_display_type
|
48
|
-
#Hidden row(the height of this row is 0) in excel,before save this into html
|
100
|
+
#Hidden row(the height of this row is 0) in excel,before save this into html format, if HtmlHiddenRowDisplayType is "Remove",the hidden row would ont been output, if the value is "Hidden", the row would been output,but was hidden,the default value is "Hidden"
|
49
101
|
attr_accessor :hidden_row_display_type
|
50
102
|
#Indicates if a cross-cell string will be displayed in the same way as MS Excel when saving an Excel file in html format. By default the value is Default, so, for cross-cell strings, there is little difference between the html files created by Aspose.Cells and MS Excel. But the performance for creating large html files,setting the value to Cross would be several times faster than setting it to Default or Fit2Cell.
|
51
103
|
attr_accessor :html_cross_string_type
|
@@ -56,6 +108,8 @@ module AsposeCellsCloud
|
|
56
108
|
#Parse html tag in cell,like ,as cell value,or as html tag,default is true
|
57
109
|
attr_accessor :parse_html_tag_in_cell
|
58
110
|
#
|
111
|
+
attr_accessor :cell_name_attribute
|
112
|
+
#
|
59
113
|
attr_accessor :save_format
|
60
114
|
#
|
61
115
|
attr_accessor :cached_file_folder
|
@@ -71,10 +125,46 @@ module AsposeCellsCloud
|
|
71
125
|
attr_accessor :sort_names
|
72
126
|
#
|
73
127
|
attr_accessor :validate_merged_areas
|
128
|
+
#
|
129
|
+
attr_accessor :merge_areas
|
130
|
+
#
|
131
|
+
attr_accessor :sort_external_names
|
132
|
+
#
|
133
|
+
attr_accessor :check_excel_restriction
|
134
|
+
#
|
135
|
+
attr_accessor :update_smart_art
|
136
|
+
#
|
137
|
+
attr_accessor :encrypt_document_properties
|
74
138
|
|
75
139
|
# Attribute mapping from ruby-style variable name to JSON key.
|
76
140
|
def self.attribute_map
|
77
141
|
{
|
142
|
+
:'export_page_headers' => :'ExportPageHeaders',
|
143
|
+
:'export_page_footers' => :'ExportPageFooters',
|
144
|
+
:'export_row_column_headings' => :'ExportRowColumnHeadings',
|
145
|
+
:'show_all_sheets' => :'ShowAllSheets',
|
146
|
+
:'image_options' => :'ImageOptions',
|
147
|
+
:'save_as_single_file' => :'SaveAsSingleFile',
|
148
|
+
:'export_hidden_worksheet' => :'ExportHiddenWorksheet',
|
149
|
+
:'export_grid_lines' => :'ExportGridLines',
|
150
|
+
:'presentation_preference' => :'PresentationPreference',
|
151
|
+
:'cell_css_prefix' => :'CellCssPrefix',
|
152
|
+
:'table_css_id' => :'TableCssId',
|
153
|
+
:'is_full_path_link' => :'IsFullPathLink',
|
154
|
+
:'export_worksheet_css_separately' => :'ExportWorksheetCSSSeparately',
|
155
|
+
:'export_similar_border_style' => :'ExportSimilarBorderStyle',
|
156
|
+
:'merge_empty_td_forcely' => :'MergeEmptyTdForcely',
|
157
|
+
:'export_cell_coordinate' => :'ExportCellCoordinate',
|
158
|
+
:'export_extra_headings' => :'ExportExtraHeadings',
|
159
|
+
:'export_headings' => :'ExportHeadings',
|
160
|
+
:'export_formula' => :'ExportFormula',
|
161
|
+
:'add_tooltip_text' => :'AddTooltipText',
|
162
|
+
:'export_bogus_row_data' => :'ExportBogusRowData',
|
163
|
+
:'exclude_unused_styles' => :'ExcludeUnusedStyles',
|
164
|
+
:'export_document_properties' => :'ExportDocumentProperties',
|
165
|
+
:'export_worksheet_properties' => :'ExportWorksheetProperties',
|
166
|
+
:'export_workbook_properties' => :'ExportWorkbookProperties',
|
167
|
+
:'export_frame_scripts_and_properties' => :'ExportFrameScriptsAndProperties',
|
78
168
|
:'attached_files_directory' => :'AttachedFilesDirectory',
|
79
169
|
:'attached_files_url_prefix' => :'AttachedFilesUrlPrefix',
|
80
170
|
:'encoding' => :'Encoding',
|
@@ -87,6 +177,7 @@ module AsposeCellsCloud
|
|
87
177
|
:'is_exp_image_to_temp_dir' => :'IsExpImageToTempDir',
|
88
178
|
:'page_title' => :'PageTitle',
|
89
179
|
:'parse_html_tag_in_cell' => :'ParseHtmlTagInCell',
|
180
|
+
:'cell_name_attribute' => :'CellNameAttribute',
|
90
181
|
:'save_format' => :'SaveFormat',
|
91
182
|
:'cached_file_folder' => :'CachedFileFolder',
|
92
183
|
:'clear_data' => :'ClearData',
|
@@ -94,13 +185,44 @@ module AsposeCellsCloud
|
|
94
185
|
:'enable_http_compression' => :'EnableHTTPCompression',
|
95
186
|
:'refresh_chart_cache' => :'RefreshChartCache',
|
96
187
|
:'sort_names' => :'SortNames',
|
97
|
-
:'validate_merged_areas' => :'ValidateMergedAreas'
|
188
|
+
:'validate_merged_areas' => :'ValidateMergedAreas',
|
189
|
+
:'merge_areas' => :'MergeAreas',
|
190
|
+
:'sort_external_names' => :'SortExternalNames',
|
191
|
+
:'check_excel_restriction' => :'CheckExcelRestriction',
|
192
|
+
:'update_smart_art' => :'UpdateSmartArt',
|
193
|
+
:'encrypt_document_properties' => :'EncryptDocumentProperties'
|
98
194
|
}
|
99
195
|
end
|
100
196
|
|
101
197
|
# Attribute type mapping.
|
102
198
|
def self.swagger_types
|
103
199
|
{
|
200
|
+
:'export_page_headers' => :'BOOLEAN',
|
201
|
+
:'export_page_footers' => :'BOOLEAN',
|
202
|
+
:'export_row_column_headings' => :'BOOLEAN',
|
203
|
+
:'show_all_sheets' => :'BOOLEAN',
|
204
|
+
:'image_options' => :'ImageOrPrintOptions',
|
205
|
+
:'save_as_single_file' => :'BOOLEAN',
|
206
|
+
:'export_hidden_worksheet' => :'BOOLEAN',
|
207
|
+
:'export_grid_lines' => :'BOOLEAN',
|
208
|
+
:'presentation_preference' => :'BOOLEAN',
|
209
|
+
:'cell_css_prefix' => :'String',
|
210
|
+
:'table_css_id' => :'String',
|
211
|
+
:'is_full_path_link' => :'BOOLEAN',
|
212
|
+
:'export_worksheet_css_separately' => :'BOOLEAN',
|
213
|
+
:'export_similar_border_style' => :'BOOLEAN',
|
214
|
+
:'merge_empty_td_forcely' => :'BOOLEAN',
|
215
|
+
:'export_cell_coordinate' => :'BOOLEAN',
|
216
|
+
:'export_extra_headings' => :'BOOLEAN',
|
217
|
+
:'export_headings' => :'BOOLEAN',
|
218
|
+
:'export_formula' => :'BOOLEAN',
|
219
|
+
:'add_tooltip_text' => :'BOOLEAN',
|
220
|
+
:'export_bogus_row_data' => :'BOOLEAN',
|
221
|
+
:'exclude_unused_styles' => :'BOOLEAN',
|
222
|
+
:'export_document_properties' => :'BOOLEAN',
|
223
|
+
:'export_worksheet_properties' => :'BOOLEAN',
|
224
|
+
:'export_workbook_properties' => :'BOOLEAN',
|
225
|
+
:'export_frame_scripts_and_properties' => :'BOOLEAN',
|
104
226
|
:'attached_files_directory' => :'String',
|
105
227
|
:'attached_files_url_prefix' => :'String',
|
106
228
|
:'encoding' => :'String',
|
@@ -113,6 +235,7 @@ module AsposeCellsCloud
|
|
113
235
|
:'is_exp_image_to_temp_dir' => :'BOOLEAN',
|
114
236
|
:'page_title' => :'String',
|
115
237
|
:'parse_html_tag_in_cell' => :'BOOLEAN',
|
238
|
+
:'cell_name_attribute' => :'String',
|
116
239
|
:'save_format' => :'String',
|
117
240
|
:'cached_file_folder' => :'String',
|
118
241
|
:'clear_data' => :'BOOLEAN',
|
@@ -120,7 +243,12 @@ module AsposeCellsCloud
|
|
120
243
|
:'enable_http_compression' => :'BOOLEAN',
|
121
244
|
:'refresh_chart_cache' => :'BOOLEAN',
|
122
245
|
:'sort_names' => :'BOOLEAN',
|
123
|
-
:'validate_merged_areas' => :'BOOLEAN'
|
246
|
+
:'validate_merged_areas' => :'BOOLEAN',
|
247
|
+
:'merge_areas' => :'BOOLEAN',
|
248
|
+
:'sort_external_names' => :'BOOLEAN',
|
249
|
+
:'check_excel_restriction' => :'BOOLEAN',
|
250
|
+
:'update_smart_art' => :'BOOLEAN',
|
251
|
+
:'encrypt_document_properties' => :'BOOLEAN'
|
124
252
|
}
|
125
253
|
end
|
126
254
|
|
@@ -132,6 +260,84 @@ module AsposeCellsCloud
|
|
132
260
|
# convert string to symbol for hash key
|
133
261
|
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
134
262
|
|
263
|
+
if attributes.has_key?(:'ExportPageHeaders')
|
264
|
+
self.export_page_headers = attributes[:'ExportPageHeaders']
|
265
|
+
end
|
266
|
+
if attributes.has_key?(:'ExportPageFooters')
|
267
|
+
self.export_page_footers = attributes[:'ExportPageFooters']
|
268
|
+
end
|
269
|
+
if attributes.has_key?(:'ExportRowColumnHeadings')
|
270
|
+
self.export_row_column_headings = attributes[:'ExportRowColumnHeadings']
|
271
|
+
end
|
272
|
+
if attributes.has_key?(:'ShowAllSheets')
|
273
|
+
self.show_all_sheets = attributes[:'ShowAllSheets']
|
274
|
+
end
|
275
|
+
if attributes.has_key?(:'ImageOptions')
|
276
|
+
self.image_options = attributes[:'ImageOptions']
|
277
|
+
end
|
278
|
+
if attributes.has_key?(:'SaveAsSingleFile')
|
279
|
+
self.save_as_single_file = attributes[:'SaveAsSingleFile']
|
280
|
+
end
|
281
|
+
if attributes.has_key?(:'ExportHiddenWorksheet')
|
282
|
+
self.export_hidden_worksheet = attributes[:'ExportHiddenWorksheet']
|
283
|
+
end
|
284
|
+
if attributes.has_key?(:'ExportGridLines')
|
285
|
+
self.export_grid_lines = attributes[:'ExportGridLines']
|
286
|
+
end
|
287
|
+
if attributes.has_key?(:'PresentationPreference')
|
288
|
+
self.presentation_preference = attributes[:'PresentationPreference']
|
289
|
+
end
|
290
|
+
if attributes.has_key?(:'CellCssPrefix')
|
291
|
+
self.cell_css_prefix = attributes[:'CellCssPrefix']
|
292
|
+
end
|
293
|
+
if attributes.has_key?(:'TableCssId')
|
294
|
+
self.table_css_id = attributes[:'TableCssId']
|
295
|
+
end
|
296
|
+
if attributes.has_key?(:'IsFullPathLink')
|
297
|
+
self.is_full_path_link = attributes[:'IsFullPathLink']
|
298
|
+
end
|
299
|
+
if attributes.has_key?(:'ExportWorksheetCSSSeparately')
|
300
|
+
self.export_worksheet_css_separately = attributes[:'ExportWorksheetCSSSeparately']
|
301
|
+
end
|
302
|
+
if attributes.has_key?(:'ExportSimilarBorderStyle')
|
303
|
+
self.export_similar_border_style = attributes[:'ExportSimilarBorderStyle']
|
304
|
+
end
|
305
|
+
if attributes.has_key?(:'MergeEmptyTdForcely')
|
306
|
+
self.merge_empty_td_forcely = attributes[:'MergeEmptyTdForcely']
|
307
|
+
end
|
308
|
+
if attributes.has_key?(:'ExportCellCoordinate')
|
309
|
+
self.export_cell_coordinate = attributes[:'ExportCellCoordinate']
|
310
|
+
end
|
311
|
+
if attributes.has_key?(:'ExportExtraHeadings')
|
312
|
+
self.export_extra_headings = attributes[:'ExportExtraHeadings']
|
313
|
+
end
|
314
|
+
if attributes.has_key?(:'ExportHeadings')
|
315
|
+
self.export_headings = attributes[:'ExportHeadings']
|
316
|
+
end
|
317
|
+
if attributes.has_key?(:'ExportFormula')
|
318
|
+
self.export_formula = attributes[:'ExportFormula']
|
319
|
+
end
|
320
|
+
if attributes.has_key?(:'AddTooltipText')
|
321
|
+
self.add_tooltip_text = attributes[:'AddTooltipText']
|
322
|
+
end
|
323
|
+
if attributes.has_key?(:'ExportBogusRowData')
|
324
|
+
self.export_bogus_row_data = attributes[:'ExportBogusRowData']
|
325
|
+
end
|
326
|
+
if attributes.has_key?(:'ExcludeUnusedStyles')
|
327
|
+
self.exclude_unused_styles = attributes[:'ExcludeUnusedStyles']
|
328
|
+
end
|
329
|
+
if attributes.has_key?(:'ExportDocumentProperties')
|
330
|
+
self.export_document_properties = attributes[:'ExportDocumentProperties']
|
331
|
+
end
|
332
|
+
if attributes.has_key?(:'ExportWorksheetProperties')
|
333
|
+
self.export_worksheet_properties = attributes[:'ExportWorksheetProperties']
|
334
|
+
end
|
335
|
+
if attributes.has_key?(:'ExportWorkbookProperties')
|
336
|
+
self.export_workbook_properties = attributes[:'ExportWorkbookProperties']
|
337
|
+
end
|
338
|
+
if attributes.has_key?(:'ExportFrameScriptsAndProperties')
|
339
|
+
self.export_frame_scripts_and_properties = attributes[:'ExportFrameScriptsAndProperties']
|
340
|
+
end
|
135
341
|
if attributes.has_key?(:'AttachedFilesDirectory')
|
136
342
|
self.attached_files_directory = attributes[:'AttachedFilesDirectory']
|
137
343
|
end
|
@@ -168,6 +374,9 @@ module AsposeCellsCloud
|
|
168
374
|
if attributes.has_key?(:'ParseHtmlTagInCell')
|
169
375
|
self.parse_html_tag_in_cell = attributes[:'ParseHtmlTagInCell']
|
170
376
|
end
|
377
|
+
if attributes.has_key?(:'CellNameAttribute')
|
378
|
+
self.cell_name_attribute = attributes[:'CellNameAttribute']
|
379
|
+
end
|
171
380
|
if attributes.has_key?(:'SaveFormat')
|
172
381
|
self.save_format = attributes[:'SaveFormat']
|
173
382
|
end
|
@@ -192,6 +401,21 @@ module AsposeCellsCloud
|
|
192
401
|
if attributes.has_key?(:'ValidateMergedAreas')
|
193
402
|
self.validate_merged_areas = attributes[:'ValidateMergedAreas']
|
194
403
|
end
|
404
|
+
if attributes.has_key?(:'MergeAreas')
|
405
|
+
self.merge_areas = attributes[:'MergeAreas']
|
406
|
+
end
|
407
|
+
if attributes.has_key?(:'SortExternalNames')
|
408
|
+
self.sort_external_names = attributes[:'SortExternalNames']
|
409
|
+
end
|
410
|
+
if attributes.has_key?(:'CheckExcelRestriction')
|
411
|
+
self.check_excel_restriction = attributes[:'CheckExcelRestriction']
|
412
|
+
end
|
413
|
+
if attributes.has_key?(:'UpdateSmartArt')
|
414
|
+
self.update_smart_art = attributes[:'UpdateSmartArt']
|
415
|
+
end
|
416
|
+
if attributes.has_key?(:'EncryptDocumentProperties')
|
417
|
+
self.encrypt_document_properties = attributes[:'EncryptDocumentProperties']
|
418
|
+
end
|
195
419
|
|
196
420
|
end
|
197
421
|
|
@@ -199,6 +423,84 @@ module AsposeCellsCloud
|
|
199
423
|
# @return Array for valid properies with the reasons
|
200
424
|
def list_invalid_properties
|
201
425
|
invalid_properties = Array.new
|
426
|
+
if @export_page_headers.nil?
|
427
|
+
invalid_properties.push("invalid value for 'export_page_headers', export_page_headers cannot be nil.")
|
428
|
+
end
|
429
|
+
if @export_page_footers.nil?
|
430
|
+
invalid_properties.push("invalid value for 'export_page_footers', export_page_footers cannot be nil.")
|
431
|
+
end
|
432
|
+
if @export_row_column_headings.nil?
|
433
|
+
invalid_properties.push("invalid value for 'export_row_column_headings', export_row_column_headings cannot be nil.")
|
434
|
+
end
|
435
|
+
if @show_all_sheets.nil?
|
436
|
+
invalid_properties.push("invalid value for 'show_all_sheets', show_all_sheets cannot be nil.")
|
437
|
+
end
|
438
|
+
if @image_options.nil?
|
439
|
+
invalid_properties.push("invalid value for 'image_options', image_options cannot be nil.")
|
440
|
+
end
|
441
|
+
if @save_as_single_file.nil?
|
442
|
+
invalid_properties.push("invalid value for 'save_as_single_file', save_as_single_file cannot be nil.")
|
443
|
+
end
|
444
|
+
if @export_hidden_worksheet.nil?
|
445
|
+
invalid_properties.push("invalid value for 'export_hidden_worksheet', export_hidden_worksheet cannot be nil.")
|
446
|
+
end
|
447
|
+
if @export_grid_lines.nil?
|
448
|
+
invalid_properties.push("invalid value for 'export_grid_lines', export_grid_lines cannot be nil.")
|
449
|
+
end
|
450
|
+
if @presentation_preference.nil?
|
451
|
+
invalid_properties.push("invalid value for 'presentation_preference', presentation_preference cannot be nil.")
|
452
|
+
end
|
453
|
+
if @cell_css_prefix.nil?
|
454
|
+
invalid_properties.push("invalid value for 'cell_css_prefix', cell_css_prefix cannot be nil.")
|
455
|
+
end
|
456
|
+
if @table_css_id.nil?
|
457
|
+
invalid_properties.push("invalid value for 'table_css_id', table_css_id cannot be nil.")
|
458
|
+
end
|
459
|
+
if @is_full_path_link.nil?
|
460
|
+
invalid_properties.push("invalid value for 'is_full_path_link', is_full_path_link cannot be nil.")
|
461
|
+
end
|
462
|
+
if @export_worksheet_css_separately.nil?
|
463
|
+
invalid_properties.push("invalid value for 'export_worksheet_css_separately', export_worksheet_css_separately cannot be nil.")
|
464
|
+
end
|
465
|
+
if @export_similar_border_style.nil?
|
466
|
+
invalid_properties.push("invalid value for 'export_similar_border_style', export_similar_border_style cannot be nil.")
|
467
|
+
end
|
468
|
+
if @merge_empty_td_forcely.nil?
|
469
|
+
invalid_properties.push("invalid value for 'merge_empty_td_forcely', merge_empty_td_forcely cannot be nil.")
|
470
|
+
end
|
471
|
+
if @export_cell_coordinate.nil?
|
472
|
+
invalid_properties.push("invalid value for 'export_cell_coordinate', export_cell_coordinate cannot be nil.")
|
473
|
+
end
|
474
|
+
if @export_extra_headings.nil?
|
475
|
+
invalid_properties.push("invalid value for 'export_extra_headings', export_extra_headings cannot be nil.")
|
476
|
+
end
|
477
|
+
if @export_headings.nil?
|
478
|
+
invalid_properties.push("invalid value for 'export_headings', export_headings cannot be nil.")
|
479
|
+
end
|
480
|
+
if @export_formula.nil?
|
481
|
+
invalid_properties.push("invalid value for 'export_formula', export_formula cannot be nil.")
|
482
|
+
end
|
483
|
+
if @add_tooltip_text.nil?
|
484
|
+
invalid_properties.push("invalid value for 'add_tooltip_text', add_tooltip_text cannot be nil.")
|
485
|
+
end
|
486
|
+
if @export_bogus_row_data.nil?
|
487
|
+
invalid_properties.push("invalid value for 'export_bogus_row_data', export_bogus_row_data cannot be nil.")
|
488
|
+
end
|
489
|
+
if @exclude_unused_styles.nil?
|
490
|
+
invalid_properties.push("invalid value for 'exclude_unused_styles', exclude_unused_styles cannot be nil.")
|
491
|
+
end
|
492
|
+
if @export_document_properties.nil?
|
493
|
+
invalid_properties.push("invalid value for 'export_document_properties', export_document_properties cannot be nil.")
|
494
|
+
end
|
495
|
+
if @export_worksheet_properties.nil?
|
496
|
+
invalid_properties.push("invalid value for 'export_worksheet_properties', export_worksheet_properties cannot be nil.")
|
497
|
+
end
|
498
|
+
if @export_workbook_properties.nil?
|
499
|
+
invalid_properties.push("invalid value for 'export_workbook_properties', export_workbook_properties cannot be nil.")
|
500
|
+
end
|
501
|
+
if @export_frame_scripts_and_properties.nil?
|
502
|
+
invalid_properties.push("invalid value for 'export_frame_scripts_and_properties', export_frame_scripts_and_properties cannot be nil.")
|
503
|
+
end
|
202
504
|
if @attached_files_directory.nil?
|
203
505
|
invalid_properties.push("invalid value for 'attached_files_directory', attached_files_directory cannot be nil.")
|
204
506
|
end
|
@@ -235,6 +537,9 @@ module AsposeCellsCloud
|
|
235
537
|
if @parse_html_tag_in_cell.nil?
|
236
538
|
invalid_properties.push("invalid value for 'parse_html_tag_in_cell', parse_html_tag_in_cell cannot be nil.")
|
237
539
|
end
|
540
|
+
if @cell_name_attribute.nil?
|
541
|
+
invalid_properties.push("invalid value for 'cell_name_attribute', cell_name_attribute cannot be nil.")
|
542
|
+
end
|
238
543
|
if @save_format.nil?
|
239
544
|
invalid_properties.push("invalid value for 'save_format', save_format cannot be nil.")
|
240
545
|
end
|
@@ -259,6 +564,21 @@ module AsposeCellsCloud
|
|
259
564
|
if @validate_merged_areas.nil?
|
260
565
|
invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
|
261
566
|
end
|
567
|
+
if @merge_areas.nil?
|
568
|
+
invalid_properties.push("invalid value for 'merge_areas', merge_areas cannot be nil.")
|
569
|
+
end
|
570
|
+
if @sort_external_names.nil?
|
571
|
+
invalid_properties.push("invalid value for 'sort_external_names', sort_external_names cannot be nil.")
|
572
|
+
end
|
573
|
+
if @check_excel_restriction.nil?
|
574
|
+
invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
|
575
|
+
end
|
576
|
+
if @update_smart_art.nil?
|
577
|
+
invalid_properties.push("invalid value for 'update_smart_art', update_smart_art cannot be nil.")
|
578
|
+
end
|
579
|
+
if @encrypt_document_properties.nil?
|
580
|
+
invalid_properties.push("invalid value for 'encrypt_document_properties', encrypt_document_properties cannot be nil.")
|
581
|
+
end
|
262
582
|
|
263
583
|
return invalid_properties
|
264
584
|
end
|
@@ -266,6 +586,32 @@ module AsposeCellsCloud
|
|
266
586
|
# Check to see if the all the properties in the model are valid
|
267
587
|
# @return true if the model is valid
|
268
588
|
def valid?
|
589
|
+
return false if @export_page_headers.nil?
|
590
|
+
return false if @export_page_footers.nil?
|
591
|
+
return false if @export_row_column_headings.nil?
|
592
|
+
return false if @show_all_sheets.nil?
|
593
|
+
return false if @image_options.nil?
|
594
|
+
return false if @save_as_single_file.nil?
|
595
|
+
return false if @export_hidden_worksheet.nil?
|
596
|
+
return false if @export_grid_lines.nil?
|
597
|
+
return false if @presentation_preference.nil?
|
598
|
+
return false if @cell_css_prefix.nil?
|
599
|
+
return false if @table_css_id.nil?
|
600
|
+
return false if @is_full_path_link.nil?
|
601
|
+
return false if @export_worksheet_css_separately.nil?
|
602
|
+
return false if @export_similar_border_style.nil?
|
603
|
+
return false if @merge_empty_td_forcely.nil?
|
604
|
+
return false if @export_cell_coordinate.nil?
|
605
|
+
return false if @export_extra_headings.nil?
|
606
|
+
return false if @export_headings.nil?
|
607
|
+
return false if @export_formula.nil?
|
608
|
+
return false if @add_tooltip_text.nil?
|
609
|
+
return false if @export_bogus_row_data.nil?
|
610
|
+
return false if @exclude_unused_styles.nil?
|
611
|
+
return false if @export_document_properties.nil?
|
612
|
+
return false if @export_worksheet_properties.nil?
|
613
|
+
return false if @export_workbook_properties.nil?
|
614
|
+
return false if @export_frame_scripts_and_properties.nil?
|
269
615
|
return false if @attached_files_directory.nil?
|
270
616
|
return false if @attached_files_url_prefix.nil?
|
271
617
|
return false if @encoding.nil?
|
@@ -278,6 +624,7 @@ module AsposeCellsCloud
|
|
278
624
|
return false if @is_exp_image_to_temp_dir.nil?
|
279
625
|
return false if @page_title.nil?
|
280
626
|
return false if @parse_html_tag_in_cell.nil?
|
627
|
+
return false if @cell_name_attribute.nil?
|
281
628
|
return false if @save_format.nil?
|
282
629
|
return false if @cached_file_folder.nil?
|
283
630
|
return false if @clear_data.nil?
|
@@ -286,6 +633,11 @@ module AsposeCellsCloud
|
|
286
633
|
return false if @refresh_chart_cache.nil?
|
287
634
|
return false if @sort_names.nil?
|
288
635
|
return false if @validate_merged_areas.nil?
|
636
|
+
return false if @merge_areas.nil?
|
637
|
+
return false if @sort_external_names.nil?
|
638
|
+
return false if @check_excel_restriction.nil?
|
639
|
+
return false if @update_smart_art.nil?
|
640
|
+
return false if @encrypt_document_properties.nil?
|
289
641
|
return true
|
290
642
|
end
|
291
643
|
|
@@ -294,6 +646,32 @@ module AsposeCellsCloud
|
|
294
646
|
def ==(o)
|
295
647
|
return true if self.equal?(o)
|
296
648
|
self.class == o.class &&
|
649
|
+
export_page_headers == o.export_page_headers &&
|
650
|
+
export_page_footers == o.export_page_footers &&
|
651
|
+
export_row_column_headings == o.export_row_column_headings &&
|
652
|
+
show_all_sheets == o.show_all_sheets &&
|
653
|
+
image_options == o.image_options &&
|
654
|
+
save_as_single_file == o.save_as_single_file &&
|
655
|
+
export_hidden_worksheet == o.export_hidden_worksheet &&
|
656
|
+
export_grid_lines == o.export_grid_lines &&
|
657
|
+
presentation_preference == o.presentation_preference &&
|
658
|
+
cell_css_prefix == o.cell_css_prefix &&
|
659
|
+
table_css_id == o.table_css_id &&
|
660
|
+
is_full_path_link == o.is_full_path_link &&
|
661
|
+
export_worksheet_css_separately == o.export_worksheet_css_separately &&
|
662
|
+
export_similar_border_style == o.export_similar_border_style &&
|
663
|
+
merge_empty_td_forcely == o.merge_empty_td_forcely &&
|
664
|
+
export_cell_coordinate == o.export_cell_coordinate &&
|
665
|
+
export_extra_headings == o.export_extra_headings &&
|
666
|
+
export_headings == o.export_headings &&
|
667
|
+
export_formula == o.export_formula &&
|
668
|
+
add_tooltip_text == o.add_tooltip_text &&
|
669
|
+
export_bogus_row_data == o.export_bogus_row_data &&
|
670
|
+
exclude_unused_styles == o.exclude_unused_styles &&
|
671
|
+
export_document_properties == o.export_document_properties &&
|
672
|
+
export_worksheet_properties == o.export_worksheet_properties &&
|
673
|
+
export_workbook_properties == o.export_workbook_properties &&
|
674
|
+
export_frame_scripts_and_properties == o.export_frame_scripts_and_properties &&
|
297
675
|
attached_files_directory == o.attached_files_directory &&
|
298
676
|
attached_files_url_prefix == o.attached_files_url_prefix &&
|
299
677
|
encoding == o.encoding &&
|
@@ -306,6 +684,7 @@ module AsposeCellsCloud
|
|
306
684
|
is_exp_image_to_temp_dir == o.is_exp_image_to_temp_dir &&
|
307
685
|
page_title == o.page_title &&
|
308
686
|
parse_html_tag_in_cell == o.parse_html_tag_in_cell &&
|
687
|
+
cell_name_attribute == o.cell_name_attribute &&
|
309
688
|
save_format == o.save_format &&
|
310
689
|
cached_file_folder == o.cached_file_folder &&
|
311
690
|
clear_data == o.clear_data &&
|
@@ -313,7 +692,12 @@ module AsposeCellsCloud
|
|
313
692
|
enable_http_compression == o.enable_http_compression &&
|
314
693
|
refresh_chart_cache == o.refresh_chart_cache &&
|
315
694
|
sort_names == o.sort_names &&
|
316
|
-
validate_merged_areas == o.validate_merged_areas
|
695
|
+
validate_merged_areas == o.validate_merged_areas &&
|
696
|
+
merge_areas == o.merge_areas &&
|
697
|
+
sort_external_names == o.sort_external_names &&
|
698
|
+
check_excel_restriction == o.check_excel_restriction &&
|
699
|
+
update_smart_art == o.update_smart_art &&
|
700
|
+
encrypt_document_properties == o.encrypt_document_properties
|
317
701
|
std_dev == o.std_dev
|
318
702
|
end
|
319
703
|
|
@@ -326,7 +710,7 @@ module AsposeCellsCloud
|
|
326
710
|
# Calculates hash code according to all attributes.
|
327
711
|
# @return [Fixnum] Hash code
|
328
712
|
def hash
|
329
|
-
[ attached_files_directory , attached_files_url_prefix , encoding , export_active_worksheet_only , export_chart_image_format , export_images_as_base64 , hidden_col_display_type , hidden_row_display_type , html_cross_string_type , is_exp_image_to_temp_dir , page_title , parse_html_tag_in_cell , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
|
713
|
+
[ export_page_headers , export_page_footers , export_row_column_headings , show_all_sheets , image_options , save_as_single_file , export_hidden_worksheet , export_grid_lines , presentation_preference , cell_css_prefix , table_css_id , is_full_path_link , export_worksheet_css_separately , export_similar_border_style , merge_empty_td_forcely , export_cell_coordinate , export_extra_headings , export_headings , export_formula , add_tooltip_text , export_bogus_row_data , exclude_unused_styles , export_document_properties , export_worksheet_properties , export_workbook_properties , export_frame_scripts_and_properties , attached_files_directory , attached_files_url_prefix , encoding , export_active_worksheet_only , export_chart_image_format , export_images_as_base64 , hidden_col_display_type , hidden_row_display_type , html_cross_string_type , is_exp_image_to_temp_dir , page_title , parse_html_tag_in_cell , cell_name_attribute , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas , merge_areas , sort_external_names , check_excel_restriction , update_smart_art , encrypt_document_properties ].hash
|
330
714
|
end
|
331
715
|
|
332
716
|
# Builds the object from hash
|