aspose_words_cloud 20.4.0 → 20.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud.rb +30 -0
  3. data/lib/aspose_words_cloud/api/words_api.rb +4292 -2201
  4. data/lib/aspose_words_cloud/api_client.rb +1 -0
  5. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +61 -4
  6. data/lib/aspose_words_cloud/models/csv_data_load_options.rb +237 -0
  7. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +58 -1
  8. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +61 -4
  9. data/lib/aspose_words_cloud/models/epub_save_options_data.rb +37 -1
  10. data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +58 -1
  11. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +61 -4
  12. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +71 -4
  13. data/lib/aspose_words_cloud/models/html_save_options_data.rb +37 -1
  14. data/lib/aspose_words_cloud/models/image_save_options_data.rb +58 -1
  15. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +61 -4
  16. data/lib/aspose_words_cloud/models/list_format.rb +236 -0
  17. data/lib/aspose_words_cloud/models/list_format_update.rb +217 -0
  18. data/lib/aspose_words_cloud/models/list_info.rb +274 -0
  19. data/lib/aspose_words_cloud/models/list_insert.rb +244 -0
  20. data/lib/aspose_words_cloud/models/list_level.rb +393 -0
  21. data/lib/aspose_words_cloud/models/list_level_update.rb +366 -0
  22. data/lib/aspose_words_cloud/models/list_levels.rb +218 -0
  23. data/lib/aspose_words_cloud/models/list_response.rb +216 -0
  24. data/lib/aspose_words_cloud/models/list_update.rb +207 -0
  25. data/lib/aspose_words_cloud/models/lists.rb +218 -0
  26. data/lib/aspose_words_cloud/models/lists_response.rb +216 -0
  27. data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +37 -1
  28. data/lib/aspose_words_cloud/models/odt_save_options_data.rb +47 -1
  29. data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +58 -1
  30. data/lib/aspose_words_cloud/models/paragraph_format.rb +10 -1
  31. data/lib/aspose_words_cloud/models/paragraph_list_format_response.rb +216 -0
  32. data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +58 -1
  33. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +47 -1
  34. data/lib/aspose_words_cloud/models/png_save_options_data.rb +61 -4
  35. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +58 -1
  36. data/lib/aspose_words_cloud/models/report_build_options.rb +26 -0
  37. data/lib/aspose_words_cloud/models/report_engine_settings.rb +275 -0
  38. data/lib/aspose_words_cloud/models/requests/ApplyStyleToDocumentElementRequest.rb +81 -0
  39. data/lib/aspose_words_cloud/models/requests/BuildReportOnlineRequest.rb +57 -0
  40. data/lib/aspose_words_cloud/models/requests/BuildReportRequest.rb +73 -0
  41. data/lib/aspose_words_cloud/models/requests/CopyStyleRequest.rb +77 -0
  42. data/lib/aspose_words_cloud/models/requests/DeleteAllParagraphTabStopsRequest.rb +73 -0
  43. data/lib/aspose_words_cloud/models/requests/DeleteParagraphListFormatRequest.rb +81 -0
  44. data/lib/aspose_words_cloud/models/requests/DeleteParagraphTabStopRequest.rb +77 -0
  45. data/lib/aspose_words_cloud/models/requests/ExecuteMailMergeOnlineRequest.rb +2 -2
  46. data/lib/aspose_words_cloud/models/requests/ExecuteMailMergeRequest.rb +2 -2
  47. data/lib/aspose_words_cloud/models/requests/GetDocumentFieldNamesRequest.rb +2 -2
  48. data/lib/aspose_words_cloud/models/requests/GetListRequest.rb +65 -0
  49. data/lib/aspose_words_cloud/models/requests/GetListsRequest.rb +61 -0
  50. data/lib/aspose_words_cloud/models/requests/GetParagraphListFormatRequest.rb +69 -0
  51. data/lib/aspose_words_cloud/models/requests/GetParagraphListFormatWithoutNodePathRequest.rb +65 -0
  52. data/lib/aspose_words_cloud/models/requests/GetParagraphTabStopsRequest.rb +69 -0
  53. data/lib/aspose_words_cloud/models/requests/GetStyleFromDocumentElementRequest.rb +65 -0
  54. data/lib/aspose_words_cloud/models/requests/GetStyleRequest.rb +65 -0
  55. data/lib/aspose_words_cloud/models/requests/GetStylesRequest.rb +61 -0
  56. data/lib/aspose_words_cloud/models/requests/InsertListRequest.rb +77 -0
  57. data/lib/aspose_words_cloud/models/requests/InsertOrUpdateParagraphTabStopRequest.rb +77 -0
  58. data/lib/aspose_words_cloud/models/requests/InsertStyleRequest.rb +77 -0
  59. data/lib/aspose_words_cloud/models/requests/UpdateListLevelRequest.rb +85 -0
  60. data/lib/aspose_words_cloud/models/requests/UpdateListRequest.rb +81 -0
  61. data/lib/aspose_words_cloud/models/requests/UpdateParagraphListFormatRequest.rb +85 -0
  62. data/lib/aspose_words_cloud/models/requests/UpdateStyleRequest.rb +81 -0
  63. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +58 -1
  64. data/lib/aspose_words_cloud/models/save_options_data.rb +61 -4
  65. data/lib/aspose_words_cloud/models/shading.rb +262 -0
  66. data/lib/aspose_words_cloud/models/style.rb +370 -0
  67. data/lib/aspose_words_cloud/models/style_apply.rb +207 -0
  68. data/lib/aspose_words_cloud/models/style_copy.rb +207 -0
  69. data/lib/aspose_words_cloud/models/style_insert.rb +254 -0
  70. data/lib/aspose_words_cloud/models/style_response.rb +216 -0
  71. data/lib/aspose_words_cloud/models/style_update.rb +237 -0
  72. data/lib/aspose_words_cloud/models/styles.rb +218 -0
  73. data/lib/aspose_words_cloud/models/styles_response.rb +216 -0
  74. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +58 -1
  75. data/lib/aspose_words_cloud/models/tab_stop.rb +290 -0
  76. data/lib/aspose_words_cloud/models/tab_stop_base.rb +280 -0
  77. data/lib/aspose_words_cloud/models/tab_stop_insert.rb +280 -0
  78. data/lib/aspose_words_cloud/models/tab_stops_response.rb +219 -0
  79. data/lib/aspose_words_cloud/models/text_save_options_data.rb +37 -1
  80. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +58 -1
  81. data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +58 -1
  82. data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +58 -1
  83. data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +58 -1
  84. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +58 -1
  85. data/lib/aspose_words_cloud/version.rb +1 -1
  86. metadata +52 -2
@@ -84,6 +84,8 @@ module AsposeWordsCloud
84
84
  # Gets or sets the value (in points) that represents the right indent for paragraph.
85
85
  attr_accessor :right_indent
86
86
 
87
+ attr_accessor :shading
88
+
87
89
  # Gets or sets the amount of spacing (in points) after the paragraph.
88
90
  attr_accessor :space_after
89
91
 
@@ -154,6 +156,7 @@ module AsposeWordsCloud
154
156
  :'outline_level' => :'OutlineLevel',
155
157
  :'page_break_before' => :'PageBreakBefore',
156
158
  :'right_indent' => :'RightIndent',
159
+ :'shading' => :'Shading',
157
160
  :'space_after' => :'SpaceAfter',
158
161
  :'space_after_auto' => :'SpaceAfterAuto',
159
162
  :'space_before' => :'SpaceBefore',
@@ -187,6 +190,7 @@ module AsposeWordsCloud
187
190
  :'outline_level' => :'String',
188
191
  :'page_break_before' => :'BOOLEAN',
189
192
  :'right_indent' => :'Float',
193
+ :'shading' => :'Shading',
190
194
  :'space_after' => :'Float',
191
195
  :'space_after_auto' => :'BOOLEAN',
192
196
  :'space_before' => :'Float',
@@ -279,6 +283,10 @@ module AsposeWordsCloud
279
283
  self.right_indent = attributes[:'RightIndent']
280
284
  end
281
285
 
286
+ if attributes.key?(:'Shading')
287
+ self.shading = attributes[:'Shading']
288
+ end
289
+
282
290
  if attributes.key?(:'SpaceAfter')
283
291
  self.space_after = attributes[:'SpaceAfter']
284
292
  end
@@ -433,6 +441,7 @@ module AsposeWordsCloud
433
441
  outline_level == other.outline_level &&
434
442
  page_break_before == other.page_break_before &&
435
443
  right_indent == other.right_indent &&
444
+ shading == other.shading &&
436
445
  space_after == other.space_after &&
437
446
  space_after_auto == other.space_after_auto &&
438
447
  space_before == other.space_before &&
@@ -453,7 +462,7 @@ module AsposeWordsCloud
453
462
  # Calculates hash code according to all attributes.
454
463
  # @return [Fixnum] Hash code
455
464
  def hash
456
- [link, add_space_between_far_east_and_alpha, add_space_between_far_east_and_digit, alignment, bidi, drop_cap_position, first_line_indent, is_list_item, keep_together, keep_with_next, left_indent, line_spacing, line_spacing_rule, lines_to_drop, no_space_between_paragraphs_of_same_style, outline_level, page_break_before, right_indent, space_after, space_after_auto, space_before, space_before_auto, style_identifier, style_name, suppress_auto_hyphens, suppress_line_numbers, widow_control].hash
465
+ [link, add_space_between_far_east_and_alpha, add_space_between_far_east_and_digit, alignment, bidi, drop_cap_position, first_line_indent, is_list_item, keep_together, keep_with_next, left_indent, line_spacing, line_spacing_rule, lines_to_drop, no_space_between_paragraphs_of_same_style, outline_level, page_break_before, right_indent, shading, space_after, space_after_auto, space_before, space_before_auto, style_identifier, style_name, suppress_auto_hyphens, suppress_line_numbers, widow_control].hash
457
466
  end
458
467
 
459
468
  # Builds the object from hash
@@ -0,0 +1,216 @@
1
+
2
+ require 'date'
3
+
4
+ module AsposeWordsCloud
5
+ #
6
+ # --------------------------------------------------------------------------------------------------------------------
7
+ # <copyright company="Aspose" file="ParagraphListFormatResponse.rb">
8
+ # Copyright (c) 2019 Aspose.Words for Cloud
9
+ # </copyright>
10
+ # <summary>
11
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ # of this software and associated documentation files (the "Software"), to deal
13
+ # in the Software without restriction, including without limitation the rights
14
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ # copies of the Software, and to permit persons to whom the Software is
16
+ # furnished to do so, subject to the following conditions:
17
+ #
18
+ # The above copyright notice and this permission notice shall be included in all
19
+ # copies or substantial portions of the Software.
20
+ #
21
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ # SOFTWARE.
28
+ # </summary>
29
+ # --------------------------------------------------------------------------------------------------------------------
30
+ #
31
+
32
+ # This response should be returned by the service when handling: GET https://api.aspose.cloud/v4.0/words/Test.doc/paragraphs/{0}/listFormat.
33
+ class ParagraphListFormatResponse
34
+ # Gets or sets request Id.
35
+ attr_accessor :request_id
36
+
37
+ attr_accessor :list_format
38
+
39
+
40
+ # Attribute mapping from ruby-style variable name to JSON key.
41
+ def self.attribute_map
42
+ {
43
+ :'request_id' => :'RequestId',
44
+ :'list_format' => :'ListFormat'
45
+ }
46
+ end
47
+
48
+ # Attribute type mapping.
49
+ def self.swagger_types
50
+ {
51
+ :'request_id' => :'String',
52
+ :'list_format' => :'ListFormat'
53
+ }
54
+ end
55
+
56
+ # Initializes the object
57
+ # @param [Hash] attributes Model attributes in the form of hash
58
+ def initialize(attributes = {})
59
+ return unless attributes.is_a?(Hash)
60
+
61
+ # convert string to symbol for hash key
62
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
63
+
64
+ if attributes.key?(:'RequestId')
65
+ self.request_id = attributes[:'RequestId']
66
+ end
67
+
68
+ if attributes.key?(:'ListFormat')
69
+ self.list_format = attributes[:'ListFormat']
70
+ end
71
+
72
+ end
73
+
74
+ # Show invalid properties with the reasons. Usually used together with valid?
75
+ # @return Array for valid properies with the reasons
76
+ def list_invalid_properties
77
+ invalid_properties = []
78
+ return invalid_properties
79
+ end
80
+
81
+ # Check to see if the all the properties in the model are valid
82
+ # @return true if the model is valid
83
+ def valid?
84
+ return true
85
+ end
86
+
87
+ # Checks equality by comparing each attribute.
88
+ # @param [Object] Object to be compared
89
+ def ==(other)
90
+ return true if self.equal?(other)
91
+ self.class == other.class &&
92
+ request_id == other.request_id &&
93
+ list_format == other.list_format
94
+ end
95
+
96
+ # @see the `==` method
97
+ # @param [Object] Object to be compared
98
+ def eql?(other)
99
+ self == other
100
+ end
101
+
102
+ # Calculates hash code according to all attributes.
103
+ # @return [Fixnum] Hash code
104
+ def hash
105
+ [request_id, list_format].hash
106
+ end
107
+
108
+ # Builds the object from hash
109
+ # @param [Hash] attributes Model attributes in the form of hash
110
+ # @return [Object] Returns the model itself
111
+ def build_from_hash(attributes)
112
+ return nil unless attributes.is_a?(Hash)
113
+ self.class.swagger_types.each_pair do |key, type|
114
+ if type =~ /\AArray<(.*)>/i
115
+ # check to ensure the input is an array given that the the attribute
116
+ # is documented as an array but the input is not
117
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
118
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
119
+ end
120
+ elsif !attributes[self.class.attribute_map[key]].nil?
121
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
122
+ end
123
+ # or else data not found in attributes(hash), not an issue as the data can be optional
124
+ end
125
+
126
+ self
127
+ end
128
+
129
+ # Deserializes the data based on type
130
+ # @param string type Data type
131
+ # @param string value Value to be deserialized
132
+ # @return [Object] Deserialized data
133
+ def _deserialize(type, value)
134
+ case type.to_sym
135
+ when :DateTime
136
+ Time.at(/\d/.match(value)[0].to_f).to_datetime
137
+ when :Date
138
+ Time.at(/\d/.match(value)[0].to_f).to_date
139
+ when :String
140
+ value.to_s
141
+ when :Integer
142
+ value.to_i
143
+ when :Float
144
+ value.to_f
145
+ when :BOOLEAN
146
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
147
+ true
148
+ else
149
+ false
150
+ end
151
+ when :Object
152
+ # generic object (usually a Hash), return directly
153
+ value
154
+ when /\AArray<(?<inner_type>.+)>\z/
155
+ inner_type = Regexp.last_match[:inner_type]
156
+ value.map { |v| _deserialize(inner_type, v) }
157
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
158
+ k_type = Regexp.last_match[:k_type]
159
+ v_type = Regexp.last_match[:v_type]
160
+ {}.tap do |hash|
161
+ value.each do |k, v|
162
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
163
+ end
164
+ end
165
+ else
166
+ # model
167
+ temp_model = AsposeWordsCloud.const_get(type).new
168
+ temp_model.build_from_hash(value)
169
+ end
170
+ end
171
+
172
+ # Returns the string representation of the object
173
+ # @return [String] String presentation of the object
174
+ def to_s
175
+ to_hash.to_s
176
+ end
177
+
178
+ # to_body is an alias to to_hash (backward compatibility)
179
+ # @return [Hash] Returns the object in the form of hash
180
+ def to_body
181
+ to_hash
182
+ end
183
+
184
+ # Returns the object in the form of hash
185
+ # @return [Hash] Returns the object in the form of hash
186
+ def to_hash
187
+ hash = {}
188
+ self.class.attribute_map.each_pair do |attr, param|
189
+ value = self.send(attr)
190
+ next if value.nil?
191
+ hash[param] = _to_hash(value)
192
+ end
193
+ hash
194
+ end
195
+
196
+ # Outputs non-array value in the form of hash
197
+ # For object, use to_hash. Otherwise, just return the value
198
+ # @param [Object] value Any valid value
199
+ # @return [Hash] Returns the value in the form of hash
200
+ def _to_hash(value)
201
+ if value.is_a?(Array)
202
+ value.compact.map { |v| _to_hash(v) }
203
+ elsif value.is_a?(Hash)
204
+ {}.tap do |hash|
205
+ value.each { |k, v| hash[k] = _to_hash(v) }
206
+ end
207
+ elsif value.respond_to? :to_hash
208
+ value.to_hash
209
+ else
210
+ value
211
+ end
212
+ end
213
+
214
+ end
215
+
216
+ end
@@ -75,12 +75,39 @@ module AsposeWordsCloud
75
75
  # Gets or sets a value determining if fields should be updated before saving the document to a fixed page format. Default value for this property is. true
76
76
  attr_accessor :update_fields
77
77
 
78
+ # Gets or sets a value determining how 3D effects are rendered.
79
+ attr_accessor :dml3_d_effects_rendering_mode
80
+
81
+ # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastPrinted property is updated before saving.
82
+ attr_accessor :update_last_printed_property
83
+
78
84
  # Gets or sets name of the font that will be used if no expected font is found in printer and built-in fonts collections.
79
85
  attr_accessor :falllback_font_name
80
86
 
81
87
  # Gets or sets a value determining whether or not complex transformed elements should be rasterized before saving to PCL document. Default is true.
82
88
  attr_accessor :rasterize_transformed_elements
83
89
 
90
+ class EnumAttributeValidator
91
+ attr_reader :datatype
92
+ attr_reader :allowable_values
93
+
94
+ def initialize(datatype, allowable_values)
95
+ @allowable_values = allowable_values.map do |value|
96
+ case datatype.to_s
97
+ when /Integer/i
98
+ value.to_i
99
+ when /Float/i
100
+ value.to_f
101
+ else
102
+ value
103
+ end
104
+ end
105
+ end
106
+
107
+ def valid?(value)
108
+ !value || allowable_values.include?(value)
109
+ end
110
+ end
84
111
 
85
112
  # Attribute mapping from ruby-style variable name to JSON key.
86
113
  def self.attribute_map
@@ -100,6 +127,8 @@ module AsposeWordsCloud
100
127
  :'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
101
128
  :'update_sdt_content' => :'UpdateSdtContent',
102
129
  :'update_fields' => :'UpdateFields',
130
+ :'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
131
+ :'update_last_printed_property' => :'UpdateLastPrintedProperty',
103
132
  :'falllback_font_name' => :'FalllbackFontName',
104
133
  :'rasterize_transformed_elements' => :'RasterizeTransformedElements'
105
134
  }
@@ -123,6 +152,8 @@ module AsposeWordsCloud
123
152
  :'update_last_saved_time_property' => :'BOOLEAN',
124
153
  :'update_sdt_content' => :'BOOLEAN',
125
154
  :'update_fields' => :'BOOLEAN',
155
+ :'dml3_d_effects_rendering_mode' => :'String',
156
+ :'update_last_printed_property' => :'BOOLEAN',
126
157
  :'falllback_font_name' => :'String',
127
158
  :'rasterize_transformed_elements' => :'BOOLEAN'
128
159
  }
@@ -196,6 +227,14 @@ module AsposeWordsCloud
196
227
  self.update_fields = attributes[:'UpdateFields']
197
228
  end
198
229
 
230
+ if attributes.key?(:'Dml3DEffectsRenderingMode')
231
+ self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
232
+ end
233
+
234
+ if attributes.key?(:'UpdateLastPrintedProperty')
235
+ self.update_last_printed_property = attributes[:'UpdateLastPrintedProperty']
236
+ end
237
+
199
238
  if attributes.key?(:'FalllbackFontName')
200
239
  self.falllback_font_name = attributes[:'FalllbackFontName']
201
240
  end
@@ -216,9 +255,25 @@ module AsposeWordsCloud
216
255
  # Check to see if the all the properties in the model are valid
217
256
  # @return true if the model is valid
218
257
  def valid?
258
+ dml3_d_effects_rendering_mode_validator = EnumAttributeValidator.new('String', ["Basic", "Advanced"])
259
+ return false unless dml3_d_effects_rendering_mode_validator.valid?(@dml3_d_effects_rendering_mode)
219
260
  return true
220
261
  end
221
262
 
263
+ # Custom attribute writer method checking allowed values (enum).
264
+ # @param [Object] dml3_d_effects_rendering_mode Object to be assigned
265
+ def dml3_d_effects_rendering_mode=(dml3_d_effects_rendering_mode)
266
+ validator = EnumAttributeValidator.new('String', ["Basic", "Advanced"])
267
+ if dml3_d_effects_rendering_mode.to_i == 0
268
+ unless validator.valid?(dml3_d_effects_rendering_mode)
269
+ raise ArgumentError, "invalid value for 'dml3_d_effects_rendering_mode', must be one of #{validator.allowable_values}."
270
+ end
271
+ @dml3_d_effects_rendering_mode = dml3_d_effects_rendering_mode
272
+ else
273
+ @dml3_d_effects_rendering_mode = validator.allowable_values[dml3_d_effects_rendering_mode.to_i]
274
+ end
275
+ end
276
+
222
277
  # Checks equality by comparing each attribute.
223
278
  # @param [Object] Object to be compared
224
279
  def ==(other)
@@ -239,6 +294,8 @@ module AsposeWordsCloud
239
294
  update_last_saved_time_property == other.update_last_saved_time_property &&
240
295
  update_sdt_content == other.update_sdt_content &&
241
296
  update_fields == other.update_fields &&
297
+ dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
298
+ update_last_printed_property == other.update_last_printed_property &&
242
299
  falllback_font_name == other.falllback_font_name &&
243
300
  rasterize_transformed_elements == other.rasterize_transformed_elements
244
301
  end
@@ -252,7 +309,7 @@ module AsposeWordsCloud
252
309
  # Calculates hash code according to all attributes.
253
310
  # @return [Fixnum] Hash code
254
311
  def hash
255
- [color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, falllback_font_name, rasterize_transformed_elements].hash
312
+ [color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, dml3_d_effects_rendering_mode, update_last_printed_property, falllback_font_name, rasterize_transformed_elements].hash
256
313
  end
257
314
 
258
315
  # Builds the object from hash
@@ -75,6 +75,12 @@ module AsposeWordsCloud
75
75
  # Gets or sets a value determining if fields should be updated before saving the document to a fixed page format. Default value for this property is. true
76
76
  attr_accessor :update_fields
77
77
 
78
+ # Gets or sets a value determining how 3D effects are rendered.
79
+ attr_accessor :dml3_d_effects_rendering_mode
80
+
81
+ # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastPrinted property is updated before saving.
82
+ attr_accessor :update_last_printed_property
83
+
78
84
  # Gets or sets specifies the PDF standards compliance level for output documents.
79
85
  attr_accessor :compliance
80
86
 
@@ -114,6 +120,9 @@ module AsposeWordsCloud
114
120
  # Gets or sets specifies compression type to be used for all images in the document.
115
121
  attr_accessor :image_compression
116
122
 
123
+ # Gets or sets a flag indicating whether image interpolation shall be performed by a conforming reader. When false is specified, the flag is not written to the output document and the default behaviour of reader is used instead.
124
+ attr_accessor :interpolate_images
125
+
117
126
  # Gets or sets determines whether hyperlinks in the output Pdf document are forced to be opened in a new window (or tab) of a browser.
118
127
  attr_accessor :open_hyperlinks_in_new_window
119
128
 
@@ -183,6 +192,8 @@ module AsposeWordsCloud
183
192
  :'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
184
193
  :'update_sdt_content' => :'UpdateSdtContent',
185
194
  :'update_fields' => :'UpdateFields',
195
+ :'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
196
+ :'update_last_printed_property' => :'UpdateLastPrintedProperty',
186
197
  :'compliance' => :'Compliance',
187
198
  :'create_note_hyperlinks' => :'CreateNoteHyperlinks',
188
199
  :'custom_properties_export' => :'CustomPropertiesExport',
@@ -197,6 +208,7 @@ module AsposeWordsCloud
197
208
  :'header_footer_bookmarks_export_mode' => :'HeaderFooterBookmarksExportMode',
198
209
  :'image_color_space_export_mode' => :'ImageColorSpaceExportMode',
199
210
  :'image_compression' => :'ImageCompression',
211
+ :'interpolate_images' => :'InterpolateImages',
200
212
  :'open_hyperlinks_in_new_window' => :'OpenHyperlinksInNewWindow',
201
213
  :'outline_options' => :'OutlineOptions',
202
214
  :'page_mode' => :'PageMode',
@@ -228,6 +240,8 @@ module AsposeWordsCloud
228
240
  :'update_last_saved_time_property' => :'BOOLEAN',
229
241
  :'update_sdt_content' => :'BOOLEAN',
230
242
  :'update_fields' => :'BOOLEAN',
243
+ :'dml3_d_effects_rendering_mode' => :'String',
244
+ :'update_last_printed_property' => :'BOOLEAN',
231
245
  :'compliance' => :'String',
232
246
  :'create_note_hyperlinks' => :'BOOLEAN',
233
247
  :'custom_properties_export' => :'String',
@@ -242,6 +256,7 @@ module AsposeWordsCloud
242
256
  :'header_footer_bookmarks_export_mode' => :'String',
243
257
  :'image_color_space_export_mode' => :'String',
244
258
  :'image_compression' => :'String',
259
+ :'interpolate_images' => :'BOOLEAN',
245
260
  :'open_hyperlinks_in_new_window' => :'BOOLEAN',
246
261
  :'outline_options' => :'OutlineOptionsData',
247
262
  :'page_mode' => :'String',
@@ -323,6 +338,14 @@ module AsposeWordsCloud
323
338
  self.update_fields = attributes[:'UpdateFields']
324
339
  end
325
340
 
341
+ if attributes.key?(:'Dml3DEffectsRenderingMode')
342
+ self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
343
+ end
344
+
345
+ if attributes.key?(:'UpdateLastPrintedProperty')
346
+ self.update_last_printed_property = attributes[:'UpdateLastPrintedProperty']
347
+ end
348
+
326
349
  if attributes.key?(:'Compliance')
327
350
  self.compliance = attributes[:'Compliance']
328
351
  end
@@ -379,6 +402,10 @@ module AsposeWordsCloud
379
402
  self.image_compression = attributes[:'ImageCompression']
380
403
  end
381
404
 
405
+ if attributes.key?(:'InterpolateImages')
406
+ self.interpolate_images = attributes[:'InterpolateImages']
407
+ end
408
+
382
409
  if attributes.key?(:'OpenHyperlinksInNewWindow')
383
410
  self.open_hyperlinks_in_new_window = attributes[:'OpenHyperlinksInNewWindow']
384
411
  end
@@ -431,11 +458,27 @@ module AsposeWordsCloud
431
458
  # Check to see if the all the properties in the model are valid
432
459
  # @return true if the model is valid
433
460
  def valid?
461
+ dml3_d_effects_rendering_mode_validator = EnumAttributeValidator.new('String', ["Basic", "Advanced"])
462
+ return false unless dml3_d_effects_rendering_mode_validator.valid?(@dml3_d_effects_rendering_mode)
434
463
  header_footer_bookmarks_export_mode_validator = EnumAttributeValidator.new('String', ["None", "First", "All"])
435
464
  return false unless header_footer_bookmarks_export_mode_validator.valid?(@header_footer_bookmarks_export_mode)
436
465
  return true
437
466
  end
438
467
 
468
+ # Custom attribute writer method checking allowed values (enum).
469
+ # @param [Object] dml3_d_effects_rendering_mode Object to be assigned
470
+ def dml3_d_effects_rendering_mode=(dml3_d_effects_rendering_mode)
471
+ validator = EnumAttributeValidator.new('String', ["Basic", "Advanced"])
472
+ if dml3_d_effects_rendering_mode.to_i == 0
473
+ unless validator.valid?(dml3_d_effects_rendering_mode)
474
+ raise ArgumentError, "invalid value for 'dml3_d_effects_rendering_mode', must be one of #{validator.allowable_values}."
475
+ end
476
+ @dml3_d_effects_rendering_mode = dml3_d_effects_rendering_mode
477
+ else
478
+ @dml3_d_effects_rendering_mode = validator.allowable_values[dml3_d_effects_rendering_mode.to_i]
479
+ end
480
+ end
481
+
439
482
  # Custom attribute writer method checking allowed values (enum).
440
483
  # @param [Object] header_footer_bookmarks_export_mode Object to be assigned
441
484
  def header_footer_bookmarks_export_mode=(header_footer_bookmarks_export_mode)
@@ -470,6 +513,8 @@ module AsposeWordsCloud
470
513
  update_last_saved_time_property == other.update_last_saved_time_property &&
471
514
  update_sdt_content == other.update_sdt_content &&
472
515
  update_fields == other.update_fields &&
516
+ dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
517
+ update_last_printed_property == other.update_last_printed_property &&
473
518
  compliance == other.compliance &&
474
519
  create_note_hyperlinks == other.create_note_hyperlinks &&
475
520
  custom_properties_export == other.custom_properties_export &&
@@ -484,6 +529,7 @@ module AsposeWordsCloud
484
529
  header_footer_bookmarks_export_mode == other.header_footer_bookmarks_export_mode &&
485
530
  image_color_space_export_mode == other.image_color_space_export_mode &&
486
531
  image_compression == other.image_compression &&
532
+ interpolate_images == other.interpolate_images &&
487
533
  open_hyperlinks_in_new_window == other.open_hyperlinks_in_new_window &&
488
534
  outline_options == other.outline_options &&
489
535
  page_mode == other.page_mode &&
@@ -505,7 +551,7 @@ module AsposeWordsCloud
505
551
  # Calculates hash code according to all attributes.
506
552
  # @return [Fixnum] Hash code
507
553
  def hash
508
- [color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, compliance, create_note_hyperlinks, custom_properties_export, digital_signature_details, display_doc_title, downsample_options, embed_full_fonts, encryption_details, escape_uri, export_document_structure, font_embedding_mode, header_footer_bookmarks_export_mode, image_color_space_export_mode, image_compression, open_hyperlinks_in_new_window, outline_options, page_mode, preblend_images, preserve_form_fields, text_compression, use_book_fold_printing_settings, use_core_fonts, zoom_behavior, zoom_factor].hash
554
+ [color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, save_format, file_name, dml_rendering_mode, dml_effects_rendering_mode, zip_output, update_last_saved_time_property, update_sdt_content, update_fields, dml3_d_effects_rendering_mode, update_last_printed_property, compliance, create_note_hyperlinks, custom_properties_export, digital_signature_details, display_doc_title, downsample_options, embed_full_fonts, encryption_details, escape_uri, export_document_structure, font_embedding_mode, header_footer_bookmarks_export_mode, image_color_space_export_mode, image_compression, interpolate_images, open_hyperlinks_in_new_window, outline_options, page_mode, preblend_images, preserve_form_fields, text_compression, use_book_fold_printing_settings, use_core_fonts, zoom_behavior, zoom_factor].hash
509
555
  end
510
556
 
511
557
  # Builds the object from hash