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.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud.rb +30 -0
  3. data/lib/aspose_words_cloud/api/words_api.rb +4292 -2201
  4. data/lib/aspose_words_cloud/api_client.rb +1 -0
  5. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +61 -4
  6. data/lib/aspose_words_cloud/models/csv_data_load_options.rb +237 -0
  7. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +58 -1
  8. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +61 -4
  9. data/lib/aspose_words_cloud/models/epub_save_options_data.rb +37 -1
  10. data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +58 -1
  11. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +61 -4
  12. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +71 -4
  13. data/lib/aspose_words_cloud/models/html_save_options_data.rb +37 -1
  14. data/lib/aspose_words_cloud/models/image_save_options_data.rb +58 -1
  15. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +61 -4
  16. data/lib/aspose_words_cloud/models/list_format.rb +236 -0
  17. data/lib/aspose_words_cloud/models/list_format_update.rb +217 -0
  18. data/lib/aspose_words_cloud/models/list_info.rb +274 -0
  19. data/lib/aspose_words_cloud/models/list_insert.rb +244 -0
  20. data/lib/aspose_words_cloud/models/list_level.rb +393 -0
  21. data/lib/aspose_words_cloud/models/list_level_update.rb +366 -0
  22. data/lib/aspose_words_cloud/models/list_levels.rb +218 -0
  23. data/lib/aspose_words_cloud/models/list_response.rb +216 -0
  24. data/lib/aspose_words_cloud/models/list_update.rb +207 -0
  25. data/lib/aspose_words_cloud/models/lists.rb +218 -0
  26. data/lib/aspose_words_cloud/models/lists_response.rb +216 -0
  27. data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +37 -1
  28. data/lib/aspose_words_cloud/models/odt_save_options_data.rb +47 -1
  29. data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +58 -1
  30. data/lib/aspose_words_cloud/models/paragraph_format.rb +10 -1
  31. data/lib/aspose_words_cloud/models/paragraph_list_format_response.rb +216 -0
  32. data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +58 -1
  33. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +47 -1
  34. data/lib/aspose_words_cloud/models/png_save_options_data.rb +61 -4
  35. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +58 -1
  36. data/lib/aspose_words_cloud/models/report_build_options.rb +26 -0
  37. data/lib/aspose_words_cloud/models/report_engine_settings.rb +275 -0
  38. data/lib/aspose_words_cloud/models/requests/ApplyStyleToDocumentElementRequest.rb +81 -0
  39. data/lib/aspose_words_cloud/models/requests/BuildReportOnlineRequest.rb +57 -0
  40. data/lib/aspose_words_cloud/models/requests/BuildReportRequest.rb +73 -0
  41. data/lib/aspose_words_cloud/models/requests/CopyStyleRequest.rb +77 -0
  42. data/lib/aspose_words_cloud/models/requests/DeleteAllParagraphTabStopsRequest.rb +73 -0
  43. data/lib/aspose_words_cloud/models/requests/DeleteParagraphListFormatRequest.rb +81 -0
  44. data/lib/aspose_words_cloud/models/requests/DeleteParagraphTabStopRequest.rb +77 -0
  45. data/lib/aspose_words_cloud/models/requests/ExecuteMailMergeOnlineRequest.rb +2 -2
  46. data/lib/aspose_words_cloud/models/requests/ExecuteMailMergeRequest.rb +2 -2
  47. data/lib/aspose_words_cloud/models/requests/GetDocumentFieldNamesRequest.rb +2 -2
  48. data/lib/aspose_words_cloud/models/requests/GetListRequest.rb +65 -0
  49. data/lib/aspose_words_cloud/models/requests/GetListsRequest.rb +61 -0
  50. data/lib/aspose_words_cloud/models/requests/GetParagraphListFormatRequest.rb +69 -0
  51. data/lib/aspose_words_cloud/models/requests/GetParagraphListFormatWithoutNodePathRequest.rb +65 -0
  52. data/lib/aspose_words_cloud/models/requests/GetParagraphTabStopsRequest.rb +69 -0
  53. data/lib/aspose_words_cloud/models/requests/GetStyleFromDocumentElementRequest.rb +65 -0
  54. data/lib/aspose_words_cloud/models/requests/GetStyleRequest.rb +65 -0
  55. data/lib/aspose_words_cloud/models/requests/GetStylesRequest.rb +61 -0
  56. data/lib/aspose_words_cloud/models/requests/InsertListRequest.rb +77 -0
  57. data/lib/aspose_words_cloud/models/requests/InsertOrUpdateParagraphTabStopRequest.rb +77 -0
  58. data/lib/aspose_words_cloud/models/requests/InsertStyleRequest.rb +77 -0
  59. data/lib/aspose_words_cloud/models/requests/UpdateListLevelRequest.rb +85 -0
  60. data/lib/aspose_words_cloud/models/requests/UpdateListRequest.rb +81 -0
  61. data/lib/aspose_words_cloud/models/requests/UpdateParagraphListFormatRequest.rb +85 -0
  62. data/lib/aspose_words_cloud/models/requests/UpdateStyleRequest.rb +81 -0
  63. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +58 -1
  64. data/lib/aspose_words_cloud/models/save_options_data.rb +61 -4
  65. data/lib/aspose_words_cloud/models/shading.rb +262 -0
  66. data/lib/aspose_words_cloud/models/style.rb +370 -0
  67. data/lib/aspose_words_cloud/models/style_apply.rb +207 -0
  68. data/lib/aspose_words_cloud/models/style_copy.rb +207 -0
  69. data/lib/aspose_words_cloud/models/style_insert.rb +254 -0
  70. data/lib/aspose_words_cloud/models/style_response.rb +216 -0
  71. data/lib/aspose_words_cloud/models/style_update.rb +237 -0
  72. data/lib/aspose_words_cloud/models/styles.rb +218 -0
  73. data/lib/aspose_words_cloud/models/styles_response.rb +216 -0
  74. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +58 -1
  75. data/lib/aspose_words_cloud/models/tab_stop.rb +290 -0
  76. data/lib/aspose_words_cloud/models/tab_stop_base.rb +280 -0
  77. data/lib/aspose_words_cloud/models/tab_stop_insert.rb +280 -0
  78. data/lib/aspose_words_cloud/models/tab_stops_response.rb +219 -0
  79. data/lib/aspose_words_cloud/models/text_save_options_data.rb +37 -1
  80. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +58 -1
  81. data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +58 -1
  82. data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +58 -1
  83. data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +58 -1
  84. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +58 -1
  85. data/lib/aspose_words_cloud/version.rb +1 -1
  86. metadata +52 -2
@@ -0,0 +1,65 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="GetStyleFromDocumentElementRequest.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_style_from_document_element operation.
32
+ #
33
+ class GetStyleFromDocumentElementRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # Path to the node of IStyledDocumentElement.
38
+ attr_accessor :styled_node_path
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 styled_node_path Path to the node of IStyledDocumentElement.
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, styled_node_path, folder = nil, storage = nil, load_encoding = nil, password = nil)
57
+ self.name = name
58
+ self.styled_node_path = styled_node_path
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,65 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="GetStyleRequest.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_style operation.
32
+ #
33
+ class GetStyleRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # Style name.
38
+ attr_accessor :style_name
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 style_name Style name.
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, style_name, folder = nil, storage = nil, load_encoding = nil, password = nil)
57
+ self.name = name
58
+ self.style_name = style_name
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="GetStylesRequest.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_styles operation.
32
+ #
33
+ class GetStylesRequest
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,77 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="InsertListRequest.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 insert_list operation.
32
+ #
33
+ class InsertListRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # List to insert.
38
+ attr_accessor :list_insert
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
+ # 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.
48
+ attr_accessor :dest_file_name
49
+ # Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
50
+ attr_accessor :revision_author
51
+ # The date and time to use for revisions.
52
+ attr_accessor :revision_date_time
53
+
54
+ #
55
+ # Initializes a new instance.
56
+ # @param name The document name.
57
+ # @param list_insert List to insert.
58
+ # @param folder Original document folder.
59
+ # @param storage Original document storage.
60
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
61
+ # @param password Password for opening an encrypted document.
62
+ # @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.
63
+ # @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
64
+ # @param revision_date_time The date and time to use for revisions.
65
+ def initialize(name, list_insert, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil)
66
+ self.name = name
67
+ self.list_insert = list_insert
68
+ self.folder = folder
69
+ self.storage = storage
70
+ self.load_encoding = load_encoding
71
+ self.password = password
72
+ self.dest_file_name = dest_file_name
73
+ self.revision_author = revision_author
74
+ self.revision_date_time = revision_date_time
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,77 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="InsertOrUpdateParagraphTabStopRequest.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 insert_or_update_paragraph_tab_stop operation.
32
+ #
33
+ class InsertOrUpdateParagraphTabStopRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # Path to the node which contains paragraph.
38
+ attr_accessor :node_path
39
+ # Paragraph tab stop.
40
+ attr_accessor :dto
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 dto Paragraph tab stop.
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, dto, 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.dto = dto
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
@@ -0,0 +1,77 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="InsertStyleRequest.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 insert_style operation.
32
+ #
33
+ class InsertStyleRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # Style to insert.
38
+ attr_accessor :style_insert
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
+ # 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.
48
+ attr_accessor :dest_file_name
49
+ # Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
50
+ attr_accessor :revision_author
51
+ # The date and time to use for revisions.
52
+ attr_accessor :revision_date_time
53
+
54
+ #
55
+ # Initializes a new instance.
56
+ # @param name The document name.
57
+ # @param style_insert Style to insert.
58
+ # @param folder Original document folder.
59
+ # @param storage Original document storage.
60
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
61
+ # @param password Password for opening an encrypted document.
62
+ # @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.
63
+ # @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
64
+ # @param revision_date_time The date and time to use for revisions.
65
+ def initialize(name, style_insert, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil)
66
+ self.name = name
67
+ self.style_insert = style_insert
68
+ self.folder = folder
69
+ self.storage = storage
70
+ self.load_encoding = load_encoding
71
+ self.password = password
72
+ self.dest_file_name = dest_file_name
73
+ self.revision_author = revision_author
74
+ self.revision_date_time = revision_date_time
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,85 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="UpdateListLevelRequest.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 update_list_level operation.
32
+ #
33
+ class UpdateListLevelRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # List object.
38
+ attr_accessor :list_update
39
+ # List unique identifier.
40
+ attr_accessor :list_id
41
+ # List level identifier.
42
+ attr_accessor :list_level
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
+ # Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
54
+ attr_accessor :revision_author
55
+ # The date and time to use for revisions.
56
+ attr_accessor :revision_date_time
57
+
58
+ #
59
+ # Initializes a new instance.
60
+ # @param name The document name.
61
+ # @param list_update List object.
62
+ # @param list_id List unique identifier.
63
+ # @param list_level List level identifier.
64
+ # @param folder Original document folder.
65
+ # @param storage Original document storage.
66
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
67
+ # @param password Password for opening an encrypted document.
68
+ # @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.
69
+ # @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
70
+ # @param revision_date_time The date and time to use for revisions.
71
+ def initialize(name, list_update, list_id, list_level, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil)
72
+ self.name = name
73
+ self.list_update = list_update
74
+ self.list_id = list_id
75
+ self.list_level = list_level
76
+ self.folder = folder
77
+ self.storage = storage
78
+ self.load_encoding = load_encoding
79
+ self.password = password
80
+ self.dest_file_name = dest_file_name
81
+ self.revision_author = revision_author
82
+ self.revision_date_time = revision_date_time
83
+ end
84
+ end
85
+ end