groupdocs_viewer_cloud 21.12 → 23.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/groupdocs_viewer_cloud/api/file_api.rb +6 -6
- data/lib/groupdocs_viewer_cloud/api/folder_api.rb +6 -6
- data/lib/groupdocs_viewer_cloud/api/info_api.rb +2 -2
- data/lib/groupdocs_viewer_cloud/api/license_api.rb +1 -1
- data/lib/groupdocs_viewer_cloud/api/storage_api.rb +5 -5
- data/lib/groupdocs_viewer_cloud/api/view_api.rb +3 -3
- data/lib/groupdocs_viewer_cloud/api_client.rb +1 -1
- data/lib/groupdocs_viewer_cloud/api_error.rb +1 -1
- data/lib/groupdocs_viewer_cloud/configuration.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/archive_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/archive_view_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/attachment_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/attachment_view.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/cad_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/cad_view_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/character.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/consumption_result.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/delete_view_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/disc_usage.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/email_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/error.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/error_details.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/field_label.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/file_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/file_version.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/file_versions.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/files_list.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/files_upload_result.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/format.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/formats_result.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/html_options.rb +22 -2
- data/lib/groupdocs_viewer_cloud/models/html_resource.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/image_options.rb +22 -2
- data/lib/groupdocs_viewer_cloud/models/info_result.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/layer.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/layout.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/line.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/mail_storage_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/object_exist.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/outlook_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/outlook_view_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/page_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/page_rotation.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/page_view.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/pdf_document_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/pdf_options.rb +22 -2
- data/lib/groupdocs_viewer_cloud/models/pdf_view_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/project_management_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/project_management_view_info.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/render_options.rb +25 -5
- data/lib/groupdocs_viewer_cloud/models/resource.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/spreadsheet_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/storage_exist.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/storage_file.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/text_element.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/text_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/tile.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/view_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/view_result.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/visio_rendering_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/watermark.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/web_document_options.rb +316 -0
- data/lib/groupdocs_viewer_cloud/models/word.rb +1 -1
- data/lib/groupdocs_viewer_cloud/models/word_processing_options.rb +1 -1
- data/lib/groupdocs_viewer_cloud/version.rb +2 -2
- data/lib/groupdocs_viewer_cloud.rb +2 -1
- metadata +7 -6
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="image_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -49,6 +49,9 @@ module GroupDocsViewerCloud
|
|
49
49
|
# Default encoding for the plain text files such as .csv, .txt and .eml files when encoding is not specified in header
|
50
50
|
attr_accessor :default_encoding
|
51
51
|
|
52
|
+
# This option enables TXT, TSV, and CSV files encoding detection. In case the encoding can't be detected the DefaultEncoding is used.
|
53
|
+
attr_accessor :detect_encoding
|
54
|
+
|
52
55
|
# When enabled comments will be rendered to the output
|
53
56
|
attr_accessor :render_comments
|
54
57
|
|
@@ -91,6 +94,9 @@ module GroupDocsViewerCloud
|
|
91
94
|
# Rendering options for Visio source file formats
|
92
95
|
attr_accessor :visio_rendering_options
|
93
96
|
|
97
|
+
# This rendering options enables you to customize the appearance of the output HTML/PDF/PNG/JPEG when rendering Web documents.
|
98
|
+
attr_accessor :web_document_options
|
99
|
+
|
94
100
|
# Allows to specify output image width. Specify image width in case when you want to change output image dimensions. When Width has value and Height value is 0 then Height value will be calculated to save image proportions.
|
95
101
|
attr_accessor :width
|
96
102
|
|
@@ -118,6 +124,7 @@ module GroupDocsViewerCloud
|
|
118
124
|
:'page_rotations' => :'PageRotations',
|
119
125
|
:'default_font_name' => :'DefaultFontName',
|
120
126
|
:'default_encoding' => :'DefaultEncoding',
|
127
|
+
:'detect_encoding' => :'DetectEncoding',
|
121
128
|
:'render_comments' => :'RenderComments',
|
122
129
|
:'render_notes' => :'RenderNotes',
|
123
130
|
:'render_hidden_pages' => :'RenderHiddenPages',
|
@@ -132,6 +139,7 @@ module GroupDocsViewerCloud
|
|
132
139
|
:'text_options' => :'TextOptions',
|
133
140
|
:'mail_storage_options' => :'MailStorageOptions',
|
134
141
|
:'visio_rendering_options' => :'VisioRenderingOptions',
|
142
|
+
:'web_document_options' => :'WebDocumentOptions',
|
135
143
|
:'width' => :'Width',
|
136
144
|
:'height' => :'Height',
|
137
145
|
:'extract_text' => :'ExtractText',
|
@@ -150,6 +158,7 @@ module GroupDocsViewerCloud
|
|
150
158
|
:'page_rotations' => :'Array<PageRotation>',
|
151
159
|
:'default_font_name' => :'String',
|
152
160
|
:'default_encoding' => :'String',
|
161
|
+
:'detect_encoding' => :'BOOLEAN',
|
153
162
|
:'render_comments' => :'BOOLEAN',
|
154
163
|
:'render_notes' => :'BOOLEAN',
|
155
164
|
:'render_hidden_pages' => :'BOOLEAN',
|
@@ -164,6 +173,7 @@ module GroupDocsViewerCloud
|
|
164
173
|
:'text_options' => :'TextOptions',
|
165
174
|
:'mail_storage_options' => :'MailStorageOptions',
|
166
175
|
:'visio_rendering_options' => :'VisioRenderingOptions',
|
176
|
+
:'web_document_options' => :'WebDocumentOptions',
|
167
177
|
:'width' => :'Integer',
|
168
178
|
:'height' => :'Integer',
|
169
179
|
:'extract_text' => :'BOOLEAN',
|
@@ -209,6 +219,10 @@ module GroupDocsViewerCloud
|
|
209
219
|
self.default_encoding = attributes[:'DefaultEncoding']
|
210
220
|
end
|
211
221
|
|
222
|
+
if attributes.key?(:'DetectEncoding')
|
223
|
+
self.detect_encoding = attributes[:'DetectEncoding']
|
224
|
+
end
|
225
|
+
|
212
226
|
if attributes.key?(:'RenderComments')
|
213
227
|
self.render_comments = attributes[:'RenderComments']
|
214
228
|
end
|
@@ -265,6 +279,10 @@ module GroupDocsViewerCloud
|
|
265
279
|
self.visio_rendering_options = attributes[:'VisioRenderingOptions']
|
266
280
|
end
|
267
281
|
|
282
|
+
if attributes.key?(:'WebDocumentOptions')
|
283
|
+
self.web_document_options = attributes[:'WebDocumentOptions']
|
284
|
+
end
|
285
|
+
|
268
286
|
if attributes.key?(:'Width')
|
269
287
|
self.width = attributes[:'Width']
|
270
288
|
end
|
@@ -370,6 +388,7 @@ module GroupDocsViewerCloud
|
|
370
388
|
page_rotations == other.page_rotations &&
|
371
389
|
default_font_name == other.default_font_name &&
|
372
390
|
default_encoding == other.default_encoding &&
|
391
|
+
detect_encoding == other.detect_encoding &&
|
373
392
|
render_comments == other.render_comments &&
|
374
393
|
render_notes == other.render_notes &&
|
375
394
|
render_hidden_pages == other.render_hidden_pages &&
|
@@ -384,6 +403,7 @@ module GroupDocsViewerCloud
|
|
384
403
|
text_options == other.text_options &&
|
385
404
|
mail_storage_options == other.mail_storage_options &&
|
386
405
|
visio_rendering_options == other.visio_rendering_options &&
|
406
|
+
web_document_options == other.web_document_options &&
|
387
407
|
width == other.width &&
|
388
408
|
height == other.height &&
|
389
409
|
extract_text == other.extract_text &&
|
@@ -401,7 +421,7 @@ module GroupDocsViewerCloud
|
|
401
421
|
# Calculates hash code according to all attributes.
|
402
422
|
# @return [Fixnum] Hash code
|
403
423
|
def hash
|
404
|
-
[start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, text_options, mail_storage_options, visio_rendering_options, width, height, extract_text, jpeg_quality, max_width, max_height].hash
|
424
|
+
[start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, detect_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, text_options, mail_storage_options, visio_rendering_options, web_document_options, width, height, extract_text, jpeg_quality, max_width, max_height].hash
|
405
425
|
end
|
406
426
|
|
407
427
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="info_result.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="layer.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="layout.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="line.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="mail_storage_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="object_exist.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="outlook_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="outlook_view_info.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="page_info.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="page_rotation.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="page_view.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="pdf_document_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="pdf_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -49,6 +49,9 @@ module GroupDocsViewerCloud
|
|
49
49
|
# Default encoding for the plain text files such as .csv, .txt and .eml files when encoding is not specified in header
|
50
50
|
attr_accessor :default_encoding
|
51
51
|
|
52
|
+
# This option enables TXT, TSV, and CSV files encoding detection. In case the encoding can't be detected the DefaultEncoding is used.
|
53
|
+
attr_accessor :detect_encoding
|
54
|
+
|
52
55
|
# When enabled comments will be rendered to the output
|
53
56
|
attr_accessor :render_comments
|
54
57
|
|
@@ -91,6 +94,9 @@ module GroupDocsViewerCloud
|
|
91
94
|
# Rendering options for Visio source file formats
|
92
95
|
attr_accessor :visio_rendering_options
|
93
96
|
|
97
|
+
# This rendering options enables you to customize the appearance of the output HTML/PDF/PNG/JPEG when rendering Web documents.
|
98
|
+
attr_accessor :web_document_options
|
99
|
+
|
94
100
|
# The quality of the JPG images contained by output PDF document; Valid values are between 1 and 100; Default value is 90
|
95
101
|
attr_accessor :jpg_quality
|
96
102
|
|
@@ -124,6 +130,7 @@ module GroupDocsViewerCloud
|
|
124
130
|
:'page_rotations' => :'PageRotations',
|
125
131
|
:'default_font_name' => :'DefaultFontName',
|
126
132
|
:'default_encoding' => :'DefaultEncoding',
|
133
|
+
:'detect_encoding' => :'DetectEncoding',
|
127
134
|
:'render_comments' => :'RenderComments',
|
128
135
|
:'render_notes' => :'RenderNotes',
|
129
136
|
:'render_hidden_pages' => :'RenderHiddenPages',
|
@@ -138,6 +145,7 @@ module GroupDocsViewerCloud
|
|
138
145
|
:'text_options' => :'TextOptions',
|
139
146
|
:'mail_storage_options' => :'MailStorageOptions',
|
140
147
|
:'visio_rendering_options' => :'VisioRenderingOptions',
|
148
|
+
:'web_document_options' => :'WebDocumentOptions',
|
141
149
|
:'jpg_quality' => :'JpgQuality',
|
142
150
|
:'document_open_password' => :'DocumentOpenPassword',
|
143
151
|
:'permissions_password' => :'PermissionsPassword',
|
@@ -158,6 +166,7 @@ module GroupDocsViewerCloud
|
|
158
166
|
:'page_rotations' => :'Array<PageRotation>',
|
159
167
|
:'default_font_name' => :'String',
|
160
168
|
:'default_encoding' => :'String',
|
169
|
+
:'detect_encoding' => :'BOOLEAN',
|
161
170
|
:'render_comments' => :'BOOLEAN',
|
162
171
|
:'render_notes' => :'BOOLEAN',
|
163
172
|
:'render_hidden_pages' => :'BOOLEAN',
|
@@ -172,6 +181,7 @@ module GroupDocsViewerCloud
|
|
172
181
|
:'text_options' => :'TextOptions',
|
173
182
|
:'mail_storage_options' => :'MailStorageOptions',
|
174
183
|
:'visio_rendering_options' => :'VisioRenderingOptions',
|
184
|
+
:'web_document_options' => :'WebDocumentOptions',
|
175
185
|
:'jpg_quality' => :'Integer',
|
176
186
|
:'document_open_password' => :'String',
|
177
187
|
:'permissions_password' => :'String',
|
@@ -219,6 +229,10 @@ module GroupDocsViewerCloud
|
|
219
229
|
self.default_encoding = attributes[:'DefaultEncoding']
|
220
230
|
end
|
221
231
|
|
232
|
+
if attributes.key?(:'DetectEncoding')
|
233
|
+
self.detect_encoding = attributes[:'DetectEncoding']
|
234
|
+
end
|
235
|
+
|
222
236
|
if attributes.key?(:'RenderComments')
|
223
237
|
self.render_comments = attributes[:'RenderComments']
|
224
238
|
end
|
@@ -275,6 +289,10 @@ module GroupDocsViewerCloud
|
|
275
289
|
self.visio_rendering_options = attributes[:'VisioRenderingOptions']
|
276
290
|
end
|
277
291
|
|
292
|
+
if attributes.key?(:'WebDocumentOptions')
|
293
|
+
self.web_document_options = attributes[:'WebDocumentOptions']
|
294
|
+
end
|
295
|
+
|
278
296
|
if attributes.key?(:'JpgQuality')
|
279
297
|
self.jpg_quality = attributes[:'JpgQuality']
|
280
298
|
end
|
@@ -385,6 +403,7 @@ module GroupDocsViewerCloud
|
|
385
403
|
page_rotations == other.page_rotations &&
|
386
404
|
default_font_name == other.default_font_name &&
|
387
405
|
default_encoding == other.default_encoding &&
|
406
|
+
detect_encoding == other.detect_encoding &&
|
388
407
|
render_comments == other.render_comments &&
|
389
408
|
render_notes == other.render_notes &&
|
390
409
|
render_hidden_pages == other.render_hidden_pages &&
|
@@ -399,6 +418,7 @@ module GroupDocsViewerCloud
|
|
399
418
|
text_options == other.text_options &&
|
400
419
|
mail_storage_options == other.mail_storage_options &&
|
401
420
|
visio_rendering_options == other.visio_rendering_options &&
|
421
|
+
web_document_options == other.web_document_options &&
|
402
422
|
jpg_quality == other.jpg_quality &&
|
403
423
|
document_open_password == other.document_open_password &&
|
404
424
|
permissions_password == other.permissions_password &&
|
@@ -418,7 +438,7 @@ module GroupDocsViewerCloud
|
|
418
438
|
# Calculates hash code according to all attributes.
|
419
439
|
# @return [Fixnum] Hash code
|
420
440
|
def hash
|
421
|
-
[start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, text_options, mail_storage_options, visio_rendering_options, jpg_quality, document_open_password, permissions_password, permissions, image_max_width, image_max_height, image_width, image_height].hash
|
441
|
+
[start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, detect_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, text_options, mail_storage_options, visio_rendering_options, web_document_options, jpg_quality, document_open_password, permissions_password, permissions, image_max_width, image_max_height, image_width, image_height].hash
|
422
442
|
end
|
423
443
|
|
424
444
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="pdf_view_info.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="project_management_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="project_management_view_info.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="render_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -49,6 +49,9 @@ module GroupDocsViewerCloud
|
|
49
49
|
# Default encoding for the plain text files such as .csv, .txt and .eml files when encoding is not specified in header
|
50
50
|
attr_accessor :default_encoding
|
51
51
|
|
52
|
+
# This option enables TXT, TSV, and CSV files encoding detection. In case the encoding can't be detected the DefaultEncoding is used.
|
53
|
+
attr_accessor :detect_encoding
|
54
|
+
|
52
55
|
# When enabled comments will be rendered to the output
|
53
56
|
attr_accessor :render_comments
|
54
57
|
|
@@ -91,6 +94,9 @@ module GroupDocsViewerCloud
|
|
91
94
|
# Rendering options for Visio source file formats
|
92
95
|
attr_accessor :visio_rendering_options
|
93
96
|
|
97
|
+
# This rendering options enables you to customize the appearance of the output HTML/PDF/PNG/JPEG when rendering Web documents.
|
98
|
+
attr_accessor :web_document_options
|
99
|
+
|
94
100
|
# Attribute mapping from ruby-style variable name to JSON key.
|
95
101
|
def self.attribute_map
|
96
102
|
{
|
@@ -100,6 +106,7 @@ module GroupDocsViewerCloud
|
|
100
106
|
:'page_rotations' => :'PageRotations',
|
101
107
|
:'default_font_name' => :'DefaultFontName',
|
102
108
|
:'default_encoding' => :'DefaultEncoding',
|
109
|
+
:'detect_encoding' => :'DetectEncoding',
|
103
110
|
:'render_comments' => :'RenderComments',
|
104
111
|
:'render_notes' => :'RenderNotes',
|
105
112
|
:'render_hidden_pages' => :'RenderHiddenPages',
|
@@ -113,7 +120,8 @@ module GroupDocsViewerCloud
|
|
113
120
|
:'archive_options' => :'ArchiveOptions',
|
114
121
|
:'text_options' => :'TextOptions',
|
115
122
|
:'mail_storage_options' => :'MailStorageOptions',
|
116
|
-
:'visio_rendering_options' => :'VisioRenderingOptions'
|
123
|
+
:'visio_rendering_options' => :'VisioRenderingOptions',
|
124
|
+
:'web_document_options' => :'WebDocumentOptions'
|
117
125
|
}
|
118
126
|
end
|
119
127
|
|
@@ -126,6 +134,7 @@ module GroupDocsViewerCloud
|
|
126
134
|
:'page_rotations' => :'Array<PageRotation>',
|
127
135
|
:'default_font_name' => :'String',
|
128
136
|
:'default_encoding' => :'String',
|
137
|
+
:'detect_encoding' => :'BOOLEAN',
|
129
138
|
:'render_comments' => :'BOOLEAN',
|
130
139
|
:'render_notes' => :'BOOLEAN',
|
131
140
|
:'render_hidden_pages' => :'BOOLEAN',
|
@@ -139,7 +148,8 @@ module GroupDocsViewerCloud
|
|
139
148
|
:'archive_options' => :'ArchiveOptions',
|
140
149
|
:'text_options' => :'TextOptions',
|
141
150
|
:'mail_storage_options' => :'MailStorageOptions',
|
142
|
-
:'visio_rendering_options' => :'VisioRenderingOptions'
|
151
|
+
:'visio_rendering_options' => :'VisioRenderingOptions',
|
152
|
+
:'web_document_options' => :'WebDocumentOptions'
|
143
153
|
}
|
144
154
|
end
|
145
155
|
|
@@ -179,6 +189,10 @@ module GroupDocsViewerCloud
|
|
179
189
|
self.default_encoding = attributes[:'DefaultEncoding']
|
180
190
|
end
|
181
191
|
|
192
|
+
if attributes.key?(:'DetectEncoding')
|
193
|
+
self.detect_encoding = attributes[:'DetectEncoding']
|
194
|
+
end
|
195
|
+
|
182
196
|
if attributes.key?(:'RenderComments')
|
183
197
|
self.render_comments = attributes[:'RenderComments']
|
184
198
|
end
|
@@ -235,6 +249,10 @@ module GroupDocsViewerCloud
|
|
235
249
|
self.visio_rendering_options = attributes[:'VisioRenderingOptions']
|
236
250
|
end
|
237
251
|
|
252
|
+
if attributes.key?(:'WebDocumentOptions')
|
253
|
+
self.web_document_options = attributes[:'WebDocumentOptions']
|
254
|
+
end
|
255
|
+
|
238
256
|
end
|
239
257
|
|
240
258
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -286,6 +304,7 @@ module GroupDocsViewerCloud
|
|
286
304
|
page_rotations == other.page_rotations &&
|
287
305
|
default_font_name == other.default_font_name &&
|
288
306
|
default_encoding == other.default_encoding &&
|
307
|
+
detect_encoding == other.detect_encoding &&
|
289
308
|
render_comments == other.render_comments &&
|
290
309
|
render_notes == other.render_notes &&
|
291
310
|
render_hidden_pages == other.render_hidden_pages &&
|
@@ -299,7 +318,8 @@ module GroupDocsViewerCloud
|
|
299
318
|
archive_options == other.archive_options &&
|
300
319
|
text_options == other.text_options &&
|
301
320
|
mail_storage_options == other.mail_storage_options &&
|
302
|
-
visio_rendering_options == other.visio_rendering_options
|
321
|
+
visio_rendering_options == other.visio_rendering_options &&
|
322
|
+
web_document_options == other.web_document_options
|
303
323
|
end
|
304
324
|
|
305
325
|
# @see the `==` method
|
@@ -311,7 +331,7 @@ module GroupDocsViewerCloud
|
|
311
331
|
# Calculates hash code according to all attributes.
|
312
332
|
# @return [Fixnum] Hash code
|
313
333
|
def hash
|
314
|
-
[start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, text_options, mail_storage_options, visio_rendering_options].hash
|
334
|
+
[start_page_number, count_pages_to_render, pages_to_render, page_rotations, default_font_name, default_encoding, detect_encoding, render_comments, render_notes, render_hidden_pages, spreadsheet_options, cad_options, email_options, project_management_options, pdf_document_options, word_processing_options, outlook_options, archive_options, text_options, mail_storage_options, visio_rendering_options, web_document_options].hash
|
315
335
|
end
|
316
336
|
|
317
337
|
# Downcases first letter.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="resource.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="spreadsheet_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="storage_exist.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="storage_file.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="text_element.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="text_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="tile.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="view_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="view_result.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="visio_rendering_options.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# --------------------------------------------------------------------------------------------------------------------
|
3
3
|
# <copyright company="Aspose Pty Ltd" file="watermark.rb">
|
4
|
-
# Copyright (c) 2003-
|
4
|
+
# Copyright (c) 2003-2023 Aspose Pty Ltd
|
5
5
|
# </copyright>
|
6
6
|
# <summary>
|
7
7
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|