aspose_words_cloud 21.1.0 → 21.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud.rb +2 -0
- data/lib/aspose_words_cloud/api/words_api.rb +141 -0
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/doc_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/epub_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/image_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/odt_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/png_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/ps_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +68 -0
- data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +78 -0
- data/lib/aspose_words_cloud/models/requests/delete_file_request.rb +2 -2
- data/lib/aspose_words_cloud/models/requests/delete_folder_request.rb +2 -2
- data/lib/aspose_words_cloud/models/requests/get_files_list_request.rb +2 -2
- data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/text_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/txt_save_options_base_data.rb +11 -1
- data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +11 -1
- data/lib/aspose_words_cloud/version.rb +1 -1
- metadata +4 -2
@@ -29,6 +29,9 @@ module AsposeWordsCloud
|
|
29
29
|
|
30
30
|
# Container class for pdf save options.
|
31
31
|
class PdfSaveOptionsData
|
32
|
+
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
33
|
+
attr_accessor :allow_embedding_post_script_fonts
|
34
|
+
|
32
35
|
# Gets or sets the value determining how 3D effects are rendered.
|
33
36
|
attr_accessor :dml3_d_effects_rendering_mode
|
34
37
|
|
@@ -189,6 +192,7 @@ module AsposeWordsCloud
|
|
189
192
|
# Attribute mapping from ruby-style variable name to JSON key.
|
190
193
|
def self.attribute_map
|
191
194
|
{
|
195
|
+
:'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
|
192
196
|
:'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
|
193
197
|
:'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
|
194
198
|
:'dml_rendering_mode' => :'DmlRenderingMode',
|
@@ -237,6 +241,7 @@ module AsposeWordsCloud
|
|
237
241
|
# Attribute type mapping.
|
238
242
|
def self.swagger_types
|
239
243
|
{
|
244
|
+
:'allow_embedding_post_script_fonts' => :'BOOLEAN',
|
240
245
|
:'dml3_d_effects_rendering_mode' => :'String',
|
241
246
|
:'dml_effects_rendering_mode' => :'String',
|
242
247
|
:'dml_rendering_mode' => :'String',
|
@@ -290,6 +295,10 @@ module AsposeWordsCloud
|
|
290
295
|
# convert string to symbol for hash key
|
291
296
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
292
297
|
|
298
|
+
if attributes.key?(:'AllowEmbeddingPostScriptFonts')
|
299
|
+
self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
|
300
|
+
end
|
301
|
+
|
293
302
|
if attributes.key?(:'Dml3DEffectsRenderingMode')
|
294
303
|
self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
|
295
304
|
end
|
@@ -511,6 +520,7 @@ module AsposeWordsCloud
|
|
511
520
|
def ==(other)
|
512
521
|
return true if self.equal?(other)
|
513
522
|
self.class == other.class &&
|
523
|
+
allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
|
514
524
|
dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
|
515
525
|
dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
|
516
526
|
dml_rendering_mode == other.dml_rendering_mode &&
|
@@ -564,7 +574,7 @@ module AsposeWordsCloud
|
|
564
574
|
# Calculates hash code according to all attributes.
|
565
575
|
# @return [Fixnum] Hash code
|
566
576
|
def hash
|
567
|
-
[dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, 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
|
577
|
+
[allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, 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
|
568
578
|
end
|
569
579
|
|
570
580
|
# Builds the object from hash
|
@@ -29,6 +29,9 @@ module AsposeWordsCloud
|
|
29
29
|
|
30
30
|
# Container class for png save options.
|
31
31
|
class PngSaveOptionsData
|
32
|
+
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
33
|
+
attr_accessor :allow_embedding_post_script_fonts
|
34
|
+
|
32
35
|
# Gets or sets the value determining how 3D effects are rendered.
|
33
36
|
attr_accessor :dml3_d_effects_rendering_mode
|
34
37
|
|
@@ -155,6 +158,7 @@ module AsposeWordsCloud
|
|
155
158
|
# Attribute mapping from ruby-style variable name to JSON key.
|
156
159
|
def self.attribute_map
|
157
160
|
{
|
161
|
+
:'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
|
158
162
|
:'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
|
159
163
|
:'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
|
160
164
|
:'dml_rendering_mode' => :'DmlRenderingMode',
|
@@ -191,6 +195,7 @@ module AsposeWordsCloud
|
|
191
195
|
# Attribute type mapping.
|
192
196
|
def self.swagger_types
|
193
197
|
{
|
198
|
+
:'allow_embedding_post_script_fonts' => :'BOOLEAN',
|
194
199
|
:'dml3_d_effects_rendering_mode' => :'String',
|
195
200
|
:'dml_effects_rendering_mode' => :'String',
|
196
201
|
:'dml_rendering_mode' => :'String',
|
@@ -232,6 +237,10 @@ module AsposeWordsCloud
|
|
232
237
|
# convert string to symbol for hash key
|
233
238
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
234
239
|
|
240
|
+
if attributes.key?(:'AllowEmbeddingPostScriptFonts')
|
241
|
+
self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
|
242
|
+
end
|
243
|
+
|
235
244
|
if attributes.key?(:'Dml3DEffectsRenderingMode')
|
236
245
|
self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
|
237
246
|
end
|
@@ -389,6 +398,7 @@ module AsposeWordsCloud
|
|
389
398
|
def ==(other)
|
390
399
|
return true if self.equal?(other)
|
391
400
|
self.class == other.class &&
|
401
|
+
allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
|
392
402
|
dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
|
393
403
|
dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
|
394
404
|
dml_rendering_mode == other.dml_rendering_mode &&
|
@@ -430,7 +440,7 @@ module AsposeWordsCloud
|
|
430
440
|
# Calculates hash code according to all attributes.
|
431
441
|
# @return [Fixnum] Hash code
|
432
442
|
def hash
|
433
|
-
[dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
|
443
|
+
[allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
|
434
444
|
end
|
435
445
|
|
436
446
|
# Builds the object from hash
|
@@ -29,6 +29,9 @@ module AsposeWordsCloud
|
|
29
29
|
|
30
30
|
# Container class for ps save options.
|
31
31
|
class PsSaveOptionsData
|
32
|
+
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
33
|
+
attr_accessor :allow_embedding_post_script_fonts
|
34
|
+
|
32
35
|
# Gets or sets the value determining how 3D effects are rendered.
|
33
36
|
attr_accessor :dml3_d_effects_rendering_mode
|
34
37
|
|
@@ -113,6 +116,7 @@ module AsposeWordsCloud
|
|
113
116
|
# Attribute mapping from ruby-style variable name to JSON key.
|
114
117
|
def self.attribute_map
|
115
118
|
{
|
119
|
+
:'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
|
116
120
|
:'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
|
117
121
|
:'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
|
118
122
|
:'dml_rendering_mode' => :'DmlRenderingMode',
|
@@ -137,6 +141,7 @@ module AsposeWordsCloud
|
|
137
141
|
# Attribute type mapping.
|
138
142
|
def self.swagger_types
|
139
143
|
{
|
144
|
+
:'allow_embedding_post_script_fonts' => :'BOOLEAN',
|
140
145
|
:'dml3_d_effects_rendering_mode' => :'String',
|
141
146
|
:'dml_effects_rendering_mode' => :'String',
|
142
147
|
:'dml_rendering_mode' => :'String',
|
@@ -166,6 +171,10 @@ module AsposeWordsCloud
|
|
166
171
|
# convert string to symbol for hash key
|
167
172
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
168
173
|
|
174
|
+
if attributes.key?(:'AllowEmbeddingPostScriptFonts')
|
175
|
+
self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
|
176
|
+
end
|
177
|
+
|
169
178
|
if attributes.key?(:'Dml3DEffectsRenderingMode')
|
170
179
|
self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
|
171
180
|
end
|
@@ -275,6 +284,7 @@ module AsposeWordsCloud
|
|
275
284
|
def ==(other)
|
276
285
|
return true if self.equal?(other)
|
277
286
|
self.class == other.class &&
|
287
|
+
allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
|
278
288
|
dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
|
279
289
|
dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
|
280
290
|
dml_rendering_mode == other.dml_rendering_mode &&
|
@@ -304,7 +314,7 @@ module AsposeWordsCloud
|
|
304
314
|
# Calculates hash code according to all attributes.
|
305
315
|
# @return [Fixnum] Hash code
|
306
316
|
def hash
|
307
|
-
[dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, use_book_fold_printing_settings].hash
|
317
|
+
[allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, use_book_fold_printing_settings].hash
|
308
318
|
end
|
309
319
|
|
310
320
|
# Builds the object from hash
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# ------------------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="delete_comments_online_request.rb">
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
|
+
# </copyright>
|
5
|
+
# <summary>
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in all
|
14
|
+
# copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
23
|
+
# </summary>
|
24
|
+
# ------------------------------------------------------------------------------------
|
25
|
+
|
26
|
+
module AsposeWordsCloud
|
27
|
+
|
28
|
+
#
|
29
|
+
# Request model for delete_comments_online operation.
|
30
|
+
#
|
31
|
+
class DeleteCommentsOnlineRequest
|
32
|
+
# The document.
|
33
|
+
attr_accessor :document
|
34
|
+
|
35
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
36
|
+
attr_accessor :load_encoding
|
37
|
+
|
38
|
+
# Password for opening an encrypted document.
|
39
|
+
attr_accessor :password
|
40
|
+
|
41
|
+
# 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.
|
42
|
+
attr_accessor :dest_file_name
|
43
|
+
|
44
|
+
# 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.
|
45
|
+
attr_accessor :revision_author
|
46
|
+
|
47
|
+
# The date and time to use for revisions.
|
48
|
+
attr_accessor :revision_date_time
|
49
|
+
|
50
|
+
#
|
51
|
+
# Initializes a new instance.
|
52
|
+
# @param document The document.
|
53
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
54
|
+
# @param password Password for opening an encrypted document.
|
55
|
+
# @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.
|
56
|
+
# @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.
|
57
|
+
# @param revision_date_time The date and time to use for revisions.
|
58
|
+
|
59
|
+
def initialize(document, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil)
|
60
|
+
self.document = document
|
61
|
+
self.load_encoding = load_encoding
|
62
|
+
self.password = password
|
63
|
+
self.dest_file_name = dest_file_name
|
64
|
+
self.revision_author = revision_author
|
65
|
+
self.revision_date_time = revision_date_time
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# ------------------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="delete_comments_request.rb">
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
|
+
# </copyright>
|
5
|
+
# <summary>
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in all
|
14
|
+
# copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
23
|
+
# </summary>
|
24
|
+
# ------------------------------------------------------------------------------------
|
25
|
+
|
26
|
+
module AsposeWordsCloud
|
27
|
+
|
28
|
+
#
|
29
|
+
# Request model for delete_comments operation.
|
30
|
+
#
|
31
|
+
class DeleteCommentsRequest
|
32
|
+
# The filename of the input document.
|
33
|
+
attr_accessor :name
|
34
|
+
|
35
|
+
# Original document folder.
|
36
|
+
attr_accessor :folder
|
37
|
+
|
38
|
+
# Original document storage.
|
39
|
+
attr_accessor :storage
|
40
|
+
|
41
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
42
|
+
attr_accessor :load_encoding
|
43
|
+
|
44
|
+
# Password for opening an encrypted document.
|
45
|
+
attr_accessor :password
|
46
|
+
|
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
|
+
# 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.
|
51
|
+
attr_accessor :revision_author
|
52
|
+
|
53
|
+
# The date and time to use for revisions.
|
54
|
+
attr_accessor :revision_date_time
|
55
|
+
|
56
|
+
#
|
57
|
+
# Initializes a new instance.
|
58
|
+
# @param name The filename of the input document.
|
59
|
+
# @param folder Original document folder.
|
60
|
+
# @param storage Original document storage.
|
61
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
62
|
+
# @param password Password for opening an encrypted document.
|
63
|
+
# @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.
|
64
|
+
# @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.
|
65
|
+
# @param revision_date_time The date and time to use for revisions.
|
66
|
+
|
67
|
+
def initialize(name, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil)
|
68
|
+
self.name = name
|
69
|
+
self.folder = folder
|
70
|
+
self.storage = storage
|
71
|
+
self.load_encoding = load_encoding
|
72
|
+
self.password = password
|
73
|
+
self.dest_file_name = dest_file_name
|
74
|
+
self.revision_author = revision_author
|
75
|
+
self.revision_date_time = revision_date_time
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
@@ -29,7 +29,7 @@ module AsposeWordsCloud
|
|
29
29
|
# Request model for delete_file operation.
|
30
30
|
#
|
31
31
|
class DeleteFileRequest
|
32
|
-
# Path of the file including file name and extension e.g. /
|
32
|
+
# Path of the file including the file name and extension e.g. /folder1/file.ext.
|
33
33
|
attr_accessor :path
|
34
34
|
|
35
35
|
# Storage name.
|
@@ -40,7 +40,7 @@ module AsposeWordsCloud
|
|
40
40
|
|
41
41
|
#
|
42
42
|
# Initializes a new instance.
|
43
|
-
# @param path Path of the file including file name and extension e.g. /
|
43
|
+
# @param path Path of the file including the file name and extension e.g. /folder1/file.ext.
|
44
44
|
# @param storage_name Storage name.
|
45
45
|
# @param version_id File version ID to delete.
|
46
46
|
|
@@ -29,7 +29,7 @@ module AsposeWordsCloud
|
|
29
29
|
# Request model for delete_folder operation.
|
30
30
|
#
|
31
31
|
class DeleteFolderRequest
|
32
|
-
# Folder path e.g. /
|
32
|
+
# Folder path e.g. '/folder'.
|
33
33
|
attr_accessor :path
|
34
34
|
|
35
35
|
# Storage name.
|
@@ -40,7 +40,7 @@ module AsposeWordsCloud
|
|
40
40
|
|
41
41
|
#
|
42
42
|
# Initializes a new instance.
|
43
|
-
# @param path Folder path e.g. /
|
43
|
+
# @param path Folder path e.g. '/folder'.
|
44
44
|
# @param storage_name Storage name.
|
45
45
|
# @param recursive Enable to delete folders, subfolders and files.
|
46
46
|
|
@@ -29,7 +29,7 @@ module AsposeWordsCloud
|
|
29
29
|
# Request model for get_files_list operation.
|
30
30
|
#
|
31
31
|
class GetFilesListRequest
|
32
|
-
# Folder path e.g. /
|
32
|
+
# Folder path e.g. '/folder'.
|
33
33
|
attr_accessor :path
|
34
34
|
|
35
35
|
# Storage name.
|
@@ -37,7 +37,7 @@ module AsposeWordsCloud
|
|
37
37
|
|
38
38
|
#
|
39
39
|
# Initializes a new instance.
|
40
|
-
# @param path Folder path e.g. /
|
40
|
+
# @param path Folder path e.g. '/folder'.
|
41
41
|
# @param storage_name Storage name.
|
42
42
|
|
43
43
|
def initialize(path, storage_name = nil)
|
@@ -29,6 +29,9 @@ module AsposeWordsCloud
|
|
29
29
|
|
30
30
|
# Container class for rtf save options.
|
31
31
|
class RtfSaveOptionsData
|
32
|
+
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
33
|
+
attr_accessor :allow_embedding_post_script_fonts
|
34
|
+
|
32
35
|
# Gets or sets the value determining how 3D effects are rendered.
|
33
36
|
attr_accessor :dml3_d_effects_rendering_mode
|
34
37
|
|
@@ -98,6 +101,7 @@ module AsposeWordsCloud
|
|
98
101
|
# Attribute mapping from ruby-style variable name to JSON key.
|
99
102
|
def self.attribute_map
|
100
103
|
{
|
104
|
+
:'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
|
101
105
|
:'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
|
102
106
|
:'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
|
103
107
|
:'dml_rendering_mode' => :'DmlRenderingMode',
|
@@ -118,6 +122,7 @@ module AsposeWordsCloud
|
|
118
122
|
# Attribute type mapping.
|
119
123
|
def self.swagger_types
|
120
124
|
{
|
125
|
+
:'allow_embedding_post_script_fonts' => :'BOOLEAN',
|
121
126
|
:'dml3_d_effects_rendering_mode' => :'String',
|
122
127
|
:'dml_effects_rendering_mode' => :'String',
|
123
128
|
:'dml_rendering_mode' => :'String',
|
@@ -143,6 +148,10 @@ module AsposeWordsCloud
|
|
143
148
|
# convert string to symbol for hash key
|
144
149
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
145
150
|
|
151
|
+
if attributes.key?(:'AllowEmbeddingPostScriptFonts')
|
152
|
+
self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
|
153
|
+
end
|
154
|
+
|
146
155
|
if attributes.key?(:'Dml3DEffectsRenderingMode')
|
147
156
|
self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
|
148
157
|
end
|
@@ -236,6 +245,7 @@ module AsposeWordsCloud
|
|
236
245
|
def ==(other)
|
237
246
|
return true if self.equal?(other)
|
238
247
|
self.class == other.class &&
|
248
|
+
allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
|
239
249
|
dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
|
240
250
|
dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
|
241
251
|
dml_rendering_mode == other.dml_rendering_mode &&
|
@@ -261,7 +271,7 @@ module AsposeWordsCloud
|
|
261
271
|
# Calculates hash code according to all attributes.
|
262
272
|
# @return [Fixnum] Hash code
|
263
273
|
def hash
|
264
|
-
[dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, export_compact_size, export_images_for_old_readers, pretty_format, save_images_as_wmf].hash
|
274
|
+
[allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, export_compact_size, export_images_for_old_readers, pretty_format, save_images_as_wmf].hash
|
265
275
|
end
|
266
276
|
|
267
277
|
# Builds the object from hash
|
@@ -29,6 +29,9 @@ module AsposeWordsCloud
|
|
29
29
|
|
30
30
|
# base container class for save options data.
|
31
31
|
class SaveOptionsData
|
32
|
+
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
33
|
+
attr_accessor :allow_embedding_post_script_fonts
|
34
|
+
|
32
35
|
# Gets or sets the value determining how 3D effects are rendered.
|
33
36
|
attr_accessor :dml3_d_effects_rendering_mode
|
34
37
|
|
@@ -86,6 +89,7 @@ module AsposeWordsCloud
|
|
86
89
|
# Attribute mapping from ruby-style variable name to JSON key.
|
87
90
|
def self.attribute_map
|
88
91
|
{
|
92
|
+
:'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
|
89
93
|
:'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
|
90
94
|
:'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
|
91
95
|
:'dml_rendering_mode' => :'DmlRenderingMode',
|
@@ -102,6 +106,7 @@ module AsposeWordsCloud
|
|
102
106
|
# Attribute type mapping.
|
103
107
|
def self.swagger_types
|
104
108
|
{
|
109
|
+
:'allow_embedding_post_script_fonts' => :'BOOLEAN',
|
105
110
|
:'dml3_d_effects_rendering_mode' => :'String',
|
106
111
|
:'dml_effects_rendering_mode' => :'String',
|
107
112
|
:'dml_rendering_mode' => :'String',
|
@@ -123,6 +128,10 @@ module AsposeWordsCloud
|
|
123
128
|
# convert string to symbol for hash key
|
124
129
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
125
130
|
|
131
|
+
if attributes.key?(:'AllowEmbeddingPostScriptFonts')
|
132
|
+
self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
|
133
|
+
end
|
134
|
+
|
126
135
|
if attributes.key?(:'Dml3DEffectsRenderingMode')
|
127
136
|
self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
|
128
137
|
end
|
@@ -200,6 +209,7 @@ module AsposeWordsCloud
|
|
200
209
|
def ==(other)
|
201
210
|
return true if self.equal?(other)
|
202
211
|
self.class == other.class &&
|
212
|
+
allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
|
203
213
|
dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
|
204
214
|
dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
|
205
215
|
dml_rendering_mode == other.dml_rendering_mode &&
|
@@ -221,7 +231,7 @@ module AsposeWordsCloud
|
|
221
231
|
# Calculates hash code according to all attributes.
|
222
232
|
# @return [Fixnum] Hash code
|
223
233
|
def hash
|
224
|
-
[dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output].hash
|
234
|
+
[allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output].hash
|
225
235
|
end
|
226
236
|
|
227
237
|
# Builds the object from hash
|