groupdocs_viewer_cloud 18.7
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 +7 -0
- data/lib/groupdocs_viewer_cloud.rb +104 -0
- data/lib/groupdocs_viewer_cloud/api/viewer_api.rb +5296 -0
- data/lib/groupdocs_viewer_cloud/api_client.rb +390 -0
- data/lib/groupdocs_viewer_cloud/api_error.rb +56 -0
- data/lib/groupdocs_viewer_cloud/configuration.rb +95 -0
- data/lib/groupdocs_viewer_cloud/models/attachment.rb +216 -0
- data/lib/groupdocs_viewer_cloud/models/attachment_collection.rb +228 -0
- data/lib/groupdocs_viewer_cloud/models/attachment_info.rb +226 -0
- data/lib/groupdocs_viewer_cloud/models/cad_options.rb +270 -0
- data/lib/groupdocs_viewer_cloud/models/cells_options.rb +296 -0
- data/lib/groupdocs_viewer_cloud/models/document_info.rb +282 -0
- data/lib/groupdocs_viewer_cloud/models/document_info_options.rb +348 -0
- data/lib/groupdocs_viewer_cloud/models/email_options.rb +228 -0
- data/lib/groupdocs_viewer_cloud/models/field_label.rb +216 -0
- data/lib/groupdocs_viewer_cloud/models/file_response.rb +196 -0
- data/lib/groupdocs_viewer_cloud/models/font_collection.rb +208 -0
- data/lib/groupdocs_viewer_cloud/models/font_family.rb +206 -0
- data/lib/groupdocs_viewer_cloud/models/format.rb +216 -0
- data/lib/groupdocs_viewer_cloud/models/format_collection.rb +208 -0
- data/lib/groupdocs_viewer_cloud/models/html_attachment_page_collection.rb +238 -0
- data/lib/groupdocs_viewer_cloud/models/html_options.rb +428 -0
- data/lib/groupdocs_viewer_cloud/models/html_page.rb +228 -0
- data/lib/groupdocs_viewer_cloud/models/html_page_collection.rb +228 -0
- data/lib/groupdocs_viewer_cloud/models/image_attachment_page_collection.rb +238 -0
- data/lib/groupdocs_viewer_cloud/models/image_options.rb +408 -0
- data/lib/groupdocs_viewer_cloud/models/image_page.rb +216 -0
- data/lib/groupdocs_viewer_cloud/models/image_page_collection.rb +238 -0
- data/lib/groupdocs_viewer_cloud/models/page_info.rb +268 -0
- data/lib/groupdocs_viewer_cloud/models/page_info_collection.rb +208 -0
- data/lib/groupdocs_viewer_cloud/models/pdf_file_info.rb +236 -0
- data/lib/groupdocs_viewer_cloud/models/pdf_file_options.rb +348 -0
- data/lib/groupdocs_viewer_cloud/models/pdf_options.rb +236 -0
- data/lib/groupdocs_viewer_cloud/models/project_options.rb +216 -0
- data/lib/groupdocs_viewer_cloud/models/render_options.rb +368 -0
- data/lib/groupdocs_viewer_cloud/models/render_options_base.rb +348 -0
- data/lib/groupdocs_viewer_cloud/models/reorder_options.rb +226 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_attachment_pages_cache_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pages_cache_from_content_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pages_cache_from_url_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pages_cache_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pdf_file_from_content_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pdf_file_from_url_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_create_pdf_file_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_delete_attachment_pages_cache_request.rb +57 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_delete_pages_cache_request.rb +53 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_info_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_info_with_options_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_page_request.rb +109 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_page_resource_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_pages_request.rb +113 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachments_request.rb +57 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_from_content_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_from_url_request.rb +69 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_from_url_with_options_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_with_options_request.rb +57 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_page_request.rb +101 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_page_resource_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_pages_from_url_request.rb +109 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_pages_request.rb +105 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_pdf_file_from_url_request.rb +77 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_pdf_file_request.rb +73 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_zip_with_attachment_pages_request.rb +113 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_get_zip_with_pages_request.rb +105 -0
- data/lib/groupdocs_viewer_cloud/models/requests/html_transform_pages_request.rb +57 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_attachment_pages_cache_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pages_cache_from_content_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pages_cache_from_url_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pages_cache_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pdf_file_from_content_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pdf_file_from_url_request.rb +65 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_create_pdf_file_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_delete_attachment_pages_cache_request.rb +57 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_delete_pages_cache_request.rb +53 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_info_request.rb +69 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_info_with_options_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_page_request.rb +105 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_pages_request.rb +109 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachments_request.rb +57 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_from_content_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_from_url_request.rb +73 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_from_url_with_options_request.rb +61 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_request.rb +69 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_with_options_request.rb +57 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_page_request.rb +97 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_pages_from_url_request.rb +105 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_pages_request.rb +101 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_pdf_file_from_url_request.rb +77 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_pdf_file_request.rb +73 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_zip_with_attachment_pages_request.rb +109 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_get_zip_with_pages_request.rb +101 -0
- data/lib/groupdocs_viewer_cloud/models/requests/image_transform_pages_request.rb +57 -0
- data/lib/groupdocs_viewer_cloud/models/resource.rb +216 -0
- data/lib/groupdocs_viewer_cloud/models/resource_url.rb +206 -0
- data/lib/groupdocs_viewer_cloud/models/rotate_options.rb +226 -0
- data/lib/groupdocs_viewer_cloud/models/row_info.rb +270 -0
- data/lib/groupdocs_viewer_cloud/models/slides_options.rb +206 -0
- data/lib/groupdocs_viewer_cloud/models/tile.rb +236 -0
- data/lib/groupdocs_viewer_cloud/models/transform_options_base.rb +216 -0
- data/lib/groupdocs_viewer_cloud/models/watermark.rb +236 -0
- data/lib/groupdocs_viewer_cloud/models/words_options.rb +216 -0
- data/lib/groupdocs_viewer_cloud/version.rb +29 -0
- metadata +235 -0
data/lib/groupdocs_viewer_cloud/models/requests/image_create_pages_cache_from_content_request.rb
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose Pty Ltd" file="image_create_pages_cache_from_content_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_create_pages_cache_from_content operation.
|
32
|
+
#
|
33
|
+
class ImageCreatePagesCacheFromContentRequest
|
34
|
+
|
35
|
+
# File contents.
|
36
|
+
attr_accessor :file
|
37
|
+
# Image rendering options 'ImageOptions' as JSON or XML.
|
38
|
+
attr_accessor :image_options
|
39
|
+
# The file name.
|
40
|
+
attr_accessor :file_name
|
41
|
+
# The folder with custom fonts in storage.
|
42
|
+
attr_accessor :fonts_folder
|
43
|
+
# The folder which contains specified file in storage.
|
44
|
+
attr_accessor :folder
|
45
|
+
# The file storage which have to be used.
|
46
|
+
attr_accessor :storage
|
47
|
+
|
48
|
+
#
|
49
|
+
# Initializes a new instance.
|
50
|
+
# @param file File contents.
|
51
|
+
# @param image_options Image rendering options 'ImageOptions' as JSON or XML.
|
52
|
+
# @param file_name The file name.
|
53
|
+
# @param fonts_folder The folder with custom fonts in storage.
|
54
|
+
# @param folder The folder which contains specified file in storage.
|
55
|
+
# @param storage The file storage which have to be used.
|
56
|
+
def initialize(file, image_options, file_name = nil, fonts_folder = nil, folder = nil, storage = nil)
|
57
|
+
self.file = file
|
58
|
+
self.image_options = image_options
|
59
|
+
self.file_name = file_name
|
60
|
+
self.fonts_folder = fonts_folder
|
61
|
+
self.folder = folder
|
62
|
+
self.storage = storage
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose Pty Ltd" file="image_create_pages_cache_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_create_pages_cache_from_url operation.
|
32
|
+
#
|
33
|
+
class ImageCreatePagesCacheFromUrlRequest
|
34
|
+
|
35
|
+
# The URL to retrieve document.
|
36
|
+
attr_accessor :url
|
37
|
+
# The image rendering options.
|
38
|
+
attr_accessor :image_options
|
39
|
+
# The file name.
|
40
|
+
attr_accessor :file_name
|
41
|
+
# The folder with custom fonts in storage.
|
42
|
+
attr_accessor :fonts_folder
|
43
|
+
# The folder which contains specified file in storage.
|
44
|
+
attr_accessor :folder
|
45
|
+
# The file storage which have to be used.
|
46
|
+
attr_accessor :storage
|
47
|
+
|
48
|
+
#
|
49
|
+
# Initializes a new instance.
|
50
|
+
# @param url The URL to retrieve document.
|
51
|
+
# @param image_options The image rendering options.
|
52
|
+
# @param file_name The file name.
|
53
|
+
# @param fonts_folder The folder with custom fonts in storage.
|
54
|
+
# @param folder The folder which contains specified file in storage.
|
55
|
+
# @param storage The file storage which have to be used.
|
56
|
+
def initialize(url, image_options = nil, file_name = nil, fonts_folder = nil, folder = nil, storage = nil)
|
57
|
+
self.url = url
|
58
|
+
self.image_options = image_options
|
59
|
+
self.file_name = file_name
|
60
|
+
self.fonts_folder = fonts_folder
|
61
|
+
self.folder = folder
|
62
|
+
self.storage = storage
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose Pty Ltd" file="image_create_pages_cache_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_create_pages_cache operation.
|
32
|
+
#
|
33
|
+
class ImageCreatePagesCacheRequest
|
34
|
+
|
35
|
+
# The file name.
|
36
|
+
attr_accessor :file_name
|
37
|
+
# The image render options.
|
38
|
+
attr_accessor :image_options
|
39
|
+
# The folder with custom fonts in storage.
|
40
|
+
attr_accessor :fonts_folder
|
41
|
+
# The folder which contains specified file in storage.
|
42
|
+
attr_accessor :folder
|
43
|
+
# The file storage which have to be used.
|
44
|
+
attr_accessor :storage
|
45
|
+
|
46
|
+
#
|
47
|
+
# Initializes a new instance.
|
48
|
+
# @param file_name The file name.
|
49
|
+
# @param image_options The image render options.
|
50
|
+
# @param fonts_folder The folder with custom fonts in storage.
|
51
|
+
# @param folder The folder which contains specified file in storage.
|
52
|
+
# @param storage The file storage which have to be used.
|
53
|
+
def initialize(file_name, image_options = nil, fonts_folder = nil, folder = nil, storage = nil)
|
54
|
+
self.file_name = file_name
|
55
|
+
self.image_options = image_options
|
56
|
+
self.fonts_folder = fonts_folder
|
57
|
+
self.folder = folder
|
58
|
+
self.storage = storage
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose Pty Ltd" file="image_create_pdf_file_from_content_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_create_pdf_file_from_content operation.
|
32
|
+
#
|
33
|
+
class ImageCreatePdfFileFromContentRequest
|
34
|
+
|
35
|
+
# File contents.
|
36
|
+
attr_accessor :file
|
37
|
+
# PDF rendering options 'PdfFileOptions' as JSON or XML.
|
38
|
+
attr_accessor :pdf_file_options
|
39
|
+
# The file name.
|
40
|
+
attr_accessor :file_name
|
41
|
+
# The folder with custom fonts in storage.
|
42
|
+
attr_accessor :fonts_folder
|
43
|
+
# The folder which contains specified file in storage.
|
44
|
+
attr_accessor :folder
|
45
|
+
# The file storage which have to be used.
|
46
|
+
attr_accessor :storage
|
47
|
+
|
48
|
+
#
|
49
|
+
# Initializes a new instance.
|
50
|
+
# @param file File contents.
|
51
|
+
# @param pdf_file_options PDF rendering options 'PdfFileOptions' as JSON or XML.
|
52
|
+
# @param file_name The file name.
|
53
|
+
# @param fonts_folder The folder with custom fonts in storage.
|
54
|
+
# @param folder The folder which contains specified file in storage.
|
55
|
+
# @param storage The file storage which have to be used.
|
56
|
+
def initialize(file, pdf_file_options, file_name = nil, fonts_folder = nil, folder = nil, storage = nil)
|
57
|
+
self.file = file
|
58
|
+
self.pdf_file_options = pdf_file_options
|
59
|
+
self.file_name = file_name
|
60
|
+
self.fonts_folder = fonts_folder
|
61
|
+
self.folder = folder
|
62
|
+
self.storage = storage
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose Pty Ltd" file="image_create_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_create_pdf_file_from_url operation.
|
32
|
+
#
|
33
|
+
class ImageCreatePdfFileFromUrlRequest
|
34
|
+
|
35
|
+
# The URL to retrieve document.
|
36
|
+
attr_accessor :url
|
37
|
+
# The PDF file rendering options.
|
38
|
+
attr_accessor :pdf_file_options
|
39
|
+
# The file name.
|
40
|
+
attr_accessor :file_name
|
41
|
+
# The folder with custom fonts in storage.
|
42
|
+
attr_accessor :fonts_folder
|
43
|
+
# The folder which contains specified file in storage.
|
44
|
+
attr_accessor :folder
|
45
|
+
# The file storage which have to be used.
|
46
|
+
attr_accessor :storage
|
47
|
+
|
48
|
+
#
|
49
|
+
# Initializes a new instance.
|
50
|
+
# @param url The URL to retrieve document.
|
51
|
+
# @param pdf_file_options The PDF file rendering options.
|
52
|
+
# @param file_name The file name.
|
53
|
+
# @param fonts_folder The folder with custom fonts in storage.
|
54
|
+
# @param folder The folder which contains specified file in storage.
|
55
|
+
# @param storage The file storage which have to be used.
|
56
|
+
def initialize(url, pdf_file_options = nil, file_name = nil, fonts_folder = nil, folder = nil, storage = nil)
|
57
|
+
self.url = url
|
58
|
+
self.pdf_file_options = pdf_file_options
|
59
|
+
self.file_name = file_name
|
60
|
+
self.fonts_folder = fonts_folder
|
61
|
+
self.folder = folder
|
62
|
+
self.storage = storage
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose Pty Ltd" file="image_create_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_create_pdf_file operation.
|
32
|
+
#
|
33
|
+
class ImageCreatePdfFileRequest
|
34
|
+
|
35
|
+
# The file name.
|
36
|
+
attr_accessor :file_name
|
37
|
+
# The PDF file rendering options.
|
38
|
+
attr_accessor :pdf_file_options
|
39
|
+
# The folder with custom fonts in storage.
|
40
|
+
attr_accessor :fonts_folder
|
41
|
+
# The folder which contains specified file in storage.
|
42
|
+
attr_accessor :folder
|
43
|
+
# The file storage which have to be used.
|
44
|
+
attr_accessor :storage
|
45
|
+
|
46
|
+
#
|
47
|
+
# Initializes a new instance.
|
48
|
+
# @param file_name The file name.
|
49
|
+
# @param pdf_file_options The PDF file rendering options.
|
50
|
+
# @param fonts_folder The folder with custom fonts in storage.
|
51
|
+
# @param folder The folder which contains specified file in storage.
|
52
|
+
# @param storage The file storage which have to be used.
|
53
|
+
def initialize(file_name, pdf_file_options = nil, fonts_folder = nil, folder = nil, storage = nil)
|
54
|
+
self.file_name = file_name
|
55
|
+
self.pdf_file_options = pdf_file_options
|
56
|
+
self.fonts_folder = fonts_folder
|
57
|
+
self.folder = folder
|
58
|
+
self.storage = storage
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
data/lib/groupdocs_viewer_cloud/models/requests/image_delete_attachment_pages_cache_request.rb
ADDED
@@ -0,0 +1,57 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose Pty Ltd" file="image_delete_attachment_pages_cache_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_delete_attachment_pages_cache operation.
|
32
|
+
#
|
33
|
+
class ImageDeleteAttachmentPagesCacheRequest
|
34
|
+
|
35
|
+
# The file name.
|
36
|
+
attr_accessor :file_name
|
37
|
+
# Name of the attachment.
|
38
|
+
attr_accessor :attachment_name
|
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 attachment_name Name of the attachment.
|
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, attachment_name, folder = nil, storage = nil)
|
51
|
+
self.file_name = file_name
|
52
|
+
self.attachment_name = attachment_name
|
53
|
+
self.folder = folder
|
54
|
+
self.storage = storage
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|