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
@@ -32,41 +32,41 @@ module AsposeWordsCloud
32
32
  # Gets or sets the link to the document.
33
33
  attr_accessor :link
34
34
 
35
- # Gets or sets the justification of the actual number of the list item.
36
- attr_accessor :alignment
37
-
38
- # Gets or sets character formatting used for the list label.
39
- attr_accessor :font
40
-
41
- # Gets or sets a value indicating whether the level turns all inherited numbers to Arabic, false if it preserves their number style.
42
- attr_accessor :is_legal
35
+ # Gets or sets the starting number for this list level.
36
+ attr_accessor :start_at
43
37
 
44
- # Gets or sets the paragraph style that is linked to this list level.
45
- attr_accessor :linked_style
38
+ # Gets or sets the number style for this list level.
39
+ attr_accessor :number_style
46
40
 
47
41
  # Gets or sets the number format for the list level.
48
42
  attr_accessor :number_format
49
43
 
50
- # Gets or sets the position (in points) of the number or bullet for the list level.
51
- attr_accessor :number_position
44
+ # Gets or sets the justification of the actual number of the list item.
45
+ attr_accessor :alignment
52
46
 
53
- # Gets or sets the number style for this list level.
54
- attr_accessor :number_style
47
+ # Gets or sets a value indicating whether the level turns all inherited numbers to Arabic, false if it preserves their number style.
48
+ attr_accessor :is_legal
55
49
 
56
50
  # Gets or sets the list level, that must appear before the specified list level restarts numbering.
57
51
  attr_accessor :restart_after_level
58
52
 
59
- # Gets or sets the starting number for this list level.
60
- attr_accessor :start_at
53
+ # Gets or sets the character inserted after the number for the list level.
54
+ attr_accessor :trailing_character
55
+
56
+ # Gets or sets character formatting used for the list label.
57
+ attr_accessor :font
61
58
 
62
59
  # Gets or sets the tab position (in points) for the list level.
63
60
  attr_accessor :tab_position
64
61
 
62
+ # Gets or sets the position (in points) of the number or bullet for the list level.
63
+ attr_accessor :number_position
64
+
65
65
  # Gets or sets the position (in points) for the second line of wrapping text for the list level.
66
66
  attr_accessor :text_position
67
67
 
68
- # Gets or sets the character inserted after the number for the list level.
69
- attr_accessor :trailing_character
68
+ # Gets or sets the paragraph style that is linked to this list level.
69
+ attr_accessor :linked_style
70
70
 
71
71
  class EnumAttributeValidator
72
72
  attr_reader :datatype
@@ -94,18 +94,18 @@ module AsposeWordsCloud
94
94
  def self.attribute_map
95
95
  {
96
96
  :'link' => :'Link',
97
+ :'start_at' => :'StartAt',
98
+ :'number_style' => :'NumberStyle',
99
+ :'number_format' => :'NumberFormat',
97
100
  :'alignment' => :'Alignment',
98
- :'font' => :'Font',
99
101
  :'is_legal' => :'IsLegal',
100
- :'linked_style' => :'LinkedStyle',
101
- :'number_format' => :'NumberFormat',
102
- :'number_position' => :'NumberPosition',
103
- :'number_style' => :'NumberStyle',
104
102
  :'restart_after_level' => :'RestartAfterLevel',
105
- :'start_at' => :'StartAt',
103
+ :'trailing_character' => :'TrailingCharacter',
104
+ :'font' => :'Font',
106
105
  :'tab_position' => :'TabPosition',
106
+ :'number_position' => :'NumberPosition',
107
107
  :'text_position' => :'TextPosition',
108
- :'trailing_character' => :'TrailingCharacter'
108
+ :'linked_style' => :'LinkedStyle'
109
109
  }
110
110
  end
111
111
 
@@ -113,18 +113,18 @@ module AsposeWordsCloud
113
113
  def self.swagger_types
114
114
  {
115
115
  :'link' => :'WordsApiLink',
116
+ :'start_at' => :'Integer',
117
+ :'number_style' => :'String',
118
+ :'number_format' => :'String',
116
119
  :'alignment' => :'String',
117
- :'font' => :'Font',
118
120
  :'is_legal' => :'BOOLEAN',
119
- :'linked_style' => :'Style',
120
- :'number_format' => :'String',
121
- :'number_position' => :'Float',
122
- :'number_style' => :'String',
123
121
  :'restart_after_level' => :'Integer',
124
- :'start_at' => :'Integer',
122
+ :'trailing_character' => :'String',
123
+ :'font' => :'Font',
125
124
  :'tab_position' => :'Float',
125
+ :'number_position' => :'Float',
126
126
  :'text_position' => :'Float',
127
- :'trailing_character' => :'String'
127
+ :'linked_style' => :'Style'
128
128
  }
129
129
  end
130
130
 
@@ -140,52 +140,52 @@ module AsposeWordsCloud
140
140
  self.link = attributes[:'Link']
141
141
  end
142
142
 
143
- if attributes.key?(:'Alignment')
144
- self.alignment = attributes[:'Alignment']
145
- end
146
-
147
- if attributes.key?(:'Font')
148
- self.font = attributes[:'Font']
149
- end
150
-
151
- if attributes.key?(:'IsLegal')
152
- self.is_legal = attributes[:'IsLegal']
143
+ if attributes.key?(:'StartAt')
144
+ self.start_at = attributes[:'StartAt']
153
145
  end
154
146
 
155
- if attributes.key?(:'LinkedStyle')
156
- self.linked_style = attributes[:'LinkedStyle']
147
+ if attributes.key?(:'NumberStyle')
148
+ self.number_style = attributes[:'NumberStyle']
157
149
  end
158
150
 
159
151
  if attributes.key?(:'NumberFormat')
160
152
  self.number_format = attributes[:'NumberFormat']
161
153
  end
162
154
 
163
- if attributes.key?(:'NumberPosition')
164
- self.number_position = attributes[:'NumberPosition']
155
+ if attributes.key?(:'Alignment')
156
+ self.alignment = attributes[:'Alignment']
165
157
  end
166
158
 
167
- if attributes.key?(:'NumberStyle')
168
- self.number_style = attributes[:'NumberStyle']
159
+ if attributes.key?(:'IsLegal')
160
+ self.is_legal = attributes[:'IsLegal']
169
161
  end
170
162
 
171
163
  if attributes.key?(:'RestartAfterLevel')
172
164
  self.restart_after_level = attributes[:'RestartAfterLevel']
173
165
  end
174
166
 
175
- if attributes.key?(:'StartAt')
176
- self.start_at = attributes[:'StartAt']
167
+ if attributes.key?(:'TrailingCharacter')
168
+ self.trailing_character = attributes[:'TrailingCharacter']
169
+ end
170
+
171
+ if attributes.key?(:'Font')
172
+ self.font = attributes[:'Font']
177
173
  end
178
174
 
179
175
  if attributes.key?(:'TabPosition')
180
176
  self.tab_position = attributes[:'TabPosition']
181
177
  end
182
178
 
179
+ if attributes.key?(:'NumberPosition')
180
+ self.number_position = attributes[:'NumberPosition']
181
+ end
182
+
183
183
  if attributes.key?(:'TextPosition')
184
184
  self.text_position = attributes[:'TextPosition']
185
185
  end
186
186
 
187
- if attributes.key?(:'TrailingCharacter')
188
- self.trailing_character = attributes[:'TrailingCharacter']
187
+ if attributes.key?(:'LinkedStyle')
188
+ self.linked_style = attributes[:'LinkedStyle']
189
189
  end
190
190
  end
191
191
 
@@ -199,30 +199,16 @@ module AsposeWordsCloud
199
199
  # Check to see if the all the properties in the model are valid
200
200
  # @return true if the model is valid
201
201
  def valid?
202
- alignment_validator = EnumAttributeValidator.new('String', ["Left", "Center", "Right"])
203
- return false unless alignment_validator.valid?(@alignment)
204
202
  number_style_validator = EnumAttributeValidator.new('String', ["Arabic", "UppercaseRoman", "LowercaseRoman", "UppercaseLetter", "LowercaseLetter", "Ordinal", "Number", "OrdinalText", "Hex", "ChicagoManual", "Kanji", "KanjiDigit", "AiueoHalfWidth", "IrohaHalfWidth", "ArabicFullWidth", "ArabicHalfWidth", "KanjiTraditional", "KanjiTraditional2", "NumberInCircle", "DecimalFullWidth", "Aiueo", "Iroha", "LeadingZero", "Bullet", "Ganada", "Chosung", "GB1", "GB2", "GB3", "GB4", "Zodiac1", "Zodiac2", "Zodiac3", "TradChinNum1", "TradChinNum2", "TradChinNum3", "TradChinNum4", "SimpChinNum1", "SimpChinNum2", "SimpChinNum3", "SimpChinNum4", "HanjaRead", "HanjaReadDigit", "Hangul", "Hanja", "Hebrew1", "Arabic1", "Hebrew2", "Arabic2", "HindiLetter1", "HindiLetter2", "HindiArabic", "HindiCardinalText", "ThaiLetter", "ThaiArabic", "ThaiCardinalText", "VietCardinalText", "NumberInDash", "LowercaseRussian", "UppercaseRussian", "None", "Custom"])
205
203
  return false unless number_style_validator.valid?(@number_style)
204
+ alignment_validator = EnumAttributeValidator.new('String', ["Left", "Center", "Right"])
205
+ return false unless alignment_validator.valid?(@alignment)
206
206
  trailing_character_validator = EnumAttributeValidator.new('String', ["Tab", "Space", "Nothing"])
207
207
  return false unless trailing_character_validator.valid?(@trailing_character)
208
208
 
209
209
  return true
210
210
  end
211
211
 
212
- # Custom attribute writer method checking allowed values (enum).
213
- # @param [Object] alignment Object to be assigned
214
- def alignment=(alignment)
215
- validator = EnumAttributeValidator.new('String', ["Left", "Center", "Right"])
216
- if alignment.to_i == 0
217
- unless validator.valid?(alignment)
218
- raise ArgumentError, "invalid value for 'alignment', must be one of #{validator.allowable_values}."
219
- end
220
- @alignment = alignment
221
- else
222
- @alignment = validator.allowable_values[alignment.to_i]
223
- end
224
- end
225
-
226
212
  # Custom attribute writer method checking allowed values (enum).
227
213
  # @param [Object] number_style Object to be assigned
228
214
  def number_style=(number_style)
@@ -237,6 +223,20 @@ module AsposeWordsCloud
237
223
  end
238
224
  end
239
225
 
226
+ # Custom attribute writer method checking allowed values (enum).
227
+ # @param [Object] alignment Object to be assigned
228
+ def alignment=(alignment)
229
+ validator = EnumAttributeValidator.new('String', ["Left", "Center", "Right"])
230
+ if alignment.to_i == 0
231
+ unless validator.valid?(alignment)
232
+ raise ArgumentError, "invalid value for 'alignment', must be one of #{validator.allowable_values}."
233
+ end
234
+ @alignment = alignment
235
+ else
236
+ @alignment = validator.allowable_values[alignment.to_i]
237
+ end
238
+ end
239
+
240
240
  # Custom attribute writer method checking allowed values (enum).
241
241
  # @param [Object] trailing_character Object to be assigned
242
242
  def trailing_character=(trailing_character)
@@ -258,18 +258,18 @@ module AsposeWordsCloud
258
258
  return true if self.equal?(other)
259
259
  self.class == other.class &&
260
260
  link == other.link &&
261
+ start_at == other.start_at &&
262
+ number_style == other.number_style &&
263
+ number_format == other.number_format &&
261
264
  alignment == other.alignment &&
262
- font == other.font &&
263
265
  is_legal == other.is_legal &&
264
- linked_style == other.linked_style &&
265
- number_format == other.number_format &&
266
- number_position == other.number_position &&
267
- number_style == other.number_style &&
268
266
  restart_after_level == other.restart_after_level &&
269
- start_at == other.start_at &&
267
+ trailing_character == other.trailing_character &&
268
+ font == other.font &&
270
269
  tab_position == other.tab_position &&
270
+ number_position == other.number_position &&
271
271
  text_position == other.text_position &&
272
- trailing_character == other.trailing_character
272
+ linked_style == other.linked_style
273
273
  end
274
274
 
275
275
  # @see the `==` method
@@ -281,7 +281,7 @@ module AsposeWordsCloud
281
281
  # Calculates hash code according to all attributes.
282
282
  # @return [Fixnum] Hash code
283
283
  def hash
284
- [link, alignment, font, is_legal, linked_style, number_format, number_position, number_style, restart_after_level, start_at, tab_position, text_position, trailing_character].hash
284
+ [link, start_at, number_style, number_format, alignment, is_legal, restart_after_level, trailing_character, font, tab_position, number_position, text_position, linked_style].hash
285
285
  end
286
286
 
287
287
  # Builds the object from hash
@@ -29,24 +29,24 @@ module AsposeWordsCloud
29
29
 
30
30
  # Contains data for load web document.
31
31
  class LoadWebDocumentData
32
- # Gets or sets the web document URL.
33
- attr_accessor :loading_document_url
34
-
35
32
  # Gets or sets the save options.
36
33
  attr_accessor :save_options
34
+
35
+ # Gets or sets the web document URL.
36
+ attr_accessor :loading_document_url
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
38
38
  def self.attribute_map
39
39
  {
40
- :'loading_document_url' => :'LoadingDocumentUrl',
41
- :'save_options' => :'SaveOptions'
40
+ :'save_options' => :'SaveOptions',
41
+ :'loading_document_url' => :'LoadingDocumentUrl'
42
42
  }
43
43
  end
44
44
 
45
45
  # Attribute type mapping.
46
46
  def self.swagger_types
47
47
  {
48
- :'loading_document_url' => :'String',
49
- :'save_options' => :'SaveOptionsData'
48
+ :'save_options' => :'SaveOptionsData',
49
+ :'loading_document_url' => :'String'
50
50
  }
51
51
  end
52
52
 
@@ -58,13 +58,13 @@ module AsposeWordsCloud
58
58
  # convert string to symbol for hash key
59
59
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
60
60
 
61
- if attributes.key?(:'LoadingDocumentUrl')
62
- self.loading_document_url = attributes[:'LoadingDocumentUrl']
63
- end
64
-
65
61
  if attributes.key?(:'SaveOptions')
66
62
  self.save_options = attributes[:'SaveOptions']
67
63
  end
64
+
65
+ if attributes.key?(:'LoadingDocumentUrl')
66
+ self.loading_document_url = attributes[:'LoadingDocumentUrl']
67
+ end
68
68
  end
69
69
 
70
70
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -85,8 +85,8 @@ module AsposeWordsCloud
85
85
  def ==(other)
86
86
  return true if self.equal?(other)
87
87
  self.class == other.class &&
88
- loading_document_url == other.loading_document_url &&
89
- save_options == other.save_options
88
+ save_options == other.save_options &&
89
+ loading_document_url == other.loading_document_url
90
90
  end
91
91
 
92
92
  # @see the `==` method
@@ -98,7 +98,7 @@ module AsposeWordsCloud
98
98
  # Calculates hash code according to all attributes.
99
99
  # @return [Fixnum] Hash code
100
100
  def hash
101
- [loading_document_url, save_options].hash
101
+ [save_options, loading_document_url].hash
102
102
  end
103
103
 
104
104
  # Builds the object from hash
@@ -85,13 +85,13 @@ module AsposeWordsCloud
85
85
  # Gets or sets the string to use as a paragraph break when exporting in plain text format.
86
86
  attr_accessor :paragraph_break
87
87
 
88
- # Gets the format of save.
89
- attr_accessor :save_format
90
-
91
88
  # Gets or sets the value, that specifies how to align contents in tables when exporting into the Markdown format.
92
89
  # The default value is Auto.
93
90
  attr_accessor :table_content_alignment
94
91
 
92
+ # Gets the format of save.
93
+ attr_accessor :save_format
94
+
95
95
  class EnumAttributeValidator
96
96
  attr_reader :datatype
97
97
  attr_reader :allowable_values
@@ -134,8 +134,8 @@ module AsposeWordsCloud
134
134
  :'export_headers_footers_mode' => :'ExportHeadersFootersMode',
135
135
  :'force_page_breaks' => :'ForcePageBreaks',
136
136
  :'paragraph_break' => :'ParagraphBreak',
137
- :'save_format' => :'SaveFormat',
138
- :'table_content_alignment' => :'TableContentAlignment'
137
+ :'table_content_alignment' => :'TableContentAlignment',
138
+ :'save_format' => :'SaveFormat'
139
139
  }
140
140
  end
141
141
 
@@ -159,8 +159,8 @@ module AsposeWordsCloud
159
159
  :'export_headers_footers_mode' => :'String',
160
160
  :'force_page_breaks' => :'BOOLEAN',
161
161
  :'paragraph_break' => :'String',
162
- :'save_format' => :'String',
163
- :'table_content_alignment' => :'String'
162
+ :'table_content_alignment' => :'String',
163
+ :'save_format' => :'String'
164
164
  }
165
165
  end
166
166
 
@@ -380,8 +380,8 @@ module AsposeWordsCloud
380
380
  export_headers_footers_mode == other.export_headers_footers_mode &&
381
381
  force_page_breaks == other.force_page_breaks &&
382
382
  paragraph_break == other.paragraph_break &&
383
- save_format == other.save_format &&
384
- table_content_alignment == other.table_content_alignment
383
+ table_content_alignment == other.table_content_alignment &&
384
+ save_format == other.save_format
385
385
  end
386
386
 
387
387
  # @see the `==` method
@@ -393,7 +393,7 @@ module AsposeWordsCloud
393
393
  # Calculates hash code according to all attributes.
394
394
  # @return [Fixnum] Hash code
395
395
  def hash
396
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, encoding, export_headers_footers_mode, force_page_breaks, paragraph_break, save_format, table_content_alignment].hash
396
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, encoding, export_headers_footers_mode, force_page_breaks, paragraph_break, table_content_alignment, save_format].hash
397
397
  end
398
398
 
399
399
  # Builds the object from hash
@@ -32,21 +32,21 @@ module AsposeWordsCloud
32
32
  # Gets or sets the detailed statistics on the footnotes.
33
33
  attr_accessor :footnotes_stat_data
34
34
 
35
- # Gets or sets the page number.
36
- attr_accessor :page_number
37
-
38
35
  # Gets or sets the total count of paragraphs in the page.
39
36
  attr_accessor :paragraph_count
40
37
 
41
38
  # Gets or sets the total count of words in the page.
42
39
  attr_accessor :word_count
40
+
41
+ # Gets or sets the page number.
42
+ attr_accessor :page_number
43
43
  # Attribute mapping from ruby-style variable name to JSON key.
44
44
  def self.attribute_map
45
45
  {
46
46
  :'footnotes_stat_data' => :'FootnotesStatData',
47
- :'page_number' => :'PageNumber',
48
47
  :'paragraph_count' => :'ParagraphCount',
49
- :'word_count' => :'WordCount'
48
+ :'word_count' => :'WordCount',
49
+ :'page_number' => :'PageNumber'
50
50
  }
51
51
  end
52
52
 
@@ -54,9 +54,9 @@ module AsposeWordsCloud
54
54
  def self.swagger_types
55
55
  {
56
56
  :'footnotes_stat_data' => :'FootnotesStatData',
57
- :'page_number' => :'Integer',
58
57
  :'paragraph_count' => :'Integer',
59
- :'word_count' => :'Integer'
58
+ :'word_count' => :'Integer',
59
+ :'page_number' => :'Integer'
60
60
  }
61
61
  end
62
62
 
@@ -72,10 +72,6 @@ module AsposeWordsCloud
72
72
  self.footnotes_stat_data = attributes[:'FootnotesStatData']
73
73
  end
74
74
 
75
- if attributes.key?(:'PageNumber')
76
- self.page_number = attributes[:'PageNumber']
77
- end
78
-
79
75
  if attributes.key?(:'ParagraphCount')
80
76
  self.paragraph_count = attributes[:'ParagraphCount']
81
77
  end
@@ -83,6 +79,10 @@ module AsposeWordsCloud
83
79
  if attributes.key?(:'WordCount')
84
80
  self.word_count = attributes[:'WordCount']
85
81
  end
82
+
83
+ if attributes.key?(:'PageNumber')
84
+ self.page_number = attributes[:'PageNumber']
85
+ end
86
86
  end
87
87
 
88
88
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -104,9 +104,9 @@ module AsposeWordsCloud
104
104
  return true if self.equal?(other)
105
105
  self.class == other.class &&
106
106
  footnotes_stat_data == other.footnotes_stat_data &&
107
- page_number == other.page_number &&
108
107
  paragraph_count == other.paragraph_count &&
109
- word_count == other.word_count
108
+ word_count == other.word_count &&
109
+ page_number == other.page_number
110
110
  end
111
111
 
112
112
  # @see the `==` method
@@ -118,7 +118,7 @@ module AsposeWordsCloud
118
118
  # Calculates hash code according to all attributes.
119
119
  # @return [Fixnum] Hash code
120
120
  def hash
121
- [footnotes_stat_data, page_number, paragraph_count, word_count].hash
121
+ [footnotes_stat_data, paragraph_count, word_count, page_number].hash
122
122
  end
123
123
 
124
124
  # Builds the object from hash
@@ -81,9 +81,6 @@ module AsposeWordsCloud
81
81
  # Gets or sets the value (in points) that represents the right indent for paragraph.
82
82
  attr_accessor :right_indent
83
83
 
84
- # Gets or sets the Shading object, that refers to the shading formatting for the paragraph.
85
- attr_accessor :shading
86
-
87
84
  # Gets or sets the amount of spacing (in points) after the paragraph.
88
85
  attr_accessor :space_after
89
86
 
@@ -111,12 +108,15 @@ module AsposeWordsCloud
111
108
  # Gets or sets a value indicating whether the first and last lines in the paragraph are to remain on the same page as the rest of the paragraph.
112
109
  attr_accessor :widow_control
113
110
 
114
- # Gets or sets a value indicating whether the paragraph style is one of the built-in Heading styles.
115
- attr_accessor :is_heading
111
+ # Gets or sets the Shading object, that refers to the shading formatting for the paragraph.
112
+ attr_accessor :shading
116
113
 
117
114
  # Gets or sets a value indicating whether the paragraph is an item in a bulleted or numbered list.
118
115
  attr_accessor :is_list_item
119
116
 
117
+ # Gets or sets a value indicating whether the paragraph style is one of the built-in Heading styles.
118
+ attr_accessor :is_heading
119
+
120
120
  class EnumAttributeValidator
121
121
  attr_reader :datatype
122
122
  attr_reader :allowable_values
@@ -159,7 +159,6 @@ module AsposeWordsCloud
159
159
  :'outline_level' => :'OutlineLevel',
160
160
  :'page_break_before' => :'PageBreakBefore',
161
161
  :'right_indent' => :'RightIndent',
162
- :'shading' => :'Shading',
163
162
  :'space_after' => :'SpaceAfter',
164
163
  :'space_after_auto' => :'SpaceAfterAuto',
165
164
  :'space_before' => :'SpaceBefore',
@@ -169,8 +168,9 @@ module AsposeWordsCloud
169
168
  :'suppress_auto_hyphens' => :'SuppressAutoHyphens',
170
169
  :'suppress_line_numbers' => :'SuppressLineNumbers',
171
170
  :'widow_control' => :'WidowControl',
172
- :'is_heading' => :'IsHeading',
173
- :'is_list_item' => :'IsListItem'
171
+ :'shading' => :'Shading',
172
+ :'is_list_item' => :'IsListItem',
173
+ :'is_heading' => :'IsHeading'
174
174
  }
175
175
  end
176
176
 
@@ -194,7 +194,6 @@ module AsposeWordsCloud
194
194
  :'outline_level' => :'String',
195
195
  :'page_break_before' => :'BOOLEAN',
196
196
  :'right_indent' => :'Float',
197
- :'shading' => :'Shading',
198
197
  :'space_after' => :'Float',
199
198
  :'space_after_auto' => :'BOOLEAN',
200
199
  :'space_before' => :'Float',
@@ -204,8 +203,9 @@ module AsposeWordsCloud
204
203
  :'suppress_auto_hyphens' => :'BOOLEAN',
205
204
  :'suppress_line_numbers' => :'BOOLEAN',
206
205
  :'widow_control' => :'BOOLEAN',
207
- :'is_heading' => :'BOOLEAN',
208
- :'is_list_item' => :'BOOLEAN'
206
+ :'shading' => :'Shading',
207
+ :'is_list_item' => :'BOOLEAN',
208
+ :'is_heading' => :'BOOLEAN'
209
209
  }
210
210
  end
211
211
 
@@ -285,10 +285,6 @@ module AsposeWordsCloud
285
285
  self.right_indent = attributes[:'RightIndent']
286
286
  end
287
287
 
288
- if attributes.key?(:'Shading')
289
- self.shading = attributes[:'Shading']
290
- end
291
-
292
288
  if attributes.key?(:'SpaceAfter')
293
289
  self.space_after = attributes[:'SpaceAfter']
294
290
  end
@@ -325,13 +321,17 @@ module AsposeWordsCloud
325
321
  self.widow_control = attributes[:'WidowControl']
326
322
  end
327
323
 
328
- if attributes.key?(:'IsHeading')
329
- self.is_heading = attributes[:'IsHeading']
324
+ if attributes.key?(:'Shading')
325
+ self.shading = attributes[:'Shading']
330
326
  end
331
327
 
332
328
  if attributes.key?(:'IsListItem')
333
329
  self.is_list_item = attributes[:'IsListItem']
334
330
  end
331
+
332
+ if attributes.key?(:'IsHeading')
333
+ self.is_heading = attributes[:'IsHeading']
334
+ end
335
335
  end
336
336
 
337
337
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -451,7 +451,6 @@ module AsposeWordsCloud
451
451
  outline_level == other.outline_level &&
452
452
  page_break_before == other.page_break_before &&
453
453
  right_indent == other.right_indent &&
454
- shading == other.shading &&
455
454
  space_after == other.space_after &&
456
455
  space_after_auto == other.space_after_auto &&
457
456
  space_before == other.space_before &&
@@ -461,8 +460,9 @@ module AsposeWordsCloud
461
460
  suppress_auto_hyphens == other.suppress_auto_hyphens &&
462
461
  suppress_line_numbers == other.suppress_line_numbers &&
463
462
  widow_control == other.widow_control &&
464
- is_heading == other.is_heading &&
465
- is_list_item == other.is_list_item
463
+ shading == other.shading &&
464
+ is_list_item == other.is_list_item &&
465
+ is_heading == other.is_heading
466
466
  end
467
467
 
468
468
  # @see the `==` method
@@ -474,7 +474,7 @@ module AsposeWordsCloud
474
474
  # Calculates hash code according to all attributes.
475
475
  # @return [Fixnum] Hash code
476
476
  def hash
477
- [link, add_space_between_far_east_and_alpha, add_space_between_far_east_and_digit, alignment, bidi, drop_cap_position, first_line_indent, keep_together, keep_with_next, left_indent, line_spacing, line_spacing_rule, lines_to_drop, no_space_between_paragraphs_of_same_style, outline_level, page_break_before, right_indent, shading, space_after, space_after_auto, space_before, space_before_auto, style_identifier, style_name, suppress_auto_hyphens, suppress_line_numbers, widow_control, is_heading, is_list_item].hash
477
+ [link, add_space_between_far_east_and_alpha, add_space_between_far_east_and_digit, alignment, bidi, drop_cap_position, first_line_indent, keep_together, keep_with_next, left_indent, line_spacing, line_spacing_rule, lines_to_drop, no_space_between_paragraphs_of_same_style, outline_level, page_break_before, right_indent, space_after, space_after_auto, space_before, space_before_auto, style_identifier, style_name, suppress_auto_hyphens, suppress_line_numbers, widow_control, shading, is_list_item, is_heading].hash
478
478
  end
479
479
 
480
480
  # Builds the object from hash