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.
Files changed (106) hide show
  1. checksums.yaml +7 -0
  2. data/lib/groupdocs_viewer_cloud.rb +104 -0
  3. data/lib/groupdocs_viewer_cloud/api/viewer_api.rb +5296 -0
  4. data/lib/groupdocs_viewer_cloud/api_client.rb +390 -0
  5. data/lib/groupdocs_viewer_cloud/api_error.rb +56 -0
  6. data/lib/groupdocs_viewer_cloud/configuration.rb +95 -0
  7. data/lib/groupdocs_viewer_cloud/models/attachment.rb +216 -0
  8. data/lib/groupdocs_viewer_cloud/models/attachment_collection.rb +228 -0
  9. data/lib/groupdocs_viewer_cloud/models/attachment_info.rb +226 -0
  10. data/lib/groupdocs_viewer_cloud/models/cad_options.rb +270 -0
  11. data/lib/groupdocs_viewer_cloud/models/cells_options.rb +296 -0
  12. data/lib/groupdocs_viewer_cloud/models/document_info.rb +282 -0
  13. data/lib/groupdocs_viewer_cloud/models/document_info_options.rb +348 -0
  14. data/lib/groupdocs_viewer_cloud/models/email_options.rb +228 -0
  15. data/lib/groupdocs_viewer_cloud/models/field_label.rb +216 -0
  16. data/lib/groupdocs_viewer_cloud/models/file_response.rb +196 -0
  17. data/lib/groupdocs_viewer_cloud/models/font_collection.rb +208 -0
  18. data/lib/groupdocs_viewer_cloud/models/font_family.rb +206 -0
  19. data/lib/groupdocs_viewer_cloud/models/format.rb +216 -0
  20. data/lib/groupdocs_viewer_cloud/models/format_collection.rb +208 -0
  21. data/lib/groupdocs_viewer_cloud/models/html_attachment_page_collection.rb +238 -0
  22. data/lib/groupdocs_viewer_cloud/models/html_options.rb +428 -0
  23. data/lib/groupdocs_viewer_cloud/models/html_page.rb +228 -0
  24. data/lib/groupdocs_viewer_cloud/models/html_page_collection.rb +228 -0
  25. data/lib/groupdocs_viewer_cloud/models/image_attachment_page_collection.rb +238 -0
  26. data/lib/groupdocs_viewer_cloud/models/image_options.rb +408 -0
  27. data/lib/groupdocs_viewer_cloud/models/image_page.rb +216 -0
  28. data/lib/groupdocs_viewer_cloud/models/image_page_collection.rb +238 -0
  29. data/lib/groupdocs_viewer_cloud/models/page_info.rb +268 -0
  30. data/lib/groupdocs_viewer_cloud/models/page_info_collection.rb +208 -0
  31. data/lib/groupdocs_viewer_cloud/models/pdf_file_info.rb +236 -0
  32. data/lib/groupdocs_viewer_cloud/models/pdf_file_options.rb +348 -0
  33. data/lib/groupdocs_viewer_cloud/models/pdf_options.rb +236 -0
  34. data/lib/groupdocs_viewer_cloud/models/project_options.rb +216 -0
  35. data/lib/groupdocs_viewer_cloud/models/render_options.rb +368 -0
  36. data/lib/groupdocs_viewer_cloud/models/render_options_base.rb +348 -0
  37. data/lib/groupdocs_viewer_cloud/models/reorder_options.rb +226 -0
  38. data/lib/groupdocs_viewer_cloud/models/requests/html_create_attachment_pages_cache_request.rb +65 -0
  39. data/lib/groupdocs_viewer_cloud/models/requests/html_create_pages_cache_from_content_request.rb +65 -0
  40. data/lib/groupdocs_viewer_cloud/models/requests/html_create_pages_cache_from_url_request.rb +65 -0
  41. data/lib/groupdocs_viewer_cloud/models/requests/html_create_pages_cache_request.rb +61 -0
  42. data/lib/groupdocs_viewer_cloud/models/requests/html_create_pdf_file_from_content_request.rb +65 -0
  43. data/lib/groupdocs_viewer_cloud/models/requests/html_create_pdf_file_from_url_request.rb +65 -0
  44. data/lib/groupdocs_viewer_cloud/models/requests/html_create_pdf_file_request.rb +61 -0
  45. data/lib/groupdocs_viewer_cloud/models/requests/html_delete_attachment_pages_cache_request.rb +57 -0
  46. data/lib/groupdocs_viewer_cloud/models/requests/html_delete_pages_cache_request.rb +53 -0
  47. data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_info_request.rb +65 -0
  48. data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_info_with_options_request.rb +61 -0
  49. data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_page_request.rb +109 -0
  50. data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_page_resource_request.rb +65 -0
  51. data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_pages_request.rb +113 -0
  52. data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachment_request.rb +61 -0
  53. data/lib/groupdocs_viewer_cloud/models/requests/html_get_attachments_request.rb +57 -0
  54. data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_from_content_request.rb +61 -0
  55. data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_from_url_request.rb +69 -0
  56. data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_from_url_with_options_request.rb +61 -0
  57. data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_request.rb +65 -0
  58. data/lib/groupdocs_viewer_cloud/models/requests/html_get_document_info_with_options_request.rb +57 -0
  59. data/lib/groupdocs_viewer_cloud/models/requests/html_get_page_request.rb +101 -0
  60. data/lib/groupdocs_viewer_cloud/models/requests/html_get_page_resource_request.rb +61 -0
  61. data/lib/groupdocs_viewer_cloud/models/requests/html_get_pages_from_url_request.rb +109 -0
  62. data/lib/groupdocs_viewer_cloud/models/requests/html_get_pages_request.rb +105 -0
  63. data/lib/groupdocs_viewer_cloud/models/requests/html_get_pdf_file_from_url_request.rb +77 -0
  64. data/lib/groupdocs_viewer_cloud/models/requests/html_get_pdf_file_request.rb +73 -0
  65. data/lib/groupdocs_viewer_cloud/models/requests/html_get_zip_with_attachment_pages_request.rb +113 -0
  66. data/lib/groupdocs_viewer_cloud/models/requests/html_get_zip_with_pages_request.rb +105 -0
  67. data/lib/groupdocs_viewer_cloud/models/requests/html_transform_pages_request.rb +57 -0
  68. data/lib/groupdocs_viewer_cloud/models/requests/image_create_attachment_pages_cache_request.rb +65 -0
  69. data/lib/groupdocs_viewer_cloud/models/requests/image_create_pages_cache_from_content_request.rb +65 -0
  70. data/lib/groupdocs_viewer_cloud/models/requests/image_create_pages_cache_from_url_request.rb +65 -0
  71. data/lib/groupdocs_viewer_cloud/models/requests/image_create_pages_cache_request.rb +61 -0
  72. data/lib/groupdocs_viewer_cloud/models/requests/image_create_pdf_file_from_content_request.rb +65 -0
  73. data/lib/groupdocs_viewer_cloud/models/requests/image_create_pdf_file_from_url_request.rb +65 -0
  74. data/lib/groupdocs_viewer_cloud/models/requests/image_create_pdf_file_request.rb +61 -0
  75. data/lib/groupdocs_viewer_cloud/models/requests/image_delete_attachment_pages_cache_request.rb +57 -0
  76. data/lib/groupdocs_viewer_cloud/models/requests/image_delete_pages_cache_request.rb +53 -0
  77. data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_info_request.rb +69 -0
  78. data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_info_with_options_request.rb +61 -0
  79. data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_page_request.rb +105 -0
  80. data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_pages_request.rb +109 -0
  81. data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachment_request.rb +61 -0
  82. data/lib/groupdocs_viewer_cloud/models/requests/image_get_attachments_request.rb +57 -0
  83. data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_from_content_request.rb +61 -0
  84. data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_from_url_request.rb +73 -0
  85. data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_from_url_with_options_request.rb +61 -0
  86. data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_request.rb +69 -0
  87. data/lib/groupdocs_viewer_cloud/models/requests/image_get_document_info_with_options_request.rb +57 -0
  88. data/lib/groupdocs_viewer_cloud/models/requests/image_get_page_request.rb +97 -0
  89. data/lib/groupdocs_viewer_cloud/models/requests/image_get_pages_from_url_request.rb +105 -0
  90. data/lib/groupdocs_viewer_cloud/models/requests/image_get_pages_request.rb +101 -0
  91. data/lib/groupdocs_viewer_cloud/models/requests/image_get_pdf_file_from_url_request.rb +77 -0
  92. data/lib/groupdocs_viewer_cloud/models/requests/image_get_pdf_file_request.rb +73 -0
  93. data/lib/groupdocs_viewer_cloud/models/requests/image_get_zip_with_attachment_pages_request.rb +109 -0
  94. data/lib/groupdocs_viewer_cloud/models/requests/image_get_zip_with_pages_request.rb +101 -0
  95. data/lib/groupdocs_viewer_cloud/models/requests/image_transform_pages_request.rb +57 -0
  96. data/lib/groupdocs_viewer_cloud/models/resource.rb +216 -0
  97. data/lib/groupdocs_viewer_cloud/models/resource_url.rb +206 -0
  98. data/lib/groupdocs_viewer_cloud/models/rotate_options.rb +226 -0
  99. data/lib/groupdocs_viewer_cloud/models/row_info.rb +270 -0
  100. data/lib/groupdocs_viewer_cloud/models/slides_options.rb +206 -0
  101. data/lib/groupdocs_viewer_cloud/models/tile.rb +236 -0
  102. data/lib/groupdocs_viewer_cloud/models/transform_options_base.rb +216 -0
  103. data/lib/groupdocs_viewer_cloud/models/watermark.rb +236 -0
  104. data/lib/groupdocs_viewer_cloud/models/words_options.rb +216 -0
  105. data/lib/groupdocs_viewer_cloud/version.rb +29 -0
  106. metadata +235 -0
@@ -0,0 +1,65 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose Pty Ltd" file="html_get_attachment_page_resource_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 html_get_attachment_page_resource operation.
32
+ #
33
+ class HtmlGetAttachmentPageResourceRequest
34
+
35
+ # The file name.
36
+ attr_accessor :file_name
37
+ # The attachment name.
38
+ attr_accessor :attachment_name
39
+ # The page number.
40
+ attr_accessor :page_number
41
+ # Name of the resource.
42
+ attr_accessor :resource_name
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_name The file name.
51
+ # @param attachment_name The attachment name.
52
+ # @param page_number The page number.
53
+ # @param resource_name Name of the resource.
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_name, attachment_name, page_number, resource_name, folder = nil, storage = nil)
57
+ self.file_name = file_name
58
+ self.attachment_name = attachment_name
59
+ self.page_number = page_number
60
+ self.resource_name = resource_name
61
+ self.folder = folder
62
+ self.storage = storage
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,113 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose Pty Ltd" file="html_get_attachment_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 html_get_attachment_pages operation.
32
+ #
33
+ class HtmlGetAttachmentPagesRequest
34
+
35
+ # The file name.
36
+ attr_accessor :file_name
37
+ # The attachment name.
38
+ attr_accessor :attachment_name
39
+ # The attachment page HTML resource path.
40
+ attr_accessor :resource_path
41
+ # When this option enabled ResourcePath won't be added to resource reference in *.css and *.svg files.
42
+ attr_accessor :ignore_resource_path_in_resources
43
+ # Whether to embed HTML resources or save them separate.
44
+ attr_accessor :embed_resources
45
+ # Enables content (HTML, CSS and SVG) minification.
46
+ attr_accessor :enable_minification
47
+ # Indicates whether rendering will provide responsive web pages, that look well on different device types.
48
+ attr_accessor :enable_responsive_rendering
49
+ # Prevents adding fonts to the output HTML document.
50
+ attr_accessor :exclude_fonts
51
+ # The starting document page number to render.
52
+ attr_accessor :start_page_number
53
+ # The count of document pages to render.
54
+ attr_accessor :count_pages
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 document password.
60
+ attr_accessor :password
61
+ # The attachment password.
62
+ attr_accessor :attachment_password
63
+ # The name of the default font.
64
+ attr_accessor :default_font_name
65
+ # The folder with custom fonts in storage.
66
+ attr_accessor :fonts_folder
67
+ # The folder which contains specified file in storage.
68
+ attr_accessor :folder
69
+ # The file storage which have to be used.
70
+ attr_accessor :storage
71
+
72
+ #
73
+ # Initializes a new instance.
74
+ # @param file_name The file name.
75
+ # @param attachment_name The attachment name.
76
+ # @param resource_path The attachment page HTML resource path.
77
+ # @param ignore_resource_path_in_resources When this option enabled ResourcePath won't be added to resource reference in *.css and *.svg files.
78
+ # @param embed_resources Whether to embed HTML resources or save them separate.
79
+ # @param enable_minification Enables content (HTML, CSS and SVG) minification.
80
+ # @param enable_responsive_rendering Indicates whether rendering will provide responsive web pages, that look well on different device types.
81
+ # @param exclude_fonts Prevents adding fonts to the output HTML document.
82
+ # @param start_page_number The starting document page number to render.
83
+ # @param count_pages The count of document pages to render.
84
+ # @param render_comments Allows to render document comments.
85
+ # @param render_hidden_pages Enables rendering of document hidden pages, sheets or slides.
86
+ # @param password The document password.
87
+ # @param attachment_password The attachment password.
88
+ # @param default_font_name The name of the default font.
89
+ # @param fonts_folder The folder with custom fonts in storage.
90
+ # @param folder The folder which contains specified file in storage.
91
+ # @param storage The file storage which have to be used.
92
+ def initialize(file_name, attachment_name, resource_path = nil, ignore_resource_path_in_resources = nil, embed_resources = nil, enable_minification = nil, enable_responsive_rendering = nil, exclude_fonts = nil, start_page_number = nil, count_pages = nil, render_comments = nil, render_hidden_pages = nil, password = nil, attachment_password = nil, default_font_name = nil, fonts_folder = nil, folder = nil, storage = nil)
93
+ self.file_name = file_name
94
+ self.attachment_name = attachment_name
95
+ self.resource_path = resource_path
96
+ self.ignore_resource_path_in_resources = ignore_resource_path_in_resources
97
+ self.embed_resources = embed_resources
98
+ self.enable_minification = enable_minification
99
+ self.enable_responsive_rendering = enable_responsive_rendering
100
+ self.exclude_fonts = exclude_fonts
101
+ self.start_page_number = start_page_number
102
+ self.count_pages = count_pages
103
+ self.render_comments = render_comments
104
+ self.render_hidden_pages = render_hidden_pages
105
+ self.password = password
106
+ self.attachment_password = attachment_password
107
+ self.default_font_name = default_font_name
108
+ self.fonts_folder = fonts_folder
109
+ self.folder = folder
110
+ self.storage = storage
111
+ end
112
+ end
113
+ end
@@ -0,0 +1,61 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose Pty Ltd" file="html_get_attachment_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 html_get_attachment operation.
32
+ #
33
+ class HtmlGetAttachmentRequest
34
+
35
+ # The file name.
36
+ attr_accessor :file_name
37
+ # Name of the attachment.
38
+ attr_accessor :attachment_name
39
+ # The document password.
40
+ attr_accessor :password
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 attachment_name Name of the attachment.
50
+ # @param password The document password.
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, attachment_name, password = nil, folder = nil, storage = nil)
54
+ self.file_name = file_name
55
+ self.attachment_name = attachment_name
56
+ self.password = password
57
+ self.folder = folder
58
+ self.storage = storage
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,57 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose Pty Ltd" file="html_get_attachments_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 html_get_attachments operation.
32
+ #
33
+ class HtmlGetAttachmentsRequest
34
+
35
+ # The file name.
36
+ attr_accessor :file_name
37
+ # The document password.
38
+ attr_accessor :password
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 password The document password.
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, password = nil, folder = nil, storage = nil)
51
+ self.file_name = file_name
52
+ self.password = password
53
+ self.folder = folder
54
+ self.storage = storage
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,61 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose Pty Ltd" file="html_get_document_info_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 html_get_document_info_from_content operation.
32
+ #
33
+ class HtmlGetDocumentInfoFromContentRequest
34
+
35
+ # File contents.
36
+ attr_accessor :file
37
+ # Document info options 'DocumentInfoOptions' as JSON or XML.
38
+ attr_accessor :document_info_options
39
+ # The file name.
40
+ attr_accessor :file_name
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 File contents.
49
+ # @param document_info_options Document info options 'DocumentInfoOptions' as JSON or XML.
50
+ # @param file_name The file name.
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, document_info_options, file_name = nil, folder = nil, storage = nil)
54
+ self.file = file
55
+ self.document_info_options = document_info_options
56
+ self.file_name = file_name
57
+ self.folder = folder
58
+ self.storage = storage
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,69 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose Pty Ltd" file="html_get_document_info_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 html_get_document_info_from_url operation.
32
+ #
33
+ class HtmlGetDocumentInfoFromUrlRequest
34
+
35
+ # The URL to retrieve document.
36
+ attr_accessor :url
37
+ # The file name.
38
+ attr_accessor :file_name
39
+ # The document password.
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 folder which contains specified file in storage.
46
+ attr_accessor :folder
47
+ # The file storage which have to be used.
48
+ attr_accessor :storage
49
+
50
+ #
51
+ # Initializes a new instance.
52
+ # @param url The URL to retrieve document.
53
+ # @param file_name The file name.
54
+ # @param password The document password.
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 folder The folder which contains specified file in storage.
58
+ # @param storage The file storage which have to be used.
59
+ def initialize(url, file_name = nil, password = nil, render_comments = nil, render_hidden_pages = nil, folder = nil, storage = nil)
60
+ self.url = url
61
+ self.file_name = file_name
62
+ self.password = password
63
+ self.render_comments = render_comments
64
+ self.render_hidden_pages = render_hidden_pages
65
+ self.folder = folder
66
+ self.storage = storage
67
+ end
68
+ end
69
+ end
@@ -0,0 +1,61 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose Pty Ltd" file="html_get_document_info_from_url_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 html_get_document_info_from_url_with_options operation.
32
+ #
33
+ class HtmlGetDocumentInfoFromUrlWithOptionsRequest
34
+
35
+ # The URL to retrieve document.
36
+ attr_accessor :url
37
+ # The rendering options.
38
+ attr_accessor :document_info_options
39
+ # The document name.
40
+ attr_accessor :file_name
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 url The URL to retrieve document.
49
+ # @param document_info_options The rendering options.
50
+ # @param file_name The document name.
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(url, document_info_options = nil, file_name = nil, folder = nil, storage = nil)
54
+ self.url = url
55
+ self.document_info_options = document_info_options
56
+ self.file_name = file_name
57
+ self.folder = folder
58
+ self.storage = storage
59
+ end
60
+ end
61
+ end