aspose_words_cloud 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +22 -0
- data/README.md +48 -0
- data/aspose_words_cloud.gemspec +26 -0
- data/lib/aspose_words_cloud/api/words_api.rb +4414 -0
- data/lib/aspose_words_cloud/api_client.rb +335 -0
- data/lib/aspose_words_cloud/api_error.rb +24 -0
- data/lib/aspose_words_cloud/configuration.rb +166 -0
- data/lib/aspose_words_cloud/models/base_object.rb +86 -0
- data/lib/aspose_words_cloud/models/base_response.rb +53 -0
- data/lib/aspose_words_cloud/models/bookmark.rb +53 -0
- data/lib/aspose_words_cloud/models/bookmark_data.rb +45 -0
- data/lib/aspose_words_cloud/models/bookmark_response.rb +61 -0
- data/lib/aspose_words_cloud/models/bookmarks.rb +47 -0
- data/lib/aspose_words_cloud/models/bookmarks_response.rb +61 -0
- data/lib/aspose_words_cloud/models/border.rb +77 -0
- data/lib/aspose_words_cloud/models/color.rb +61 -0
- data/lib/aspose_words_cloud/models/comment.rb +93 -0
- data/lib/aspose_words_cloud/models/comment_response.rb +61 -0
- data/lib/aspose_words_cloud/models/comments_collection.rb +47 -0
- data/lib/aspose_words_cloud/models/comments_response.rb +61 -0
- data/lib/aspose_words_cloud/models/document.rb +87 -0
- data/lib/aspose_words_cloud/models/document_entry.rb +45 -0
- data/lib/aspose_words_cloud/models/document_entry_list.rb +39 -0
- data/lib/aspose_words_cloud/models/document_position.rb +45 -0
- data/lib/aspose_words_cloud/models/document_properties.rb +47 -0
- data/lib/aspose_words_cloud/models/document_properties_response.rb +61 -0
- data/lib/aspose_words_cloud/models/document_property.rb +61 -0
- data/lib/aspose_words_cloud/models/document_property_response.rb +61 -0
- data/lib/aspose_words_cloud/models/document_response.rb +61 -0
- data/lib/aspose_words_cloud/models/document_stat_data.rb +63 -0
- data/lib/aspose_words_cloud/models/drawing_object.rb +79 -0
- data/lib/aspose_words_cloud/models/drawing_object_response.rb +61 -0
- data/lib/aspose_words_cloud/models/drawing_objects.rb +47 -0
- data/lib/aspose_words_cloud/models/drawing_objects_response.rb +61 -0
- data/lib/aspose_words_cloud/models/field.rb +61 -0
- data/lib/aspose_words_cloud/models/field_names.rb +47 -0
- data/lib/aspose_words_cloud/models/field_names_response.rb +61 -0
- data/lib/aspose_words_cloud/models/field_response.rb +61 -0
- data/lib/aspose_words_cloud/models/font.rb +381 -0
- data/lib/aspose_words_cloud/models/font_response.rb +61 -0
- data/lib/aspose_words_cloud/models/form_field.rb +117 -0
- data/lib/aspose_words_cloud/models/form_field_response.rb +61 -0
- data/lib/aspose_words_cloud/models/hyperlink.rb +53 -0
- data/lib/aspose_words_cloud/models/hyperlink_response.rb +61 -0
- data/lib/aspose_words_cloud/models/hyperlinks.rb +47 -0
- data/lib/aspose_words_cloud/models/hyperlinks_response.rb +61 -0
- data/lib/aspose_words_cloud/models/link.rb +61 -0
- data/lib/aspose_words_cloud/models/link_element.rb +37 -0
- data/lib/aspose_words_cloud/models/load_web_document_data.rb +45 -0
- data/lib/aspose_words_cloud/models/metafile_rendering_options_data.rb +53 -0
- data/lib/aspose_words_cloud/models/modification_operation_result.rb +45 -0
- data/lib/aspose_words_cloud/models/node_link.rb +45 -0
- data/lib/aspose_words_cloud/models/page_number.rb +61 -0
- data/lib/aspose_words_cloud/models/page_setup.rb +333 -0
- data/lib/aspose_words_cloud/models/page_stat_data.rb +53 -0
- data/lib/aspose_words_cloud/models/paragraph.rb +55 -0
- data/lib/aspose_words_cloud/models/paragraph_link.rb +45 -0
- data/lib/aspose_words_cloud/models/paragraph_link_collection.rb +47 -0
- data/lib/aspose_words_cloud/models/paragraph_link_collection_response.rb +61 -0
- data/lib/aspose_words_cloud/models/paragraph_response.rb +61 -0
- data/lib/aspose_words_cloud/models/protection_data.rb +37 -0
- data/lib/aspose_words_cloud/models/protection_data_response.rb +69 -0
- data/lib/aspose_words_cloud/models/protection_request.rb +53 -0
- data/lib/aspose_words_cloud/models/rectangle.rb +61 -0
- data/lib/aspose_words_cloud/models/replace_text_request.rb +61 -0
- data/lib/aspose_words_cloud/models/replace_text_response.rb +69 -0
- data/lib/aspose_words_cloud/models/response_message.rb +45 -0
- data/lib/aspose_words_cloud/models/revisions_modification_response.rb +61 -0
- data/lib/aspose_words_cloud/models/run.rb +53 -0
- data/lib/aspose_words_cloud/models/run_response.rb +61 -0
- data/lib/aspose_words_cloud/models/save_options_data.rb +69 -0
- data/lib/aspose_words_cloud/models/save_response.rb +61 -0
- data/lib/aspose_words_cloud/models/save_result.rb +55 -0
- data/lib/aspose_words_cloud/models/search_response.rb +69 -0
- data/lib/aspose_words_cloud/models/search_result.rb +45 -0
- data/lib/aspose_words_cloud/models/search_results_collection.rb +47 -0
- data/lib/aspose_words_cloud/models/section.rb +53 -0
- data/lib/aspose_words_cloud/models/section_link.rb +37 -0
- data/lib/aspose_words_cloud/models/section_link_collection.rb +47 -0
- data/lib/aspose_words_cloud/models/section_link_collection_response.rb +61 -0
- data/lib/aspose_words_cloud/models/section_page_setup_response.rb +61 -0
- data/lib/aspose_words_cloud/models/section_response.rb +61 -0
- data/lib/aspose_words_cloud/models/split_document_response.rb +61 -0
- data/lib/aspose_words_cloud/models/split_document_result.rb +55 -0
- data/lib/aspose_words_cloud/models/stat_data_response.rb +69 -0
- data/lib/aspose_words_cloud/models/story_child_nodes.rb +39 -0
- data/lib/aspose_words_cloud/models/text_item.rb +45 -0
- data/lib/aspose_words_cloud/models/text_items.rb +47 -0
- data/lib/aspose_words_cloud/models/text_items_response.rb +61 -0
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +189 -0
- data/lib/aspose_words_cloud/models/watermark_text.rb +45 -0
- data/lib/aspose_words_cloud/version.rb +3 -0
- data/lib/aspose_words_cloud.rb +114 -0
- data/test/data/AppendWordDocumentsExample-TestFile-Destination.doc +0 -0
- data/test/data/AppendWordDocumentsExample-TestFile-Source.doc +0 -0
- data/test/data/Customers.txt +6 -0
- data/test/data/FormFilled.docx +0 -0
- data/test/data/SampleAppendDoc.docx +0 -0
- data/test/data/SampleAppendDoc2.docx +0 -0
- data/test/data/SampleBlankWatermarkDocument.docx +0 -0
- data/test/data/SampleBlankWordDocument.docx +0 -0
- data/test/data/SampleExecuteTemplate.doc +0 -0
- data/test/data/SampleExecuteTemplate.docx +0 -0
- data/test/data/SampleExecuteTemplateData.txt +49 -0
- data/test/data/SampleHeaderFooterWordDocument.docx +0 -0
- data/test/data/SampleInvoiceTemplate.doc +0 -0
- data/test/data/SampleInvoiceTemplateData.txt +24 -0
- data/test/data/SampleMailMergeTemplate.docx +0 -0
- data/test/data/SampleMailMergeTemplateData.txt +7 -0
- data/test/data/SampleMailMergeTemplateImage.doc +0 -0
- data/test/data/SampleMailMergeTemplateImageData.txt +12 -0
- data/test/data/SampleOlePdfData.docx +0 -0
- data/test/data/SampleProtectedBlankWordDocument.docx +0 -0
- data/test/data/SampleWordDocument.docx +0 -0
- data/test/data/Sample_EmbeddedOLE.docx +0 -0
- data/test/data/WordFormatConverterExampleTest.doc +0 -0
- data/test/data/aspose-cloud.png +0 -0
- data/test/data/header-logo.png +0 -0
- data/test/words_tests.rb +773 -0
- metadata +256 -0
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
module AsposeWordsCloud
|
|
2
|
+
#
|
|
3
|
+
class Font < BaseObject
|
|
4
|
+
attr_accessor :all_caps, :bidi, :bold, :bold_bi, :border, :color, :complex_script, :double_strike_through, :emboss, :engrave, :hidden, :highlight_color, :italic, :italic_bi, :kerning, :locale_id, :locale_id_bi, :locale_id_far_east, :name, :name_ascii, :name_bi, :name_far_east, :name_other, :no_proofing, :outline, :position, :scaling, :shadow, :size, :size_bi, :small_caps, :spacing, :strike_through, :style_identifier, :style_name, :subscript, :superscript, :text_effect, :underline, :underline_color, :link
|
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
|
6
|
+
def self.attribute_map
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
#
|
|
10
|
+
:'all_caps' => :'AllCaps',
|
|
11
|
+
|
|
12
|
+
#
|
|
13
|
+
:'bidi' => :'Bidi',
|
|
14
|
+
|
|
15
|
+
#
|
|
16
|
+
:'bold' => :'Bold',
|
|
17
|
+
|
|
18
|
+
#
|
|
19
|
+
:'bold_bi' => :'BoldBi',
|
|
20
|
+
|
|
21
|
+
#
|
|
22
|
+
:'border' => :'Border',
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
:'color' => :'Color',
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
:'complex_script' => :'ComplexScript',
|
|
29
|
+
|
|
30
|
+
#
|
|
31
|
+
:'double_strike_through' => :'DoubleStrikeThrough',
|
|
32
|
+
|
|
33
|
+
#
|
|
34
|
+
:'emboss' => :'Emboss',
|
|
35
|
+
|
|
36
|
+
#
|
|
37
|
+
:'engrave' => :'Engrave',
|
|
38
|
+
|
|
39
|
+
#
|
|
40
|
+
:'hidden' => :'Hidden',
|
|
41
|
+
|
|
42
|
+
#
|
|
43
|
+
:'highlight_color' => :'HighlightColor',
|
|
44
|
+
|
|
45
|
+
#
|
|
46
|
+
:'italic' => :'Italic',
|
|
47
|
+
|
|
48
|
+
#
|
|
49
|
+
:'italic_bi' => :'ItalicBi',
|
|
50
|
+
|
|
51
|
+
#
|
|
52
|
+
:'kerning' => :'Kerning',
|
|
53
|
+
|
|
54
|
+
#
|
|
55
|
+
:'locale_id' => :'LocaleId',
|
|
56
|
+
|
|
57
|
+
#
|
|
58
|
+
:'locale_id_bi' => :'LocaleIdBi',
|
|
59
|
+
|
|
60
|
+
#
|
|
61
|
+
:'locale_id_far_east' => :'LocaleIdFarEast',
|
|
62
|
+
|
|
63
|
+
#
|
|
64
|
+
:'name' => :'Name',
|
|
65
|
+
|
|
66
|
+
#
|
|
67
|
+
:'name_ascii' => :'NameAscii',
|
|
68
|
+
|
|
69
|
+
#
|
|
70
|
+
:'name_bi' => :'NameBi',
|
|
71
|
+
|
|
72
|
+
#
|
|
73
|
+
:'name_far_east' => :'NameFarEast',
|
|
74
|
+
|
|
75
|
+
#
|
|
76
|
+
:'name_other' => :'NameOther',
|
|
77
|
+
|
|
78
|
+
#
|
|
79
|
+
:'no_proofing' => :'NoProofing',
|
|
80
|
+
|
|
81
|
+
#
|
|
82
|
+
:'outline' => :'Outline',
|
|
83
|
+
|
|
84
|
+
#
|
|
85
|
+
:'position' => :'Position',
|
|
86
|
+
|
|
87
|
+
#
|
|
88
|
+
:'scaling' => :'Scaling',
|
|
89
|
+
|
|
90
|
+
#
|
|
91
|
+
:'shadow' => :'Shadow',
|
|
92
|
+
|
|
93
|
+
#
|
|
94
|
+
:'size' => :'Size',
|
|
95
|
+
|
|
96
|
+
#
|
|
97
|
+
:'size_bi' => :'SizeBi',
|
|
98
|
+
|
|
99
|
+
#
|
|
100
|
+
:'small_caps' => :'SmallCaps',
|
|
101
|
+
|
|
102
|
+
#
|
|
103
|
+
:'spacing' => :'Spacing',
|
|
104
|
+
|
|
105
|
+
#
|
|
106
|
+
:'strike_through' => :'StrikeThrough',
|
|
107
|
+
|
|
108
|
+
#
|
|
109
|
+
:'style_identifier' => :'StyleIdentifier',
|
|
110
|
+
|
|
111
|
+
#
|
|
112
|
+
:'style_name' => :'StyleName',
|
|
113
|
+
|
|
114
|
+
#
|
|
115
|
+
:'subscript' => :'Subscript',
|
|
116
|
+
|
|
117
|
+
#
|
|
118
|
+
:'superscript' => :'Superscript',
|
|
119
|
+
|
|
120
|
+
#
|
|
121
|
+
:'text_effect' => :'TextEffect',
|
|
122
|
+
|
|
123
|
+
#
|
|
124
|
+
:'underline' => :'Underline',
|
|
125
|
+
|
|
126
|
+
#
|
|
127
|
+
:'underline_color' => :'UnderlineColor',
|
|
128
|
+
|
|
129
|
+
#
|
|
130
|
+
:'link' => :'link'
|
|
131
|
+
|
|
132
|
+
}
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# attribute type
|
|
136
|
+
def self.swagger_types
|
|
137
|
+
{
|
|
138
|
+
:'all_caps' => :'BOOLEAN',
|
|
139
|
+
:'bidi' => :'BOOLEAN',
|
|
140
|
+
:'bold' => :'BOOLEAN',
|
|
141
|
+
:'bold_bi' => :'BOOLEAN',
|
|
142
|
+
:'border' => :'Border',
|
|
143
|
+
:'color' => :'Color',
|
|
144
|
+
:'complex_script' => :'BOOLEAN',
|
|
145
|
+
:'double_strike_through' => :'BOOLEAN',
|
|
146
|
+
:'emboss' => :'BOOLEAN',
|
|
147
|
+
:'engrave' => :'BOOLEAN',
|
|
148
|
+
:'hidden' => :'BOOLEAN',
|
|
149
|
+
:'highlight_color' => :'Color',
|
|
150
|
+
:'italic' => :'BOOLEAN',
|
|
151
|
+
:'italic_bi' => :'BOOLEAN',
|
|
152
|
+
:'kerning' => :'Float',
|
|
153
|
+
:'locale_id' => :'Integer',
|
|
154
|
+
:'locale_id_bi' => :'Integer',
|
|
155
|
+
:'locale_id_far_east' => :'Integer',
|
|
156
|
+
:'name' => :'String',
|
|
157
|
+
:'name_ascii' => :'String',
|
|
158
|
+
:'name_bi' => :'String',
|
|
159
|
+
:'name_far_east' => :'String',
|
|
160
|
+
:'name_other' => :'String',
|
|
161
|
+
:'no_proofing' => :'BOOLEAN',
|
|
162
|
+
:'outline' => :'BOOLEAN',
|
|
163
|
+
:'position' => :'Float',
|
|
164
|
+
:'scaling' => :'Integer',
|
|
165
|
+
:'shadow' => :'BOOLEAN',
|
|
166
|
+
:'size' => :'Float',
|
|
167
|
+
:'size_bi' => :'Float',
|
|
168
|
+
:'small_caps' => :'BOOLEAN',
|
|
169
|
+
:'spacing' => :'Float',
|
|
170
|
+
:'strike_through' => :'BOOLEAN',
|
|
171
|
+
:'style_identifier' => :'String',
|
|
172
|
+
:'style_name' => :'String',
|
|
173
|
+
:'subscript' => :'BOOLEAN',
|
|
174
|
+
:'superscript' => :'BOOLEAN',
|
|
175
|
+
:'text_effect' => :'String',
|
|
176
|
+
:'underline' => :'String',
|
|
177
|
+
:'underline_color' => :'Color',
|
|
178
|
+
:'link' => :'Link'
|
|
179
|
+
|
|
180
|
+
}
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
def initialize(attributes = {})
|
|
184
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
|
185
|
+
|
|
186
|
+
# convert string to symbol for hash key
|
|
187
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
if attributes[:'AllCaps']
|
|
191
|
+
self.all_caps = attributes[:'AllCaps']
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes[:'Bidi']
|
|
195
|
+
self.bidi = attributes[:'Bidi']
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
if attributes[:'Bold']
|
|
199
|
+
self.bold = attributes[:'Bold']
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
if attributes[:'BoldBi']
|
|
203
|
+
self.bold_bi = attributes[:'BoldBi']
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
if attributes[:'Border']
|
|
207
|
+
self.border = attributes[:'Border']
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
if attributes[:'Color']
|
|
211
|
+
self.color = attributes[:'Color']
|
|
212
|
+
end
|
|
213
|
+
|
|
214
|
+
if attributes[:'ComplexScript']
|
|
215
|
+
self.complex_script = attributes[:'ComplexScript']
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
if attributes[:'DoubleStrikeThrough']
|
|
219
|
+
self.double_strike_through = attributes[:'DoubleStrikeThrough']
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
if attributes[:'Emboss']
|
|
223
|
+
self.emboss = attributes[:'Emboss']
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
if attributes[:'Engrave']
|
|
227
|
+
self.engrave = attributes[:'Engrave']
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
if attributes[:'Hidden']
|
|
231
|
+
self.hidden = attributes[:'Hidden']
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
if attributes[:'HighlightColor']
|
|
235
|
+
self.highlight_color = attributes[:'HighlightColor']
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
if attributes[:'Italic']
|
|
239
|
+
self.italic = attributes[:'Italic']
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
if attributes[:'ItalicBi']
|
|
243
|
+
self.italic_bi = attributes[:'ItalicBi']
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
if attributes[:'Kerning']
|
|
247
|
+
self.kerning = attributes[:'Kerning']
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
if attributes[:'LocaleId']
|
|
251
|
+
self.locale_id = attributes[:'LocaleId']
|
|
252
|
+
end
|
|
253
|
+
|
|
254
|
+
if attributes[:'LocaleIdBi']
|
|
255
|
+
self.locale_id_bi = attributes[:'LocaleIdBi']
|
|
256
|
+
end
|
|
257
|
+
|
|
258
|
+
if attributes[:'LocaleIdFarEast']
|
|
259
|
+
self.locale_id_far_east = attributes[:'LocaleIdFarEast']
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
if attributes[:'Name']
|
|
263
|
+
self.name = attributes[:'Name']
|
|
264
|
+
end
|
|
265
|
+
|
|
266
|
+
if attributes[:'NameAscii']
|
|
267
|
+
self.name_ascii = attributes[:'NameAscii']
|
|
268
|
+
end
|
|
269
|
+
|
|
270
|
+
if attributes[:'NameBi']
|
|
271
|
+
self.name_bi = attributes[:'NameBi']
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
if attributes[:'NameFarEast']
|
|
275
|
+
self.name_far_east = attributes[:'NameFarEast']
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
if attributes[:'NameOther']
|
|
279
|
+
self.name_other = attributes[:'NameOther']
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
if attributes[:'NoProofing']
|
|
283
|
+
self.no_proofing = attributes[:'NoProofing']
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
if attributes[:'Outline']
|
|
287
|
+
self.outline = attributes[:'Outline']
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
if attributes[:'Position']
|
|
291
|
+
self.position = attributes[:'Position']
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
if attributes[:'Scaling']
|
|
295
|
+
self.scaling = attributes[:'Scaling']
|
|
296
|
+
end
|
|
297
|
+
|
|
298
|
+
if attributes[:'Shadow']
|
|
299
|
+
self.shadow = attributes[:'Shadow']
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
if attributes[:'Size']
|
|
303
|
+
self.size = attributes[:'Size']
|
|
304
|
+
end
|
|
305
|
+
|
|
306
|
+
if attributes[:'SizeBi']
|
|
307
|
+
self.size_bi = attributes[:'SizeBi']
|
|
308
|
+
end
|
|
309
|
+
|
|
310
|
+
if attributes[:'SmallCaps']
|
|
311
|
+
self.small_caps = attributes[:'SmallCaps']
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
if attributes[:'Spacing']
|
|
315
|
+
self.spacing = attributes[:'Spacing']
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
if attributes[:'StrikeThrough']
|
|
319
|
+
self.strike_through = attributes[:'StrikeThrough']
|
|
320
|
+
end
|
|
321
|
+
|
|
322
|
+
if attributes[:'StyleIdentifier']
|
|
323
|
+
self.style_identifier = attributes[:'StyleIdentifier']
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
if attributes[:'StyleName']
|
|
327
|
+
self.style_name = attributes[:'StyleName']
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
if attributes[:'Subscript']
|
|
331
|
+
self.subscript = attributes[:'Subscript']
|
|
332
|
+
end
|
|
333
|
+
|
|
334
|
+
if attributes[:'Superscript']
|
|
335
|
+
self.superscript = attributes[:'Superscript']
|
|
336
|
+
end
|
|
337
|
+
|
|
338
|
+
if attributes[:'TextEffect']
|
|
339
|
+
self.text_effect = attributes[:'TextEffect']
|
|
340
|
+
end
|
|
341
|
+
|
|
342
|
+
if attributes[:'Underline']
|
|
343
|
+
self.underline = attributes[:'Underline']
|
|
344
|
+
end
|
|
345
|
+
|
|
346
|
+
if attributes[:'UnderlineColor']
|
|
347
|
+
self.underline_color = attributes[:'UnderlineColor']
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
if attributes[:'link']
|
|
351
|
+
self.link = attributes[:'link']
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
def style_identifier=(style_identifier)
|
|
357
|
+
allowed_values = ["Normal", "Heading1", "Heading2", "Heading3", "Heading4", "Heading5", "Heading6", "Heading7", "Heading8", "Heading9", "Index1", "Index2", "Index3", "Index4", "Index5", "Index6", "Index7", "Index8", "Index9", "Toc1", "Toc2", "Toc3", "Toc4", "Toc5", "Toc6", "Toc7", "Toc8", "Toc9", "NormalIndent", "FootnoteText", "CommentText", "Header", "Footer", "IndexHeading", "Caption", "TableOfFigures", "EnvelopeAddress", "EnvelopeReturn", "FootnoteReference", "CommentReference", "LineNumber", "PageNumber", "EndnoteReference", "EndnoteText", "TableOfAuthorities", "Macro", "ToaHeading", "List", "ListBullet", "ListNumber", "List2", "List3", "List4", "List5", "ListBullet2", "ListBullet3", "ListBullet4", "ListBullet5", "ListNumber2", "ListNumber3", "ListNumber4", "ListNumber5", "Title", "Closing", "Signature", "DefaultParagraphFont", "BodyText", "BodyTextInd", "ListContinue", "ListContinue2", "ListContinue3", "ListContinue4", "ListContinue5", "MessageHeader", "Subtitle", "Salutation", "Date", "BodyText1I", "BodyText1I2", "NoteHeading", "BodyText2", "BodyText3", "BodyTextInd2", "BodyTextInd3", "BlockText", "Hyperlink", "FollowedHyperlink", "Strong", "Emphasis", "DocumentMap", "PlainText", "EmailSignature", "HtmlTopOfForm", "HtmlBottomOfForm", "NormalWeb", "HtmlAcronym", "HtmlAddress", "HtmlCite", "HtmlCode", "HtmlDefinition", "HtmlKeyboard", "HtmlPreformatted", "HtmlSample", "HtmlTypewriter", "HtmlVariable", "TableNormal", "CommentSubject", "NoList", "OutlineList1", "OutlineList2", "OutlineList3", "TableSimple1", "TableSimple2", "TableSimple3", "TableClassic1", "TableClassic2", "TableClassic3", "TableClassic4", "TableColorful1", "TableColorful2", "TableColorful3", "TableColumns1", "TableColumns2", "TableColumns3", "TableColumns4", "TableColumns5", "TableGrid1", "TableGrid2", "TableGrid3", "TableGrid4", "TableGrid5", "TableGrid6", "TableGrid7", "TableGrid8", "TableList1", "TableList2", "TableList3", "TableList4", "TableList5", "TableList6", "TableList7", "TableList8", "Table3DEffects1", "Table3DEffects2", "Table3DEffects3", "TableContemporary", "TableElegant", "TableProfessional", "TableSubtle1", "TableSubtle2", "TableWeb1", "TableWeb2", "TableWeb3", "BalloonText", "TableGrid", "TableTheme", "PlaceholderText", "NoSpacing", "LightShading", "LightList", "LightGrid", "MediumShading1", "MediumShading2", "MediumList1", "MediumList2", "MediumGrid1", "MediumGrid2", "MediumGrid3", "DarkList", "ColorfulShading", "ColorfulList", "ColorfulGrid", "LightShadingAccent1", "LightListAccent1", "LightGridAccent1", "MediumShading1Accent1", "MediumShading2Accent1", "MediumList1Accent1", "Revision", "ListParagraph", "Quote", "IntenseQuote", "MediumList2Accent1", "MediumGrid1Accent1", "MediumGrid2Accent1", "MediumGrid3Accent1", "DarkListAccent1", "ColorfulShadingAccent1", "ColorfulListAccent1", "ColorfulGridAccent1", "LightShadingAccent2", "LightListAccent2", "LightGridAccent2", "MediumShading1Accent2", "MediumShading2Accent2", "MediumList1Accent2", "MediumList2Accent2", "MediumGrid1Accent2", "MediumGrid2Accent2", "MediumGrid3Accent2", "DarkListAccent2", "ColorfulShadingAccent2", "ColorfulListAccent2", "ColorfulGridAccent2", "LightShadingAccent3", "LightListAccent3", "LightGridAccent3", "MediumShading1Accent3", "MediumShading2Accent3", "MediumList1Accent3", "MediumList2Accent3", "MediumGrid1Accent3", "MediumGrid2Accent3", "MediumGrid3Accent3", "DarkListAccent3", "ColorfulShadingAccent3", "ColorfulListAccent3", "ColorfulGridAccent3", "LightShadingAccent4", "LightListAccent4", "LightGridAccent4", "MediumShading1Accent4", "MediumShading2Accent4", "MediumList1Accent4", "MediumList2Accent4", "MediumGrid1Accent4", "MediumGrid2Accent4", "MediumGrid3Accent4", "DarkListAccent4", "ColorfulShadingAccent4", "ColorfulListAccent4", "ColorfulGridAccent4", "LightShadingAccent5", "LightListAccent5", "LightGridAccent5", "MediumShading1Accent5", "MediumShading2Accent5", "MediumList1Accent5", "MediumList2Accent5", "MediumGrid1Accent5", "MediumGrid2Accent5", "MediumGrid3Accent5", "DarkListAccent5", "ColorfulShadingAccent5", "ColorfulListAccent5", "ColorfulGridAccent5", "LightShadingAccent6", "LightListAccent6", "LightGridAccent6", "MediumShading1Accent6", "MediumShading2Accent6", "MediumList1Accent6", "MediumList2Accent6", "MediumGrid1Accent6", "MediumGrid2Accent6", "MediumGrid3Accent6", "DarkListAccent6", "ColorfulShadingAccent6", "ColorfulListAccent6", "ColorfulGridAccent6", "SubtleEmphasis", "IntenseEmphasis", "SubtleReference", "IntenseReference", "BookTitle", "Bibliography", "TocHeading", "User", "Nil"]
|
|
358
|
+
if style_identifier && !allowed_values.include?(style_identifier)
|
|
359
|
+
fail "invalid value for 'style_identifier', must be one of #{allowed_values}"
|
|
360
|
+
end
|
|
361
|
+
@style_identifier = style_identifier
|
|
362
|
+
end
|
|
363
|
+
|
|
364
|
+
def text_effect=(text_effect)
|
|
365
|
+
allowed_values = ["None", "LasVegasLights", "BlinkingBackground", "SparkleText", "MarchingBlackAnts", "MarchingRedAnts", "Shimmer"]
|
|
366
|
+
if text_effect && !allowed_values.include?(text_effect)
|
|
367
|
+
fail "invalid value for 'text_effect', must be one of #{allowed_values}"
|
|
368
|
+
end
|
|
369
|
+
@text_effect = text_effect
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
def underline=(underline)
|
|
373
|
+
allowed_values = ["None", "Single", "Words", "Double", "Dotted", "Thick", "Dash", "DotDash", "DotDotDash", "Wavy", "DottedHeavy", "DashHeavy", "DotDashHeavy", "DotDotDashHeavy", "WavyHeavy", "DashLong", "WavyDouble", "DashLongHeavy"]
|
|
374
|
+
if underline && !allowed_values.include?(underline)
|
|
375
|
+
fail "invalid value for 'underline', must be one of #{allowed_values}"
|
|
376
|
+
end
|
|
377
|
+
@underline = underline
|
|
378
|
+
end
|
|
379
|
+
|
|
380
|
+
end
|
|
381
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
module AsposeWordsCloud
|
|
2
|
+
#
|
|
3
|
+
class FontResponse < BaseObject
|
|
4
|
+
attr_accessor :font, :status, :code
|
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
|
6
|
+
def self.attribute_map
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
#
|
|
10
|
+
:'font' => :'Font',
|
|
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
|
+
:'font' => :'Font',
|
|
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[:'Font']
|
|
39
|
+
self.font = attributes[:'Font']
|
|
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,117 @@
|
|
|
1
|
+
module AsposeWordsCloud
|
|
2
|
+
#
|
|
3
|
+
class FormField < BaseObject
|
|
4
|
+
attr_accessor :node_id, :name, :enabled, :status_text, :own_status, :help_text, :own_help, :calculate_on_exit, :entry_macro, :exit_macro, :link
|
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
|
6
|
+
def self.attribute_map
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
#
|
|
10
|
+
:'node_id' => :'NodeId',
|
|
11
|
+
|
|
12
|
+
#
|
|
13
|
+
:'name' => :'Name',
|
|
14
|
+
|
|
15
|
+
#
|
|
16
|
+
:'enabled' => :'Enabled',
|
|
17
|
+
|
|
18
|
+
#
|
|
19
|
+
:'status_text' => :'StatusText',
|
|
20
|
+
|
|
21
|
+
#
|
|
22
|
+
:'own_status' => :'OwnStatus',
|
|
23
|
+
|
|
24
|
+
#
|
|
25
|
+
:'help_text' => :'HelpText',
|
|
26
|
+
|
|
27
|
+
#
|
|
28
|
+
:'own_help' => :'OwnHelp',
|
|
29
|
+
|
|
30
|
+
#
|
|
31
|
+
:'calculate_on_exit' => :'CalculateOnExit',
|
|
32
|
+
|
|
33
|
+
#
|
|
34
|
+
:'entry_macro' => :'EntryMacro',
|
|
35
|
+
|
|
36
|
+
#
|
|
37
|
+
:'exit_macro' => :'ExitMacro',
|
|
38
|
+
|
|
39
|
+
#
|
|
40
|
+
:'link' => :'link'
|
|
41
|
+
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
# attribute type
|
|
46
|
+
def self.swagger_types
|
|
47
|
+
{
|
|
48
|
+
:'node_id' => :'String',
|
|
49
|
+
:'name' => :'String',
|
|
50
|
+
:'enabled' => :'BOOLEAN',
|
|
51
|
+
:'status_text' => :'String',
|
|
52
|
+
:'own_status' => :'BOOLEAN',
|
|
53
|
+
:'help_text' => :'String',
|
|
54
|
+
:'own_help' => :'BOOLEAN',
|
|
55
|
+
:'calculate_on_exit' => :'BOOLEAN',
|
|
56
|
+
:'entry_macro' => :'String',
|
|
57
|
+
:'exit_macro' => :'String',
|
|
58
|
+
:'link' => :'Link'
|
|
59
|
+
|
|
60
|
+
}
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
def initialize(attributes = {})
|
|
64
|
+
return if !attributes.is_a?(Hash) || attributes.empty?
|
|
65
|
+
|
|
66
|
+
# convert string to symbol for hash key
|
|
67
|
+
attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
if attributes[:'NodeId']
|
|
71
|
+
self.node_id = attributes[:'NodeId']
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
if attributes[:'Name']
|
|
75
|
+
self.name = attributes[:'Name']
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
if attributes[:'Enabled']
|
|
79
|
+
self.enabled = attributes[:'Enabled']
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
if attributes[:'StatusText']
|
|
83
|
+
self.status_text = attributes[:'StatusText']
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
if attributes[:'OwnStatus']
|
|
87
|
+
self.own_status = attributes[:'OwnStatus']
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
if attributes[:'HelpText']
|
|
91
|
+
self.help_text = attributes[:'HelpText']
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
if attributes[:'OwnHelp']
|
|
95
|
+
self.own_help = attributes[:'OwnHelp']
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
if attributes[:'CalculateOnExit']
|
|
99
|
+
self.calculate_on_exit = attributes[:'CalculateOnExit']
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
if attributes[:'EntryMacro']
|
|
103
|
+
self.entry_macro = attributes[:'EntryMacro']
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
if attributes[:'ExitMacro']
|
|
107
|
+
self.exit_macro = attributes[:'ExitMacro']
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
if attributes[:'link']
|
|
111
|
+
self.link = attributes[:'link']
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
end
|
|
117
|
+
end
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
module AsposeWordsCloud
|
|
2
|
+
#
|
|
3
|
+
class FormFieldResponse < BaseObject
|
|
4
|
+
attr_accessor :form_field, :status, :code
|
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
|
6
|
+
def self.attribute_map
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
#
|
|
10
|
+
:'form_field' => :'FormField',
|
|
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
|
+
:'form_field' => :'FormField',
|
|
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[:'FormField']
|
|
39
|
+
self.form_field = attributes[:'FormField']
|
|
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,53 @@
|
|
|
1
|
+
module AsposeWordsCloud
|
|
2
|
+
#
|
|
3
|
+
class Hyperlink < BaseObject
|
|
4
|
+
attr_accessor :display_text, :value, :link
|
|
5
|
+
# attribute mapping from ruby-style variable name to JSON key
|
|
6
|
+
def self.attribute_map
|
|
7
|
+
{
|
|
8
|
+
|
|
9
|
+
#
|
|
10
|
+
:'display_text' => :'DisplayText',
|
|
11
|
+
|
|
12
|
+
#
|
|
13
|
+
:'value' => :'Value',
|
|
14
|
+
|
|
15
|
+
#
|
|
16
|
+
:'link' => :'link'
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
# attribute type
|
|
22
|
+
def self.swagger_types
|
|
23
|
+
{
|
|
24
|
+
:'display_text' => :'String',
|
|
25
|
+
:'value' => :'String',
|
|
26
|
+
:'link' => :'Link'
|
|
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[:'DisplayText']
|
|
39
|
+
self.display_text = attributes[:'DisplayText']
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
if attributes[:'Value']
|
|
43
|
+
self.value = attributes[:'Value']
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
if attributes[:'link']
|
|
47
|
+
self.link = attributes[:'link']
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
53
|
+
end
|