groupdocs_viewer_cloud 18.11 → 19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/groupdocs_viewer_cloud.rb +27 -32
- data/lib/groupdocs_viewer_cloud/api/file_api.rb +729 -0
- data/lib/groupdocs_viewer_cloud/api/folder_api.rb +694 -0
- data/lib/groupdocs_viewer_cloud/api/storage_api.rb +541 -0
- data/lib/groupdocs_viewer_cloud/api/viewer_api.rb +232 -5069
- data/lib/groupdocs_viewer_cloud/api_client.rb +5 -5
- data/lib/groupdocs_viewer_cloud/api_error.rb +6 -6
- data/lib/groupdocs_viewer_cloud/configuration.rb +4 -4
- data/lib/groupdocs_viewer_cloud/models/attachment_info.rb +22 -34
- data/lib/groupdocs_viewer_cloud/models/{html_page.rb → attachment_view.rb} +39 -33
- data/lib/groupdocs_viewer_cloud/models/cad_options.rb +44 -65
- data/lib/groupdocs_viewer_cloud/models/{font_family.rb → delete_view_options.rb} +25 -17
- data/lib/groupdocs_viewer_cloud/models/{reorder_options.rb → disc_usage.rb} +42 -34
- data/lib/groupdocs_viewer_cloud/models/email_options.rb +23 -25
- data/lib/groupdocs_viewer_cloud/models/{image_page_collection.rb → error.rb} +46 -40
- data/lib/groupdocs_viewer_cloud/models/{outlook_options.rb → error_details.rb} +40 -17
- data/lib/groupdocs_viewer_cloud/models/field_label.rb +20 -12
- data/lib/groupdocs_viewer_cloud/models/{transform_options_base.rb → file_info.rb} +49 -21
- data/lib/groupdocs_viewer_cloud/models/{html_attachment_page_collection.rb → file_version.rb} +91 -40
- data/lib/groupdocs_viewer_cloud/models/{page_info_collection.rb → file_versions.rb} +26 -18
- data/lib/groupdocs_viewer_cloud/models/{font_collection.rb → files_list.rb} +26 -18
- data/lib/groupdocs_viewer_cloud/models/{image_page.rb → files_upload_result.rb} +36 -24
- data/lib/groupdocs_viewer_cloud/models/format.rb +30 -22
- data/lib/groupdocs_viewer_cloud/models/{format_collection.rb → formats_result.rb} +19 -11
- data/lib/groupdocs_viewer_cloud/models/html_options.rb +108 -209
- data/lib/groupdocs_viewer_cloud/models/html_resource.rb +234 -0
- data/lib/groupdocs_viewer_cloud/models/image_options.rb +129 -163
- data/lib/groupdocs_viewer_cloud/models/{attachment_collection.rb → info_result.rb} +32 -32
- data/lib/groupdocs_viewer_cloud/models/{rotate_options.rb → object_exist.rb} +42 -34
- data/lib/groupdocs_viewer_cloud/models/page_info.rb +48 -55
- data/lib/groupdocs_viewer_cloud/models/{pdf_file_info.rb → page_view.rb} +53 -38
- data/lib/groupdocs_viewer_cloud/models/{project_options.rb → project_management_options.rb} +39 -21
- data/lib/groupdocs_viewer_cloud/models/render_options.rb +92 -146
- data/lib/groupdocs_viewer_cloud/models/resource.rb +30 -22
- data/lib/groupdocs_viewer_cloud/models/{row_info.rb → row.rb} +65 -37
- data/lib/groupdocs_viewer_cloud/models/{cells_options.rb → spreadsheet_options.rb} +95 -67
- data/lib/groupdocs_viewer_cloud/models/{attachment.rb → storage_exist.rb} +30 -27
- data/lib/groupdocs_viewer_cloud/models/{image_attachment_page_collection.rb → storage_file.rb} +66 -40
- data/lib/groupdocs_viewer_cloud/models/{document_info.rb → view_options.rb} +99 -105
- data/lib/groupdocs_viewer_cloud/models/{html_page_collection.rb → view_result.rb} +43 -33
- data/lib/groupdocs_viewer_cloud/models/watermark.rb +35 -22
- data/lib/groupdocs_viewer_cloud/version.rb +2 -2
- metadata +27 -110
- data/lib/groupdocs_viewer_cloud/models/document_info_options.rb +0 -358
- data/lib/groupdocs_viewer_cloud/models/file_response.rb +0 -196
- data/lib/groupdocs_viewer_cloud/models/pdf_file_options.rb +0 -358
- data/lib/groupdocs_viewer_cloud/models/pdf_options.rb +0 -236
- data/lib/groupdocs_viewer_cloud/models/render_options_base.rb +0 -358
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_attachment_pages_cache_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pages_cache_from_content_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pages_cache_from_url_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pages_cache_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pdf_file_from_content_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pdf_file_from_url_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pdf_file_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/html_delete_attachment_pages_cache_request.rb +0 -57
- data/lib/groupdocs_viewer_cloud/models/requests/html_delete_pages_cache_request.rb +0 -53
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_info_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_info_with_options_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_page_request.rb +0 -109
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_page_resource_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_pages_request.rb +0 -113
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachments_request.rb +0 -57
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_from_content_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_from_url_request.rb +0 -69
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_from_url_with_options_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_with_options_request.rb +0 -57
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_page_request.rb +0 -101
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_page_resource_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_pages_from_url_request.rb +0 -109
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_pages_request.rb +0 -105
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_pdf_file_from_url_request.rb +0 -77
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_pdf_file_request.rb +0 -73
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_zip_with_attachment_pages_request.rb +0 -113
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_zip_with_pages_request.rb +0 -105
- data/lib/groupdocs_viewer_cloud/models/requests/html_transform_pages_request.rb +0 -57
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_attachment_pages_cache_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pages_cache_from_content_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pages_cache_from_url_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pages_cache_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pdf_file_from_content_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pdf_file_from_url_request.rb +0 -65
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pdf_file_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/image_delete_attachment_pages_cache_request.rb +0 -57
- data/lib/groupdocs_viewer_cloud/models/requests/image_delete_pages_cache_request.rb +0 -53
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_info_request.rb +0 -69
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_info_with_options_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_page_request.rb +0 -105
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_pages_request.rb +0 -109
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachments_request.rb +0 -57
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_from_content_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_from_url_request.rb +0 -73
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_from_url_with_options_request.rb +0 -61
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_request.rb +0 -69
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_with_options_request.rb +0 -57
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_page_request.rb +0 -97
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_pages_from_url_request.rb +0 -105
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_pages_request.rb +0 -101
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_pdf_file_from_url_request.rb +0 -77
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_pdf_file_request.rb +0 -73
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_zip_with_attachment_pages_request.rb +0 -109
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_zip_with_pages_request.rb +0 -101
- data/lib/groupdocs_viewer_cloud/models/requests/image_transform_pages_request.rb +0 -57
- data/lib/groupdocs_viewer_cloud/models/resource_url.rb +0 -206
- data/lib/groupdocs_viewer_cloud/models/slides_options.rb +0 -206
- data/lib/groupdocs_viewer_cloud/models/tile.rb +0 -236
- data/lib/groupdocs_viewer_cloud/models/words_options.rb +0 -216
data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_with_options_request.rb
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# --------------------------------------------------------------------------------------------------------------------
|
3
|
-
# <copyright company="Aspose Pty Ltd" file="image_get_document_info_with_options_request.rb">
|
4
|
-
# Copyright (c) 2003-2018 Aspose Pty Ltd
|
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 GroupDocsViewerCloud
|
29
|
-
|
30
|
-
#
|
31
|
-
# Request model for image_get_document_info_with_options operation.
|
32
|
-
#
|
33
|
-
class ImageGetDocumentInfoWithOptionsRequest
|
34
|
-
|
35
|
-
# The file name.
|
36
|
-
attr_accessor :file_name
|
37
|
-
# The rendering options.
|
38
|
-
attr_accessor :document_info_options
|
39
|
-
# The folder which contains specified file in storage.
|
40
|
-
attr_accessor :folder
|
41
|
-
# The file storage which have to be used.
|
42
|
-
attr_accessor :storage
|
43
|
-
|
44
|
-
#
|
45
|
-
# Initializes a new instance.
|
46
|
-
# @param file_name The file name.
|
47
|
-
# @param document_info_options The rendering options.
|
48
|
-
# @param folder The folder which contains specified file in storage.
|
49
|
-
# @param storage The file storage which have to be used.
|
50
|
-
def initialize(file_name, document_info_options = nil, folder = nil, storage = nil)
|
51
|
-
self.file_name = file_name
|
52
|
-
self.document_info_options = document_info_options
|
53
|
-
self.folder = folder
|
54
|
-
self.storage = storage
|
55
|
-
end
|
56
|
-
end
|
57
|
-
end
|
@@ -1,97 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# --------------------------------------------------------------------------------------------------------------------
|
3
|
-
# <copyright company="Aspose Pty Ltd" file="image_get_page_request.rb">
|
4
|
-
# Copyright (c) 2003-2018 Aspose Pty Ltd
|
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 GroupDocsViewerCloud
|
29
|
-
|
30
|
-
#
|
31
|
-
# Request model for image_get_page operation.
|
32
|
-
#
|
33
|
-
class ImageGetPageRequest
|
34
|
-
|
35
|
-
# The file name.
|
36
|
-
attr_accessor :file_name
|
37
|
-
# The page number.
|
38
|
-
attr_accessor :page_number
|
39
|
-
# The image format (jpg, png or bmp). Default value is png.
|
40
|
-
attr_accessor :format
|
41
|
-
# The image width.
|
42
|
-
attr_accessor :width
|
43
|
-
# The image height.
|
44
|
-
attr_accessor :height
|
45
|
-
# The image quality in JPG format. Valid values are between 1 and 100. Default value is 90.
|
46
|
-
attr_accessor :quality
|
47
|
-
# The document password.
|
48
|
-
attr_accessor :password
|
49
|
-
# When this options is set to true text contained in document will be extracted and returned along with other information.
|
50
|
-
attr_accessor :extract_text
|
51
|
-
# Allows to render document comments.
|
52
|
-
attr_accessor :render_comments
|
53
|
-
# Enables rendering of document hidden pages, sheets or slides.
|
54
|
-
attr_accessor :render_hidden_pages
|
55
|
-
# The name of the default font.
|
56
|
-
attr_accessor :default_font_name
|
57
|
-
# The folder with custom fonts in storage.
|
58
|
-
attr_accessor :fonts_folder
|
59
|
-
# The folder which contains specified file in storage.
|
60
|
-
attr_accessor :folder
|
61
|
-
# The file storage which have to be used.
|
62
|
-
attr_accessor :storage
|
63
|
-
|
64
|
-
#
|
65
|
-
# Initializes a new instance.
|
66
|
-
# @param file_name The file name.
|
67
|
-
# @param page_number The page number.
|
68
|
-
# @param format The image format (jpg, png or bmp). Default value is png.
|
69
|
-
# @param width The image width.
|
70
|
-
# @param height The image height.
|
71
|
-
# @param quality The image quality in JPG format. Valid values are between 1 and 100. Default value is 90.
|
72
|
-
# @param password The document password.
|
73
|
-
# @param extract_text When this options is set to true text contained in document will be extracted and returned along with other information.
|
74
|
-
# @param render_comments Allows to render document comments.
|
75
|
-
# @param render_hidden_pages Enables rendering of document hidden pages, sheets or slides.
|
76
|
-
# @param default_font_name The name of the default font.
|
77
|
-
# @param fonts_folder The folder with custom fonts in storage.
|
78
|
-
# @param folder The folder which contains specified file in storage.
|
79
|
-
# @param storage The file storage which have to be used.
|
80
|
-
def initialize(file_name, page_number, format = nil, width = nil, height = nil, quality = nil, password = nil, extract_text = nil, render_comments = nil, render_hidden_pages = nil, default_font_name = nil, fonts_folder = nil, folder = nil, storage = nil)
|
81
|
-
self.file_name = file_name
|
82
|
-
self.page_number = page_number
|
83
|
-
self.format = format
|
84
|
-
self.width = width
|
85
|
-
self.height = height
|
86
|
-
self.quality = quality
|
87
|
-
self.password = password
|
88
|
-
self.extract_text = extract_text
|
89
|
-
self.render_comments = render_comments
|
90
|
-
self.render_hidden_pages = render_hidden_pages
|
91
|
-
self.default_font_name = default_font_name
|
92
|
-
self.fonts_folder = fonts_folder
|
93
|
-
self.folder = folder
|
94
|
-
self.storage = storage
|
95
|
-
end
|
96
|
-
end
|
97
|
-
end
|
@@ -1,105 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# --------------------------------------------------------------------------------------------------------------------
|
3
|
-
# <copyright company="Aspose Pty Ltd" file="image_get_pages_from_url_request.rb">
|
4
|
-
# Copyright (c) 2003-2018 Aspose Pty Ltd
|
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 GroupDocsViewerCloud
|
29
|
-
|
30
|
-
#
|
31
|
-
# Request model for image_get_pages_from_url operation.
|
32
|
-
#
|
33
|
-
class ImageGetPagesFromUrlRequest
|
34
|
-
|
35
|
-
# The URL to retrieve document.
|
36
|
-
attr_accessor :url
|
37
|
-
# The file name.
|
38
|
-
attr_accessor :file_name
|
39
|
-
# The image format (jpg, png or bmp). Default value is png.
|
40
|
-
attr_accessor :format
|
41
|
-
# The image width.
|
42
|
-
attr_accessor :width
|
43
|
-
# The image height.
|
44
|
-
attr_accessor :height
|
45
|
-
# The image quality for jpg format. Default value is 90.
|
46
|
-
attr_accessor :quality
|
47
|
-
# The starting document page number to render.
|
48
|
-
attr_accessor :start_page_number
|
49
|
-
# The count of document pages to render.
|
50
|
-
attr_accessor :count_pages
|
51
|
-
# The document password.
|
52
|
-
attr_accessor :password
|
53
|
-
# When this options is set to true text contained in document will be extracted and returned along with other information.
|
54
|
-
attr_accessor :extract_text
|
55
|
-
# Allows to render document comments.
|
56
|
-
attr_accessor :render_comments
|
57
|
-
# Enables rendering of document hidden pages, sheets or slides.
|
58
|
-
attr_accessor :render_hidden_pages
|
59
|
-
# The name of the default font.
|
60
|
-
attr_accessor :default_font_name
|
61
|
-
# The folder with custom fonts in storage.
|
62
|
-
attr_accessor :fonts_folder
|
63
|
-
# The folder which contains specified file in storage.
|
64
|
-
attr_accessor :folder
|
65
|
-
# The file storage which have to be used.
|
66
|
-
attr_accessor :storage
|
67
|
-
|
68
|
-
#
|
69
|
-
# Initializes a new instance.
|
70
|
-
# @param url The URL to retrieve document.
|
71
|
-
# @param file_name The file name.
|
72
|
-
# @param format The image format (jpg, png or bmp). Default value is png.
|
73
|
-
# @param width The image width.
|
74
|
-
# @param height The image height.
|
75
|
-
# @param quality The image quality for jpg format. Default value is 90.
|
76
|
-
# @param start_page_number The starting document page number to render.
|
77
|
-
# @param count_pages The count of document pages to render.
|
78
|
-
# @param password The document password.
|
79
|
-
# @param extract_text When this options is set to true text contained in document will be extracted and returned along with other information.
|
80
|
-
# @param render_comments Allows to render document comments.
|
81
|
-
# @param render_hidden_pages Enables rendering of document hidden pages, sheets or slides.
|
82
|
-
# @param default_font_name The name of the default font.
|
83
|
-
# @param fonts_folder The folder with custom fonts in storage.
|
84
|
-
# @param folder The folder which contains specified file in storage.
|
85
|
-
# @param storage The file storage which have to be used.
|
86
|
-
def initialize(url, file_name = nil, format = nil, width = nil, height = nil, quality = nil, start_page_number = nil, count_pages = nil, password = nil, extract_text = nil, render_comments = nil, render_hidden_pages = nil, default_font_name = nil, fonts_folder = nil, folder = nil, storage = nil)
|
87
|
-
self.url = url
|
88
|
-
self.file_name = file_name
|
89
|
-
self.format = format
|
90
|
-
self.width = width
|
91
|
-
self.height = height
|
92
|
-
self.quality = quality
|
93
|
-
self.start_page_number = start_page_number
|
94
|
-
self.count_pages = count_pages
|
95
|
-
self.password = password
|
96
|
-
self.extract_text = extract_text
|
97
|
-
self.render_comments = render_comments
|
98
|
-
self.render_hidden_pages = render_hidden_pages
|
99
|
-
self.default_font_name = default_font_name
|
100
|
-
self.fonts_folder = fonts_folder
|
101
|
-
self.folder = folder
|
102
|
-
self.storage = storage
|
103
|
-
end
|
104
|
-
end
|
105
|
-
end
|
@@ -1,101 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# --------------------------------------------------------------------------------------------------------------------
|
3
|
-
# <copyright company="Aspose Pty Ltd" file="image_get_pages_request.rb">
|
4
|
-
# Copyright (c) 2003-2018 Aspose Pty Ltd
|
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 GroupDocsViewerCloud
|
29
|
-
|
30
|
-
#
|
31
|
-
# Request model for image_get_pages operation.
|
32
|
-
#
|
33
|
-
class ImageGetPagesRequest
|
34
|
-
|
35
|
-
# The file name.
|
36
|
-
attr_accessor :file_name
|
37
|
-
# The image format (jpg, png or bmp). Default value is png.
|
38
|
-
attr_accessor :format
|
39
|
-
# The image width.
|
40
|
-
attr_accessor :width
|
41
|
-
# The image height.
|
42
|
-
attr_accessor :height
|
43
|
-
# The image quality for jpg format. Default value is 90.
|
44
|
-
attr_accessor :quality
|
45
|
-
# The starting document page number to render.
|
46
|
-
attr_accessor :start_page_number
|
47
|
-
# The count of document pages to render.
|
48
|
-
attr_accessor :count_pages
|
49
|
-
# The document password.
|
50
|
-
attr_accessor :password
|
51
|
-
# When this options is set to true text contained in document will be extracted and returned along with other information.
|
52
|
-
attr_accessor :extract_text
|
53
|
-
# Allows to render document comments.
|
54
|
-
attr_accessor :render_comments
|
55
|
-
# Enables rendering of document hidden pages, sheets or slides.
|
56
|
-
attr_accessor :render_hidden_pages
|
57
|
-
# The name of the default font.
|
58
|
-
attr_accessor :default_font_name
|
59
|
-
# The folder with custom fonts in storage.
|
60
|
-
attr_accessor :fonts_folder
|
61
|
-
# The folder which contains specified file in storage.
|
62
|
-
attr_accessor :folder
|
63
|
-
# The file storage which have to be used.
|
64
|
-
attr_accessor :storage
|
65
|
-
|
66
|
-
#
|
67
|
-
# Initializes a new instance.
|
68
|
-
# @param file_name The file name.
|
69
|
-
# @param format The image format (jpg, png or bmp). Default value is png.
|
70
|
-
# @param width The image width.
|
71
|
-
# @param height The image height.
|
72
|
-
# @param quality The image quality for jpg format. Default value is 90.
|
73
|
-
# @param start_page_number The starting document page number to render.
|
74
|
-
# @param count_pages The count of document pages to render.
|
75
|
-
# @param password The document password.
|
76
|
-
# @param extract_text When this options is set to true text contained in document will be extracted and returned along with other information.
|
77
|
-
# @param render_comments Allows to render document comments.
|
78
|
-
# @param render_hidden_pages Enables rendering of document hidden pages, sheets or slides.
|
79
|
-
# @param default_font_name The name of the default font.
|
80
|
-
# @param fonts_folder The folder with custom fonts in storage.
|
81
|
-
# @param folder The folder which contains specified file in storage.
|
82
|
-
# @param storage The file storage which have to be used.
|
83
|
-
def initialize(file_name, format = nil, width = nil, height = nil, quality = nil, start_page_number = nil, count_pages = nil, password = nil, extract_text = nil, render_comments = nil, render_hidden_pages = nil, default_font_name = nil, fonts_folder = nil, folder = nil, storage = nil)
|
84
|
-
self.file_name = file_name
|
85
|
-
self.format = format
|
86
|
-
self.width = width
|
87
|
-
self.height = height
|
88
|
-
self.quality = quality
|
89
|
-
self.start_page_number = start_page_number
|
90
|
-
self.count_pages = count_pages
|
91
|
-
self.password = password
|
92
|
-
self.extract_text = extract_text
|
93
|
-
self.render_comments = render_comments
|
94
|
-
self.render_hidden_pages = render_hidden_pages
|
95
|
-
self.default_font_name = default_font_name
|
96
|
-
self.fonts_folder = fonts_folder
|
97
|
-
self.folder = folder
|
98
|
-
self.storage = storage
|
99
|
-
end
|
100
|
-
end
|
101
|
-
end
|
@@ -1,77 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# --------------------------------------------------------------------------------------------------------------------
|
3
|
-
# <copyright company="Aspose Pty Ltd" file="image_get_pdf_file_from_url_request.rb">
|
4
|
-
# Copyright (c) 2003-2018 Aspose Pty Ltd
|
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 GroupDocsViewerCloud
|
29
|
-
|
30
|
-
#
|
31
|
-
# Request model for image_get_pdf_file_from_url operation.
|
32
|
-
#
|
33
|
-
class ImageGetPdfFileFromUrlRequest
|
34
|
-
|
35
|
-
# The URL to retrieve document.
|
36
|
-
attr_accessor :url
|
37
|
-
# The file name.
|
38
|
-
attr_accessor :file_name
|
39
|
-
# The document password. Not required if PDF document was created before.
|
40
|
-
attr_accessor :password
|
41
|
-
# Allows to render document comments. Not required if PDF document was created before.
|
42
|
-
attr_accessor :render_comments
|
43
|
-
# Enables rendering of document hidden pages, sheets or slides.
|
44
|
-
attr_accessor :render_hidden_pages
|
45
|
-
# The name of the default font.
|
46
|
-
attr_accessor :default_font_name
|
47
|
-
# The folder with custom fonts in storage.
|
48
|
-
attr_accessor :fonts_folder
|
49
|
-
# The folder which contains specified file in storage.
|
50
|
-
attr_accessor :folder
|
51
|
-
# The file storage which have to be used.
|
52
|
-
attr_accessor :storage
|
53
|
-
|
54
|
-
#
|
55
|
-
# Initializes a new instance.
|
56
|
-
# @param url The URL to retrieve document.
|
57
|
-
# @param file_name The file name.
|
58
|
-
# @param password The document password. Not required if PDF document was created before.
|
59
|
-
# @param render_comments Allows to render document comments. Not required if PDF document was created before.
|
60
|
-
# @param render_hidden_pages Enables rendering of document hidden pages, sheets or slides.
|
61
|
-
# @param default_font_name The name of the default font.
|
62
|
-
# @param fonts_folder The folder with custom fonts in storage.
|
63
|
-
# @param folder The folder which contains specified file in storage.
|
64
|
-
# @param storage The file storage which have to be used.
|
65
|
-
def initialize(url, file_name = nil, password = nil, render_comments = nil, render_hidden_pages = nil, default_font_name = nil, fonts_folder = nil, folder = nil, storage = nil)
|
66
|
-
self.url = url
|
67
|
-
self.file_name = file_name
|
68
|
-
self.password = password
|
69
|
-
self.render_comments = render_comments
|
70
|
-
self.render_hidden_pages = render_hidden_pages
|
71
|
-
self.default_font_name = default_font_name
|
72
|
-
self.fonts_folder = fonts_folder
|
73
|
-
self.folder = folder
|
74
|
-
self.storage = storage
|
75
|
-
end
|
76
|
-
end
|
77
|
-
end
|
@@ -1,73 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# --------------------------------------------------------------------------------------------------------------------
|
3
|
-
# <copyright company="Aspose Pty Ltd" file="image_get_pdf_file_request.rb">
|
4
|
-
# Copyright (c) 2003-2018 Aspose Pty Ltd
|
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 GroupDocsViewerCloud
|
29
|
-
|
30
|
-
#
|
31
|
-
# Request model for image_get_pdf_file operation.
|
32
|
-
#
|
33
|
-
class ImageGetPdfFileRequest
|
34
|
-
|
35
|
-
# The file name.
|
36
|
-
attr_accessor :file_name
|
37
|
-
# Allows to render document comments. Not required if PDF document was created before.
|
38
|
-
attr_accessor :render_comments
|
39
|
-
# Enables rendering of document hidden pages, sheets or slides.
|
40
|
-
attr_accessor :render_hidden_pages
|
41
|
-
# The document password. Not required if PDF document was created before.
|
42
|
-
attr_accessor :password
|
43
|
-
# The name of the default font.
|
44
|
-
attr_accessor :default_font_name
|
45
|
-
# The folder with custom fonts in storage.
|
46
|
-
attr_accessor :fonts_folder
|
47
|
-
# The folder which contains specified file in storage.
|
48
|
-
attr_accessor :folder
|
49
|
-
# The file storage which have to be used.
|
50
|
-
attr_accessor :storage
|
51
|
-
|
52
|
-
#
|
53
|
-
# Initializes a new instance.
|
54
|
-
# @param file_name The file name.
|
55
|
-
# @param render_comments Allows to render document comments. Not required if PDF document was created before.
|
56
|
-
# @param render_hidden_pages Enables rendering of document hidden pages, sheets or slides.
|
57
|
-
# @param password The document password. Not required if PDF document was created before.
|
58
|
-
# @param default_font_name The name of the default font.
|
59
|
-
# @param fonts_folder The folder with custom fonts in storage.
|
60
|
-
# @param folder The folder which contains specified file in storage.
|
61
|
-
# @param storage The file storage which have to be used.
|
62
|
-
def initialize(file_name, render_comments = nil, render_hidden_pages = nil, password = nil, default_font_name = nil, fonts_folder = nil, folder = nil, storage = nil)
|
63
|
-
self.file_name = file_name
|
64
|
-
self.render_comments = render_comments
|
65
|
-
self.render_hidden_pages = render_hidden_pages
|
66
|
-
self.password = password
|
67
|
-
self.default_font_name = default_font_name
|
68
|
-
self.fonts_folder = fonts_folder
|
69
|
-
self.folder = folder
|
70
|
-
self.storage = storage
|
71
|
-
end
|
72
|
-
end
|
73
|
-
end
|