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.
- 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
@@ -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,6 +108,9 @@ 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
|
|
111
|
+
# Gets or sets the Shading object, that refers to the shading formatting for the paragraph.
|
112
|
+
attr_accessor :shading
|
113
|
+
|
114
114
|
class EnumAttributeValidator
|
115
115
|
attr_reader :datatype
|
116
116
|
attr_reader :allowable_values
|
@@ -153,7 +153,6 @@ module AsposeWordsCloud
|
|
153
153
|
:'outline_level' => :'OutlineLevel',
|
154
154
|
:'page_break_before' => :'PageBreakBefore',
|
155
155
|
:'right_indent' => :'RightIndent',
|
156
|
-
:'shading' => :'Shading',
|
157
156
|
:'space_after' => :'SpaceAfter',
|
158
157
|
:'space_after_auto' => :'SpaceAfterAuto',
|
159
158
|
:'space_before' => :'SpaceBefore',
|
@@ -162,7 +161,8 @@ module AsposeWordsCloud
|
|
162
161
|
:'style_name' => :'StyleName',
|
163
162
|
:'suppress_auto_hyphens' => :'SuppressAutoHyphens',
|
164
163
|
:'suppress_line_numbers' => :'SuppressLineNumbers',
|
165
|
-
:'widow_control' => :'WidowControl'
|
164
|
+
:'widow_control' => :'WidowControl',
|
165
|
+
:'shading' => :'Shading'
|
166
166
|
}
|
167
167
|
end
|
168
168
|
|
@@ -186,7 +186,6 @@ module AsposeWordsCloud
|
|
186
186
|
:'outline_level' => :'String',
|
187
187
|
:'page_break_before' => :'BOOLEAN',
|
188
188
|
:'right_indent' => :'Float',
|
189
|
-
:'shading' => :'Shading',
|
190
189
|
:'space_after' => :'Float',
|
191
190
|
:'space_after_auto' => :'BOOLEAN',
|
192
191
|
:'space_before' => :'Float',
|
@@ -195,7 +194,8 @@ module AsposeWordsCloud
|
|
195
194
|
:'style_name' => :'String',
|
196
195
|
:'suppress_auto_hyphens' => :'BOOLEAN',
|
197
196
|
:'suppress_line_numbers' => :'BOOLEAN',
|
198
|
-
:'widow_control' => :'BOOLEAN'
|
197
|
+
:'widow_control' => :'BOOLEAN',
|
198
|
+
:'shading' => :'Shading'
|
199
199
|
}
|
200
200
|
end
|
201
201
|
|
@@ -275,10 +275,6 @@ module AsposeWordsCloud
|
|
275
275
|
self.right_indent = attributes[:'RightIndent']
|
276
276
|
end
|
277
277
|
|
278
|
-
if attributes.key?(:'Shading')
|
279
|
-
self.shading = attributes[:'Shading']
|
280
|
-
end
|
281
|
-
|
282
278
|
if attributes.key?(:'SpaceAfter')
|
283
279
|
self.space_after = attributes[:'SpaceAfter']
|
284
280
|
end
|
@@ -314,6 +310,10 @@ module AsposeWordsCloud
|
|
314
310
|
if attributes.key?(:'WidowControl')
|
315
311
|
self.widow_control = attributes[:'WidowControl']
|
316
312
|
end
|
313
|
+
|
314
|
+
if attributes.key?(:'Shading')
|
315
|
+
self.shading = attributes[:'Shading']
|
316
|
+
end
|
317
317
|
end
|
318
318
|
|
319
319
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -433,7 +433,6 @@ module AsposeWordsCloud
|
|
433
433
|
outline_level == other.outline_level &&
|
434
434
|
page_break_before == other.page_break_before &&
|
435
435
|
right_indent == other.right_indent &&
|
436
|
-
shading == other.shading &&
|
437
436
|
space_after == other.space_after &&
|
438
437
|
space_after_auto == other.space_after_auto &&
|
439
438
|
space_before == other.space_before &&
|
@@ -442,7 +441,8 @@ module AsposeWordsCloud
|
|
442
441
|
style_name == other.style_name &&
|
443
442
|
suppress_auto_hyphens == other.suppress_auto_hyphens &&
|
444
443
|
suppress_line_numbers == other.suppress_line_numbers &&
|
445
|
-
widow_control == other.widow_control
|
444
|
+
widow_control == other.widow_control &&
|
445
|
+
shading == other.shading
|
446
446
|
end
|
447
447
|
|
448
448
|
# @see the `==` method
|
@@ -454,7 +454,7 @@ module AsposeWordsCloud
|
|
454
454
|
# Calculates hash code according to all attributes.
|
455
455
|
# @return [Fixnum] Hash code
|
456
456
|
def hash
|
457
|
-
[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,
|
457
|
+
[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].hash
|
458
458
|
end
|
459
459
|
|
460
460
|
# 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,6 +108,9 @@ 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
|
|
111
|
+
# Gets or sets the Shading object, that refers to the shading formatting for the paragraph.
|
112
|
+
attr_accessor :shading
|
113
|
+
|
114
114
|
class EnumAttributeValidator
|
115
115
|
attr_reader :datatype
|
116
116
|
attr_reader :allowable_values
|
@@ -153,7 +153,6 @@ module AsposeWordsCloud
|
|
153
153
|
:'outline_level' => :'OutlineLevel',
|
154
154
|
:'page_break_before' => :'PageBreakBefore',
|
155
155
|
:'right_indent' => :'RightIndent',
|
156
|
-
:'shading' => :'Shading',
|
157
156
|
:'space_after' => :'SpaceAfter',
|
158
157
|
:'space_after_auto' => :'SpaceAfterAuto',
|
159
158
|
:'space_before' => :'SpaceBefore',
|
@@ -162,7 +161,8 @@ module AsposeWordsCloud
|
|
162
161
|
:'style_name' => :'StyleName',
|
163
162
|
:'suppress_auto_hyphens' => :'SuppressAutoHyphens',
|
164
163
|
:'suppress_line_numbers' => :'SuppressLineNumbers',
|
165
|
-
:'widow_control' => :'WidowControl'
|
164
|
+
:'widow_control' => :'WidowControl',
|
165
|
+
:'shading' => :'Shading'
|
166
166
|
}
|
167
167
|
end
|
168
168
|
|
@@ -186,7 +186,6 @@ module AsposeWordsCloud
|
|
186
186
|
:'outline_level' => :'String',
|
187
187
|
:'page_break_before' => :'BOOLEAN',
|
188
188
|
:'right_indent' => :'Float',
|
189
|
-
:'shading' => :'Shading',
|
190
189
|
:'space_after' => :'Float',
|
191
190
|
:'space_after_auto' => :'BOOLEAN',
|
192
191
|
:'space_before' => :'Float',
|
@@ -195,7 +194,8 @@ module AsposeWordsCloud
|
|
195
194
|
:'style_name' => :'String',
|
196
195
|
:'suppress_auto_hyphens' => :'BOOLEAN',
|
197
196
|
:'suppress_line_numbers' => :'BOOLEAN',
|
198
|
-
:'widow_control' => :'BOOLEAN'
|
197
|
+
:'widow_control' => :'BOOLEAN',
|
198
|
+
:'shading' => :'Shading'
|
199
199
|
}
|
200
200
|
end
|
201
201
|
|
@@ -275,10 +275,6 @@ module AsposeWordsCloud
|
|
275
275
|
self.right_indent = attributes[:'RightIndent']
|
276
276
|
end
|
277
277
|
|
278
|
-
if attributes.key?(:'Shading')
|
279
|
-
self.shading = attributes[:'Shading']
|
280
|
-
end
|
281
|
-
|
282
278
|
if attributes.key?(:'SpaceAfter')
|
283
279
|
self.space_after = attributes[:'SpaceAfter']
|
284
280
|
end
|
@@ -314,6 +310,10 @@ module AsposeWordsCloud
|
|
314
310
|
if attributes.key?(:'WidowControl')
|
315
311
|
self.widow_control = attributes[:'WidowControl']
|
316
312
|
end
|
313
|
+
|
314
|
+
if attributes.key?(:'Shading')
|
315
|
+
self.shading = attributes[:'Shading']
|
316
|
+
end
|
317
317
|
end
|
318
318
|
|
319
319
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -433,7 +433,6 @@ module AsposeWordsCloud
|
|
433
433
|
outline_level == other.outline_level &&
|
434
434
|
page_break_before == other.page_break_before &&
|
435
435
|
right_indent == other.right_indent &&
|
436
|
-
shading == other.shading &&
|
437
436
|
space_after == other.space_after &&
|
438
437
|
space_after_auto == other.space_after_auto &&
|
439
438
|
space_before == other.space_before &&
|
@@ -442,7 +441,8 @@ module AsposeWordsCloud
|
|
442
441
|
style_name == other.style_name &&
|
443
442
|
suppress_auto_hyphens == other.suppress_auto_hyphens &&
|
444
443
|
suppress_line_numbers == other.suppress_line_numbers &&
|
445
|
-
widow_control == other.widow_control
|
444
|
+
widow_control == other.widow_control &&
|
445
|
+
shading == other.shading
|
446
446
|
end
|
447
447
|
|
448
448
|
# @see the `==` method
|
@@ -454,7 +454,7 @@ module AsposeWordsCloud
|
|
454
454
|
# Calculates hash code according to all attributes.
|
455
455
|
# @return [Fixnum] Hash code
|
456
456
|
def hash
|
457
|
-
[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,
|
457
|
+
[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].hash
|
458
458
|
end
|
459
459
|
|
460
460
|
# Builds the object from hash
|
@@ -165,9 +165,6 @@ module AsposeWordsCloud
|
|
165
165
|
# Gets or sets a value indicating whether to preserve Microsoft Word form fields as form fields in PDF or convert them to text.
|
166
166
|
attr_accessor :preserve_form_fields
|
167
167
|
|
168
|
-
# Gets the format of save.
|
169
|
-
attr_accessor :save_format
|
170
|
-
|
171
168
|
# Gets or sets the compression type to be used for all textual content in the document.
|
172
169
|
attr_accessor :text_compression
|
173
170
|
|
@@ -183,6 +180,9 @@ module AsposeWordsCloud
|
|
183
180
|
# Gets or sets the zoom factor (in percentages) for a document.
|
184
181
|
attr_accessor :zoom_factor
|
185
182
|
|
183
|
+
# Gets the format of save.
|
184
|
+
attr_accessor :save_format
|
185
|
+
|
186
186
|
class EnumAttributeValidator
|
187
187
|
attr_reader :datatype
|
188
188
|
attr_reader :allowable_values
|
@@ -250,12 +250,12 @@ module AsposeWordsCloud
|
|
250
250
|
:'page_mode' => :'PageMode',
|
251
251
|
:'preblend_images' => :'PreblendImages',
|
252
252
|
:'preserve_form_fields' => :'PreserveFormFields',
|
253
|
-
:'save_format' => :'SaveFormat',
|
254
253
|
:'text_compression' => :'TextCompression',
|
255
254
|
:'use_book_fold_printing_settings' => :'UseBookFoldPrintingSettings',
|
256
255
|
:'use_core_fonts' => :'UseCoreFonts',
|
257
256
|
:'zoom_behavior' => :'ZoomBehavior',
|
258
|
-
:'zoom_factor' => :'ZoomFactor'
|
257
|
+
:'zoom_factor' => :'ZoomFactor',
|
258
|
+
:'save_format' => :'SaveFormat'
|
259
259
|
}
|
260
260
|
end
|
261
261
|
|
@@ -304,12 +304,12 @@ module AsposeWordsCloud
|
|
304
304
|
:'page_mode' => :'String',
|
305
305
|
:'preblend_images' => :'BOOLEAN',
|
306
306
|
:'preserve_form_fields' => :'BOOLEAN',
|
307
|
-
:'save_format' => :'String',
|
308
307
|
:'text_compression' => :'String',
|
309
308
|
:'use_book_fold_printing_settings' => :'BOOLEAN',
|
310
309
|
:'use_core_fonts' => :'BOOLEAN',
|
311
310
|
:'zoom_behavior' => :'String',
|
312
|
-
:'zoom_factor' => :'Integer'
|
311
|
+
:'zoom_factor' => :'Integer',
|
312
|
+
:'save_format' => :'String'
|
313
313
|
}
|
314
314
|
end
|
315
315
|
|
@@ -798,12 +798,12 @@ module AsposeWordsCloud
|
|
798
798
|
page_mode == other.page_mode &&
|
799
799
|
preblend_images == other.preblend_images &&
|
800
800
|
preserve_form_fields == other.preserve_form_fields &&
|
801
|
-
save_format == other.save_format &&
|
802
801
|
text_compression == other.text_compression &&
|
803
802
|
use_book_fold_printing_settings == other.use_book_fold_printing_settings &&
|
804
803
|
use_core_fonts == other.use_core_fonts &&
|
805
804
|
zoom_behavior == other.zoom_behavior &&
|
806
|
-
zoom_factor == other.zoom_factor
|
805
|
+
zoom_factor == other.zoom_factor &&
|
806
|
+
save_format == other.save_format
|
807
807
|
end
|
808
808
|
|
809
809
|
# @see the `==` method
|
@@ -815,7 +815,7 @@ module AsposeWordsCloud
|
|
815
815
|
# Calculates hash code according to all attributes.
|
816
816
|
# @return [Fixnum] Hash code
|
817
817
|
def hash
|
818
|
-
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, cache_background_graphics, compliance, create_note_hyperlinks, custom_properties_export, digital_signature_details, display_doc_title, downsample_options, embed_attachments, embed_full_fonts, encryption_details, export_document_structure, export_language_to_span_tag, font_embedding_mode, header_footer_bookmarks_export_mode, image_color_space_export_mode, image_compression, interpolate_images, open_hyperlinks_in_new_window, outline_options, page_mode, preblend_images, preserve_form_fields,
|
818
|
+
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, cache_background_graphics, compliance, create_note_hyperlinks, custom_properties_export, digital_signature_details, display_doc_title, downsample_options, embed_attachments, embed_full_fonts, encryption_details, export_document_structure, export_language_to_span_tag, font_embedding_mode, header_footer_bookmarks_export_mode, image_color_space_export_mode, image_compression, interpolate_images, open_hyperlinks_in_new_window, outline_options, page_mode, preblend_images, preserve_form_fields, text_compression, use_book_fold_printing_settings, use_core_fonts, zoom_behavior, zoom_factor, save_format].hash
|
819
819
|
end
|
820
820
|
|
821
821
|
# Builds the object from hash
|
@@ -126,9 +126,6 @@ module AsposeWordsCloud
|
|
126
126
|
# Gets or sets a value indicating whether to use anti-aliasing for rendering.
|
127
127
|
attr_accessor :use_anti_aliasing
|
128
128
|
|
129
|
-
# Gets or sets a value indicating whether to use GDI+ or Aspose.Words metafile renderer when saving to EMF.
|
130
|
-
attr_accessor :use_gdi_emf_renderer
|
131
|
-
|
132
129
|
# Gets or sets a value indicating whether to use high quality (i.e. slow) rendering algorithms.
|
133
130
|
attr_accessor :use_high_quality_rendering
|
134
131
|
|
@@ -137,6 +134,9 @@ module AsposeWordsCloud
|
|
137
134
|
# The default value is 96.
|
138
135
|
attr_accessor :vertical_resolution
|
139
136
|
|
137
|
+
# Gets or sets a value indicating whether to use GDI+ or Aspose.Words metafile renderer when saving to EMF.
|
138
|
+
attr_accessor :use_gdi_emf_renderer
|
139
|
+
|
140
140
|
# Gets the format of save.
|
141
141
|
attr_accessor :save_format
|
142
142
|
|
@@ -194,9 +194,9 @@ module AsposeWordsCloud
|
|
194
194
|
:'resolution' => :'Resolution',
|
195
195
|
:'scale' => :'Scale',
|
196
196
|
:'use_anti_aliasing' => :'UseAntiAliasing',
|
197
|
-
:'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
|
198
197
|
:'use_high_quality_rendering' => :'UseHighQualityRendering',
|
199
198
|
:'vertical_resolution' => :'VerticalResolution',
|
199
|
+
:'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
|
200
200
|
:'save_format' => :'SaveFormat'
|
201
201
|
}
|
202
202
|
end
|
@@ -233,9 +233,9 @@ module AsposeWordsCloud
|
|
233
233
|
:'resolution' => :'Float',
|
234
234
|
:'scale' => :'Float',
|
235
235
|
:'use_anti_aliasing' => :'BOOLEAN',
|
236
|
-
:'use_gdi_emf_renderer' => :'BOOLEAN',
|
237
236
|
:'use_high_quality_rendering' => :'BOOLEAN',
|
238
237
|
:'vertical_resolution' => :'Float',
|
238
|
+
:'use_gdi_emf_renderer' => :'BOOLEAN',
|
239
239
|
:'save_format' => :'String'
|
240
240
|
}
|
241
241
|
end
|
@@ -366,10 +366,6 @@ module AsposeWordsCloud
|
|
366
366
|
self.use_anti_aliasing = attributes[:'UseAntiAliasing']
|
367
367
|
end
|
368
368
|
|
369
|
-
if attributes.key?(:'UseGdiEmfRenderer')
|
370
|
-
self.use_gdi_emf_renderer = attributes[:'UseGdiEmfRenderer']
|
371
|
-
end
|
372
|
-
|
373
369
|
if attributes.key?(:'UseHighQualityRendering')
|
374
370
|
self.use_high_quality_rendering = attributes[:'UseHighQualityRendering']
|
375
371
|
end
|
@@ -377,6 +373,10 @@ module AsposeWordsCloud
|
|
377
373
|
if attributes.key?(:'VerticalResolution')
|
378
374
|
self.vertical_resolution = attributes[:'VerticalResolution']
|
379
375
|
end
|
376
|
+
|
377
|
+
if attributes.key?(:'UseGdiEmfRenderer')
|
378
|
+
self.use_gdi_emf_renderer = attributes[:'UseGdiEmfRenderer']
|
379
|
+
end
|
380
380
|
end
|
381
381
|
|
382
382
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -556,9 +556,9 @@ module AsposeWordsCloud
|
|
556
556
|
resolution == other.resolution &&
|
557
557
|
scale == other.scale &&
|
558
558
|
use_anti_aliasing == other.use_anti_aliasing &&
|
559
|
-
use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
|
560
559
|
use_high_quality_rendering == other.use_high_quality_rendering &&
|
561
560
|
vertical_resolution == other.vertical_resolution &&
|
561
|
+
use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
|
562
562
|
save_format == other.save_format
|
563
563
|
end
|
564
564
|
|
@@ -571,7 +571,7 @@ module AsposeWordsCloud
|
|
571
571
|
# Calculates hash code according to all attributes.
|
572
572
|
# @return [Fixnum] Hash code
|
573
573
|
def hash
|
574
|
-
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing,
|
574
|
+
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_high_quality_rendering, vertical_resolution, use_gdi_emf_renderer, save_format].hash
|
575
575
|
end
|
576
576
|
|
577
577
|
# Builds the object from hash
|
@@ -95,12 +95,12 @@ module AsposeWordsCloud
|
|
95
95
|
# Gets or sets the 0-based index of the first page to render.
|
96
96
|
attr_accessor :page_index
|
97
97
|
|
98
|
-
# Gets the format of save.
|
99
|
-
attr_accessor :save_format
|
100
|
-
|
101
98
|
# Gets or sets a value indicating whether the document should be saved using a booklet printing layout.
|
102
99
|
attr_accessor :use_book_fold_printing_settings
|
103
100
|
|
101
|
+
# Gets the format of save.
|
102
|
+
attr_accessor :save_format
|
103
|
+
|
104
104
|
class EnumAttributeValidator
|
105
105
|
attr_reader :datatype
|
106
106
|
attr_reader :allowable_values
|
@@ -146,8 +146,8 @@ module AsposeWordsCloud
|
|
146
146
|
:'optimize_output' => :'OptimizeOutput',
|
147
147
|
:'page_count' => :'PageCount',
|
148
148
|
:'page_index' => :'PageIndex',
|
149
|
-
:'
|
150
|
-
:'
|
149
|
+
:'use_book_fold_printing_settings' => :'UseBookFoldPrintingSettings',
|
150
|
+
:'save_format' => :'SaveFormat'
|
151
151
|
}
|
152
152
|
end
|
153
153
|
|
@@ -174,8 +174,8 @@ module AsposeWordsCloud
|
|
174
174
|
:'optimize_output' => :'BOOLEAN',
|
175
175
|
:'page_count' => :'Integer',
|
176
176
|
:'page_index' => :'Integer',
|
177
|
-
:'
|
178
|
-
:'
|
177
|
+
:'use_book_fold_printing_settings' => :'BOOLEAN',
|
178
|
+
:'save_format' => :'String'
|
179
179
|
}
|
180
180
|
end
|
181
181
|
|
@@ -410,8 +410,8 @@ module AsposeWordsCloud
|
|
410
410
|
optimize_output == other.optimize_output &&
|
411
411
|
page_count == other.page_count &&
|
412
412
|
page_index == other.page_index &&
|
413
|
-
|
414
|
-
|
413
|
+
use_book_fold_printing_settings == other.use_book_fold_printing_settings &&
|
414
|
+
save_format == other.save_format
|
415
415
|
end
|
416
416
|
|
417
417
|
# @see the `==` method
|
@@ -423,7 +423,7 @@ module AsposeWordsCloud
|
|
423
423
|
# Calculates hash code according to all attributes.
|
424
424
|
# @return [Fixnum] Hash code
|
425
425
|
def hash
|
426
|
-
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index,
|
426
|
+
[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, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, use_book_fold_printing_settings, save_format].hash
|
427
427
|
end
|
428
428
|
|
429
429
|
# Builds the object from hash
|
@@ -44,7 +44,7 @@ module AsposeWordsCloud
|
|
44
44
|
# @param folder The path to the document folder.
|
45
45
|
# @param storage Original document storage.
|
46
46
|
|
47
|
-
def initialize(file_name
|
47
|
+
def initialize(file_name:, folder: nil, storage: nil)
|
48
48
|
self.file_name = file_name
|
49
49
|
self.folder = folder
|
50
50
|
self.storage = storage
|
@@ -52,13 +52,16 @@ module AsposeWordsCloud
|
|
52
52
|
|
53
53
|
# Creating batch part from request
|
54
54
|
def to_batch_part(api_client, requestId, parentRequestId = nil)
|
55
|
+
# verify the required parameter 'file_name' is set
|
56
|
+
raise ArgumentError, 'Missing the required parameter file_name when calling WordsApi.create_document' if api_client.config.client_side_validation && self.file_name.nil?
|
57
|
+
|
55
58
|
# resource path
|
56
59
|
local_var_path = '/words/create'[7..-1]
|
57
60
|
local_var_path = local_var_path.sub('//', '/')
|
58
61
|
|
59
62
|
# query parameters
|
60
63
|
query_params = {}
|
61
|
-
query_params[downcase_first_letter('FileName')] = self.file_name
|
64
|
+
query_params[downcase_first_letter('FileName')] = self.file_name
|
62
65
|
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
63
66
|
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
64
67
|
|
@@ -100,13 +103,16 @@ module AsposeWordsCloud
|
|
100
103
|
end
|
101
104
|
|
102
105
|
def create_http_request(api_client)
|
106
|
+
# verify the required parameter 'file_name' is set
|
107
|
+
raise ArgumentError, 'Missing the required parameter file_name when calling WordsApi.create_document' if api_client.config.client_side_validation && self.file_name.nil?
|
108
|
+
|
103
109
|
# resource path
|
104
110
|
local_var_path = '/words/create'[1..-1]
|
105
111
|
local_var_path = local_var_path.sub('//', '/')
|
106
112
|
|
107
113
|
# query parameters
|
108
114
|
query_params = {}
|
109
|
-
query_params[downcase_first_letter('FileName')] = self.file_name
|
115
|
+
query_params[downcase_first_letter('FileName')] = self.file_name
|
110
116
|
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
111
117
|
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
112
118
|
|