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,81 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="ApplyStyleToDocumentElementRequest.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 apply_style_to_document_element operation.
32
+ #
33
+ class ApplyStyleToDocumentElementRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # Style to apply.
38
+ attr_accessor :style_apply
39
+ # Path to the node of IStyledDocumentElement.
40
+ attr_accessor :styled_node_path
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
+ # 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.
50
+ attr_accessor :dest_file_name
51
+ # 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.
52
+ attr_accessor :revision_author
53
+ # The date and time to use for revisions.
54
+ attr_accessor :revision_date_time
55
+
56
+ #
57
+ # Initializes a new instance.
58
+ # @param name The document name.
59
+ # @param style_apply Style to apply.
60
+ # @param styled_node_path Path to the node of IStyledDocumentElement.
61
+ # @param folder Original document folder.
62
+ # @param storage Original document storage.
63
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
64
+ # @param password Password for opening an encrypted document.
65
+ # @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.
66
+ # @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.
67
+ # @param revision_date_time The date and time to use for revisions.
68
+ def initialize(name, style_apply, styled_node_path, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil)
69
+ self.name = name
70
+ self.style_apply = style_apply
71
+ self.styled_node_path = styled_node_path
72
+ self.folder = folder
73
+ self.storage = storage
74
+ self.load_encoding = load_encoding
75
+ self.password = password
76
+ self.dest_file_name = dest_file_name
77
+ self.revision_author = revision_author
78
+ self.revision_date_time = revision_date_time
79
+ end
80
+ end
81
+ end
@@ -0,0 +1,57 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="BuildReportOnlineRequest.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 build_report_online operation.
32
+ #
33
+ class BuildReportOnlineRequest
34
+
35
+ # File with template
36
+ attr_accessor :template
37
+ # A string providing a data to populate the specified template. The string must be of one of the following types: xml, json, csv
38
+ attr_accessor :data
39
+ # An object providing a settings of report engine.
40
+ attr_accessor :report_engine_settings
41
+ # 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.
42
+ attr_accessor :document_file_name
43
+
44
+ #
45
+ # Initializes a new instance.
46
+ # @param template File with template
47
+ # @param data A string providing a data to populate the specified template. The string must be of one of the following types: xml, json, csv
48
+ # @param report_engine_settings An object providing a settings of report engine.
49
+ # @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.
50
+ def initialize(template, data, report_engine_settings, document_file_name = nil)
51
+ self.template = template
52
+ self.data = data
53
+ self.report_engine_settings = report_engine_settings
54
+ self.document_file_name = document_file_name
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,73 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="BuildReportRequest.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 build_report operation.
32
+ #
33
+ class BuildReportRequest
34
+
35
+ # The template name.
36
+ attr_accessor :name
37
+ # A string providing a data to populate the specified template. The string must be of one of the following types: xml, json, csv
38
+ attr_accessor :data
39
+ # An object providing a settings of report engine.
40
+ attr_accessor :report_engine_settings
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
+ # Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved with autogenerated name.
50
+ attr_accessor :dest_file_name
51
+
52
+ #
53
+ # Initializes a new instance.
54
+ # @param name The template name.
55
+ # @param data A string providing a data to populate the specified template. The string must be of one of the following types: xml, json, csv
56
+ # @param report_engine_settings An object providing a settings of report engine.
57
+ # @param folder Original document folder.
58
+ # @param storage Original document storage.
59
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
60
+ # @param password Password for opening an encrypted document.
61
+ # @param dest_file_name Result name of the document after the operation. If this parameter is omitted then result of the operation will be saved with autogenerated name.
62
+ def initialize(name, data, report_engine_settings, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil)
63
+ self.name = name
64
+ self.data = data
65
+ self.report_engine_settings = report_engine_settings
66
+ self.folder = folder
67
+ self.storage = storage
68
+ self.load_encoding = load_encoding
69
+ self.password = password
70
+ self.dest_file_name = dest_file_name
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,77 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="CopyStyleRequest.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 copy_style operation.
32
+ #
33
+ class CopyStyleRequest
34
+
35
+ # The document name.
36
+ attr_accessor :name
37
+ # Style to copy.
38
+ attr_accessor :style_copy
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_copy Style to copy.
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_copy, 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_copy = style_copy
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,73 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="DeleteAllParagraphTabStopsRequest.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_all_paragraph_tab_stops operation.
32
+ #
33
+ class DeleteAllParagraphTabStopsRequest
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
+ # 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.
50
+ attr_accessor :dest_file_name
51
+
52
+ #
53
+ # Initializes a new instance.
54
+ # @param name The document name.
55
+ # @param node_path Path to the node which contains paragraph.
56
+ # @param index Object index.
57
+ # @param folder Original document folder.
58
+ # @param storage Original document storage.
59
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
60
+ # @param password Password for opening an encrypted document.
61
+ # @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.
62
+ def initialize(name, node_path, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil)
63
+ self.name = name
64
+ self.node_path = node_path
65
+ self.index = index
66
+ self.folder = folder
67
+ self.storage = storage
68
+ self.load_encoding = load_encoding
69
+ self.password = password
70
+ self.dest_file_name = dest_file_name
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,81 @@
1
+ #
2
+ # --------------------------------------------------------------------------------------------------------------------
3
+ # <copyright company="Aspose" file="DeleteParagraphListFormatRequest.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_list_format operation.
32
+ #
33
+ class DeleteParagraphListFormatRequest
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
+ # 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.
50
+ attr_accessor :dest_file_name
51
+ # 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.
52
+ attr_accessor :revision_author
53
+ # The date and time to use for revisions.
54
+ attr_accessor :revision_date_time
55
+
56
+ #
57
+ # Initializes a new instance.
58
+ # @param name The document name.
59
+ # @param node_path Path to the node which contains paragraphs.
60
+ # @param index Object index.
61
+ # @param folder Original document folder.
62
+ # @param storage Original document storage.
63
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
64
+ # @param password Password for opening an encrypted document.
65
+ # @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.
66
+ # @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.
67
+ # @param revision_date_time The date and time to use for revisions.
68
+ def initialize(name, node_path, index, folder = nil, storage = nil, load_encoding = nil, password = nil, dest_file_name = nil, revision_author = nil, revision_date_time = nil)
69
+ self.name = name
70
+ self.node_path = node_path
71
+ self.index = index
72
+ self.folder = folder
73
+ self.storage = storage
74
+ self.load_encoding = load_encoding
75
+ self.password = password
76
+ self.dest_file_name = dest_file_name
77
+ self.revision_author = revision_author
78
+ self.revision_date_time = revision_date_time
79
+ end
80
+ end
81
+ end