aspose_words_cloud 22.1.0 → 22.2.0

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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud/api_client.rb +1 -0
  3. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +12 -14
  4. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +9 -11
  5. data/lib/aspose_words_cloud/models/{ooxml_save_options_data.rb → docm_save_options_data.rb} +15 -17
  6. data/lib/aspose_words_cloud/models/docx_save_options_data.rb +440 -0
  7. data/lib/aspose_words_cloud/models/dot_save_options_data.rb +426 -0
  8. data/lib/aspose_words_cloud/models/dotm_save_options_data.rb +440 -0
  9. data/lib/aspose_words_cloud/models/dotx_save_options_data.rb +440 -0
  10. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +12 -14
  11. data/lib/aspose_words_cloud/models/epub_save_options_data.rb +12 -14
  12. data/lib/aspose_words_cloud/models/flat_opc_macro_save_options_data.rb +440 -0
  13. data/lib/aspose_words_cloud/models/{txt_save_options_base_data.rb → flat_opc_save_options_data.rb} +50 -54
  14. data/lib/aspose_words_cloud/models/flat_opc_template_macro_save_options_data.rb +440 -0
  15. data/lib/aspose_words_cloud/models/flat_opc_template_save_options_data.rb +440 -0
  16. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +12 -14
  17. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +9 -11
  18. data/lib/aspose_words_cloud/models/html_save_options_data.rb +9 -11
  19. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +12 -14
  20. data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +9 -11
  21. data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +12 -14
  22. data/lib/aspose_words_cloud/models/odt_save_options_data.rb +12 -14
  23. data/lib/aspose_words_cloud/models/{fixed_page_save_options_data.rb → open_xps_save_options_data.rb} +55 -17
  24. data/lib/aspose_words_cloud/models/ott_save_options_data.rb +441 -0
  25. data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +12 -14
  26. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +9 -11
  27. data/lib/aspose_words_cloud/models/png_save_options_data.rb +12 -14
  28. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +9 -11
  29. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +9 -11
  30. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +9 -11
  31. data/lib/aspose_words_cloud/models/text_save_options_data.rb +9 -11
  32. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +9 -11
  33. data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +12 -14
  34. data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +12 -14
  35. data/lib/aspose_words_cloud/models/{save_options_data.rb → xaml_flow_pack_save_options_data.rb} +35 -17
  36. data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +12 -14
  37. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +9 -11
  38. data/lib/aspose_words_cloud/version.rb +1 -1
  39. data/lib/aspose_words_cloud.rb +12 -10
  40. metadata +14 -12
  41. data/lib/aspose_words_cloud/models/comment_base.rb +0 -251
  42. data/lib/aspose_words_cloud/models/document_property_base.rb +0 -201
  43. data/lib/aspose_words_cloud/models/field_base.rb +0 -211
  44. data/lib/aspose_words_cloud/models/footnote_base.rb +0 -273
  45. data/lib/aspose_words_cloud/models/image_save_options_data.rb +0 -585
  46. data/lib/aspose_words_cloud/models/run_base.rb +0 -201
@@ -55,9 +55,6 @@ module AsposeWordsCloud
55
55
  # Gets or sets the value determining how ink (InkML) objects are rendered.
56
56
  attr_accessor :iml_rendering_mode
57
57
 
58
- # Gets or sets the format of save.
59
- attr_accessor :save_format
60
-
61
58
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
62
59
  # Default value is false.
63
60
  attr_accessor :update_created_time_property
@@ -144,6 +141,9 @@ module AsposeWordsCloud
144
141
  # The default value is 96.
145
142
  attr_accessor :vertical_resolution
146
143
 
144
+ # Gets the format of save.
145
+ attr_accessor :save_format
146
+
147
147
  class EnumAttributeValidator
148
148
  attr_reader :datatype
149
149
  attr_reader :allowable_values
@@ -177,7 +177,6 @@ module AsposeWordsCloud
177
177
  :'file_name' => :'FileName',
178
178
  :'flat_opc_xml_mapping_only' => :'FlatOpcXmlMappingOnly',
179
179
  :'iml_rendering_mode' => :'ImlRenderingMode',
180
- :'save_format' => :'SaveFormat',
181
180
  :'update_created_time_property' => :'UpdateCreatedTimeProperty',
182
181
  :'update_fields' => :'UpdateFields',
183
182
  :'update_last_printed_property' => :'UpdateLastPrintedProperty',
@@ -202,7 +201,8 @@ module AsposeWordsCloud
202
201
  :'use_anti_aliasing' => :'UseAntiAliasing',
203
202
  :'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
204
203
  :'use_high_quality_rendering' => :'UseHighQualityRendering',
205
- :'vertical_resolution' => :'VerticalResolution'
204
+ :'vertical_resolution' => :'VerticalResolution',
205
+ :'save_format' => :'SaveFormat'
206
206
  }
207
207
  end
208
208
 
@@ -217,7 +217,6 @@ module AsposeWordsCloud
217
217
  :'file_name' => :'String',
218
218
  :'flat_opc_xml_mapping_only' => :'BOOLEAN',
219
219
  :'iml_rendering_mode' => :'String',
220
- :'save_format' => :'String',
221
220
  :'update_created_time_property' => :'BOOLEAN',
222
221
  :'update_fields' => :'BOOLEAN',
223
222
  :'update_last_printed_property' => :'BOOLEAN',
@@ -242,7 +241,8 @@ module AsposeWordsCloud
242
241
  :'use_anti_aliasing' => :'BOOLEAN',
243
242
  :'use_gdi_emf_renderer' => :'BOOLEAN',
244
243
  :'use_high_quality_rendering' => :'BOOLEAN',
245
- :'vertical_resolution' => :'Float'
244
+ :'vertical_resolution' => :'Float',
245
+ :'save_format' => :'String'
246
246
  }
247
247
  end
248
248
 
@@ -254,6 +254,8 @@ module AsposeWordsCloud
254
254
  # convert string to symbol for hash key
255
255
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
256
256
 
257
+ self.save_format = 'png'
258
+
257
259
  if attributes.key?(:'AllowEmbeddingPostScriptFonts')
258
260
  self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
259
261
  end
@@ -286,10 +288,6 @@ module AsposeWordsCloud
286
288
  self.iml_rendering_mode = attributes[:'ImlRenderingMode']
287
289
  end
288
290
 
289
- if attributes.key?(:'SaveFormat')
290
- self.save_format = attributes[:'SaveFormat']
291
- end
292
-
293
291
  if attributes.key?(:'UpdateCreatedTimeProperty')
294
292
  self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
295
293
  end
@@ -435,7 +433,6 @@ module AsposeWordsCloud
435
433
  file_name == other.file_name &&
436
434
  flat_opc_xml_mapping_only == other.flat_opc_xml_mapping_only &&
437
435
  iml_rendering_mode == other.iml_rendering_mode &&
438
- save_format == other.save_format &&
439
436
  update_created_time_property == other.update_created_time_property &&
440
437
  update_fields == other.update_fields &&
441
438
  update_last_printed_property == other.update_last_printed_property &&
@@ -460,7 +457,8 @@ module AsposeWordsCloud
460
457
  use_anti_aliasing == other.use_anti_aliasing &&
461
458
  use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
462
459
  use_high_quality_rendering == other.use_high_quality_rendering &&
463
- vertical_resolution == other.vertical_resolution
460
+ vertical_resolution == other.vertical_resolution &&
461
+ save_format == other.save_format
464
462
  end
465
463
 
466
464
  # @see the `==` method
@@ -472,7 +470,7 @@ module AsposeWordsCloud
472
470
  # Calculates hash code according to all attributes.
473
471
  # @return [Fixnum] Hash code
474
472
  def hash
475
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, 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, 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
473
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, update_created_time_property, 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, 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, save_format].hash
476
474
  end
477
475
 
478
476
  # Builds the object from hash
@@ -55,9 +55,6 @@ module AsposeWordsCloud
55
55
  # Gets or sets the value determining how ink (InkML) objects are rendered.
56
56
  attr_accessor :iml_rendering_mode
57
57
 
58
- # Gets or sets the format of save.
59
- attr_accessor :save_format
60
-
61
58
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
62
59
  # Default value is false.
63
60
  attr_accessor :update_created_time_property
@@ -102,6 +99,9 @@ module AsposeWordsCloud
102
99
  # Gets or sets the 0-based index of the first page to render.
103
100
  attr_accessor :page_index
104
101
 
102
+ # Gets the format of save.
103
+ attr_accessor :save_format
104
+
105
105
  # Gets or sets a value indicating whether the document should be saved using a booklet printing layout.
106
106
  attr_accessor :use_book_fold_printing_settings
107
107
 
@@ -138,7 +138,6 @@ module AsposeWordsCloud
138
138
  :'file_name' => :'FileName',
139
139
  :'flat_opc_xml_mapping_only' => :'FlatOpcXmlMappingOnly',
140
140
  :'iml_rendering_mode' => :'ImlRenderingMode',
141
- :'save_format' => :'SaveFormat',
142
141
  :'update_created_time_property' => :'UpdateCreatedTimeProperty',
143
142
  :'update_fields' => :'UpdateFields',
144
143
  :'update_last_printed_property' => :'UpdateLastPrintedProperty',
@@ -152,6 +151,7 @@ module AsposeWordsCloud
152
151
  :'optimize_output' => :'OptimizeOutput',
153
152
  :'page_count' => :'PageCount',
154
153
  :'page_index' => :'PageIndex',
154
+ :'save_format' => :'SaveFormat',
155
155
  :'use_book_fold_printing_settings' => :'UseBookFoldPrintingSettings'
156
156
  }
157
157
  end
@@ -167,7 +167,6 @@ module AsposeWordsCloud
167
167
  :'file_name' => :'String',
168
168
  :'flat_opc_xml_mapping_only' => :'BOOLEAN',
169
169
  :'iml_rendering_mode' => :'String',
170
- :'save_format' => :'String',
171
170
  :'update_created_time_property' => :'BOOLEAN',
172
171
  :'update_fields' => :'BOOLEAN',
173
172
  :'update_last_printed_property' => :'BOOLEAN',
@@ -181,6 +180,7 @@ module AsposeWordsCloud
181
180
  :'optimize_output' => :'BOOLEAN',
182
181
  :'page_count' => :'Integer',
183
182
  :'page_index' => :'Integer',
183
+ :'save_format' => :'String',
184
184
  :'use_book_fold_printing_settings' => :'BOOLEAN'
185
185
  }
186
186
  end
@@ -193,6 +193,8 @@ module AsposeWordsCloud
193
193
  # convert string to symbol for hash key
194
194
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
195
195
 
196
+ self.save_format = 'ps'
197
+
196
198
  if attributes.key?(:'AllowEmbeddingPostScriptFonts')
197
199
  self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
198
200
  end
@@ -225,10 +227,6 @@ module AsposeWordsCloud
225
227
  self.iml_rendering_mode = attributes[:'ImlRenderingMode']
226
228
  end
227
229
 
228
- if attributes.key?(:'SaveFormat')
229
- self.save_format = attributes[:'SaveFormat']
230
- end
231
-
232
230
  if attributes.key?(:'UpdateCreatedTimeProperty')
233
231
  self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
234
232
  end
@@ -330,7 +328,6 @@ module AsposeWordsCloud
330
328
  file_name == other.file_name &&
331
329
  flat_opc_xml_mapping_only == other.flat_opc_xml_mapping_only &&
332
330
  iml_rendering_mode == other.iml_rendering_mode &&
333
- save_format == other.save_format &&
334
331
  update_created_time_property == other.update_created_time_property &&
335
332
  update_fields == other.update_fields &&
336
333
  update_last_printed_property == other.update_last_printed_property &&
@@ -344,6 +341,7 @@ module AsposeWordsCloud
344
341
  optimize_output == other.optimize_output &&
345
342
  page_count == other.page_count &&
346
343
  page_index == other.page_index &&
344
+ save_format == other.save_format &&
347
345
  use_book_fold_printing_settings == other.use_book_fold_printing_settings
348
346
  end
349
347
 
@@ -356,7 +354,7 @@ module AsposeWordsCloud
356
354
  # Calculates hash code according to all attributes.
357
355
  # @return [Fixnum] Hash code
358
356
  def hash
359
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, 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, use_book_fold_printing_settings].hash
357
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, update_created_time_property, 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, save_format, use_book_fold_printing_settings].hash
360
358
  end
361
359
 
362
360
  # Builds the object from hash
@@ -55,9 +55,6 @@ module AsposeWordsCloud
55
55
  # Gets or sets the value determining how ink (InkML) objects are rendered.
56
56
  attr_accessor :iml_rendering_mode
57
57
 
58
- # Gets or sets the format of save.
59
- attr_accessor :save_format
60
-
61
58
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
62
59
  # Default value is false.
63
60
  attr_accessor :update_created_time_property
@@ -87,6 +84,9 @@ module AsposeWordsCloud
87
84
  # Gets or sets a value indicating whether to use pretty formats output.
88
85
  attr_accessor :pretty_format
89
86
 
87
+ # Gets the format of save.
88
+ attr_accessor :save_format
89
+
90
90
  # Gets or sets a value indicating whether when true all images will be saved as WMF. This option might help to avoid WordPad warning messages.
91
91
  attr_accessor :save_images_as_wmf
92
92
 
@@ -123,7 +123,6 @@ module AsposeWordsCloud
123
123
  :'file_name' => :'FileName',
124
124
  :'flat_opc_xml_mapping_only' => :'FlatOpcXmlMappingOnly',
125
125
  :'iml_rendering_mode' => :'ImlRenderingMode',
126
- :'save_format' => :'SaveFormat',
127
126
  :'update_created_time_property' => :'UpdateCreatedTimeProperty',
128
127
  :'update_fields' => :'UpdateFields',
129
128
  :'update_last_printed_property' => :'UpdateLastPrintedProperty',
@@ -133,6 +132,7 @@ module AsposeWordsCloud
133
132
  :'export_compact_size' => :'ExportCompactSize',
134
133
  :'export_images_for_old_readers' => :'ExportImagesForOldReaders',
135
134
  :'pretty_format' => :'PrettyFormat',
135
+ :'save_format' => :'SaveFormat',
136
136
  :'save_images_as_wmf' => :'SaveImagesAsWmf'
137
137
  }
138
138
  end
@@ -148,7 +148,6 @@ module AsposeWordsCloud
148
148
  :'file_name' => :'String',
149
149
  :'flat_opc_xml_mapping_only' => :'BOOLEAN',
150
150
  :'iml_rendering_mode' => :'String',
151
- :'save_format' => :'String',
152
151
  :'update_created_time_property' => :'BOOLEAN',
153
152
  :'update_fields' => :'BOOLEAN',
154
153
  :'update_last_printed_property' => :'BOOLEAN',
@@ -158,6 +157,7 @@ module AsposeWordsCloud
158
157
  :'export_compact_size' => :'BOOLEAN',
159
158
  :'export_images_for_old_readers' => :'BOOLEAN',
160
159
  :'pretty_format' => :'BOOLEAN',
160
+ :'save_format' => :'String',
161
161
  :'save_images_as_wmf' => :'BOOLEAN'
162
162
  }
163
163
  end
@@ -170,6 +170,8 @@ module AsposeWordsCloud
170
170
  # convert string to symbol for hash key
171
171
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
172
172
 
173
+ self.save_format = 'rtf'
174
+
173
175
  if attributes.key?(:'AllowEmbeddingPostScriptFonts')
174
176
  self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
175
177
  end
@@ -202,10 +204,6 @@ module AsposeWordsCloud
202
204
  self.iml_rendering_mode = attributes[:'ImlRenderingMode']
203
205
  end
204
206
 
205
- if attributes.key?(:'SaveFormat')
206
- self.save_format = attributes[:'SaveFormat']
207
- end
208
-
209
207
  if attributes.key?(:'UpdateCreatedTimeProperty')
210
208
  self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
211
209
  end
@@ -291,7 +289,6 @@ module AsposeWordsCloud
291
289
  file_name == other.file_name &&
292
290
  flat_opc_xml_mapping_only == other.flat_opc_xml_mapping_only &&
293
291
  iml_rendering_mode == other.iml_rendering_mode &&
294
- save_format == other.save_format &&
295
292
  update_created_time_property == other.update_created_time_property &&
296
293
  update_fields == other.update_fields &&
297
294
  update_last_printed_property == other.update_last_printed_property &&
@@ -301,6 +298,7 @@ module AsposeWordsCloud
301
298
  export_compact_size == other.export_compact_size &&
302
299
  export_images_for_old_readers == other.export_images_for_old_readers &&
303
300
  pretty_format == other.pretty_format &&
301
+ save_format == other.save_format &&
304
302
  save_images_as_wmf == other.save_images_as_wmf
305
303
  end
306
304
 
@@ -313,7 +311,7 @@ module AsposeWordsCloud
313
311
  # Calculates hash code according to all attributes.
314
312
  # @return [Fixnum] Hash code
315
313
  def hash
316
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, export_compact_size, export_images_for_old_readers, pretty_format, save_images_as_wmf].hash
314
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, export_compact_size, export_images_for_old_readers, pretty_format, save_format, save_images_as_wmf].hash
317
315
  end
318
316
 
319
317
  # Builds the object from hash
@@ -55,9 +55,6 @@ module AsposeWordsCloud
55
55
  # Gets or sets the value determining how ink (InkML) objects are rendered.
56
56
  attr_accessor :iml_rendering_mode
57
57
 
58
- # Gets or sets the format of save.
59
- attr_accessor :save_format
60
-
61
58
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
62
59
  # Default value is false.
63
60
  attr_accessor :update_created_time_property
@@ -114,6 +111,9 @@ module AsposeWordsCloud
114
111
  # Gets or sets the name of the folder used to construct image URIs.
115
112
  attr_accessor :resources_folder_alias
116
113
 
114
+ # Gets the format of save.
115
+ attr_accessor :save_format
116
+
117
117
  # Gets or sets a value indicating whether to show or hide page stepper.
118
118
  attr_accessor :show_page_border
119
119
 
@@ -153,7 +153,6 @@ module AsposeWordsCloud
153
153
  :'file_name' => :'FileName',
154
154
  :'flat_opc_xml_mapping_only' => :'FlatOpcXmlMappingOnly',
155
155
  :'iml_rendering_mode' => :'ImlRenderingMode',
156
- :'save_format' => :'SaveFormat',
157
156
  :'update_created_time_property' => :'UpdateCreatedTimeProperty',
158
157
  :'update_fields' => :'UpdateFields',
159
158
  :'update_last_printed_property' => :'UpdateLastPrintedProperty',
@@ -171,6 +170,7 @@ module AsposeWordsCloud
171
170
  :'fit_to_view_port' => :'FitToViewPort',
172
171
  :'resources_folder' => :'ResourcesFolder',
173
172
  :'resources_folder_alias' => :'ResourcesFolderAlias',
173
+ :'save_format' => :'SaveFormat',
174
174
  :'show_page_border' => :'ShowPageBorder',
175
175
  :'text_output_mode' => :'TextOutputMode'
176
176
  }
@@ -187,7 +187,6 @@ module AsposeWordsCloud
187
187
  :'file_name' => :'String',
188
188
  :'flat_opc_xml_mapping_only' => :'BOOLEAN',
189
189
  :'iml_rendering_mode' => :'String',
190
- :'save_format' => :'String',
191
190
  :'update_created_time_property' => :'BOOLEAN',
192
191
  :'update_fields' => :'BOOLEAN',
193
192
  :'update_last_printed_property' => :'BOOLEAN',
@@ -205,6 +204,7 @@ module AsposeWordsCloud
205
204
  :'fit_to_view_port' => :'BOOLEAN',
206
205
  :'resources_folder' => :'String',
207
206
  :'resources_folder_alias' => :'String',
207
+ :'save_format' => :'String',
208
208
  :'show_page_border' => :'BOOLEAN',
209
209
  :'text_output_mode' => :'String'
210
210
  }
@@ -218,6 +218,8 @@ module AsposeWordsCloud
218
218
  # convert string to symbol for hash key
219
219
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
220
220
 
221
+ self.save_format = 'svg'
222
+
221
223
  if attributes.key?(:'AllowEmbeddingPostScriptFonts')
222
224
  self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
223
225
  end
@@ -250,10 +252,6 @@ module AsposeWordsCloud
250
252
  self.iml_rendering_mode = attributes[:'ImlRenderingMode']
251
253
  end
252
254
 
253
- if attributes.key?(:'SaveFormat')
254
- self.save_format = attributes[:'SaveFormat']
255
- end
256
-
257
255
  if attributes.key?(:'UpdateCreatedTimeProperty')
258
256
  self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
259
257
  end
@@ -375,7 +373,6 @@ module AsposeWordsCloud
375
373
  file_name == other.file_name &&
376
374
  flat_opc_xml_mapping_only == other.flat_opc_xml_mapping_only &&
377
375
  iml_rendering_mode == other.iml_rendering_mode &&
378
- save_format == other.save_format &&
379
376
  update_created_time_property == other.update_created_time_property &&
380
377
  update_fields == other.update_fields &&
381
378
  update_last_printed_property == other.update_last_printed_property &&
@@ -393,6 +390,7 @@ module AsposeWordsCloud
393
390
  fit_to_view_port == other.fit_to_view_port &&
394
391
  resources_folder == other.resources_folder &&
395
392
  resources_folder_alias == other.resources_folder_alias &&
393
+ save_format == other.save_format &&
396
394
  show_page_border == other.show_page_border &&
397
395
  text_output_mode == other.text_output_mode
398
396
  end
@@ -406,7 +404,7 @@ module AsposeWordsCloud
406
404
  # Calculates hash code according to all attributes.
407
405
  # @return [Fixnum] Hash code
408
406
  def hash
409
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, 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, export_embedded_images, fit_to_view_port, resources_folder, resources_folder_alias, show_page_border, text_output_mode].hash
407
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, update_created_time_property, 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, export_embedded_images, fit_to_view_port, resources_folder, resources_folder_alias, save_format, show_page_border, text_output_mode].hash
410
408
  end
411
409
 
412
410
  # Builds the object from hash
@@ -55,9 +55,6 @@ module AsposeWordsCloud
55
55
  # Gets or sets the value determining how ink (InkML) objects are rendered.
56
56
  attr_accessor :iml_rendering_mode
57
57
 
58
- # Gets or sets the format of save.
59
- attr_accessor :save_format
60
-
61
58
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
62
59
  # Default value is false.
63
60
  attr_accessor :update_created_time_property
@@ -103,6 +100,9 @@ module AsposeWordsCloud
103
100
  # Gets or sets a value indicating whether the program should attempt to preserve layout of tables when saving in the plain text format.
104
101
  attr_accessor :preserve_table_layout
105
102
 
103
+ # Gets the format of save.
104
+ attr_accessor :save_format
105
+
106
106
  # Gets or sets a value indicating whether the program should simplify list labels in case of complex label formatting not being adequately represented by plain text.
107
107
  attr_accessor :simplify_list_labels
108
108
 
@@ -139,7 +139,6 @@ module AsposeWordsCloud
139
139
  :'file_name' => :'FileName',
140
140
  :'flat_opc_xml_mapping_only' => :'FlatOpcXmlMappingOnly',
141
141
  :'iml_rendering_mode' => :'ImlRenderingMode',
142
- :'save_format' => :'SaveFormat',
143
142
  :'update_created_time_property' => :'UpdateCreatedTimeProperty',
144
143
  :'update_fields' => :'UpdateFields',
145
144
  :'update_last_printed_property' => :'UpdateLastPrintedProperty',
@@ -153,6 +152,7 @@ module AsposeWordsCloud
153
152
  :'add_bidi_marks' => :'AddBidiMarks',
154
153
  :'max_characters_per_line' => :'MaxCharactersPerLine',
155
154
  :'preserve_table_layout' => :'PreserveTableLayout',
155
+ :'save_format' => :'SaveFormat',
156
156
  :'simplify_list_labels' => :'SimplifyListLabels'
157
157
  }
158
158
  end
@@ -168,7 +168,6 @@ module AsposeWordsCloud
168
168
  :'file_name' => :'String',
169
169
  :'flat_opc_xml_mapping_only' => :'BOOLEAN',
170
170
  :'iml_rendering_mode' => :'String',
171
- :'save_format' => :'String',
172
171
  :'update_created_time_property' => :'BOOLEAN',
173
172
  :'update_fields' => :'BOOLEAN',
174
173
  :'update_last_printed_property' => :'BOOLEAN',
@@ -182,6 +181,7 @@ module AsposeWordsCloud
182
181
  :'add_bidi_marks' => :'BOOLEAN',
183
182
  :'max_characters_per_line' => :'Integer',
184
183
  :'preserve_table_layout' => :'BOOLEAN',
184
+ :'save_format' => :'String',
185
185
  :'simplify_list_labels' => :'BOOLEAN'
186
186
  }
187
187
  end
@@ -194,6 +194,8 @@ module AsposeWordsCloud
194
194
  # convert string to symbol for hash key
195
195
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
196
196
 
197
+ self.save_format = 'txt'
198
+
197
199
  if attributes.key?(:'AllowEmbeddingPostScriptFonts')
198
200
  self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
199
201
  end
@@ -226,10 +228,6 @@ module AsposeWordsCloud
226
228
  self.iml_rendering_mode = attributes[:'ImlRenderingMode']
227
229
  end
228
230
 
229
- if attributes.key?(:'SaveFormat')
230
- self.save_format = attributes[:'SaveFormat']
231
- end
232
-
233
231
  if attributes.key?(:'UpdateCreatedTimeProperty')
234
232
  self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
235
233
  end
@@ -347,7 +345,6 @@ module AsposeWordsCloud
347
345
  file_name == other.file_name &&
348
346
  flat_opc_xml_mapping_only == other.flat_opc_xml_mapping_only &&
349
347
  iml_rendering_mode == other.iml_rendering_mode &&
350
- save_format == other.save_format &&
351
348
  update_created_time_property == other.update_created_time_property &&
352
349
  update_fields == other.update_fields &&
353
350
  update_last_printed_property == other.update_last_printed_property &&
@@ -361,6 +358,7 @@ module AsposeWordsCloud
361
358
  add_bidi_marks == other.add_bidi_marks &&
362
359
  max_characters_per_line == other.max_characters_per_line &&
363
360
  preserve_table_layout == other.preserve_table_layout &&
361
+ save_format == other.save_format &&
364
362
  simplify_list_labels == other.simplify_list_labels
365
363
  end
366
364
 
@@ -373,7 +371,7 @@ module AsposeWordsCloud
373
371
  # Calculates hash code according to all attributes.
374
372
  # @return [Fixnum] Hash code
375
373
  def hash
376
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, encoding, export_headers_footers_mode, force_page_breaks, paragraph_break, add_bidi_marks, max_characters_per_line, preserve_table_layout, simplify_list_labels].hash
374
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, encoding, export_headers_footers_mode, force_page_breaks, paragraph_break, add_bidi_marks, max_characters_per_line, preserve_table_layout, save_format, simplify_list_labels].hash
377
375
  end
378
376
 
379
377
  # Builds the object from hash
@@ -55,9 +55,6 @@ module AsposeWordsCloud
55
55
  # Gets or sets the value determining how ink (InkML) objects are rendered.
56
56
  attr_accessor :iml_rendering_mode
57
57
 
58
- # Gets or sets the format of save.
59
- attr_accessor :save_format
60
-
61
58
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
62
59
  # Default value is false.
63
60
  attr_accessor :update_created_time_property
@@ -144,6 +141,9 @@ module AsposeWordsCloud
144
141
  # The default value is 96.
145
142
  attr_accessor :vertical_resolution
146
143
 
144
+ # Gets the format of save.
145
+ attr_accessor :save_format
146
+
147
147
  # Gets or sets the threshold that determines the value of the binarization error in the Floyd-Steinberg method. when ImageBinarizationMethod is ImageBinarizationMethod.FloydSteinbergDithering.
148
148
  # Default value is 128.
149
149
  attr_accessor :threshold_for_floyd_steinberg_dithering
@@ -187,7 +187,6 @@ module AsposeWordsCloud
187
187
  :'file_name' => :'FileName',
188
188
  :'flat_opc_xml_mapping_only' => :'FlatOpcXmlMappingOnly',
189
189
  :'iml_rendering_mode' => :'ImlRenderingMode',
190
- :'save_format' => :'SaveFormat',
191
190
  :'update_created_time_property' => :'UpdateCreatedTimeProperty',
192
191
  :'update_fields' => :'UpdateFields',
193
192
  :'update_last_printed_property' => :'UpdateLastPrintedProperty',
@@ -213,6 +212,7 @@ module AsposeWordsCloud
213
212
  :'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
214
213
  :'use_high_quality_rendering' => :'UseHighQualityRendering',
215
214
  :'vertical_resolution' => :'VerticalResolution',
215
+ :'save_format' => :'SaveFormat',
216
216
  :'threshold_for_floyd_steinberg_dithering' => :'ThresholdForFloydSteinbergDithering',
217
217
  :'tiff_binarization_method' => :'TiffBinarizationMethod',
218
218
  :'tiff_compression' => :'TiffCompression'
@@ -230,7 +230,6 @@ module AsposeWordsCloud
230
230
  :'file_name' => :'String',
231
231
  :'flat_opc_xml_mapping_only' => :'BOOLEAN',
232
232
  :'iml_rendering_mode' => :'String',
233
- :'save_format' => :'String',
234
233
  :'update_created_time_property' => :'BOOLEAN',
235
234
  :'update_fields' => :'BOOLEAN',
236
235
  :'update_last_printed_property' => :'BOOLEAN',
@@ -256,6 +255,7 @@ module AsposeWordsCloud
256
255
  :'use_gdi_emf_renderer' => :'BOOLEAN',
257
256
  :'use_high_quality_rendering' => :'BOOLEAN',
258
257
  :'vertical_resolution' => :'Float',
258
+ :'save_format' => :'String',
259
259
  :'threshold_for_floyd_steinberg_dithering' => :'Integer',
260
260
  :'tiff_binarization_method' => :'String',
261
261
  :'tiff_compression' => :'String'
@@ -270,6 +270,8 @@ module AsposeWordsCloud
270
270
  # convert string to symbol for hash key
271
271
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
272
272
 
273
+ self.save_format = 'tiff'
274
+
273
275
  if attributes.key?(:'AllowEmbeddingPostScriptFonts')
274
276
  self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
275
277
  end
@@ -302,10 +304,6 @@ module AsposeWordsCloud
302
304
  self.iml_rendering_mode = attributes[:'ImlRenderingMode']
303
305
  end
304
306
 
305
- if attributes.key?(:'SaveFormat')
306
- self.save_format = attributes[:'SaveFormat']
307
- end
308
-
309
307
  if attributes.key?(:'UpdateCreatedTimeProperty')
310
308
  self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
311
309
  end
@@ -463,7 +461,6 @@ module AsposeWordsCloud
463
461
  file_name == other.file_name &&
464
462
  flat_opc_xml_mapping_only == other.flat_opc_xml_mapping_only &&
465
463
  iml_rendering_mode == other.iml_rendering_mode &&
466
- save_format == other.save_format &&
467
464
  update_created_time_property == other.update_created_time_property &&
468
465
  update_fields == other.update_fields &&
469
466
  update_last_printed_property == other.update_last_printed_property &&
@@ -489,6 +486,7 @@ module AsposeWordsCloud
489
486
  use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
490
487
  use_high_quality_rendering == other.use_high_quality_rendering &&
491
488
  vertical_resolution == other.vertical_resolution &&
489
+ save_format == other.save_format &&
492
490
  threshold_for_floyd_steinberg_dithering == other.threshold_for_floyd_steinberg_dithering &&
493
491
  tiff_binarization_method == other.tiff_binarization_method &&
494
492
  tiff_compression == other.tiff_compression
@@ -503,7 +501,7 @@ module AsposeWordsCloud
503
501
  # Calculates hash code according to all attributes.
504
502
  # @return [Fixnum] Hash code
505
503
  def hash
506
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, save_format, update_created_time_property, 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, 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, threshold_for_floyd_steinberg_dithering, tiff_binarization_method, tiff_compression].hash
504
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, update_created_time_property, 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, 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, save_format, threshold_for_floyd_steinberg_dithering, tiff_binarization_method, tiff_compression].hash
507
505
  end
508
506
 
509
507
  # Builds the object from hash