aspose_words_cloud 20.4.0 → 20.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud.rb +30 -0
- data/lib/aspose_words_cloud/api/words_api.rb +4292 -2201
- data/lib/aspose_words_cloud/api_client.rb +1 -0
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +61 -4
- data/lib/aspose_words_cloud/models/csv_data_load_options.rb +237 -0
- data/lib/aspose_words_cloud/models/doc_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +61 -4
- data/lib/aspose_words_cloud/models/epub_save_options_data.rb +37 -1
- data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +61 -4
- data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +71 -4
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +37 -1
- data/lib/aspose_words_cloud/models/image_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +61 -4
- data/lib/aspose_words_cloud/models/list_format.rb +236 -0
- data/lib/aspose_words_cloud/models/list_format_update.rb +217 -0
- data/lib/aspose_words_cloud/models/list_info.rb +274 -0
- data/lib/aspose_words_cloud/models/list_insert.rb +244 -0
- data/lib/aspose_words_cloud/models/list_level.rb +393 -0
- data/lib/aspose_words_cloud/models/list_level_update.rb +366 -0
- data/lib/aspose_words_cloud/models/list_levels.rb +218 -0
- data/lib/aspose_words_cloud/models/list_response.rb +216 -0
- data/lib/aspose_words_cloud/models/list_update.rb +207 -0
- data/lib/aspose_words_cloud/models/lists.rb +218 -0
- data/lib/aspose_words_cloud/models/lists_response.rb +216 -0
- data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +37 -1
- data/lib/aspose_words_cloud/models/odt_save_options_data.rb +47 -1
- data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/paragraph_format.rb +10 -1
- data/lib/aspose_words_cloud/models/paragraph_list_format_response.rb +216 -0
- data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +47 -1
- data/lib/aspose_words_cloud/models/png_save_options_data.rb +61 -4
- data/lib/aspose_words_cloud/models/ps_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/report_build_options.rb +26 -0
- data/lib/aspose_words_cloud/models/report_engine_settings.rb +275 -0
- data/lib/aspose_words_cloud/models/requests/ApplyStyleToDocumentElementRequest.rb +81 -0
- data/lib/aspose_words_cloud/models/requests/BuildReportOnlineRequest.rb +57 -0
- data/lib/aspose_words_cloud/models/requests/BuildReportRequest.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/CopyStyleRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/DeleteAllParagraphTabStopsRequest.rb +73 -0
- data/lib/aspose_words_cloud/models/requests/DeleteParagraphListFormatRequest.rb +81 -0
- data/lib/aspose_words_cloud/models/requests/DeleteParagraphTabStopRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/ExecuteMailMergeOnlineRequest.rb +2 -2
- data/lib/aspose_words_cloud/models/requests/ExecuteMailMergeRequest.rb +2 -2
- data/lib/aspose_words_cloud/models/requests/GetDocumentFieldNamesRequest.rb +2 -2
- data/lib/aspose_words_cloud/models/requests/GetListRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetListsRequest.rb +61 -0
- data/lib/aspose_words_cloud/models/requests/GetParagraphListFormatRequest.rb +69 -0
- data/lib/aspose_words_cloud/models/requests/GetParagraphListFormatWithoutNodePathRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetParagraphTabStopsRequest.rb +69 -0
- data/lib/aspose_words_cloud/models/requests/GetStyleFromDocumentElementRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetStyleRequest.rb +65 -0
- data/lib/aspose_words_cloud/models/requests/GetStylesRequest.rb +61 -0
- data/lib/aspose_words_cloud/models/requests/InsertListRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/InsertOrUpdateParagraphTabStopRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/InsertStyleRequest.rb +77 -0
- data/lib/aspose_words_cloud/models/requests/UpdateListLevelRequest.rb +85 -0
- data/lib/aspose_words_cloud/models/requests/UpdateListRequest.rb +81 -0
- data/lib/aspose_words_cloud/models/requests/UpdateParagraphListFormatRequest.rb +85 -0
- data/lib/aspose_words_cloud/models/requests/UpdateStyleRequest.rb +81 -0
- data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/save_options_data.rb +61 -4
- data/lib/aspose_words_cloud/models/shading.rb +262 -0
- data/lib/aspose_words_cloud/models/style.rb +370 -0
- data/lib/aspose_words_cloud/models/style_apply.rb +207 -0
- data/lib/aspose_words_cloud/models/style_copy.rb +207 -0
- data/lib/aspose_words_cloud/models/style_insert.rb +254 -0
- data/lib/aspose_words_cloud/models/style_response.rb +216 -0
- data/lib/aspose_words_cloud/models/style_update.rb +237 -0
- data/lib/aspose_words_cloud/models/styles.rb +218 -0
- data/lib/aspose_words_cloud/models/styles_response.rb +216 -0
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/tab_stop.rb +290 -0
- data/lib/aspose_words_cloud/models/tab_stop_base.rb +280 -0
- data/lib/aspose_words_cloud/models/tab_stop_insert.rb +280 -0
- data/lib/aspose_words_cloud/models/tab_stops_response.rb +219 -0
- data/lib/aspose_words_cloud/models/text_save_options_data.rb +37 -1
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +58 -1
- data/lib/aspose_words_cloud/version.rb +1 -1
- metadata +52 -2
@@ -0,0 +1,77 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="DeleteParagraphTabStopRequest.rb">
|
4
|
+
# Copyright (c) 2019 Aspose.Words for Cloud
|
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 AsposeWordsCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for delete_paragraph_tab_stop operation.
|
32
|
+
#
|
33
|
+
class DeleteParagraphTabStopRequest
|
34
|
+
|
35
|
+
# The document name.
|
36
|
+
attr_accessor :name
|
37
|
+
# Path to the node which contains paragraph.
|
38
|
+
attr_accessor :node_path
|
39
|
+
# a tab stop position to remove.
|
40
|
+
attr_accessor :position
|
41
|
+
# Object index.
|
42
|
+
attr_accessor :index
|
43
|
+
# Original document folder.
|
44
|
+
attr_accessor :folder
|
45
|
+
# Original document storage.
|
46
|
+
attr_accessor :storage
|
47
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
48
|
+
attr_accessor :load_encoding
|
49
|
+
# Password for opening an encrypted document.
|
50
|
+
attr_accessor :password
|
51
|
+
# Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
52
|
+
attr_accessor :dest_file_name
|
53
|
+
|
54
|
+
#
|
55
|
+
# Initializes a new instance.
|
56
|
+
# @param name The document name.
|
57
|
+
# @param node_path Path to the node which contains paragraph.
|
58
|
+
# @param position a tab stop position to remove.
|
59
|
+
# @param index Object index.
|
60
|
+
# @param folder Original document folder.
|
61
|
+
# @param storage Original document storage.
|
62
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
63
|
+
# @param password Password for opening an encrypted document.
|
64
|
+
# @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
65
|
+
def initialize(name, node_path, position, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil)
|
66
|
+
self.name = name
|
67
|
+
self.node_path = node_path
|
68
|
+
self.position = position
|
69
|
+
self.index = index
|
70
|
+
self.folder = folder
|
71
|
+
self.storage = storage
|
72
|
+
self.load_encoding = load_encoding
|
73
|
+
self.password = password
|
74
|
+
self.dest_file_name = dest_file_name
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -40,7 +40,7 @@ module AsposeWordsCloud
|
|
40
40
|
attr_accessor :with_regions
|
41
41
|
# Clean up options.
|
42
42
|
attr_accessor :cleanup
|
43
|
-
# This file name will be used when resulting document has dynamic field for document file name {filename}. If it is not
|
43
|
+
# This file name will be used when resulting document has dynamic field for document file name {filename}. If it is not set, "template" will be used instead.
|
44
44
|
attr_accessor :document_file_name
|
45
45
|
|
46
46
|
#
|
@@ -49,7 +49,7 @@ module AsposeWordsCloud
|
|
49
49
|
# @param data File with mailmerge data
|
50
50
|
# @param with_regions With regions flag.
|
51
51
|
# @param cleanup Clean up options.
|
52
|
-
# @param document_file_name This file name will be used when resulting document has dynamic field for document file name {filename}. If it is not
|
52
|
+
# @param document_file_name This file name will be used when resulting document has dynamic field for document file name {filename}. If it is not set, "template" will be used instead.
|
53
53
|
def initialize(template, data, with_regions = nil, cleanup = nil, document_file_name = nil)
|
54
54
|
self.template = template
|
55
55
|
self.data = data
|
@@ -32,7 +32,7 @@ module AsposeWordsCloud
|
|
32
32
|
#
|
33
33
|
class ExecuteMailMergeRequest
|
34
34
|
|
35
|
-
# The
|
35
|
+
# The template name.
|
36
36
|
attr_accessor :name
|
37
37
|
# Mail merge data
|
38
38
|
attr_accessor :data
|
@@ -57,7 +57,7 @@ module AsposeWordsCloud
|
|
57
57
|
|
58
58
|
#
|
59
59
|
# Initializes a new instance.
|
60
|
-
# @param name The
|
60
|
+
# @param name The template name.
|
61
61
|
# @param data Mail merge data
|
62
62
|
# @param folder Original document folder.
|
63
63
|
# @param storage Original document storage.
|
@@ -32,7 +32,7 @@ module AsposeWordsCloud
|
|
32
32
|
#
|
33
33
|
class GetDocumentFieldNamesRequest
|
34
34
|
|
35
|
-
# The
|
35
|
+
# The template name.
|
36
36
|
attr_accessor :name
|
37
37
|
# Original document folder.
|
38
38
|
attr_accessor :folder
|
@@ -47,7 +47,7 @@ module AsposeWordsCloud
|
|
47
47
|
|
48
48
|
#
|
49
49
|
# Initializes a new instance.
|
50
|
-
# @param name The
|
50
|
+
# @param name The template name.
|
51
51
|
# @param folder Original document folder.
|
52
52
|
# @param storage Original document storage.
|
53
53
|
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
@@ -0,0 +1,65 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="GetListRequest.rb">
|
4
|
+
# Copyright (c) 2019 Aspose.Words for Cloud
|
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 AsposeWordsCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for get_list operation.
|
32
|
+
#
|
33
|
+
class GetListRequest
|
34
|
+
|
35
|
+
# The document name.
|
36
|
+
attr_accessor :name
|
37
|
+
# List unique identifier.
|
38
|
+
attr_accessor :list_id
|
39
|
+
# Original document folder.
|
40
|
+
attr_accessor :folder
|
41
|
+
# Original document storage.
|
42
|
+
attr_accessor :storage
|
43
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
44
|
+
attr_accessor :load_encoding
|
45
|
+
# Password for opening an encrypted document.
|
46
|
+
attr_accessor :password
|
47
|
+
|
48
|
+
#
|
49
|
+
# Initializes a new instance.
|
50
|
+
# @param name The document name.
|
51
|
+
# @param list_id List unique identifier.
|
52
|
+
# @param folder Original document folder.
|
53
|
+
# @param storage Original document storage.
|
54
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
55
|
+
# @param password Password for opening an encrypted document.
|
56
|
+
def initialize(name, list_id, folder = nil, storage = nil, load_encoding = nil, password = nil)
|
57
|
+
self.name = name
|
58
|
+
self.list_id = list_id
|
59
|
+
self.folder = folder
|
60
|
+
self.storage = storage
|
61
|
+
self.load_encoding = load_encoding
|
62
|
+
self.password = password
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="GetListsRequest.rb">
|
4
|
+
# Copyright (c) 2019 Aspose.Words for Cloud
|
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 AsposeWordsCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for get_lists operation.
|
32
|
+
#
|
33
|
+
class GetListsRequest
|
34
|
+
|
35
|
+
# The document name.
|
36
|
+
attr_accessor :name
|
37
|
+
# Original document folder.
|
38
|
+
attr_accessor :folder
|
39
|
+
# Original document storage.
|
40
|
+
attr_accessor :storage
|
41
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
42
|
+
attr_accessor :load_encoding
|
43
|
+
# Password for opening an encrypted document.
|
44
|
+
attr_accessor :password
|
45
|
+
|
46
|
+
#
|
47
|
+
# Initializes a new instance.
|
48
|
+
# @param name The document name.
|
49
|
+
# @param folder Original document folder.
|
50
|
+
# @param storage Original document storage.
|
51
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
52
|
+
# @param password Password for opening an encrypted document.
|
53
|
+
def initialize(name, folder = nil, storage = nil, load_encoding = nil, password = nil)
|
54
|
+
self.name = name
|
55
|
+
self.folder = folder
|
56
|
+
self.storage = storage
|
57
|
+
self.load_encoding = load_encoding
|
58
|
+
self.password = password
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="GetParagraphListFormatRequest.rb">
|
4
|
+
# Copyright (c) 2019 Aspose.Words for Cloud
|
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 AsposeWordsCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for get_paragraph_list_format operation.
|
32
|
+
#
|
33
|
+
class GetParagraphListFormatRequest
|
34
|
+
|
35
|
+
# The document name.
|
36
|
+
attr_accessor :name
|
37
|
+
# Path to the node which contains paragraphs.
|
38
|
+
attr_accessor :node_path
|
39
|
+
# Object index.
|
40
|
+
attr_accessor :index
|
41
|
+
# Original document folder.
|
42
|
+
attr_accessor :folder
|
43
|
+
# Original document storage.
|
44
|
+
attr_accessor :storage
|
45
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
46
|
+
attr_accessor :load_encoding
|
47
|
+
# Password for opening an encrypted document.
|
48
|
+
attr_accessor :password
|
49
|
+
|
50
|
+
#
|
51
|
+
# Initializes a new instance.
|
52
|
+
# @param name The document name.
|
53
|
+
# @param node_path Path to the node which contains paragraphs.
|
54
|
+
# @param index Object index.
|
55
|
+
# @param folder Original document folder.
|
56
|
+
# @param storage Original document storage.
|
57
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
58
|
+
# @param password Password for opening an encrypted document.
|
59
|
+
def initialize(name, node_path, index, folder = nil, storage = nil, load_encoding = nil, password = nil)
|
60
|
+
self.name = name
|
61
|
+
self.node_path = node_path
|
62
|
+
self.index = index
|
63
|
+
self.folder = folder
|
64
|
+
self.storage = storage
|
65
|
+
self.load_encoding = load_encoding
|
66
|
+
self.password = password
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="GetParagraphListFormatWithoutNodePathRequest.rb">
|
4
|
+
# Copyright (c) 2019 Aspose.Words for Cloud
|
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 AsposeWordsCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for get_paragraph_list_format_without_node_path operation.
|
32
|
+
#
|
33
|
+
class GetParagraphListFormatWithoutNodePathRequest
|
34
|
+
|
35
|
+
# The document name.
|
36
|
+
attr_accessor :name
|
37
|
+
# Object index.
|
38
|
+
attr_accessor :index
|
39
|
+
# Original document folder.
|
40
|
+
attr_accessor :folder
|
41
|
+
# Original document storage.
|
42
|
+
attr_accessor :storage
|
43
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
44
|
+
attr_accessor :load_encoding
|
45
|
+
# Password for opening an encrypted document.
|
46
|
+
attr_accessor :password
|
47
|
+
|
48
|
+
#
|
49
|
+
# Initializes a new instance.
|
50
|
+
# @param name The document name.
|
51
|
+
# @param index Object index.
|
52
|
+
# @param folder Original document folder.
|
53
|
+
# @param storage Original document storage.
|
54
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
55
|
+
# @param password Password for opening an encrypted document.
|
56
|
+
def initialize(name, index, folder = nil, storage = nil, load_encoding = nil, password = nil)
|
57
|
+
self.name = name
|
58
|
+
self.index = index
|
59
|
+
self.folder = folder
|
60
|
+
self.storage = storage
|
61
|
+
self.load_encoding = load_encoding
|
62
|
+
self.password = password
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
#
|
2
|
+
# --------------------------------------------------------------------------------------------------------------------
|
3
|
+
# <copyright company="Aspose" file="GetParagraphTabStopsRequest.rb">
|
4
|
+
# Copyright (c) 2019 Aspose.Words for Cloud
|
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 AsposeWordsCloud
|
29
|
+
|
30
|
+
#
|
31
|
+
# Request model for get_paragraph_tab_stops operation.
|
32
|
+
#
|
33
|
+
class GetParagraphTabStopsRequest
|
34
|
+
|
35
|
+
# The document name.
|
36
|
+
attr_accessor :name
|
37
|
+
# Path to the node which contains paragraph.
|
38
|
+
attr_accessor :node_path
|
39
|
+
# Object index.
|
40
|
+
attr_accessor :index
|
41
|
+
# Original document folder.
|
42
|
+
attr_accessor :folder
|
43
|
+
# Original document storage.
|
44
|
+
attr_accessor :storage
|
45
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
46
|
+
attr_accessor :load_encoding
|
47
|
+
# Password for opening an encrypted document.
|
48
|
+
attr_accessor :password
|
49
|
+
|
50
|
+
#
|
51
|
+
# Initializes a new instance.
|
52
|
+
# @param name The document name.
|
53
|
+
# @param node_path Path to the node which contains paragraph.
|
54
|
+
# @param index Object index.
|
55
|
+
# @param folder Original document folder.
|
56
|
+
# @param storage Original document storage.
|
57
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
58
|
+
# @param password Password for opening an encrypted document.
|
59
|
+
def initialize(name, node_path, index, folder = nil, storage = nil, load_encoding = nil, password = nil)
|
60
|
+
self.name = name
|
61
|
+
self.node_path = node_path
|
62
|
+
self.index = index
|
63
|
+
self.folder = folder
|
64
|
+
self.storage = storage
|
65
|
+
self.load_encoding = load_encoding
|
66
|
+
self.password = password
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|