aspose_words_cloud 23.4.0 → 23.6.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.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud/api/words_api.rb +85 -1
  3. data/lib/aspose_words_cloud/api_client.rb +1 -1
  4. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +11 -11
  5. data/lib/aspose_words_cloud/models/comment.rb +39 -39
  6. data/lib/aspose_words_cloud/models/comment_insert.rb +21 -21
  7. data/lib/aspose_words_cloud/models/comment_update.rb +21 -21
  8. data/lib/aspose_words_cloud/models/custom_xml_part.rb +14 -14
  9. data/lib/aspose_words_cloud/models/custom_xml_part_insert.rb +14 -14
  10. data/lib/aspose_words_cloud/models/custom_xml_part_update.rb +14 -14
  11. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +10 -10
  12. data/lib/aspose_words_cloud/models/document.rb +13 -13
  13. data/lib/aspose_words_cloud/models/document_entry.rb +41 -0
  14. data/lib/aspose_words_cloud/models/document_property.rb +15 -15
  15. data/lib/aspose_words_cloud/models/document_stat_data.rb +16 -16
  16. data/lib/aspose_words_cloud/models/drawing_object.rb +41 -41
  17. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +11 -11
  18. data/lib/aspose_words_cloud/models/footnote.rb +21 -21
  19. data/lib/aspose_words_cloud/models/form_field.rb +46 -46
  20. data/lib/aspose_words_cloud/models/form_field_checkbox.rb +59 -59
  21. data/lib/aspose_words_cloud/models/form_field_drop_down.rb +46 -46
  22. data/lib/aspose_words_cloud/models/form_field_text_input.rb +66 -66
  23. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +11 -11
  24. data/lib/aspose_words_cloud/models/header_footer.rb +14 -14
  25. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +10 -10
  26. data/lib/aspose_words_cloud/models/html_save_options_data.rb +10 -10
  27. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +11 -11
  28. data/lib/aspose_words_cloud/models/list_format.rb +15 -15
  29. data/lib/aspose_words_cloud/models/list_info.rb +35 -35
  30. data/lib/aspose_words_cloud/models/list_level.rb +76 -76
  31. data/lib/aspose_words_cloud/models/load_web_document_data.rb +14 -14
  32. data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +10 -10
  33. data/lib/aspose_words_cloud/models/page_stat_data.rb +14 -14
  34. data/lib/aspose_words_cloud/models/paragraph_format.rb +21 -21
  35. data/lib/aspose_words_cloud/models/paragraph_format_base.rb +14 -14
  36. data/lib/aspose_words_cloud/models/paragraph_format_update.rb +14 -14
  37. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +10 -10
  38. data/lib/aspose_words_cloud/models/png_save_options_data.rb +11 -11
  39. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +10 -10
  40. data/lib/aspose_words_cloud/models/requests/create_document_request.rb +9 -3
  41. data/lib/aspose_words_cloud/models/requests/insert_section_online_request.rb +204 -0
  42. data/lib/aspose_words_cloud/models/requests/insert_section_request.rb +203 -0
  43. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +10 -10
  44. data/lib/aspose_words_cloud/models/save_result.rb +16 -16
  45. data/lib/aspose_words_cloud/models/search_result.rb +14 -14
  46. data/lib/aspose_words_cloud/models/section.rb +15 -15
  47. data/lib/aspose_words_cloud/models/split_document_result.rb +16 -16
  48. data/lib/aspose_words_cloud/models/structured_document_tag.rb +142 -142
  49. data/lib/aspose_words_cloud/models/structured_document_tag_insert.rb +142 -142
  50. data/lib/aspose_words_cloud/models/structured_document_tag_update.rb +142 -142
  51. data/lib/aspose_words_cloud/models/style.rb +71 -71
  52. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +10 -10
  53. data/lib/aspose_words_cloud/models/table.rb +14 -14
  54. data/lib/aspose_words_cloud/models/table_row.rb +14 -14
  55. data/lib/aspose_words_cloud/models/table_row_format.rb +24 -24
  56. data/lib/aspose_words_cloud/models/text_save_options_data.rb +10 -10
  57. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +19 -19
  58. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +10 -10
  59. data/lib/aspose_words_cloud/version.rb +1 -1
  60. data/lib/aspose_words_cloud.rb +2 -0
  61. metadata +4 -2
@@ -35,58 +35,58 @@ module AsposeWordsCloud
35
35
  # Gets or sets the node id.
36
36
  attr_accessor :node_id
37
37
 
38
- # Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
39
- attr_accessor :calculate_on_exit
38
+ # Gets or sets the form field name.
39
+ attr_accessor :name
40
40
 
41
41
  # Gets or sets a value indicating whether a form field is enabled.
42
42
  attr_accessor :enabled
43
43
 
44
- # Gets or sets the entry macro name for the form field.
45
- attr_accessor :entry_macro
44
+ # Gets or sets text, displayed in the status bar when a form field has the focus.
45
+ attr_accessor :status_text
46
46
 
47
- # Gets or sets the exit macro name for the form field.
48
- attr_accessor :exit_macro
47
+ # Gets or sets a value indicating whether the source of the text that's displayed in the status bar when a form field has the focus.
48
+ attr_accessor :own_status
49
49
 
50
50
  # Gets or sets text, displayed in a message box when the form field has the focus and the user presses F1.
51
51
  attr_accessor :help_text
52
52
 
53
- # Gets or sets the form field name.
54
- attr_accessor :name
55
-
56
53
  # Gets or sets a value indicating whether the source of the text that's displayed in a message box when a form field has the focus and the user presses F1.
57
54
  attr_accessor :own_help
58
55
 
59
- # Gets or sets a value indicating whether the source of the text that's displayed in the status bar when a form field has the focus.
60
- attr_accessor :own_status
56
+ # Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
57
+ attr_accessor :calculate_on_exit
61
58
 
62
- # Gets or sets text, displayed in the status bar when a form field has the focus.
63
- attr_accessor :status_text
59
+ # Gets or sets the entry macro name for the form field.
60
+ attr_accessor :entry_macro
61
+
62
+ # Gets or sets the exit macro name for the form field.
63
+ attr_accessor :exit_macro
64
+
65
+ # Gets or sets a value indicating whether the size of the textbox is automatic or specified explicitly.
66
+ attr_accessor :is_check_box_exact_size
64
67
 
65
68
  # Gets or sets the size of the checkbox in points. Has effect only when IsCheckBoxExactSize is true.
66
69
  attr_accessor :check_box_size
67
70
 
68
71
  # Gets or sets the checked status of the check box form field.
69
72
  attr_accessor :checked
70
-
71
- # Gets or sets a value indicating whether the size of the textbox is automatic or specified explicitly.
72
- attr_accessor :is_check_box_exact_size
73
73
  # Attribute mapping from ruby-style variable name to JSON key.
74
74
  def self.attribute_map
75
75
  {
76
76
  :'link' => :'Link',
77
77
  :'node_id' => :'NodeId',
78
- :'calculate_on_exit' => :'CalculateOnExit',
78
+ :'name' => :'Name',
79
79
  :'enabled' => :'Enabled',
80
- :'entry_macro' => :'EntryMacro',
81
- :'exit_macro' => :'ExitMacro',
80
+ :'status_text' => :'StatusText',
81
+ :'own_status' => :'OwnStatus',
82
82
  :'help_text' => :'HelpText',
83
- :'name' => :'Name',
84
83
  :'own_help' => :'OwnHelp',
85
- :'own_status' => :'OwnStatus',
86
- :'status_text' => :'StatusText',
84
+ :'calculate_on_exit' => :'CalculateOnExit',
85
+ :'entry_macro' => :'EntryMacro',
86
+ :'exit_macro' => :'ExitMacro',
87
+ :'is_check_box_exact_size' => :'IsCheckBoxExactSize',
87
88
  :'check_box_size' => :'CheckBoxSize',
88
- :'checked' => :'Checked',
89
- :'is_check_box_exact_size' => :'IsCheckBoxExactSize'
89
+ :'checked' => :'Checked'
90
90
  }
91
91
  end
92
92
 
@@ -95,18 +95,18 @@ module AsposeWordsCloud
95
95
  {
96
96
  :'link' => :'WordsApiLink',
97
97
  :'node_id' => :'String',
98
- :'calculate_on_exit' => :'BOOLEAN',
98
+ :'name' => :'String',
99
99
  :'enabled' => :'BOOLEAN',
100
- :'entry_macro' => :'String',
101
- :'exit_macro' => :'String',
100
+ :'status_text' => :'String',
101
+ :'own_status' => :'BOOLEAN',
102
102
  :'help_text' => :'String',
103
- :'name' => :'String',
104
103
  :'own_help' => :'BOOLEAN',
105
- :'own_status' => :'BOOLEAN',
106
- :'status_text' => :'String',
104
+ :'calculate_on_exit' => :'BOOLEAN',
105
+ :'entry_macro' => :'String',
106
+ :'exit_macro' => :'String',
107
+ :'is_check_box_exact_size' => :'BOOLEAN',
107
108
  :'check_box_size' => :'Float',
108
- :'checked' => :'BOOLEAN',
109
- :'is_check_box_exact_size' => :'BOOLEAN'
109
+ :'checked' => :'BOOLEAN'
110
110
  }
111
111
  end
112
112
 
@@ -126,40 +126,44 @@ module AsposeWordsCloud
126
126
  self.node_id = attributes[:'NodeId']
127
127
  end
128
128
 
129
- if attributes.key?(:'CalculateOnExit')
130
- self.calculate_on_exit = attributes[:'CalculateOnExit']
129
+ if attributes.key?(:'Name')
130
+ self.name = attributes[:'Name']
131
131
  end
132
132
 
133
133
  if attributes.key?(:'Enabled')
134
134
  self.enabled = attributes[:'Enabled']
135
135
  end
136
136
 
137
- if attributes.key?(:'EntryMacro')
138
- self.entry_macro = attributes[:'EntryMacro']
137
+ if attributes.key?(:'StatusText')
138
+ self.status_text = attributes[:'StatusText']
139
139
  end
140
140
 
141
- if attributes.key?(:'ExitMacro')
142
- self.exit_macro = attributes[:'ExitMacro']
141
+ if attributes.key?(:'OwnStatus')
142
+ self.own_status = attributes[:'OwnStatus']
143
143
  end
144
144
 
145
145
  if attributes.key?(:'HelpText')
146
146
  self.help_text = attributes[:'HelpText']
147
147
  end
148
148
 
149
- if attributes.key?(:'Name')
150
- self.name = attributes[:'Name']
151
- end
152
-
153
149
  if attributes.key?(:'OwnHelp')
154
150
  self.own_help = attributes[:'OwnHelp']
155
151
  end
156
152
 
157
- if attributes.key?(:'OwnStatus')
158
- self.own_status = attributes[:'OwnStatus']
153
+ if attributes.key?(:'CalculateOnExit')
154
+ self.calculate_on_exit = attributes[:'CalculateOnExit']
159
155
  end
160
156
 
161
- if attributes.key?(:'StatusText')
162
- self.status_text = attributes[:'StatusText']
157
+ if attributes.key?(:'EntryMacro')
158
+ self.entry_macro = attributes[:'EntryMacro']
159
+ end
160
+
161
+ if attributes.key?(:'ExitMacro')
162
+ self.exit_macro = attributes[:'ExitMacro']
163
+ end
164
+
165
+ if attributes.key?(:'IsCheckBoxExactSize')
166
+ self.is_check_box_exact_size = attributes[:'IsCheckBoxExactSize']
163
167
  end
164
168
 
165
169
  if attributes.key?(:'CheckBoxSize')
@@ -169,10 +173,6 @@ module AsposeWordsCloud
169
173
  if attributes.key?(:'Checked')
170
174
  self.checked = attributes[:'Checked']
171
175
  end
172
-
173
- if attributes.key?(:'IsCheckBoxExactSize')
174
- self.is_check_box_exact_size = attributes[:'IsCheckBoxExactSize']
175
- end
176
176
  end
177
177
 
178
178
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -195,18 +195,18 @@ module AsposeWordsCloud
195
195
  self.class == other.class &&
196
196
  link == other.link &&
197
197
  node_id == other.node_id &&
198
- calculate_on_exit == other.calculate_on_exit &&
198
+ name == other.name &&
199
199
  enabled == other.enabled &&
200
- entry_macro == other.entry_macro &&
201
- exit_macro == other.exit_macro &&
200
+ status_text == other.status_text &&
201
+ own_status == other.own_status &&
202
202
  help_text == other.help_text &&
203
- name == other.name &&
204
203
  own_help == other.own_help &&
205
- own_status == other.own_status &&
206
- status_text == other.status_text &&
204
+ calculate_on_exit == other.calculate_on_exit &&
205
+ entry_macro == other.entry_macro &&
206
+ exit_macro == other.exit_macro &&
207
+ is_check_box_exact_size == other.is_check_box_exact_size &&
207
208
  check_box_size == other.check_box_size &&
208
- checked == other.checked &&
209
- is_check_box_exact_size == other.is_check_box_exact_size
209
+ checked == other.checked
210
210
  end
211
211
 
212
212
  # @see the `==` method
@@ -218,7 +218,7 @@ module AsposeWordsCloud
218
218
  # Calculates hash code according to all attributes.
219
219
  # @return [Fixnum] Hash code
220
220
  def hash
221
- [link, node_id, calculate_on_exit, enabled, entry_macro, exit_macro, help_text, name, own_help, own_status, status_text, check_box_size, checked, is_check_box_exact_size].hash
221
+ [link, node_id, name, enabled, status_text, own_status, help_text, own_help, calculate_on_exit, entry_macro, exit_macro, is_check_box_exact_size, check_box_size, checked].hash
222
222
  end
223
223
 
224
224
  # Builds the object from hash
@@ -35,32 +35,32 @@ module AsposeWordsCloud
35
35
  # Gets or sets the node id.
36
36
  attr_accessor :node_id
37
37
 
38
- # Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
39
- attr_accessor :calculate_on_exit
38
+ # Gets or sets the form field name.
39
+ attr_accessor :name
40
40
 
41
41
  # Gets or sets a value indicating whether a form field is enabled.
42
42
  attr_accessor :enabled
43
43
 
44
- # Gets or sets the entry macro name for the form field.
45
- attr_accessor :entry_macro
44
+ # Gets or sets text, displayed in the status bar when a form field has the focus.
45
+ attr_accessor :status_text
46
46
 
47
- # Gets or sets the exit macro name for the form field.
48
- attr_accessor :exit_macro
47
+ # Gets or sets a value indicating whether the source of the text that's displayed in the status bar when a form field has the focus.
48
+ attr_accessor :own_status
49
49
 
50
50
  # Gets or sets text, displayed in a message box when the form field has the focus and the user presses F1.
51
51
  attr_accessor :help_text
52
52
 
53
- # Gets or sets the form field name.
54
- attr_accessor :name
55
-
56
53
  # Gets or sets a value indicating whether the source of the text that's displayed in a message box when a form field has the focus and the user presses F1.
57
54
  attr_accessor :own_help
58
55
 
59
- # Gets or sets a value indicating whether the source of the text that's displayed in the status bar when a form field has the focus.
60
- attr_accessor :own_status
56
+ # Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
57
+ attr_accessor :calculate_on_exit
61
58
 
62
- # Gets or sets text, displayed in the status bar when a form field has the focus.
63
- attr_accessor :status_text
59
+ # Gets or sets the entry macro name for the form field.
60
+ attr_accessor :entry_macro
61
+
62
+ # Gets or sets the exit macro name for the form field.
63
+ attr_accessor :exit_macro
64
64
 
65
65
  # Gets or sets the items array of a dropdown form field.
66
66
  attr_accessor :drop_down_items
@@ -72,15 +72,15 @@ module AsposeWordsCloud
72
72
  {
73
73
  :'link' => :'Link',
74
74
  :'node_id' => :'NodeId',
75
- :'calculate_on_exit' => :'CalculateOnExit',
75
+ :'name' => :'Name',
76
76
  :'enabled' => :'Enabled',
77
- :'entry_macro' => :'EntryMacro',
78
- :'exit_macro' => :'ExitMacro',
77
+ :'status_text' => :'StatusText',
78
+ :'own_status' => :'OwnStatus',
79
79
  :'help_text' => :'HelpText',
80
- :'name' => :'Name',
81
80
  :'own_help' => :'OwnHelp',
82
- :'own_status' => :'OwnStatus',
83
- :'status_text' => :'StatusText',
81
+ :'calculate_on_exit' => :'CalculateOnExit',
82
+ :'entry_macro' => :'EntryMacro',
83
+ :'exit_macro' => :'ExitMacro',
84
84
  :'drop_down_items' => :'DropDownItems',
85
85
  :'drop_down_selected_index' => :'DropDownSelectedIndex'
86
86
  }
@@ -91,15 +91,15 @@ module AsposeWordsCloud
91
91
  {
92
92
  :'link' => :'WordsApiLink',
93
93
  :'node_id' => :'String',
94
- :'calculate_on_exit' => :'BOOLEAN',
94
+ :'name' => :'String',
95
95
  :'enabled' => :'BOOLEAN',
96
- :'entry_macro' => :'String',
97
- :'exit_macro' => :'String',
96
+ :'status_text' => :'String',
97
+ :'own_status' => :'BOOLEAN',
98
98
  :'help_text' => :'String',
99
- :'name' => :'String',
100
99
  :'own_help' => :'BOOLEAN',
101
- :'own_status' => :'BOOLEAN',
102
- :'status_text' => :'String',
100
+ :'calculate_on_exit' => :'BOOLEAN',
101
+ :'entry_macro' => :'String',
102
+ :'exit_macro' => :'String',
103
103
  :'drop_down_items' => :'Array<String>',
104
104
  :'drop_down_selected_index' => :'Integer'
105
105
  }
@@ -121,40 +121,40 @@ module AsposeWordsCloud
121
121
  self.node_id = attributes[:'NodeId']
122
122
  end
123
123
 
124
- if attributes.key?(:'CalculateOnExit')
125
- self.calculate_on_exit = attributes[:'CalculateOnExit']
124
+ if attributes.key?(:'Name')
125
+ self.name = attributes[:'Name']
126
126
  end
127
127
 
128
128
  if attributes.key?(:'Enabled')
129
129
  self.enabled = attributes[:'Enabled']
130
130
  end
131
131
 
132
- if attributes.key?(:'EntryMacro')
133
- self.entry_macro = attributes[:'EntryMacro']
132
+ if attributes.key?(:'StatusText')
133
+ self.status_text = attributes[:'StatusText']
134
134
  end
135
135
 
136
- if attributes.key?(:'ExitMacro')
137
- self.exit_macro = attributes[:'ExitMacro']
136
+ if attributes.key?(:'OwnStatus')
137
+ self.own_status = attributes[:'OwnStatus']
138
138
  end
139
139
 
140
140
  if attributes.key?(:'HelpText')
141
141
  self.help_text = attributes[:'HelpText']
142
142
  end
143
143
 
144
- if attributes.key?(:'Name')
145
- self.name = attributes[:'Name']
146
- end
147
-
148
144
  if attributes.key?(:'OwnHelp')
149
145
  self.own_help = attributes[:'OwnHelp']
150
146
  end
151
147
 
152
- if attributes.key?(:'OwnStatus')
153
- self.own_status = attributes[:'OwnStatus']
148
+ if attributes.key?(:'CalculateOnExit')
149
+ self.calculate_on_exit = attributes[:'CalculateOnExit']
154
150
  end
155
151
 
156
- if attributes.key?(:'StatusText')
157
- self.status_text = attributes[:'StatusText']
152
+ if attributes.key?(:'EntryMacro')
153
+ self.entry_macro = attributes[:'EntryMacro']
154
+ end
155
+
156
+ if attributes.key?(:'ExitMacro')
157
+ self.exit_macro = attributes[:'ExitMacro']
158
158
  end
159
159
 
160
160
  if attributes.key?(:'DropDownItems')
@@ -188,15 +188,15 @@ module AsposeWordsCloud
188
188
  self.class == other.class &&
189
189
  link == other.link &&
190
190
  node_id == other.node_id &&
191
- calculate_on_exit == other.calculate_on_exit &&
191
+ name == other.name &&
192
192
  enabled == other.enabled &&
193
- entry_macro == other.entry_macro &&
194
- exit_macro == other.exit_macro &&
193
+ status_text == other.status_text &&
194
+ own_status == other.own_status &&
195
195
  help_text == other.help_text &&
196
- name == other.name &&
197
196
  own_help == other.own_help &&
198
- own_status == other.own_status &&
199
- status_text == other.status_text &&
197
+ calculate_on_exit == other.calculate_on_exit &&
198
+ entry_macro == other.entry_macro &&
199
+ exit_macro == other.exit_macro &&
200
200
  drop_down_items == other.drop_down_items &&
201
201
  drop_down_selected_index == other.drop_down_selected_index
202
202
  end
@@ -210,7 +210,7 @@ module AsposeWordsCloud
210
210
  # Calculates hash code according to all attributes.
211
211
  # @return [Fixnum] Hash code
212
212
  def hash
213
- [link, node_id, calculate_on_exit, enabled, entry_macro, exit_macro, help_text, name, own_help, own_status, status_text, drop_down_items, drop_down_selected_index].hash
213
+ [link, node_id, name, enabled, status_text, own_status, help_text, own_help, calculate_on_exit, entry_macro, exit_macro, drop_down_items, drop_down_selected_index].hash
214
214
  end
215
215
 
216
216
  # Builds the object from hash
@@ -35,38 +35,32 @@ module AsposeWordsCloud
35
35
  # Gets or sets the node id.
36
36
  attr_accessor :node_id
37
37
 
38
- # Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
39
- attr_accessor :calculate_on_exit
38
+ # Gets or sets the form field name.
39
+ attr_accessor :name
40
40
 
41
41
  # Gets or sets a value indicating whether a form field is enabled.
42
42
  attr_accessor :enabled
43
43
 
44
- # Gets or sets the entry macro name for the form field.
45
- attr_accessor :entry_macro
44
+ # Gets or sets text, displayed in the status bar when a form field has the focus.
45
+ attr_accessor :status_text
46
46
 
47
- # Gets or sets the exit macro name for the form field.
48
- attr_accessor :exit_macro
47
+ # Gets or sets a value indicating whether the source of the text that's displayed in the status bar when a form field has the focus.
48
+ attr_accessor :own_status
49
49
 
50
50
  # Gets or sets text, displayed in a message box when the form field has the focus and the user presses F1.
51
51
  attr_accessor :help_text
52
52
 
53
- # Gets or sets the form field name.
54
- attr_accessor :name
55
-
56
53
  # Gets or sets a value indicating whether the source of the text that's displayed in a message box when a form field has the focus and the user presses F1.
57
54
  attr_accessor :own_help
58
55
 
59
- # Gets or sets a value indicating whether the source of the text that's displayed in the status bar when a form field has the focus.
60
- attr_accessor :own_status
61
-
62
- # Gets or sets text, displayed in the status bar when a form field has the focus.
63
- attr_accessor :status_text
56
+ # Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
57
+ attr_accessor :calculate_on_exit
64
58
 
65
- # Gets or sets the maximum length for the text field. Zero when the length is not limited.
66
- attr_accessor :max_length
59
+ # Gets or sets the entry macro name for the form field.
60
+ attr_accessor :entry_macro
67
61
 
68
- # Gets or sets the default string or a calculation expression of the text form field.
69
- attr_accessor :text_input_default
62
+ # Gets or sets the exit macro name for the form field.
63
+ attr_accessor :exit_macro
70
64
 
71
65
  # Gets or sets text formatting for the text form field.
72
66
  attr_accessor :text_input_format
@@ -74,6 +68,12 @@ module AsposeWordsCloud
74
68
  # Gets or sets the type of the text form field.
75
69
  attr_accessor :text_input_type
76
70
 
71
+ # Gets or sets the default string or a calculation expression of the text form field.
72
+ attr_accessor :text_input_default
73
+
74
+ # Gets or sets the maximum length for the text field. Zero when the length is not limited.
75
+ attr_accessor :max_length
76
+
77
77
  class EnumAttributeValidator
78
78
  attr_reader :datatype
79
79
  attr_reader :allowable_values
@@ -101,19 +101,19 @@ module AsposeWordsCloud
101
101
  {
102
102
  :'link' => :'Link',
103
103
  :'node_id' => :'NodeId',
104
- :'calculate_on_exit' => :'CalculateOnExit',
104
+ :'name' => :'Name',
105
105
  :'enabled' => :'Enabled',
106
- :'entry_macro' => :'EntryMacro',
107
- :'exit_macro' => :'ExitMacro',
106
+ :'status_text' => :'StatusText',
107
+ :'own_status' => :'OwnStatus',
108
108
  :'help_text' => :'HelpText',
109
- :'name' => :'Name',
110
109
  :'own_help' => :'OwnHelp',
111
- :'own_status' => :'OwnStatus',
112
- :'status_text' => :'StatusText',
113
- :'max_length' => :'MaxLength',
114
- :'text_input_default' => :'TextInputDefault',
110
+ :'calculate_on_exit' => :'CalculateOnExit',
111
+ :'entry_macro' => :'EntryMacro',
112
+ :'exit_macro' => :'ExitMacro',
115
113
  :'text_input_format' => :'TextInputFormat',
116
- :'text_input_type' => :'TextInputType'
114
+ :'text_input_type' => :'TextInputType',
115
+ :'text_input_default' => :'TextInputDefault',
116
+ :'max_length' => :'MaxLength'
117
117
  }
118
118
  end
119
119
 
@@ -122,19 +122,19 @@ module AsposeWordsCloud
122
122
  {
123
123
  :'link' => :'WordsApiLink',
124
124
  :'node_id' => :'String',
125
- :'calculate_on_exit' => :'BOOLEAN',
125
+ :'name' => :'String',
126
126
  :'enabled' => :'BOOLEAN',
127
- :'entry_macro' => :'String',
128
- :'exit_macro' => :'String',
127
+ :'status_text' => :'String',
128
+ :'own_status' => :'BOOLEAN',
129
129
  :'help_text' => :'String',
130
- :'name' => :'String',
131
130
  :'own_help' => :'BOOLEAN',
132
- :'own_status' => :'BOOLEAN',
133
- :'status_text' => :'String',
134
- :'max_length' => :'Integer',
135
- :'text_input_default' => :'String',
131
+ :'calculate_on_exit' => :'BOOLEAN',
132
+ :'entry_macro' => :'String',
133
+ :'exit_macro' => :'String',
136
134
  :'text_input_format' => :'String',
137
- :'text_input_type' => :'String'
135
+ :'text_input_type' => :'String',
136
+ :'text_input_default' => :'String',
137
+ :'max_length' => :'Integer'
138
138
  }
139
139
  end
140
140
 
@@ -154,48 +154,40 @@ module AsposeWordsCloud
154
154
  self.node_id = attributes[:'NodeId']
155
155
  end
156
156
 
157
- if attributes.key?(:'CalculateOnExit')
158
- self.calculate_on_exit = attributes[:'CalculateOnExit']
157
+ if attributes.key?(:'Name')
158
+ self.name = attributes[:'Name']
159
159
  end
160
160
 
161
161
  if attributes.key?(:'Enabled')
162
162
  self.enabled = attributes[:'Enabled']
163
163
  end
164
164
 
165
- if attributes.key?(:'EntryMacro')
166
- self.entry_macro = attributes[:'EntryMacro']
165
+ if attributes.key?(:'StatusText')
166
+ self.status_text = attributes[:'StatusText']
167
167
  end
168
168
 
169
- if attributes.key?(:'ExitMacro')
170
- self.exit_macro = attributes[:'ExitMacro']
169
+ if attributes.key?(:'OwnStatus')
170
+ self.own_status = attributes[:'OwnStatus']
171
171
  end
172
172
 
173
173
  if attributes.key?(:'HelpText')
174
174
  self.help_text = attributes[:'HelpText']
175
175
  end
176
176
 
177
- if attributes.key?(:'Name')
178
- self.name = attributes[:'Name']
179
- end
180
-
181
177
  if attributes.key?(:'OwnHelp')
182
178
  self.own_help = attributes[:'OwnHelp']
183
179
  end
184
180
 
185
- if attributes.key?(:'OwnStatus')
186
- self.own_status = attributes[:'OwnStatus']
187
- end
188
-
189
- if attributes.key?(:'StatusText')
190
- self.status_text = attributes[:'StatusText']
181
+ if attributes.key?(:'CalculateOnExit')
182
+ self.calculate_on_exit = attributes[:'CalculateOnExit']
191
183
  end
192
184
 
193
- if attributes.key?(:'MaxLength')
194
- self.max_length = attributes[:'MaxLength']
185
+ if attributes.key?(:'EntryMacro')
186
+ self.entry_macro = attributes[:'EntryMacro']
195
187
  end
196
188
 
197
- if attributes.key?(:'TextInputDefault')
198
- self.text_input_default = attributes[:'TextInputDefault']
189
+ if attributes.key?(:'ExitMacro')
190
+ self.exit_macro = attributes[:'ExitMacro']
199
191
  end
200
192
 
201
193
  if attributes.key?(:'TextInputFormat')
@@ -205,6 +197,14 @@ module AsposeWordsCloud
205
197
  if attributes.key?(:'TextInputType')
206
198
  self.text_input_type = attributes[:'TextInputType']
207
199
  end
200
+
201
+ if attributes.key?(:'TextInputDefault')
202
+ self.text_input_default = attributes[:'TextInputDefault']
203
+ end
204
+
205
+ if attributes.key?(:'MaxLength')
206
+ self.max_length = attributes[:'MaxLength']
207
+ end
208
208
  end
209
209
 
210
210
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -245,19 +245,19 @@ module AsposeWordsCloud
245
245
  self.class == other.class &&
246
246
  link == other.link &&
247
247
  node_id == other.node_id &&
248
- calculate_on_exit == other.calculate_on_exit &&
248
+ name == other.name &&
249
249
  enabled == other.enabled &&
250
- entry_macro == other.entry_macro &&
251
- exit_macro == other.exit_macro &&
250
+ status_text == other.status_text &&
251
+ own_status == other.own_status &&
252
252
  help_text == other.help_text &&
253
- name == other.name &&
254
253
  own_help == other.own_help &&
255
- own_status == other.own_status &&
256
- status_text == other.status_text &&
257
- max_length == other.max_length &&
258
- text_input_default == other.text_input_default &&
254
+ calculate_on_exit == other.calculate_on_exit &&
255
+ entry_macro == other.entry_macro &&
256
+ exit_macro == other.exit_macro &&
259
257
  text_input_format == other.text_input_format &&
260
- text_input_type == other.text_input_type
258
+ text_input_type == other.text_input_type &&
259
+ text_input_default == other.text_input_default &&
260
+ max_length == other.max_length
261
261
  end
262
262
 
263
263
  # @see the `==` method
@@ -269,7 +269,7 @@ module AsposeWordsCloud
269
269
  # Calculates hash code according to all attributes.
270
270
  # @return [Fixnum] Hash code
271
271
  def hash
272
- [link, node_id, calculate_on_exit, enabled, entry_macro, exit_macro, help_text, name, own_help, own_status, status_text, max_length, text_input_default, text_input_format, text_input_type].hash
272
+ [link, node_id, name, enabled, status_text, own_status, help_text, own_help, calculate_on_exit, entry_macro, exit_macro, text_input_format, text_input_type, text_input_default, max_length].hash
273
273
  end
274
274
 
275
275
  # Builds the object from hash