aspose_words_cloud 23.4.0 → 23.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud/api/words_api.rb +85 -1
- data/lib/aspose_words_cloud/api_client.rb +1 -1
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +11 -11
- data/lib/aspose_words_cloud/models/comment.rb +39 -39
- data/lib/aspose_words_cloud/models/comment_insert.rb +21 -21
- data/lib/aspose_words_cloud/models/comment_update.rb +21 -21
- data/lib/aspose_words_cloud/models/custom_xml_part.rb +14 -14
- data/lib/aspose_words_cloud/models/custom_xml_part_insert.rb +14 -14
- data/lib/aspose_words_cloud/models/custom_xml_part_update.rb +14 -14
- data/lib/aspose_words_cloud/models/doc_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/document.rb +13 -13
- data/lib/aspose_words_cloud/models/document_entry.rb +41 -0
- data/lib/aspose_words_cloud/models/document_property.rb +15 -15
- data/lib/aspose_words_cloud/models/document_stat_data.rb +16 -16
- data/lib/aspose_words_cloud/models/drawing_object.rb +41 -41
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +11 -11
- data/lib/aspose_words_cloud/models/footnote.rb +21 -21
- data/lib/aspose_words_cloud/models/form_field.rb +46 -46
- data/lib/aspose_words_cloud/models/form_field_checkbox.rb +59 -59
- data/lib/aspose_words_cloud/models/form_field_drop_down.rb +46 -46
- data/lib/aspose_words_cloud/models/form_field_text_input.rb +66 -66
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +11 -11
- data/lib/aspose_words_cloud/models/header_footer.rb +14 -14
- data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +11 -11
- data/lib/aspose_words_cloud/models/list_format.rb +15 -15
- data/lib/aspose_words_cloud/models/list_info.rb +35 -35
- data/lib/aspose_words_cloud/models/list_level.rb +76 -76
- data/lib/aspose_words_cloud/models/load_web_document_data.rb +14 -14
- data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/page_stat_data.rb +14 -14
- data/lib/aspose_words_cloud/models/paragraph_format.rb +21 -21
- data/lib/aspose_words_cloud/models/paragraph_format_base.rb +14 -14
- data/lib/aspose_words_cloud/models/paragraph_format_update.rb +14 -14
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/png_save_options_data.rb +11 -11
- data/lib/aspose_words_cloud/models/ps_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/requests/create_document_request.rb +9 -3
- data/lib/aspose_words_cloud/models/requests/insert_section_online_request.rb +204 -0
- data/lib/aspose_words_cloud/models/requests/insert_section_request.rb +203 -0
- data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/save_result.rb +16 -16
- data/lib/aspose_words_cloud/models/search_result.rb +14 -14
- data/lib/aspose_words_cloud/models/section.rb +15 -15
- data/lib/aspose_words_cloud/models/split_document_result.rb +16 -16
- data/lib/aspose_words_cloud/models/structured_document_tag.rb +142 -142
- data/lib/aspose_words_cloud/models/structured_document_tag_insert.rb +142 -142
- data/lib/aspose_words_cloud/models/structured_document_tag_update.rb +142 -142
- data/lib/aspose_words_cloud/models/style.rb +71 -71
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/table.rb +14 -14
- data/lib/aspose_words_cloud/models/table_row.rb +14 -14
- data/lib/aspose_words_cloud/models/table_row_format.rb +24 -24
- data/lib/aspose_words_cloud/models/text_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +19 -19
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +10 -10
- data/lib/aspose_words_cloud/version.rb +1 -1
- data/lib/aspose_words_cloud.rb +2 -0
- 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
|
36
|
-
attr_accessor :
|
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
|
45
|
-
attr_accessor :
|
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
|
51
|
-
attr_accessor :
|
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
|
54
|
-
attr_accessor :
|
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
|
60
|
-
attr_accessor :
|
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
|
69
|
-
attr_accessor :
|
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
|
-
:'
|
103
|
+
:'trailing_character' => :'TrailingCharacter',
|
104
|
+
:'font' => :'Font',
|
106
105
|
:'tab_position' => :'TabPosition',
|
106
|
+
:'number_position' => :'NumberPosition',
|
107
107
|
:'text_position' => :'TextPosition',
|
108
|
-
:'
|
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
|
-
:'
|
122
|
+
:'trailing_character' => :'String',
|
123
|
+
:'font' => :'Font',
|
125
124
|
:'tab_position' => :'Float',
|
125
|
+
:'number_position' => :'Float',
|
126
126
|
:'text_position' => :'Float',
|
127
|
-
:'
|
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?(:'
|
144
|
-
self.
|
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?(:'
|
156
|
-
self.
|
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?(:'
|
164
|
-
self.
|
155
|
+
if attributes.key?(:'Alignment')
|
156
|
+
self.alignment = attributes[:'Alignment']
|
165
157
|
end
|
166
158
|
|
167
|
-
if attributes.key?(:'
|
168
|
-
self.
|
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?(:'
|
176
|
-
self.
|
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?(:'
|
188
|
-
self.
|
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
|
-
|
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
|
-
|
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,
|
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
|
-
:'
|
41
|
-
:'
|
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
|
-
:'
|
49
|
-
:'
|
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
|
-
|
89
|
-
|
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
|
-
[
|
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
|
-
:'
|
138
|
-
:'
|
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
|
-
:'
|
163
|
-
:'
|
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
|
-
|
384
|
-
|
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,
|
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,
|
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
|
115
|
-
attr_accessor :
|
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
|
-
:'
|
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
|
-
:'
|
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?(:'
|
329
|
-
self.
|
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
|
-
|
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,
|
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
|