aspose_words_cloud 20.5.0 → 20.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud.rb +2 -1
  3. data/lib/aspose_words_cloud/api/words_api.rb +877 -92
  4. data/lib/aspose_words_cloud/models/drawing_object_insert.rb +345 -0
  5. data/lib/aspose_words_cloud/models/{styles.rb → drawing_object_update.rb} +137 -19
  6. data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +27 -1
  7. data/lib/aspose_words_cloud/models/requests/ApplyStyleToDocumentElementRequest.rb +2 -2
  8. data/lib/aspose_words_cloud/models/requests/DeleteAllParagraphTabStopsWithoutNodePathRequest.rb +69 -0
  9. data/lib/aspose_words_cloud/models/requests/DeleteParagraphListFormatWithoutNodePathRequest.rb +77 -0
  10. data/lib/aspose_words_cloud/models/requests/DeleteParagraphTabStopRequest.rb +5 -5
  11. data/lib/aspose_words_cloud/models/requests/DeleteParagraphTabStopWithoutNodePathRequest.rb +73 -0
  12. data/lib/aspose_words_cloud/models/requests/GetParagraphTabStopsWithoutNodePathRequest.rb +65 -0
  13. data/lib/aspose_words_cloud/models/requests/GetStyleFromDocumentElementRequest.rb +2 -2
  14. data/lib/aspose_words_cloud/models/requests/InsertDrawingObjectRequest.rb +2 -2
  15. data/lib/aspose_words_cloud/models/requests/InsertDrawingObjectWithoutNodePathRequest.rb +2 -2
  16. data/lib/aspose_words_cloud/models/requests/InsertOrUpdateParagraphTabStopRequest.rb +5 -5
  17. data/lib/aspose_words_cloud/models/requests/InsertOrUpdateParagraphTabStopWithoutNodePathRequest.rb +73 -0
  18. data/lib/aspose_words_cloud/models/requests/InsertParagraphWithoutNodePathRequest.rb +81 -0
  19. data/lib/aspose_words_cloud/models/requests/UpdateParagraphFormatWithoutNodePathRequest.rb +81 -0
  20. data/lib/aspose_words_cloud/models/requests/UpdateParagraphListFormatWithoutNodePathRequest.rb +81 -0
  21. data/lib/aspose_words_cloud/models/styles_response.rb +5 -2
  22. data/lib/aspose_words_cloud/version.rb +1 -1
  23. metadata +12 -3
@@ -64,6 +64,9 @@ module AsposeWordsCloud
64
64
  # Gets or sets specifies the OOXML version for the output document.
65
65
  attr_accessor :compliance
66
66
 
67
+ # Gets or sets compression level.
68
+ attr_accessor :compression_level
69
+
67
70
  # Gets or sets specifies a password to encrypt document using ECMA376 Standard encryption algorithm.
68
71
  attr_accessor :password
69
72
 
@@ -106,6 +109,7 @@ module AsposeWordsCloud
106
109
  :'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
107
110
  :'update_last_printed_property' => :'UpdateLastPrintedProperty',
108
111
  :'compliance' => :'Compliance',
112
+ :'compression_level' => :'CompressionLevel',
109
113
  :'password' => :'Password',
110
114
  :'pretty_format' => :'PrettyFormat'
111
115
  }
@@ -125,6 +129,7 @@ module AsposeWordsCloud
125
129
  :'dml3_d_effects_rendering_mode' => :'String',
126
130
  :'update_last_printed_property' => :'BOOLEAN',
127
131
  :'compliance' => :'String',
132
+ :'compression_level' => :'String',
128
133
  :'password' => :'String',
129
134
  :'pretty_format' => :'BOOLEAN'
130
135
  }
@@ -182,6 +187,10 @@ module AsposeWordsCloud
182
187
  self.compliance = attributes[:'Compliance']
183
188
  end
184
189
 
190
+ if attributes.key?(:'CompressionLevel')
191
+ self.compression_level = attributes[:'CompressionLevel']
192
+ end
193
+
185
194
  if attributes.key?(:'Password')
186
195
  self.password = attributes[:'Password']
187
196
  end
@@ -204,6 +213,8 @@ module AsposeWordsCloud
204
213
  def valid?
205
214
  dml3_d_effects_rendering_mode_validator = EnumAttributeValidator.new('String', ["Basic", "Advanced"])
206
215
  return false unless dml3_d_effects_rendering_mode_validator.valid?(@dml3_d_effects_rendering_mode)
216
+ compression_level_validator = EnumAttributeValidator.new('String', ["Normal", "Maximum", "Fast", "SuperFast"])
217
+ return false unless compression_level_validator.valid?(@compression_level)
207
218
  return true
208
219
  end
209
220
 
@@ -221,6 +232,20 @@ module AsposeWordsCloud
221
232
  end
222
233
  end
223
234
 
235
+ # Custom attribute writer method checking allowed values (enum).
236
+ # @param [Object] compression_level Object to be assigned
237
+ def compression_level=(compression_level)
238
+ validator = EnumAttributeValidator.new('String', ["Normal", "Maximum", "Fast", "SuperFast"])
239
+ if compression_level.to_i == 0
240
+ unless validator.valid?(compression_level)
241
+ raise ArgumentError, "invalid value for 'compression_level', must be one of #{validator.allowable_values}."
242
+ end
243
+ @compression_level = compression_level
244
+ else
245
+ @compression_level = validator.allowable_values[compression_level.to_i]
246
+ end
247
+ end
248
+
224
249
  # Checks equality by comparing each attribute.
225
250
  # @param [Object] Object to be compared
226
251
  def ==(other)
@@ -237,6 +262,7 @@ module AsposeWordsCloud
237
262
  dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
238
263
  update_last_printed_property == other.update_last_printed_property &&
239
264
  compliance == other.compliance &&
265
+ compression_level == other.compression_level &&
240
266
  password == other.password &&
241
267
  pretty_format == other.pretty_format
242
268
  end
@@ -250,7 +276,7 @@ module AsposeWordsCloud
250
276
  # Calculates hash code according to all attributes.
251
277
  # @return [Fixnum] Hash code
252
278
  def hash
253
- [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, password, pretty_format].hash
279
+ [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, compression_level, password, pretty_format].hash
254
280
  end
255
281
 
256
282
  # Builds the object from hash
@@ -36,7 +36,7 @@ module AsposeWordsCloud
36
36
  attr_accessor :name
37
37
  # Style to apply.
38
38
  attr_accessor :style_apply
39
- # Path to the node of IStyledDocumentElement.
39
+ # The path to the node that supports a style. Supported node types: ParagraphFormat, List, ListLevel, Table.
40
40
  attr_accessor :styled_node_path
41
41
  # Original document folder.
42
42
  attr_accessor :folder
@@ -57,7 +57,7 @@ module AsposeWordsCloud
57
57
  # Initializes a new instance.
58
58
  # @param name The document name.
59
59
  # @param style_apply Style to apply.
60
- # @param styled_node_path Path to the node of IStyledDocumentElement.
60
+ # @param styled_node_path The path to the node that supports a style. Supported node types: ParagraphFormat, List, ListLevel, Table.
61
61
  # @param folder Original document folder.
62
62
  # @param storage Original document storage.
63
63
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
@@ -0,0 +1,69 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="DeleteAllParagraphTabStopsWithoutNodePathRequest.rb">
4
+ # Copyright (c) 2019 Aspose.Words for Cloud
5
+ # </copyright>
6
+ # <summary>
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the "Software"), to deal
9
+ # in the Software without restriction, including without limitation the rights
10
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ # copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in all
15
+ # copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ # SOFTWARE.
24
+ # </summary>
25
+ # --------------------------------------------------------------------------------------------------------------------
26
+ #
27
+
28
+ module AsposeWordsCloud
29
+
30
+ #
31
+ # Request model for delete_all_paragraph_tab_stops_without_node_path operation.
32
+ #
33
+ class DeleteAllParagraphTabStopsWithoutNodePathRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # Object index.
38
+ attr_accessor :index
39
+ # Original document folder.
40
+ attr_accessor :folder
41
+ # Original document storage.
42
+ attr_accessor :storage
43
+ # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
44
+ attr_accessor :load_encoding
45
+ # Password for opening an encrypted document.
46
+ attr_accessor :password
47
+ # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
48
+ attr_accessor :dest_file_name
49
+
50
+ #
51
+ # Initializes a new instance.
52
+ # @param name The document name.
53
+ # @param index Object index.
54
+ # @param folder Original document folder.
55
+ # @param storage Original document storage.
56
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
57
+ # @param password Password for opening an encrypted document.
58
+ # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
59
+ def initialize(name, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil)
60
+ self.name = name
61
+ self.index = index
62
+ self.folder = folder
63
+ self.storage = storage
64
+ self.load_encoding = load_encoding
65
+ self.password = password
66
+ self.dest_file_name = dest_file_name
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,77 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="DeleteParagraphListFormatWithoutNodePathRequest.rb">
4
+ # Copyright (c) 2019 Aspose.Words for Cloud
5
+ # </copyright>
6
+ # <summary>
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the "Software"), to deal
9
+ # in the Software without restriction, including without limitation the rights
10
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ # copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in all
15
+ # copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ # SOFTWARE.
24
+ # </summary>
25
+ # --------------------------------------------------------------------------------------------------------------------
26
+ #
27
+
28
+ module AsposeWordsCloud
29
+
30
+ #
31
+ # Request model for delete_paragraph_list_format_without_node_path operation.
32
+ #
33
+ class DeleteParagraphListFormatWithoutNodePathRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # Object index.
38
+ attr_accessor :index
39
+ # Original document folder.
40
+ attr_accessor :folder
41
+ # Original document storage.
42
+ attr_accessor :storage
43
+ # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
44
+ attr_accessor :load_encoding
45
+ # Password for opening an encrypted document.
46
+ attr_accessor :password
47
+ # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
48
+ attr_accessor :dest_file_name
49
+ # Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
50
+ attr_accessor :revision_author
51
+ # The date and time to use for revisions.
52
+ attr_accessor :revision_date_time
53
+
54
+ #
55
+ # Initializes a new instance.
56
+ # @param name The document name.
57
+ # @param index Object index.
58
+ # @param folder Original document folder.
59
+ # @param storage Original document storage.
60
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
61
+ # @param password Password for opening an encrypted document.
62
+ # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
63
+ # @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
64
+ # @param revision_date_time The date and time to use for revisions.
65
+ def initialize(name, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil)
66
+ self.name = name
67
+ self.index = index
68
+ self.folder = folder
69
+ self.storage = storage
70
+ self.load_encoding = load_encoding
71
+ self.password = password
72
+ self.dest_file_name = dest_file_name
73
+ self.revision_author = revision_author
74
+ self.revision_date_time = revision_date_time
75
+ end
76
+ end
77
+ end
@@ -34,10 +34,10 @@ module AsposeWordsCloud
34
34
 
35
35
  # The document name.
36
36
  attr_accessor :name
37
- # Path to the node which contains paragraph.
38
- attr_accessor :node_path
39
37
  # a tab stop position to remove.
40
38
  attr_accessor :position
39
+ # Path to the node which contains paragraph.
40
+ attr_accessor :node_path
41
41
  # Object index.
42
42
  attr_accessor :index
43
43
  # Original document folder.
@@ -54,18 +54,18 @@ module AsposeWordsCloud
54
54
  #
55
55
  # Initializes a new instance.
56
56
  # @param name The document name.
57
- # @param node_path Path to the node which contains paragraph.
58
57
  # @param position a tab stop position to remove.
58
+ # @param node_path Path to the node which contains paragraph.
59
59
  # @param index Object index.
60
60
  # @param folder Original document folder.
61
61
  # @param storage Original document storage.
62
62
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
63
63
  # @param password Password for opening an encrypted document.
64
64
  # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
65
- def initialize(name, node_path, position, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil)
65
+ def initialize(name, position, node_path, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil)
66
66
  self.name = name
67
- self.node_path = node_path
68
67
  self.position = position
68
+ self.node_path = node_path
69
69
  self.index = index
70
70
  self.folder = folder
71
71
  self.storage = storage
@@ -0,0 +1,73 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="DeleteParagraphTabStopWithoutNodePathRequest.rb">
4
+ # Copyright (c) 2019 Aspose.Words for Cloud
5
+ # </copyright>
6
+ # <summary>
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the "Software"), to deal
9
+ # in the Software without restriction, including without limitation the rights
10
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ # copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in all
15
+ # copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ # SOFTWARE.
24
+ # </summary>
25
+ # --------------------------------------------------------------------------------------------------------------------
26
+ #
27
+
28
+ module AsposeWordsCloud
29
+
30
+ #
31
+ # Request model for delete_paragraph_tab_stop_without_node_path operation.
32
+ #
33
+ class DeleteParagraphTabStopWithoutNodePathRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # a tab stop position to remove.
38
+ attr_accessor :position
39
+ # Object index.
40
+ attr_accessor :index
41
+ # Original document folder.
42
+ attr_accessor :folder
43
+ # Original document storage.
44
+ attr_accessor :storage
45
+ # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
46
+ attr_accessor :load_encoding
47
+ # Password for opening an encrypted document.
48
+ attr_accessor :password
49
+ # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
50
+ attr_accessor :dest_file_name
51
+
52
+ #
53
+ # Initializes a new instance.
54
+ # @param name The document name.
55
+ # @param position a tab stop position to remove.
56
+ # @param index Object index.
57
+ # @param folder Original document folder.
58
+ # @param storage Original document storage.
59
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
60
+ # @param password Password for opening an encrypted document.
61
+ # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
62
+ def initialize(name, position, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil)
63
+ self.name = name
64
+ self.position = position
65
+ self.index = index
66
+ self.folder = folder
67
+ self.storage = storage
68
+ self.load_encoding = load_encoding
69
+ self.password = password
70
+ self.dest_file_name = dest_file_name
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,65 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="GetParagraphTabStopsWithoutNodePathRequest.rb">
4
+ # Copyright (c) 2019 Aspose.Words for Cloud
5
+ # </copyright>
6
+ # <summary>
7
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ # of this software and associated documentation files (the "Software"), to deal
9
+ # in the Software without restriction, including without limitation the rights
10
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ # copies of the Software, and to permit persons to whom the Software is
12
+ # furnished to do so, subject to the following conditions:
13
+ #
14
+ # The above copyright notice and this permission notice shall be included in all
15
+ # copies or substantial portions of the Software.
16
+ #
17
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ # SOFTWARE.
24
+ # </summary>
25
+ # --------------------------------------------------------------------------------------------------------------------
26
+ #
27
+
28
+ module AsposeWordsCloud
29
+
30
+ #
31
+ # Request model for get_paragraph_tab_stops_without_node_path operation.
32
+ #
33
+ class GetParagraphTabStopsWithoutNodePathRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # Object index.
38
+ attr_accessor :index
39
+ # Original document folder.
40
+ attr_accessor :folder
41
+ # Original document storage.
42
+ attr_accessor :storage
43
+ # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
44
+ attr_accessor :load_encoding
45
+ # Password for opening an encrypted document.
46
+ attr_accessor :password
47
+
48
+ #
49
+ # Initializes a new instance.
50
+ # @param name The document name.
51
+ # @param index Object index.
52
+ # @param folder Original document folder.
53
+ # @param storage Original document storage.
54
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
55
+ # @param password Password for opening an encrypted document.
56
+ def initialize(name, index, folder = nil, storage = nil, load_encoding = nil, password = nil)
57
+ self.name = name
58
+ self.index = index
59
+ self.folder = folder
60
+ self.storage = storage
61
+ self.load_encoding = load_encoding
62
+ self.password = password
63
+ end
64
+ end
65
+ end
@@ -34,7 +34,7 @@ module AsposeWordsCloud
34
34
 
35
35
  # The document name.
36
36
  attr_accessor :name
37
- # Path to the node of IStyledDocumentElement.
37
+ # The path to the node that supports a style. Supported node types: ParagraphFormat, List, ListLevel, Table.
38
38
  attr_accessor :styled_node_path
39
39
  # Original document folder.
40
40
  attr_accessor :folder
@@ -48,7 +48,7 @@ module AsposeWordsCloud
48
48
  #
49
49
  # Initializes a new instance.
50
50
  # @param name The document name.
51
- # @param styled_node_path Path to the node of IStyledDocumentElement.
51
+ # @param styled_node_path The path to the node that supports a style. Supported node types: ParagraphFormat, List, ListLevel, Table.
52
52
  # @param folder Original document folder.
53
53
  # @param storage Original document storage.
54
54
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
@@ -34,7 +34,7 @@ module AsposeWordsCloud
34
34
 
35
35
  # The document name.
36
36
  attr_accessor :name
37
- # Drawing object parameters
37
+ # Drawing object parameters.
38
38
  attr_accessor :drawing_object
39
39
  # File with image
40
40
  attr_accessor :image_file
@@ -58,7 +58,7 @@ module AsposeWordsCloud
58
58
  #
59
59
  # Initializes a new instance.
60
60
  # @param name The document name.
61
- # @param drawing_object Drawing object parameters
61
+ # @param drawing_object Drawing object parameters.
62
62
  # @param image_file File with image
63
63
  # @param node_path Path to the node, which contains collection of drawing objects.
64
64
  # @param folder Original document folder.