aspose_words_cloud 25.10 → 25.11

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 (68) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud/api/words_api.rb +6 -6
  3. data/lib/aspose_words_cloud/models/azw3_save_options_data.rb +4 -4
  4. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +1 -1
  5. data/lib/aspose_words_cloud/models/comment.rb +2 -2
  6. data/lib/aspose_words_cloud/models/comment_insert.rb +2 -2
  7. data/lib/aspose_words_cloud/models/comment_update.rb +2 -2
  8. data/lib/aspose_words_cloud/models/compress_options.rb +2 -2
  9. data/lib/aspose_words_cloud/models/custom_xml_part.rb +1 -1
  10. data/lib/aspose_words_cloud/models/custom_xml_part_insert.rb +1 -1
  11. data/lib/aspose_words_cloud/models/custom_xml_part_update.rb +1 -1
  12. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +1 -1
  13. data/lib/aspose_words_cloud/models/docm_save_options_data.rb +1 -1
  14. data/lib/aspose_words_cloud/models/docx_save_options_data.rb +1 -1
  15. data/lib/aspose_words_cloud/models/dot_save_options_data.rb +1 -1
  16. data/lib/aspose_words_cloud/models/dotm_save_options_data.rb +1 -1
  17. data/lib/aspose_words_cloud/models/dotx_save_options_data.rb +1 -1
  18. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +1 -1
  19. data/lib/aspose_words_cloud/models/eps_save_options_data.rb +1 -1
  20. data/lib/aspose_words_cloud/models/epub_save_options_data.rb +4 -4
  21. data/lib/aspose_words_cloud/models/field_options.rb +1 -1
  22. data/lib/aspose_words_cloud/models/flat_opc_macro_save_options_data.rb +1 -1
  23. data/lib/aspose_words_cloud/models/flat_opc_save_options_data.rb +1 -1
  24. data/lib/aspose_words_cloud/models/flat_opc_template_macro_save_options_data.rb +1 -1
  25. data/lib/aspose_words_cloud/models/flat_opc_template_save_options_data.rb +1 -1
  26. data/lib/aspose_words_cloud/models/footnote.rb +1 -1
  27. data/lib/aspose_words_cloud/models/footnote_insert.rb +1 -1
  28. data/lib/aspose_words_cloud/models/footnote_update.rb +1 -1
  29. data/lib/aspose_words_cloud/models/form_field_checkbox.rb +1 -1
  30. data/lib/aspose_words_cloud/models/form_field_drop_down.rb +1 -1
  31. data/lib/aspose_words_cloud/models/form_field_text_input.rb +1 -1
  32. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +1 -1
  33. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +4 -4
  34. data/lib/aspose_words_cloud/models/html_save_options_data.rb +4 -4
  35. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +1 -1
  36. data/lib/aspose_words_cloud/models/list_level.rb +1 -1
  37. data/lib/aspose_words_cloud/models/list_level_update.rb +1 -1
  38. data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +2 -2
  39. data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +4 -4
  40. data/lib/aspose_words_cloud/models/odt_save_options_data.rb +1 -1
  41. data/lib/aspose_words_cloud/models/open_xps_save_options_data.rb +1 -1
  42. data/lib/aspose_words_cloud/models/ott_save_options_data.rb +1 -1
  43. data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +1 -1
  44. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +19 -6
  45. data/lib/aspose_words_cloud/models/png_save_options_data.rb +1 -1
  46. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +1 -1
  47. data/lib/aspose_words_cloud/models/requests/build_report_online_request.rb +4 -4
  48. data/lib/aspose_words_cloud/models/requests/build_report_request.rb +4 -4
  49. data/lib/aspose_words_cloud/models/requests/sign_document_online_request.rb +2 -2
  50. data/lib/aspose_words_cloud/models/requests/sign_document_request.rb +2 -2
  51. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +1 -1
  52. data/lib/aspose_words_cloud/models/sign_options.rb +6 -6
  53. data/lib/aspose_words_cloud/models/signature.rb +1 -1
  54. data/lib/aspose_words_cloud/models/structured_document_tag.rb +21 -21
  55. data/lib/aspose_words_cloud/models/structured_document_tag_insert.rb +21 -21
  56. data/lib/aspose_words_cloud/models/structured_document_tag_update.rb +21 -21
  57. data/lib/aspose_words_cloud/models/style.rb +1 -1
  58. data/lib/aspose_words_cloud/models/style_update.rb +1 -1
  59. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +2 -2
  60. data/lib/aspose_words_cloud/models/text_save_options_data.rb +30 -3
  61. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +2 -2
  62. data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +1 -1
  63. data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +1 -1
  64. data/lib/aspose_words_cloud/models/xaml_flow_pack_save_options_data.rb +2 -2
  65. data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +2 -2
  66. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +1 -1
  67. data/lib/aspose_words_cloud/version.rb +1 -1
  68. metadata +2 -2
@@ -64,7 +64,7 @@ module AsposeWordsCloud
64
64
  attr_accessor :update_ambiguous_text_font
65
65
 
66
66
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
67
- # Default value is false.
67
+ # The default value is false.
68
68
  attr_accessor :update_created_time_property
69
69
 
70
70
  # Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
@@ -86,7 +86,7 @@ module AsposeWordsCloud
86
86
  attr_accessor :encoding
87
87
 
88
88
  # Gets or sets the option that controls whether to output headers and footers when exporting in plain text format.
89
- # default value is TxtExportHeadersFootersMode.PrimaryOnly.
89
+ # The default value is TxtExportHeadersFootersMode.PrimaryOnly.
90
90
  attr_accessor :export_headers_footers_mode
91
91
 
92
92
  # Gets or sets a value indicating whether the page breaks should be preserved during export.
@@ -104,6 +104,10 @@ module AsposeWordsCloud
104
104
  # The default value is 0, that means no limit.
105
105
  attr_accessor :max_characters_per_line
106
106
 
107
+ # Gets or sets a value that specifies how OfficeMath will be written to the output file.
108
+ # The default value is Text.
109
+ attr_accessor :office_math_export_mode
110
+
107
111
  # Gets or sets a value indicating whether the program should attempt to preserve layout of tables when saving in the plain text format.
108
112
  attr_accessor :preserve_table_layout
109
113
 
@@ -157,6 +161,7 @@ module AsposeWordsCloud
157
161
  :'paragraph_break' => :'ParagraphBreak',
158
162
  :'add_bidi_marks' => :'AddBidiMarks',
159
163
  :'max_characters_per_line' => :'MaxCharactersPerLine',
164
+ :'office_math_export_mode' => :'OfficeMathExportMode',
160
165
  :'preserve_table_layout' => :'PreserveTableLayout',
161
166
  :'simplify_list_labels' => :'SimplifyListLabels',
162
167
  :'save_format' => :'SaveFormat'
@@ -185,6 +190,7 @@ module AsposeWordsCloud
185
190
  :'paragraph_break' => :'String',
186
191
  :'add_bidi_marks' => :'BOOLEAN',
187
192
  :'max_characters_per_line' => :'Integer',
193
+ :'office_math_export_mode' => :'String',
188
194
  :'preserve_table_layout' => :'BOOLEAN',
189
195
  :'simplify_list_labels' => :'BOOLEAN',
190
196
  :'save_format' => :'String'
@@ -277,6 +283,10 @@ module AsposeWordsCloud
277
283
  self.max_characters_per_line = attributes[:'MaxCharactersPerLine']
278
284
  end
279
285
 
286
+ if attributes.key?(:'OfficeMathExportMode')
287
+ self.office_math_export_mode = attributes[:'OfficeMathExportMode']
288
+ end
289
+
280
290
  if attributes.key?(:'PreserveTableLayout')
281
291
  self.preserve_table_layout = attributes[:'PreserveTableLayout']
282
292
  end
@@ -299,6 +309,8 @@ module AsposeWordsCloud
299
309
  return false unless iml_rendering_mode_validator.valid?(@iml_rendering_mode)
300
310
  export_headers_footers_mode_validator = EnumAttributeValidator.new('String', ["None", "PrimaryOnly", "AllAtEnd"])
301
311
  return false unless export_headers_footers_mode_validator.valid?(@export_headers_footers_mode)
312
+ office_math_export_mode_validator = EnumAttributeValidator.new('String', ["Text", "Latex"])
313
+ return false unless office_math_export_mode_validator.valid?(@office_math_export_mode)
302
314
 
303
315
  return true
304
316
  end
@@ -373,6 +385,20 @@ module AsposeWordsCloud
373
385
  end
374
386
  end
375
387
 
388
+ # Custom attribute writer method checking allowed values (enum).
389
+ # @param [Object] office_math_export_mode Object to be assigned
390
+ def office_math_export_mode=(office_math_export_mode)
391
+ validator = EnumAttributeValidator.new('String', ["Text", "Latex"])
392
+ if office_math_export_mode.to_i == 0
393
+ unless validator.valid?(office_math_export_mode)
394
+ raise ArgumentError, "invalid value for 'office_math_export_mode', must be one of #{validator.allowable_values}."
395
+ end
396
+ @office_math_export_mode = office_math_export_mode
397
+ else
398
+ @office_math_export_mode = validator.allowable_values[office_math_export_mode.to_i]
399
+ end
400
+ end
401
+
376
402
 
377
403
  # Checks equality by comparing each attribute.
378
404
  # @param [Object] Object to be compared
@@ -398,6 +424,7 @@ module AsposeWordsCloud
398
424
  paragraph_break == other.paragraph_break &&
399
425
  add_bidi_marks == other.add_bidi_marks &&
400
426
  max_characters_per_line == other.max_characters_per_line &&
427
+ office_math_export_mode == other.office_math_export_mode &&
401
428
  preserve_table_layout == other.preserve_table_layout &&
402
429
  simplify_list_labels == other.simplify_list_labels &&
403
430
  save_format == other.save_format
@@ -412,7 +439,7 @@ module AsposeWordsCloud
412
439
  # Calculates hash code according to all attributes.
413
440
  # @return [Fixnum] Hash code
414
441
  def hash
415
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_ambiguous_text_font, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, 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, save_format].hash
442
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_ambiguous_text_font, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, encoding, export_headers_footers_mode, force_page_breaks, paragraph_break, add_bidi_marks, max_characters_per_line, office_math_export_mode, preserve_table_layout, simplify_list_labels, save_format].hash
416
443
  end
417
444
 
418
445
  # Builds the object from hash
@@ -64,7 +64,7 @@ module AsposeWordsCloud
64
64
  attr_accessor :update_ambiguous_text_font
65
65
 
66
66
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
67
- # Default value is false.
67
+ # The default value is false.
68
68
  attr_accessor :update_created_time_property
69
69
 
70
70
  # Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
@@ -162,7 +162,7 @@ module AsposeWordsCloud
162
162
  attr_accessor :use_gdi_emf_renderer
163
163
 
164
164
  # Gets or sets the threshold that determines the value of the binarization error in the Floyd-Steinberg method. when ImageBinarizationMethod is ImageBinarizationMethod.FloydSteinbergDithering.
165
- # Default value is 128.
165
+ # The default value is 128.
166
166
  attr_accessor :threshold_for_floyd_steinberg_dithering
167
167
 
168
168
  # Gets or sets the method used while converting images to 1 bpp format.
@@ -64,7 +64,7 @@ module AsposeWordsCloud
64
64
  attr_accessor :update_ambiguous_text_font
65
65
 
66
66
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
67
- # Default value is false.
67
+ # The default value is false.
68
68
  attr_accessor :update_created_time_property
69
69
 
70
70
  # Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
@@ -64,7 +64,7 @@ module AsposeWordsCloud
64
64
  attr_accessor :update_ambiguous_text_font
65
65
 
66
66
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
67
- # Default value is false.
67
+ # The default value is false.
68
68
  attr_accessor :update_created_time_property
69
69
 
70
70
  # Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
@@ -64,7 +64,7 @@ module AsposeWordsCloud
64
64
  attr_accessor :update_ambiguous_text_font
65
65
 
66
66
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
67
- # Default value is false.
67
+ # The default value is false.
68
68
  attr_accessor :update_created_time_property
69
69
 
70
70
  # Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
@@ -89,7 +89,7 @@ module AsposeWordsCloud
89
89
  attr_accessor :images_folder_alias
90
90
 
91
91
  # Gets or sets the flag that indicates whether backslash characters should be replaced with yen signs.
92
- # Default value is false.
92
+ # The default value is false.
93
93
  # By default, Aspose.Words mimics MS Word's behavior and doesn't replace backslash characters with yen signs in
94
94
  # generated HTML documents. However, previous versions of Aspose.Words performed such replacements in certain
95
95
  # scenarios. This flag enables backward compatibility with previous versions of Aspose.Words.
@@ -64,7 +64,7 @@ module AsposeWordsCloud
64
64
  attr_accessor :update_ambiguous_text_font
65
65
 
66
66
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
67
- # Default value is false.
67
+ # The default value is false.
68
68
  attr_accessor :update_created_time_property
69
69
 
70
70
  # Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
@@ -89,7 +89,7 @@ module AsposeWordsCloud
89
89
  attr_accessor :images_folder_alias
90
90
 
91
91
  # Gets or sets the flag that indicates whether backslash characters should be replaced with yen signs.
92
- # Default value is false.
92
+ # The default value is false.
93
93
  # By default, Aspose.Words mimics MS Word's behavior and doesn't replace backslash characters with yen signs in
94
94
  # generated HTML documents. However, previous versions of Aspose.Words performed such replacements in certain
95
95
  # scenarios. This flag enables backward compatibility with previous versions of Aspose.Words.
@@ -64,7 +64,7 @@ module AsposeWordsCloud
64
64
  attr_accessor :update_ambiguous_text_font
65
65
 
66
66
  # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
67
- # Default value is false.
67
+ # The default value is false.
68
68
  attr_accessor :update_created_time_property
69
69
 
70
70
  # Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
@@ -24,5 +24,5 @@
24
24
  # ------------------------------------------------------------------------------------
25
25
 
26
26
  module AsposeWordsCloud
27
- VERSION = "25.10".freeze
27
+ VERSION = "25.11".freeze
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_words_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '25.10'
4
+ version: '25.11'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aspose
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-10 00:00:00.000000000 Z
11
+ date: 2025-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday