aspose_words_cloud 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +22 -0
  3. data/README.md +48 -0
  4. data/aspose_words_cloud.gemspec +26 -0
  5. data/lib/aspose_words_cloud/api/words_api.rb +4414 -0
  6. data/lib/aspose_words_cloud/api_client.rb +335 -0
  7. data/lib/aspose_words_cloud/api_error.rb +24 -0
  8. data/lib/aspose_words_cloud/configuration.rb +166 -0
  9. data/lib/aspose_words_cloud/models/base_object.rb +86 -0
  10. data/lib/aspose_words_cloud/models/base_response.rb +53 -0
  11. data/lib/aspose_words_cloud/models/bookmark.rb +53 -0
  12. data/lib/aspose_words_cloud/models/bookmark_data.rb +45 -0
  13. data/lib/aspose_words_cloud/models/bookmark_response.rb +61 -0
  14. data/lib/aspose_words_cloud/models/bookmarks.rb +47 -0
  15. data/lib/aspose_words_cloud/models/bookmarks_response.rb +61 -0
  16. data/lib/aspose_words_cloud/models/border.rb +77 -0
  17. data/lib/aspose_words_cloud/models/color.rb +61 -0
  18. data/lib/aspose_words_cloud/models/comment.rb +93 -0
  19. data/lib/aspose_words_cloud/models/comment_response.rb +61 -0
  20. data/lib/aspose_words_cloud/models/comments_collection.rb +47 -0
  21. data/lib/aspose_words_cloud/models/comments_response.rb +61 -0
  22. data/lib/aspose_words_cloud/models/document.rb +87 -0
  23. data/lib/aspose_words_cloud/models/document_entry.rb +45 -0
  24. data/lib/aspose_words_cloud/models/document_entry_list.rb +39 -0
  25. data/lib/aspose_words_cloud/models/document_position.rb +45 -0
  26. data/lib/aspose_words_cloud/models/document_properties.rb +47 -0
  27. data/lib/aspose_words_cloud/models/document_properties_response.rb +61 -0
  28. data/lib/aspose_words_cloud/models/document_property.rb +61 -0
  29. data/lib/aspose_words_cloud/models/document_property_response.rb +61 -0
  30. data/lib/aspose_words_cloud/models/document_response.rb +61 -0
  31. data/lib/aspose_words_cloud/models/document_stat_data.rb +63 -0
  32. data/lib/aspose_words_cloud/models/drawing_object.rb +79 -0
  33. data/lib/aspose_words_cloud/models/drawing_object_response.rb +61 -0
  34. data/lib/aspose_words_cloud/models/drawing_objects.rb +47 -0
  35. data/lib/aspose_words_cloud/models/drawing_objects_response.rb +61 -0
  36. data/lib/aspose_words_cloud/models/field.rb +61 -0
  37. data/lib/aspose_words_cloud/models/field_names.rb +47 -0
  38. data/lib/aspose_words_cloud/models/field_names_response.rb +61 -0
  39. data/lib/aspose_words_cloud/models/field_response.rb +61 -0
  40. data/lib/aspose_words_cloud/models/font.rb +381 -0
  41. data/lib/aspose_words_cloud/models/font_response.rb +61 -0
  42. data/lib/aspose_words_cloud/models/form_field.rb +117 -0
  43. data/lib/aspose_words_cloud/models/form_field_response.rb +61 -0
  44. data/lib/aspose_words_cloud/models/hyperlink.rb +53 -0
  45. data/lib/aspose_words_cloud/models/hyperlink_response.rb +61 -0
  46. data/lib/aspose_words_cloud/models/hyperlinks.rb +47 -0
  47. data/lib/aspose_words_cloud/models/hyperlinks_response.rb +61 -0
  48. data/lib/aspose_words_cloud/models/link.rb +61 -0
  49. data/lib/aspose_words_cloud/models/link_element.rb +37 -0
  50. data/lib/aspose_words_cloud/models/load_web_document_data.rb +45 -0
  51. data/lib/aspose_words_cloud/models/metafile_rendering_options_data.rb +53 -0
  52. data/lib/aspose_words_cloud/models/modification_operation_result.rb +45 -0
  53. data/lib/aspose_words_cloud/models/node_link.rb +45 -0
  54. data/lib/aspose_words_cloud/models/page_number.rb +61 -0
  55. data/lib/aspose_words_cloud/models/page_setup.rb +333 -0
  56. data/lib/aspose_words_cloud/models/page_stat_data.rb +53 -0
  57. data/lib/aspose_words_cloud/models/paragraph.rb +55 -0
  58. data/lib/aspose_words_cloud/models/paragraph_link.rb +45 -0
  59. data/lib/aspose_words_cloud/models/paragraph_link_collection.rb +47 -0
  60. data/lib/aspose_words_cloud/models/paragraph_link_collection_response.rb +61 -0
  61. data/lib/aspose_words_cloud/models/paragraph_response.rb +61 -0
  62. data/lib/aspose_words_cloud/models/protection_data.rb +37 -0
  63. data/lib/aspose_words_cloud/models/protection_data_response.rb +69 -0
  64. data/lib/aspose_words_cloud/models/protection_request.rb +53 -0
  65. data/lib/aspose_words_cloud/models/rectangle.rb +61 -0
  66. data/lib/aspose_words_cloud/models/replace_text_request.rb +61 -0
  67. data/lib/aspose_words_cloud/models/replace_text_response.rb +69 -0
  68. data/lib/aspose_words_cloud/models/response_message.rb +45 -0
  69. data/lib/aspose_words_cloud/models/revisions_modification_response.rb +61 -0
  70. data/lib/aspose_words_cloud/models/run.rb +53 -0
  71. data/lib/aspose_words_cloud/models/run_response.rb +61 -0
  72. data/lib/aspose_words_cloud/models/save_options_data.rb +69 -0
  73. data/lib/aspose_words_cloud/models/save_response.rb +61 -0
  74. data/lib/aspose_words_cloud/models/save_result.rb +55 -0
  75. data/lib/aspose_words_cloud/models/search_response.rb +69 -0
  76. data/lib/aspose_words_cloud/models/search_result.rb +45 -0
  77. data/lib/aspose_words_cloud/models/search_results_collection.rb +47 -0
  78. data/lib/aspose_words_cloud/models/section.rb +53 -0
  79. data/lib/aspose_words_cloud/models/section_link.rb +37 -0
  80. data/lib/aspose_words_cloud/models/section_link_collection.rb +47 -0
  81. data/lib/aspose_words_cloud/models/section_link_collection_response.rb +61 -0
  82. data/lib/aspose_words_cloud/models/section_page_setup_response.rb +61 -0
  83. data/lib/aspose_words_cloud/models/section_response.rb +61 -0
  84. data/lib/aspose_words_cloud/models/split_document_response.rb +61 -0
  85. data/lib/aspose_words_cloud/models/split_document_result.rb +55 -0
  86. data/lib/aspose_words_cloud/models/stat_data_response.rb +69 -0
  87. data/lib/aspose_words_cloud/models/story_child_nodes.rb +39 -0
  88. data/lib/aspose_words_cloud/models/text_item.rb +45 -0
  89. data/lib/aspose_words_cloud/models/text_items.rb +47 -0
  90. data/lib/aspose_words_cloud/models/text_items_response.rb +61 -0
  91. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +189 -0
  92. data/lib/aspose_words_cloud/models/watermark_text.rb +45 -0
  93. data/lib/aspose_words_cloud/version.rb +3 -0
  94. data/lib/aspose_words_cloud.rb +114 -0
  95. data/test/data/AppendWordDocumentsExample-TestFile-Destination.doc +0 -0
  96. data/test/data/AppendWordDocumentsExample-TestFile-Source.doc +0 -0
  97. data/test/data/Customers.txt +6 -0
  98. data/test/data/FormFilled.docx +0 -0
  99. data/test/data/SampleAppendDoc.docx +0 -0
  100. data/test/data/SampleAppendDoc2.docx +0 -0
  101. data/test/data/SampleBlankWatermarkDocument.docx +0 -0
  102. data/test/data/SampleBlankWordDocument.docx +0 -0
  103. data/test/data/SampleExecuteTemplate.doc +0 -0
  104. data/test/data/SampleExecuteTemplate.docx +0 -0
  105. data/test/data/SampleExecuteTemplateData.txt +49 -0
  106. data/test/data/SampleHeaderFooterWordDocument.docx +0 -0
  107. data/test/data/SampleInvoiceTemplate.doc +0 -0
  108. data/test/data/SampleInvoiceTemplateData.txt +24 -0
  109. data/test/data/SampleMailMergeTemplate.docx +0 -0
  110. data/test/data/SampleMailMergeTemplateData.txt +7 -0
  111. data/test/data/SampleMailMergeTemplateImage.doc +0 -0
  112. data/test/data/SampleMailMergeTemplateImageData.txt +12 -0
  113. data/test/data/SampleOlePdfData.docx +0 -0
  114. data/test/data/SampleProtectedBlankWordDocument.docx +0 -0
  115. data/test/data/SampleWordDocument.docx +0 -0
  116. data/test/data/Sample_EmbeddedOLE.docx +0 -0
  117. data/test/data/WordFormatConverterExampleTest.doc +0 -0
  118. data/test/data/aspose-cloud.png +0 -0
  119. data/test/data/header-logo.png +0 -0
  120. data/test/words_tests.rb +773 -0
  121. metadata +256 -0
@@ -0,0 +1,69 @@
1
+ module AsposeWordsCloud
2
+ #
3
+ class StatDataResponse < BaseObject
4
+ attr_accessor :stat_data, :document_link, :status, :code
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'stat_data' => :'StatData',
11
+
12
+ #
13
+ :'document_link' => :'DocumentLink',
14
+
15
+ #
16
+ :'status' => :'Status',
17
+
18
+ #
19
+ :'code' => :'Code'
20
+
21
+ }
22
+ end
23
+
24
+ # attribute type
25
+ def self.swagger_types
26
+ {
27
+ :'stat_data' => :'DocumentStatData',
28
+ :'document_link' => :'Link',
29
+ :'status' => :'String',
30
+ :'code' => :'String'
31
+
32
+ }
33
+ end
34
+
35
+ def initialize(attributes = {})
36
+ return if !attributes.is_a?(Hash) || attributes.empty?
37
+
38
+ # convert string to symbol for hash key
39
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
40
+
41
+
42
+ if attributes[:'StatData']
43
+ self.stat_data = attributes[:'StatData']
44
+ end
45
+
46
+ if attributes[:'DocumentLink']
47
+ self.document_link = attributes[:'DocumentLink']
48
+ end
49
+
50
+ if attributes[:'Status']
51
+ self.status = attributes[:'Status']
52
+ end
53
+
54
+ if attributes[:'Code']
55
+ self.code = attributes[:'Code']
56
+ end
57
+
58
+ end
59
+
60
+ def status=(status)
61
+ allowed_values = ["Continue", "SwitchingProtocols", "OK", "Created", "Accepted", "NonAuthoritativeInformation", "NoContent", "ResetContent", "PartialContent", "MultipleChoices", "Ambiguous", "MovedPermanently", "Moved", "Found", "Redirect", "SeeOther", "RedirectMethod", "NotModified", "UseProxy", "Unused", "TemporaryRedirect", "RedirectKeepVerb", "BadRequest", "Unauthorized", "PaymentRequired", "Forbidden", "NotFound", "MethodNotAllowed", "NotAcceptable", "ProxyAuthenticationRequired", "RequestTimeout", "Conflict", "Gone", "LengthRequired", "PreconditionFailed", "RequestEntityTooLarge", "RequestUriTooLong", "UnsupportedMediaType", "RequestedRangeNotSatisfiable", "ExpectationFailed", "UpgradeRequired", "InternalServerError", "NotImplemented", "BadGateway", "ServiceUnavailable", "GatewayTimeout", "HttpVersionNotSupported"]
62
+ if status && !allowed_values.include?(status)
63
+ fail "invalid value for 'status', must be one of #{allowed_values}"
64
+ end
65
+ @status = status
66
+ end
67
+
68
+ end
69
+ end
@@ -0,0 +1,39 @@
1
+ module AsposeWordsCloud
2
+ #
3
+ class StoryChildNodes < BaseObject
4
+ attr_accessor :child_nodes
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'child_nodes' => :'ChildNodes'
11
+
12
+ }
13
+ end
14
+
15
+ # attribute type
16
+ def self.swagger_types
17
+ {
18
+ :'child_nodes' => :'Array<BaseResponse>'
19
+
20
+ }
21
+ end
22
+
23
+ def initialize(attributes = {})
24
+ return if !attributes.is_a?(Hash) || attributes.empty?
25
+
26
+ # convert string to symbol for hash key
27
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
28
+
29
+
30
+ if attributes[:'ChildNodes']
31
+ if (value = attributes[:'ChildNodes']).is_a?(Array)
32
+ self.child_nodes = value
33
+ end
34
+ end
35
+
36
+ end
37
+
38
+ end
39
+ end
@@ -0,0 +1,45 @@
1
+ module AsposeWordsCloud
2
+ #
3
+ class TextItem < BaseObject
4
+ attr_accessor :text, :link
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'text' => :'Text',
11
+
12
+ #
13
+ :'link' => :'link'
14
+
15
+ }
16
+ end
17
+
18
+ # attribute type
19
+ def self.swagger_types
20
+ {
21
+ :'text' => :'String',
22
+ :'link' => :'Link'
23
+
24
+ }
25
+ end
26
+
27
+ def initialize(attributes = {})
28
+ return if !attributes.is_a?(Hash) || attributes.empty?
29
+
30
+ # convert string to symbol for hash key
31
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
32
+
33
+
34
+ if attributes[:'Text']
35
+ self.text = attributes[:'Text']
36
+ end
37
+
38
+ if attributes[:'link']
39
+ self.link = attributes[:'link']
40
+ end
41
+
42
+ end
43
+
44
+ end
45
+ end
@@ -0,0 +1,47 @@
1
+ module AsposeWordsCloud
2
+ #
3
+ class TextItems < BaseObject
4
+ attr_accessor :list, :link
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'list' => :'List',
11
+
12
+ #
13
+ :'link' => :'link'
14
+
15
+ }
16
+ end
17
+
18
+ # attribute type
19
+ def self.swagger_types
20
+ {
21
+ :'list' => :'Array<TextItem>',
22
+ :'link' => :'Link'
23
+
24
+ }
25
+ end
26
+
27
+ def initialize(attributes = {})
28
+ return if !attributes.is_a?(Hash) || attributes.empty?
29
+
30
+ # convert string to symbol for hash key
31
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
32
+
33
+
34
+ if attributes[:'List']
35
+ if (value = attributes[:'List']).is_a?(Array)
36
+ self.list = value
37
+ end
38
+ end
39
+
40
+ if attributes[:'link']
41
+ self.link = attributes[:'link']
42
+ end
43
+
44
+ end
45
+
46
+ end
47
+ end
@@ -0,0 +1,61 @@
1
+ module AsposeWordsCloud
2
+ #
3
+ class TextItemsResponse < BaseObject
4
+ attr_accessor :text_items, :status, :code
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'text_items' => :'TextItems',
11
+
12
+ #
13
+ :'status' => :'Status',
14
+
15
+ #
16
+ :'code' => :'Code'
17
+
18
+ }
19
+ end
20
+
21
+ # attribute type
22
+ def self.swagger_types
23
+ {
24
+ :'text_items' => :'TextItems',
25
+ :'status' => :'String',
26
+ :'code' => :'String'
27
+
28
+ }
29
+ end
30
+
31
+ def initialize(attributes = {})
32
+ return if !attributes.is_a?(Hash) || attributes.empty?
33
+
34
+ # convert string to symbol for hash key
35
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
36
+
37
+
38
+ if attributes[:'TextItems']
39
+ self.text_items = attributes[:'TextItems']
40
+ end
41
+
42
+ if attributes[:'Status']
43
+ self.status = attributes[:'Status']
44
+ end
45
+
46
+ if attributes[:'Code']
47
+ self.code = attributes[:'Code']
48
+ end
49
+
50
+ end
51
+
52
+ def status=(status)
53
+ allowed_values = ["Continue", "SwitchingProtocols", "OK", "Created", "Accepted", "NonAuthoritativeInformation", "NoContent", "ResetContent", "PartialContent", "MultipleChoices", "Ambiguous", "MovedPermanently", "Moved", "Found", "Redirect", "SeeOther", "RedirectMethod", "NotModified", "UseProxy", "Unused", "TemporaryRedirect", "RedirectKeepVerb", "BadRequest", "Unauthorized", "PaymentRequired", "Forbidden", "NotFound", "MethodNotAllowed", "NotAcceptable", "ProxyAuthenticationRequired", "RequestTimeout", "Conflict", "Gone", "LengthRequired", "PreconditionFailed", "RequestEntityTooLarge", "RequestUriTooLong", "UnsupportedMediaType", "RequestedRangeNotSatisfiable", "ExpectationFailed", "UpgradeRequired", "InternalServerError", "NotImplemented", "BadGateway", "ServiceUnavailable", "GatewayTimeout", "HttpVersionNotSupported"]
54
+ if status && !allowed_values.include?(status)
55
+ fail "invalid value for 'status', must be one of #{allowed_values}"
56
+ end
57
+ @status = status
58
+ end
59
+
60
+ end
61
+ end
@@ -0,0 +1,189 @@
1
+ module AsposeWordsCloud
2
+ #
3
+ class TiffSaveOptionsData < BaseObject
4
+ attr_accessor :tiff_binarization_method, :tiff_compression, :page_count, :pixel_format, :paper_color, :resolution, :scale, :image_brightness, :image_color_mode, :image_contrast, :use_high_quality_rendering, :use_anti_aliasing, :page_index, :metafile_rendering_options, :numeral_format, :save_format, :file_name, :dml_rendering_mode, :dml_effects_rendering_mode, :zip_output
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'tiff_binarization_method' => :'TiffBinarizationMethod',
11
+
12
+ #
13
+ :'tiff_compression' => :'TiffCompression',
14
+
15
+ #
16
+ :'page_count' => :'PageCount',
17
+
18
+ #
19
+ :'pixel_format' => :'PixelFormat',
20
+
21
+ #
22
+ :'paper_color' => :'PaperColor',
23
+
24
+ #
25
+ :'resolution' => :'Resolution',
26
+
27
+ #
28
+ :'scale' => :'Scale',
29
+
30
+ #
31
+ :'image_brightness' => :'ImageBrightness',
32
+
33
+ #
34
+ :'image_color_mode' => :'ImageColorMode',
35
+
36
+ #
37
+ :'image_contrast' => :'ImageContrast',
38
+
39
+ #
40
+ :'use_high_quality_rendering' => :'UseHighQualityRendering',
41
+
42
+ #
43
+ :'use_anti_aliasing' => :'UseAntiAliasing',
44
+
45
+ #
46
+ :'page_index' => :'PageIndex',
47
+
48
+ #
49
+ :'metafile_rendering_options' => :'MetafileRenderingOptions',
50
+
51
+ #
52
+ :'numeral_format' => :'NumeralFormat',
53
+
54
+ #
55
+ :'save_format' => :'SaveFormat',
56
+
57
+ #
58
+ :'file_name' => :'FileName',
59
+
60
+ #
61
+ :'dml_rendering_mode' => :'DmlRenderingMode',
62
+
63
+ #
64
+ :'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
65
+
66
+ #
67
+ :'zip_output' => :'ZipOutput'
68
+
69
+ }
70
+ end
71
+
72
+ # attribute type
73
+ def self.swagger_types
74
+ {
75
+ :'tiff_binarization_method' => :'String',
76
+ :'tiff_compression' => :'String',
77
+ :'page_count' => :'Integer',
78
+ :'pixel_format' => :'String',
79
+ :'paper_color' => :'Color',
80
+ :'resolution' => :'Float',
81
+ :'scale' => :'Float',
82
+ :'image_brightness' => :'Float',
83
+ :'image_color_mode' => :'String',
84
+ :'image_contrast' => :'Float',
85
+ :'use_high_quality_rendering' => :'BOOLEAN',
86
+ :'use_anti_aliasing' => :'BOOLEAN',
87
+ :'page_index' => :'Integer',
88
+ :'metafile_rendering_options' => :'MetafileRenderingOptionsData',
89
+ :'numeral_format' => :'String',
90
+ :'save_format' => :'String',
91
+ :'file_name' => :'String',
92
+ :'dml_rendering_mode' => :'String',
93
+ :'dml_effects_rendering_mode' => :'String',
94
+ :'zip_output' => :'BOOLEAN'
95
+
96
+ }
97
+ end
98
+
99
+ def initialize(attributes = {})
100
+ return if !attributes.is_a?(Hash) || attributes.empty?
101
+
102
+ # convert string to symbol for hash key
103
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
104
+
105
+
106
+ if attributes[:'TiffBinarizationMethod']
107
+ self.tiff_binarization_method = attributes[:'TiffBinarizationMethod']
108
+ end
109
+
110
+ if attributes[:'TiffCompression']
111
+ self.tiff_compression = attributes[:'TiffCompression']
112
+ end
113
+
114
+ if attributes[:'PageCount']
115
+ self.page_count = attributes[:'PageCount']
116
+ end
117
+
118
+ if attributes[:'PixelFormat']
119
+ self.pixel_format = attributes[:'PixelFormat']
120
+ end
121
+
122
+ if attributes[:'PaperColor']
123
+ self.paper_color = attributes[:'PaperColor']
124
+ end
125
+
126
+ if attributes[:'Resolution']
127
+ self.resolution = attributes[:'Resolution']
128
+ end
129
+
130
+ if attributes[:'Scale']
131
+ self.scale = attributes[:'Scale']
132
+ end
133
+
134
+ if attributes[:'ImageBrightness']
135
+ self.image_brightness = attributes[:'ImageBrightness']
136
+ end
137
+
138
+ if attributes[:'ImageColorMode']
139
+ self.image_color_mode = attributes[:'ImageColorMode']
140
+ end
141
+
142
+ if attributes[:'ImageContrast']
143
+ self.image_contrast = attributes[:'ImageContrast']
144
+ end
145
+
146
+ if attributes[:'UseHighQualityRendering']
147
+ self.use_high_quality_rendering = attributes[:'UseHighQualityRendering']
148
+ end
149
+
150
+ if attributes[:'UseAntiAliasing']
151
+ self.use_anti_aliasing = attributes[:'UseAntiAliasing']
152
+ end
153
+
154
+ if attributes[:'PageIndex']
155
+ self.page_index = attributes[:'PageIndex']
156
+ end
157
+
158
+ if attributes[:'MetafileRenderingOptions']
159
+ self.metafile_rendering_options = attributes[:'MetafileRenderingOptions']
160
+ end
161
+
162
+ if attributes[:'NumeralFormat']
163
+ self.numeral_format = attributes[:'NumeralFormat']
164
+ end
165
+
166
+ if attributes[:'SaveFormat']
167
+ self.save_format = attributes[:'SaveFormat']
168
+ end
169
+
170
+ if attributes[:'FileName']
171
+ self.file_name = attributes[:'FileName']
172
+ end
173
+
174
+ if attributes[:'DmlRenderingMode']
175
+ self.dml_rendering_mode = attributes[:'DmlRenderingMode']
176
+ end
177
+
178
+ if attributes[:'DmlEffectsRenderingMode']
179
+ self.dml_effects_rendering_mode = attributes[:'DmlEffectsRenderingMode']
180
+ end
181
+
182
+ if attributes[:'ZipOutput']
183
+ self.zip_output = attributes[:'ZipOutput']
184
+ end
185
+
186
+ end
187
+
188
+ end
189
+ end
@@ -0,0 +1,45 @@
1
+ module AsposeWordsCloud
2
+ #
3
+ class WatermarkText < BaseObject
4
+ attr_accessor :text, :rotation_angle
5
+ # attribute mapping from ruby-style variable name to JSON key
6
+ def self.attribute_map
7
+ {
8
+
9
+ #
10
+ :'text' => :'Text',
11
+
12
+ #
13
+ :'rotation_angle' => :'RotationAngle'
14
+
15
+ }
16
+ end
17
+
18
+ # attribute type
19
+ def self.swagger_types
20
+ {
21
+ :'text' => :'String',
22
+ :'rotation_angle' => :'Float'
23
+
24
+ }
25
+ end
26
+
27
+ def initialize(attributes = {})
28
+ return if !attributes.is_a?(Hash) || attributes.empty?
29
+
30
+ # convert string to symbol for hash key
31
+ attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
32
+
33
+
34
+ if attributes[:'Text']
35
+ self.text = attributes[:'Text']
36
+ end
37
+
38
+ if attributes[:'RotationAngle']
39
+ self.rotation_angle = attributes[:'RotationAngle']
40
+ end
41
+
42
+ end
43
+
44
+ end
45
+ end
@@ -0,0 +1,3 @@
1
+ module AsposeWordsCloud
2
+ VERSION = "1.0.0"
3
+ end
@@ -0,0 +1,114 @@
1
+ require 'aspose_storage_cloud'
2
+
3
+ # Common files
4
+ require_relative 'aspose_words_cloud/api_client'
5
+ require_relative 'aspose_words_cloud/api_error'
6
+ require_relative 'aspose_words_cloud/version'
7
+ require_relative 'aspose_words_cloud/configuration'
8
+
9
+ # Models
10
+ require_relative 'aspose_words_cloud/models/base_object'
11
+ require_relative 'aspose_words_cloud/models/base_response'
12
+ require_relative 'aspose_words_cloud/models/text_items_response'
13
+ require_relative 'aspose_words_cloud/models/text_items'
14
+ require_relative 'aspose_words_cloud/models/text_item'
15
+ require_relative 'aspose_words_cloud/models/replace_text_request'
16
+ require_relative 'aspose_words_cloud/models/replace_text_response'
17
+ require_relative 'aspose_words_cloud/models/bookmarks_response'
18
+ require_relative 'aspose_words_cloud/models/bookmarks'
19
+ require_relative 'aspose_words_cloud/models/bookmark'
20
+ require_relative 'aspose_words_cloud/models/bookmark_response'
21
+ require_relative 'aspose_words_cloud/models/bookmark_data'
22
+ require_relative 'aspose_words_cloud/models/drawing_objects_response'
23
+ require_relative 'aspose_words_cloud/models/drawing_objects'
24
+ require_relative 'aspose_words_cloud/models/link_element'
25
+ require_relative 'aspose_words_cloud/models/document_response'
26
+ require_relative 'aspose_words_cloud/models/document'
27
+ require_relative 'aspose_words_cloud/models/document_properties'
28
+ require_relative 'aspose_words_cloud/models/document_property'
29
+ require_relative 'aspose_words_cloud/models/watermark_text'
30
+ require_relative 'aspose_words_cloud/models/field_names_response'
31
+ require_relative 'aspose_words_cloud/models/field_names'
32
+ require_relative 'aspose_words_cloud/models/stat_data_response'
33
+ require_relative 'aspose_words_cloud/models/document_stat_data'
34
+ require_relative 'aspose_words_cloud/models/page_stat_data'
35
+ require_relative 'aspose_words_cloud/models/paragraph_link_collection_response'
36
+ require_relative 'aspose_words_cloud/models/paragraph_link_collection'
37
+ require_relative 'aspose_words_cloud/models/paragraph_link'
38
+ require_relative 'aspose_words_cloud/models/paragraph_response'
39
+ require_relative 'aspose_words_cloud/models/paragraph'
40
+ require_relative 'aspose_words_cloud/models/run_response'
41
+ require_relative 'aspose_words_cloud/models/run'
42
+ require_relative 'aspose_words_cloud/models/font_response'
43
+ require_relative 'aspose_words_cloud/models/font'
44
+ require_relative 'aspose_words_cloud/models/border'
45
+ require_relative 'aspose_words_cloud/models/color'
46
+ require_relative 'aspose_words_cloud/models/page_number'
47
+ require_relative 'aspose_words_cloud/models/document_entry_list'
48
+ require_relative 'aspose_words_cloud/models/document_entry'
49
+ require_relative 'aspose_words_cloud/models/split_document_response'
50
+ require_relative 'aspose_words_cloud/models/split_document_result'
51
+ require_relative 'aspose_words_cloud/models/load_web_document_data'
52
+ require_relative 'aspose_words_cloud/models/save_options_data'
53
+ require_relative 'aspose_words_cloud/models/save_response'
54
+ require_relative 'aspose_words_cloud/models/save_result'
55
+ require_relative 'aspose_words_cloud/models/protection_data_response'
56
+ require_relative 'aspose_words_cloud/models/protection_data'
57
+ require_relative 'aspose_words_cloud/models/protection_request'
58
+ require_relative 'aspose_words_cloud/models/revisions_modification_response'
59
+ require_relative 'aspose_words_cloud/models/modification_operation_result'
60
+ require_relative 'aspose_words_cloud/models/form_field_response'
61
+ require_relative 'aspose_words_cloud/models/form_field'
62
+ require_relative 'aspose_words_cloud/models/section_link_collection_response'
63
+ require_relative 'aspose_words_cloud/models/section_link_collection'
64
+ require_relative 'aspose_words_cloud/models/section_link'
65
+ require_relative 'aspose_words_cloud/models/section_response'
66
+ require_relative 'aspose_words_cloud/models/section'
67
+ require_relative 'aspose_words_cloud/models/section_page_setup_response'
68
+ require_relative 'aspose_words_cloud/models/page_setup'
69
+ require_relative 'aspose_words_cloud/models/document_properties_response'
70
+ require_relative 'aspose_words_cloud/models/document_property_response'
71
+ require_relative 'aspose_words_cloud/models/hyperlinks_response'
72
+ require_relative 'aspose_words_cloud/models/hyperlinks'
73
+ require_relative 'aspose_words_cloud/models/hyperlink'
74
+ require_relative 'aspose_words_cloud/models/hyperlink_response'
75
+ require_relative 'aspose_words_cloud/models/tiff_save_options_data'
76
+ require_relative 'aspose_words_cloud/models/comment_response'
77
+ require_relative 'aspose_words_cloud/models/comments_response'
78
+ require_relative 'aspose_words_cloud/models/comments_collection'
79
+ require_relative 'aspose_words_cloud/models/comment'
80
+ require_relative 'aspose_words_cloud/models/document_position'
81
+ require_relative 'aspose_words_cloud/models/node_link'
82
+ require_relative 'aspose_words_cloud/models/story_child_nodes'
83
+ require_relative 'aspose_words_cloud/models/response_message'
84
+ require_relative 'aspose_words_cloud/models/metafile_rendering_options_data'
85
+ require_relative 'aspose_words_cloud/models/field_response'
86
+ require_relative 'aspose_words_cloud/models/field'
87
+ require_relative 'aspose_words_cloud/models/rectangle'
88
+ require_relative 'aspose_words_cloud/models/search_response'
89
+ require_relative 'aspose_words_cloud/models/search_results_collection'
90
+ require_relative 'aspose_words_cloud/models/search_result'
91
+ require_relative 'aspose_words_cloud/models/link'
92
+ require_relative 'aspose_words_cloud/models/drawing_object_response'
93
+ require_relative 'aspose_words_cloud/models/drawing_object'
94
+
95
+ # APIs
96
+ require_relative 'aspose_words_cloud/api/words_api'
97
+
98
+ module AsposeWordsCloud
99
+ class << self
100
+ # Configure sdk using block.
101
+ # AsposeWordsCloud.configure do |config|
102
+ # config.username = "xxx"
103
+ # config.password = "xxx"
104
+ # end
105
+ # If no block given, return the configuration singleton instance.
106
+ def configure
107
+ if block_given?
108
+ yield Configuration.instance
109
+ else
110
+ Configuration.instance
111
+ end
112
+ end
113
+ end
114
+ end
@@ -0,0 +1,6 @@
1
+ <customers>
2
+ <customer Name="John Ben Jan" ID="1" Domain="History" City="Boston"/>
3
+ <customer Name="Lisa Lane" ID="2" Domain="Chemistry" City="LA"/>
4
+ <customer Name="Dagomir Zits" ID="3" Domain="Heraldry" City="Milwaukee"/>
5
+ <customer Name="Sara Careira Santy" ID="4" Domain="IT" City="Miami"/>
6
+ </customers>
Binary file
Binary file
Binary file
Binary file