aspose_words_cloud 21.1.0 → 21.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud.rb +2 -0
  3. data/lib/aspose_words_cloud/api/words_api.rb +141 -0
  4. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +11 -1
  5. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +11 -1
  6. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +11 -1
  7. data/lib/aspose_words_cloud/models/epub_save_options_data.rb +11 -1
  8. data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +11 -1
  9. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +11 -1
  10. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +11 -1
  11. data/lib/aspose_words_cloud/models/html_save_options_data.rb +11 -1
  12. data/lib/aspose_words_cloud/models/image_save_options_data.rb +11 -1
  13. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +11 -1
  14. data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +11 -1
  15. data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +11 -1
  16. data/lib/aspose_words_cloud/models/odt_save_options_data.rb +11 -1
  17. data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +11 -1
  18. data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +11 -1
  19. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +11 -1
  20. data/lib/aspose_words_cloud/models/png_save_options_data.rb +11 -1
  21. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +11 -1
  22. data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +68 -0
  23. data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +78 -0
  24. data/lib/aspose_words_cloud/models/requests/delete_file_request.rb +2 -2
  25. data/lib/aspose_words_cloud/models/requests/delete_folder_request.rb +2 -2
  26. data/lib/aspose_words_cloud/models/requests/get_files_list_request.rb +2 -2
  27. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +11 -1
  28. data/lib/aspose_words_cloud/models/save_options_data.rb +11 -1
  29. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +11 -1
  30. data/lib/aspose_words_cloud/models/text_save_options_data.rb +11 -1
  31. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +11 -1
  32. data/lib/aspose_words_cloud/models/txt_save_options_base_data.rb +11 -1
  33. data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +11 -1
  34. data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +11 -1
  35. data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +11 -1
  36. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +11 -1
  37. data/lib/aspose_words_cloud/version.rb +1 -1
  38. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 748c9b54750e7ba9c6a9578ff2609ba6f65bfa955cfec588379f9be39f6a90da
4
- data.tar.gz: 5f1595ec466432a1f50a794f4a23cf99499944b94fe28abcc82d72a51fae72f7
3
+ metadata.gz: 87e2d3dbc9743b0a7e65c4ff81ad00b6f3aff55938c46e2452dab0f2e64a84b3
4
+ data.tar.gz: 49d97909659b556731b5544617b126a00985155462eb61f0fb0291c22cf2f856
5
5
  SHA512:
6
- metadata.gz: 2270e45970daebdbb0d3aa76d98d1ec622b9029158ddc6466350b1310d1527b14e93e0a3ab3ae5b7a32d3877751ce0ff3d3feaff736ce07785cdd70adb00c32d
7
- data.tar.gz: 1db96e9a843ca4a50707cc7daec63f9b87f134ffa918b641c95854a376db44f5222b2c9d0296bb8f3923afa758331131246e2ce05fbe0e9a89cbab02be8fc0e8
6
+ metadata.gz: e2ebc5803e773d8a80f95331492c0c998645241c438249dade497a765475de554094f1152db7c1c46f31430c00125ca579ac8af2bd3c783822dedde0d013c18b
7
+ data.tar.gz: 0e4c2207e5e66310e8b2a93c0c12f5a3fa299831eb63a82a4a59c219664deef365108b184088debbbbfa10e56069de4b09f93822c0cd6814fca59fb6c76a7a0c
@@ -300,6 +300,8 @@ require_relative 'aspose_words_cloud/models/requests/delete_borders_request'
300
300
  require_relative 'aspose_words_cloud/models/requests/delete_borders_online_request'
301
301
  require_relative 'aspose_words_cloud/models/requests/delete_comment_request'
302
302
  require_relative 'aspose_words_cloud/models/requests/delete_comment_online_request'
303
+ require_relative 'aspose_words_cloud/models/requests/delete_comments_request'
304
+ require_relative 'aspose_words_cloud/models/requests/delete_comments_online_request'
303
305
  require_relative 'aspose_words_cloud/models/requests/delete_document_property_request'
304
306
  require_relative 'aspose_words_cloud/models/requests/delete_document_property_online_request'
305
307
  require_relative 'aspose_words_cloud/models/requests/delete_drawing_object_request'
@@ -2237,6 +2237,147 @@ module AsposeWordsCloud
2237
2237
  [data, status_code, headers]
2238
2238
  end
2239
2239
 
2240
+ # Removes all comments from the document.
2241
+ # @param request DeleteCommentsRequest
2242
+ # @return [nil]
2243
+ def delete_comments(request)
2244
+ begin
2245
+ data, _status_code, _headers = delete_comments_with_http_info(request)
2246
+ rescue ApiError => e
2247
+ if e.code == 401
2248
+ request_token
2249
+ data, _status_code, _headers = delete_comments_with_http_info(request)
2250
+ else
2251
+ raise
2252
+ end
2253
+ end
2254
+ nil
2255
+ end
2256
+
2257
+ # Removes all comments from the document.
2258
+ # @param request DeleteCommentsRequest
2259
+ # @return [Array<(nil, Fixnum, Hash)>]
2260
+ # nil, response status code and response headers
2261
+ private def delete_comments_with_http_info(request)
2262
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? DeleteCommentsRequest
2263
+
2264
+ @api_client.config.logger.debug 'Calling API: WordsApi.delete_comments ...' if @api_client.config.debugging
2265
+ # verify the required parameter 'name' is set
2266
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.delete_comments' if @api_client.config.client_side_validation && request.name.nil?
2267
+
2268
+ # resource path
2269
+ local_var_path = '/words/{name}/comments'[1..-1]
2270
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.nil? ? '' : request.name.to_s)
2271
+ local_var_path = local_var_path.sub('//', '/')
2272
+
2273
+ # query parameters
2274
+ query_params = {}
2275
+ query_params[downcase_first_letter('Folder')] = request.folder unless request.folder.nil?
2276
+ query_params[downcase_first_letter('Storage')] = request.storage unless request.storage.nil?
2277
+ query_params[downcase_first_letter('LoadEncoding')] = request.load_encoding unless request.load_encoding.nil?
2278
+ query_params[downcase_first_letter('Password')] = request.password unless request.password.nil?
2279
+ query_params[downcase_first_letter('DestFileName')] = request.dest_file_name unless request.dest_file_name.nil?
2280
+ query_params[downcase_first_letter('RevisionAuthor')] = request.revision_author unless request.revision_author.nil?
2281
+ query_params[downcase_first_letter('RevisionDateTime')] = request.revision_date_time unless request.revision_date_time.nil?
2282
+
2283
+ # header parameters
2284
+ header_params = {}
2285
+ # HTTP header 'Accept' (if needed)
2286
+ header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'application/json'])
2287
+ # HTTP header 'Content-Type'
2288
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/xml', 'application/json'])
2289
+
2290
+ # form parameters
2291
+ form_params = {}
2292
+
2293
+ # http body (model)
2294
+ post_body = nil
2295
+ auth_names = ['JWT']
2296
+
2297
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
2298
+ header_params: header_params,
2299
+ query_params: query_params,
2300
+ form_params: form_params,
2301
+ body: post_body,
2302
+ auth_names: auth_names)
2303
+ if @api_client.config.debugging
2304
+ @api_client.config.logger.debug "API called:
2305
+ WordsApi#delete_comments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2306
+ end
2307
+
2308
+ [data, status_code, headers]
2309
+ end
2310
+
2311
+ # Removes all comments from the document.
2312
+ # @param request DeleteCommentsOnlineRequest
2313
+ # @return [File]
2314
+ def delete_comments_online(request)
2315
+ begin
2316
+ data, _status_code, _headers = delete_comments_online_with_http_info(request)
2317
+ rescue ApiError => e
2318
+ if e.code == 401
2319
+ request_token
2320
+ data, _status_code, _headers = delete_comments_online_with_http_info(request)
2321
+ else
2322
+ raise
2323
+ end
2324
+ end
2325
+ data
2326
+ end
2327
+
2328
+ # Removes all comments from the document.
2329
+ # @param request DeleteCommentsOnlineRequest
2330
+ # @return [Array<(File, Fixnum, Hash)>]
2331
+ # File, response status code and response headers
2332
+ private def delete_comments_online_with_http_info(request)
2333
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? DeleteCommentsOnlineRequest
2334
+
2335
+ @api_client.config.logger.debug 'Calling API: WordsApi.delete_comments_online ...' if @api_client.config.debugging
2336
+ # verify the required parameter 'document' is set
2337
+ raise ArgumentError, 'Missing the required parameter document when calling WordsApi.delete_comments_online' if @api_client.config.client_side_validation && request.document.nil?
2338
+
2339
+ # resource path
2340
+ local_var_path = '/words/online/delete/comments'[1..-1]
2341
+ local_var_path = local_var_path.sub('//', '/')
2342
+
2343
+ # query parameters
2344
+ query_params = {}
2345
+ query_params[downcase_first_letter('LoadEncoding')] = request.load_encoding unless request.load_encoding.nil?
2346
+ query_params[downcase_first_letter('Password')] = request.password unless request.password.nil?
2347
+ query_params[downcase_first_letter('DestFileName')] = request.dest_file_name unless request.dest_file_name.nil?
2348
+ query_params[downcase_first_letter('RevisionAuthor')] = request.revision_author unless request.revision_author.nil?
2349
+ query_params[downcase_first_letter('RevisionDateTime')] = request.revision_date_time unless request.revision_date_time.nil?
2350
+
2351
+ # header parameters
2352
+ header_params = {}
2353
+ # HTTP header 'Accept' (if needed)
2354
+ header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'application/json'])
2355
+ # HTTP header 'Content-Type'
2356
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
2357
+
2358
+ # form parameters
2359
+ form_params = {}
2360
+ form_params[downcase_first_letter('Document')] = request.document
2361
+
2362
+ # http body (model)
2363
+ post_body = nil
2364
+ auth_names = ['JWT']
2365
+
2366
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2367
+ header_params: header_params,
2368
+ query_params: query_params,
2369
+ form_params: form_params,
2370
+ body: post_body,
2371
+ auth_names: auth_names,
2372
+ return_type: 'File')
2373
+ if @api_client.config.debugging
2374
+ @api_client.config.logger.debug "API called:
2375
+ WordsApi#delete_comments_online\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2376
+ end
2377
+
2378
+ [data, status_code, headers]
2379
+ end
2380
+
2240
2381
  # Removes a document property.
2241
2382
  # @param request DeleteDocumentPropertyRequest
2242
2383
  # @return [nil]
@@ -29,6 +29,9 @@ module AsposeWordsCloud
29
29
 
30
30
  # Container class for bmp save options.
31
31
  class BmpSaveOptionsData
32
+ # Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
33
+ attr_accessor :allow_embedding_post_script_fonts
34
+
32
35
  # Gets or sets the value determining how 3D effects are rendered.
33
36
  attr_accessor :dml3_d_effects_rendering_mode
34
37
 
@@ -155,6 +158,7 @@ module AsposeWordsCloud
155
158
  # Attribute mapping from ruby-style variable name to JSON key.
156
159
  def self.attribute_map
157
160
  {
161
+ :'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
158
162
  :'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
159
163
  :'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
160
164
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -191,6 +195,7 @@ module AsposeWordsCloud
191
195
  # Attribute type mapping.
192
196
  def self.swagger_types
193
197
  {
198
+ :'allow_embedding_post_script_fonts' => :'BOOLEAN',
194
199
  :'dml3_d_effects_rendering_mode' => :'String',
195
200
  :'dml_effects_rendering_mode' => :'String',
196
201
  :'dml_rendering_mode' => :'String',
@@ -232,6 +237,10 @@ module AsposeWordsCloud
232
237
  # convert string to symbol for hash key
233
238
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
234
239
 
240
+ if attributes.key?(:'AllowEmbeddingPostScriptFonts')
241
+ self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
242
+ end
243
+
235
244
  if attributes.key?(:'Dml3DEffectsRenderingMode')
236
245
  self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
237
246
  end
@@ -389,6 +398,7 @@ module AsposeWordsCloud
389
398
  def ==(other)
390
399
  return true if self.equal?(other)
391
400
  self.class == other.class &&
401
+ allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
392
402
  dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
393
403
  dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
394
404
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -430,7 +440,7 @@ module AsposeWordsCloud
430
440
  # Calculates hash code according to all attributes.
431
441
  # @return [Fixnum] Hash code
432
442
  def hash
433
- [dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
443
+ [allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
434
444
  end
435
445
 
436
446
  # Builds the object from hash
@@ -29,6 +29,9 @@ module AsposeWordsCloud
29
29
 
30
30
  # Container class for doc/dot save options.
31
31
  class DocSaveOptionsData
32
+ # Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
33
+ attr_accessor :allow_embedding_post_script_fonts
34
+
32
35
  # Gets or sets the value determining how 3D effects are rendered.
33
36
  attr_accessor :dml3_d_effects_rendering_mode
34
37
 
@@ -100,6 +103,7 @@ module AsposeWordsCloud
100
103
  # Attribute mapping from ruby-style variable name to JSON key.
101
104
  def self.attribute_map
102
105
  {
106
+ :'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
103
107
  :'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
104
108
  :'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
105
109
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -120,6 +124,7 @@ module AsposeWordsCloud
120
124
  # Attribute type mapping.
121
125
  def self.swagger_types
122
126
  {
127
+ :'allow_embedding_post_script_fonts' => :'BOOLEAN',
123
128
  :'dml3_d_effects_rendering_mode' => :'String',
124
129
  :'dml_effects_rendering_mode' => :'String',
125
130
  :'dml_rendering_mode' => :'String',
@@ -145,6 +150,10 @@ module AsposeWordsCloud
145
150
  # convert string to symbol for hash key
146
151
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
147
152
 
153
+ if attributes.key?(:'AllowEmbeddingPostScriptFonts')
154
+ self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
155
+ end
156
+
148
157
  if attributes.key?(:'Dml3DEffectsRenderingMode')
149
158
  self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
150
159
  end
@@ -238,6 +247,7 @@ module AsposeWordsCloud
238
247
  def ==(other)
239
248
  return true if self.equal?(other)
240
249
  self.class == other.class &&
250
+ allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
241
251
  dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
242
252
  dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
243
253
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -263,7 +273,7 @@ module AsposeWordsCloud
263
273
  # Calculates hash code according to all attributes.
264
274
  # @return [Fixnum] Hash code
265
275
  def hash
266
- [dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, always_compress_metafiles, password, save_picture_bullet, save_routing_slip].hash
276
+ [allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, always_compress_metafiles, password, save_picture_bullet, save_routing_slip].hash
267
277
  end
268
278
 
269
279
  # Builds the object from hash
@@ -29,6 +29,9 @@ module AsposeWordsCloud
29
29
 
30
30
  # Container class for emf save options.
31
31
  class EmfSaveOptionsData
32
+ # Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
33
+ attr_accessor :allow_embedding_post_script_fonts
34
+
32
35
  # Gets or sets the value determining how 3D effects are rendered.
33
36
  attr_accessor :dml3_d_effects_rendering_mode
34
37
 
@@ -155,6 +158,7 @@ module AsposeWordsCloud
155
158
  # Attribute mapping from ruby-style variable name to JSON key.
156
159
  def self.attribute_map
157
160
  {
161
+ :'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
158
162
  :'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
159
163
  :'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
160
164
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -191,6 +195,7 @@ module AsposeWordsCloud
191
195
  # Attribute type mapping.
192
196
  def self.swagger_types
193
197
  {
198
+ :'allow_embedding_post_script_fonts' => :'BOOLEAN',
194
199
  :'dml3_d_effects_rendering_mode' => :'String',
195
200
  :'dml_effects_rendering_mode' => :'String',
196
201
  :'dml_rendering_mode' => :'String',
@@ -232,6 +237,10 @@ module AsposeWordsCloud
232
237
  # convert string to symbol for hash key
233
238
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
234
239
 
240
+ if attributes.key?(:'AllowEmbeddingPostScriptFonts')
241
+ self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
242
+ end
243
+
235
244
  if attributes.key?(:'Dml3DEffectsRenderingMode')
236
245
  self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
237
246
  end
@@ -389,6 +398,7 @@ module AsposeWordsCloud
389
398
  def ==(other)
390
399
  return true if self.equal?(other)
391
400
  self.class == other.class &&
401
+ allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
392
402
  dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
393
403
  dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
394
404
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -430,7 +440,7 @@ module AsposeWordsCloud
430
440
  # Calculates hash code according to all attributes.
431
441
  # @return [Fixnum] Hash code
432
442
  def hash
433
- [dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
443
+ [allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
434
444
  end
435
445
 
436
446
  # Builds the object from hash
@@ -29,6 +29,9 @@ module AsposeWordsCloud
29
29
 
30
30
  # Container class for epub save options.
31
31
  class EpubSaveOptionsData
32
+ # Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
33
+ attr_accessor :allow_embedding_post_script_fonts
34
+
32
35
  # Gets or sets the value determining how 3D effects are rendered.
33
36
  attr_accessor :dml3_d_effects_rendering_mode
34
37
 
@@ -217,6 +220,7 @@ module AsposeWordsCloud
217
220
  # Attribute mapping from ruby-style variable name to JSON key.
218
221
  def self.attribute_map
219
222
  {
223
+ :'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
220
224
  :'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
221
225
  :'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
222
226
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -273,6 +277,7 @@ module AsposeWordsCloud
273
277
  # Attribute type mapping.
274
278
  def self.swagger_types
275
279
  {
280
+ :'allow_embedding_post_script_fonts' => :'BOOLEAN',
276
281
  :'dml3_d_effects_rendering_mode' => :'String',
277
282
  :'dml_effects_rendering_mode' => :'String',
278
283
  :'dml_rendering_mode' => :'String',
@@ -334,6 +339,10 @@ module AsposeWordsCloud
334
339
  # convert string to symbol for hash key
335
340
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
336
341
 
342
+ if attributes.key?(:'AllowEmbeddingPostScriptFonts')
343
+ self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
344
+ end
345
+
337
346
  if attributes.key?(:'Dml3DEffectsRenderingMode')
338
347
  self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
339
348
  end
@@ -619,6 +628,7 @@ module AsposeWordsCloud
619
628
  def ==(other)
620
629
  return true if self.equal?(other)
621
630
  self.class == other.class &&
631
+ allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
622
632
  dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
623
633
  dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
624
634
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -680,7 +690,7 @@ module AsposeWordsCloud
680
690
  # Calculates hash code according to all attributes.
681
691
  # @return [Fixnum] Hash code
682
692
  def hash
683
- [dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_box_as_svg, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, epub_navigation_map_level].hash
693
+ [allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_box_as_svg, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, epub_navigation_map_level].hash
684
694
  end
685
695
 
686
696
  # Builds the object from hash
@@ -29,6 +29,9 @@ module AsposeWordsCloud
29
29
 
30
30
  # Contains common options that can be specified when saving a document into fixed page formats (PDF, XPS, images etc).
31
31
  class FixedPageSaveOptionsData
32
+ # Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
33
+ attr_accessor :allow_embedding_post_script_fonts
34
+
32
35
  # Gets or sets the value determining how 3D effects are rendered.
33
36
  attr_accessor :dml3_d_effects_rendering_mode
34
37
 
@@ -110,6 +113,7 @@ module AsposeWordsCloud
110
113
  # Attribute mapping from ruby-style variable name to JSON key.
111
114
  def self.attribute_map
112
115
  {
116
+ :'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
113
117
  :'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
114
118
  :'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
115
119
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -133,6 +137,7 @@ module AsposeWordsCloud
133
137
  # Attribute type mapping.
134
138
  def self.swagger_types
135
139
  {
140
+ :'allow_embedding_post_script_fonts' => :'BOOLEAN',
136
141
  :'dml3_d_effects_rendering_mode' => :'String',
137
142
  :'dml_effects_rendering_mode' => :'String',
138
143
  :'dml_rendering_mode' => :'String',
@@ -161,6 +166,10 @@ module AsposeWordsCloud
161
166
  # convert string to symbol for hash key
162
167
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
163
168
 
169
+ if attributes.key?(:'AllowEmbeddingPostScriptFonts')
170
+ self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
171
+ end
172
+
164
173
  if attributes.key?(:'Dml3DEffectsRenderingMode')
165
174
  self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
166
175
  end
@@ -266,6 +275,7 @@ module AsposeWordsCloud
266
275
  def ==(other)
267
276
  return true if self.equal?(other)
268
277
  self.class == other.class &&
278
+ allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
269
279
  dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
270
280
  dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
271
281
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -294,7 +304,7 @@ module AsposeWordsCloud
294
304
  # Calculates hash code according to all attributes.
295
305
  # @return [Fixnum] Hash code
296
306
  def hash
297
- [dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index].hash
307
+ [allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index].hash
298
308
  end
299
309
 
300
310
  # Builds the object from hash
@@ -29,6 +29,9 @@ module AsposeWordsCloud
29
29
 
30
30
  # Container class for gif save options.
31
31
  class GifSaveOptionsData
32
+ # Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
33
+ attr_accessor :allow_embedding_post_script_fonts
34
+
32
35
  # Gets or sets the value determining how 3D effects are rendered.
33
36
  attr_accessor :dml3_d_effects_rendering_mode
34
37
 
@@ -155,6 +158,7 @@ module AsposeWordsCloud
155
158
  # Attribute mapping from ruby-style variable name to JSON key.
156
159
  def self.attribute_map
157
160
  {
161
+ :'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
158
162
  :'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
159
163
  :'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
160
164
  :'dml_rendering_mode' => :'DmlRenderingMode',
@@ -191,6 +195,7 @@ module AsposeWordsCloud
191
195
  # Attribute type mapping.
192
196
  def self.swagger_types
193
197
  {
198
+ :'allow_embedding_post_script_fonts' => :'BOOLEAN',
194
199
  :'dml3_d_effects_rendering_mode' => :'String',
195
200
  :'dml_effects_rendering_mode' => :'String',
196
201
  :'dml_rendering_mode' => :'String',
@@ -232,6 +237,10 @@ module AsposeWordsCloud
232
237
  # convert string to symbol for hash key
233
238
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
234
239
 
240
+ if attributes.key?(:'AllowEmbeddingPostScriptFonts')
241
+ self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
242
+ end
243
+
235
244
  if attributes.key?(:'Dml3DEffectsRenderingMode')
236
245
  self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
237
246
  end
@@ -389,6 +398,7 @@ module AsposeWordsCloud
389
398
  def ==(other)
390
399
  return true if self.equal?(other)
391
400
  self.class == other.class &&
401
+ allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
392
402
  dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
393
403
  dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
394
404
  dml_rendering_mode == other.dml_rendering_mode &&
@@ -430,7 +440,7 @@ module AsposeWordsCloud
430
440
  # Calculates hash code according to all attributes.
431
441
  # @return [Fixnum] Hash code
432
442
  def hash
433
- [dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
443
+ [allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
434
444
  end
435
445
 
436
446
  # Builds the object from hash