aspose_words_cloud 25.10 → 25.12
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 +6 -132
- data/lib/aspose_words_cloud/models/azw3_save_options_data.rb +4 -4
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/comment.rb +2 -2
- data/lib/aspose_words_cloud/models/comment_insert.rb +2 -2
- data/lib/aspose_words_cloud/models/comment_update.rb +2 -2
- data/lib/aspose_words_cloud/models/compress_options.rb +2 -2
- data/lib/aspose_words_cloud/models/custom_xml_part.rb +1 -1
- data/lib/aspose_words_cloud/models/custom_xml_part_insert.rb +1 -1
- data/lib/aspose_words_cloud/models/custom_xml_part_update.rb +1 -1
- data/lib/aspose_words_cloud/models/doc_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/docm_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/document.rb +11 -1
- data/lib/aspose_words_cloud/models/docx_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/dot_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/dotm_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/dotx_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/eps_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/epub_save_options_data.rb +4 -4
- data/lib/aspose_words_cloud/models/field_options.rb +1 -1
- data/lib/aspose_words_cloud/models/flat_opc_macro_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/flat_opc_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/flat_opc_template_macro_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/flat_opc_template_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/footnote.rb +1 -1
- data/lib/aspose_words_cloud/models/footnote_insert.rb +1 -1
- data/lib/aspose_words_cloud/models/footnote_update.rb +1 -1
- data/lib/aspose_words_cloud/models/form_field_checkbox.rb +1 -1
- data/lib/aspose_words_cloud/models/form_field_drop_down.rb +1 -1
- data/lib/aspose_words_cloud/models/form_field_text_input.rb +1 -1
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +4 -4
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +4 -4
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/list_level.rb +1 -1
- data/lib/aspose_words_cloud/models/list_level_update.rb +1 -1
- data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +2 -2
- data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +4 -4
- data/lib/aspose_words_cloud/models/odt_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/open_xps_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/ott_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +19 -6
- data/lib/aspose_words_cloud/models/png_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/ps_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/requests/build_report_online_request.rb +4 -4
- data/lib/aspose_words_cloud/models/requests/build_report_request.rb +4 -4
- data/lib/aspose_words_cloud/models/requests/sign_document_online_request.rb +2 -2
- data/lib/aspose_words_cloud/models/requests/sign_document_request.rb +2 -2
- data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/sign_options.rb +6 -6
- data/lib/aspose_words_cloud/models/signature.rb +1 -1
- data/lib/aspose_words_cloud/models/structured_document_tag.rb +21 -21
- data/lib/aspose_words_cloud/models/structured_document_tag_insert.rb +21 -21
- data/lib/aspose_words_cloud/models/structured_document_tag_update.rb +21 -21
- data/lib/aspose_words_cloud/models/style.rb +1 -1
- data/lib/aspose_words_cloud/models/style_update.rb +1 -1
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +2 -2
- data/lib/aspose_words_cloud/models/text_save_options_data.rb +30 -3
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +2 -2
- data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/models/xaml_flow_pack_save_options_data.rb +2 -2
- data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +2 -2
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +1 -1
- data/lib/aspose_words_cloud/version.rb +1 -1
- data/lib/aspose_words_cloud.rb +0 -5
- metadata +2 -7
- data/lib/aspose_words_cloud/models/classification_response.rb +0 -246
- data/lib/aspose_words_cloud/models/classification_result.rb +0 -215
- data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +0 -193
- data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +0 -192
- data/lib/aspose_words_cloud/models/requests/classify_request.rb +0 -158
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9db27341cb9d221a915a91ecbc90562da3e53ee2a761bf2dbb9c424379c2f98d
|
|
4
|
+
data.tar.gz: 4653b7775122f701eb1b7f8e6d16781da9e64d954bece87d55a98b7cddf5fdf9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65c30c3eeb2c230f6fa9196b7e9f38d3e2e72a310b4ec9bfb5d208a3dd2dc2177d419c628f4c822bab470b2802d9009797bbcb1b5370774d88ec118c09e45d24
|
|
7
|
+
data.tar.gz: ffe81f8c4cf917f1fa3ced6e22cbebafc25032d8ad89039b03c4efbe760b1aa831aec65dcb3217a616083756fb088f2c9e17103b751693fa7d4ce775af020307
|
|
@@ -65,7 +65,7 @@ module AsposeWordsCloud
|
|
|
65
65
|
[data, status_code, headers]
|
|
66
66
|
end
|
|
67
67
|
|
|
68
|
-
# Accepts all revisions in the document.
|
|
68
|
+
# Accepts all the revisions in the document.
|
|
69
69
|
# @param request AcceptAllRevisionsRequest
|
|
70
70
|
# @return [RevisionsModificationResponse]
|
|
71
71
|
def accept_all_revisions(request)
|
|
@@ -82,7 +82,7 @@ module AsposeWordsCloud
|
|
|
82
82
|
data
|
|
83
83
|
end
|
|
84
84
|
|
|
85
|
-
# Accepts all revisions in the document.
|
|
85
|
+
# Accepts all the revisions in the document.
|
|
86
86
|
# @param request AcceptAllRevisionsRequest
|
|
87
87
|
# @return [Array<(RevisionsModificationResponse, Fixnum, Hash)>]
|
|
88
88
|
# RevisionsModificationResponse, response status code and response headers
|
|
@@ -107,7 +107,7 @@ module AsposeWordsCloud
|
|
|
107
107
|
[data, status_code, headers]
|
|
108
108
|
end
|
|
109
109
|
|
|
110
|
-
# Accepts all revisions in the document.
|
|
110
|
+
# Accepts all the revisions in the document.
|
|
111
111
|
# @param request AcceptAllRevisionsOnlineRequest
|
|
112
112
|
# @return [AcceptAllRevisionsOnlineResponse]
|
|
113
113
|
def accept_all_revisions_online(request)
|
|
@@ -124,7 +124,7 @@ module AsposeWordsCloud
|
|
|
124
124
|
data
|
|
125
125
|
end
|
|
126
126
|
|
|
127
|
-
# Accepts all revisions in the document.
|
|
127
|
+
# Accepts all the revisions in the document.
|
|
128
128
|
# @param request AcceptAllRevisionsOnlineRequest
|
|
129
129
|
# @return [Array<(AcceptAllRevisionsOnlineResponse, Fixnum, Hash)>]
|
|
130
130
|
# AcceptAllRevisionsOnlineResponse, response status code and response headers
|
|
@@ -413,132 +413,6 @@ module AsposeWordsCloud
|
|
|
413
413
|
[data, status_code, headers]
|
|
414
414
|
end
|
|
415
415
|
|
|
416
|
-
# Runs a multi-class text classification for the specified raw text.
|
|
417
|
-
# @param request ClassifyRequest
|
|
418
|
-
# @return [ClassificationResponse]
|
|
419
|
-
def classify(request)
|
|
420
|
-
begin
|
|
421
|
-
data, _status_code, _headers = classify_with_http_info(request)
|
|
422
|
-
rescue ApiError => e
|
|
423
|
-
if e.code == 401
|
|
424
|
-
request_token
|
|
425
|
-
data, _status_code, _headers = classify_with_http_info(request)
|
|
426
|
-
else
|
|
427
|
-
raise
|
|
428
|
-
end
|
|
429
|
-
end
|
|
430
|
-
data
|
|
431
|
-
end
|
|
432
|
-
|
|
433
|
-
# Runs a multi-class text classification for the specified raw text.
|
|
434
|
-
# @param request ClassifyRequest
|
|
435
|
-
# @return [Array<(ClassificationResponse, Fixnum, Hash)>]
|
|
436
|
-
# ClassificationResponse, response status code and response headers
|
|
437
|
-
private def classify_with_http_info(request)
|
|
438
|
-
raise ArgumentError, 'Incorrect request type' unless request.is_a? ClassifyRequest
|
|
439
|
-
|
|
440
|
-
@api_client.config.logger.debug 'Calling API: WordsApi.classify ...' if @api_client.config.debugging
|
|
441
|
-
request_data = request.create_http_request(@api_client)
|
|
442
|
-
|
|
443
|
-
data, status_code, headers = @api_client.call_api(
|
|
444
|
-
request_data[:'method'],
|
|
445
|
-
request_data[:'path'],
|
|
446
|
-
header_params: request_data[:'header_params'],
|
|
447
|
-
query_params: request_data[:'query_params'],
|
|
448
|
-
body: request_data[:'body'],
|
|
449
|
-
return_type: 'ClassificationResponse')
|
|
450
|
-
if @api_client.config.debugging
|
|
451
|
-
@api_client.config.logger.debug "API called:
|
|
452
|
-
WordsApi#classify\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
453
|
-
end
|
|
454
|
-
|
|
455
|
-
[data, status_code, headers]
|
|
456
|
-
end
|
|
457
|
-
|
|
458
|
-
# Runs a multi-class text classification for the document.
|
|
459
|
-
# @param request ClassifyDocumentRequest
|
|
460
|
-
# @return [ClassificationResponse]
|
|
461
|
-
def classify_document(request)
|
|
462
|
-
begin
|
|
463
|
-
data, _status_code, _headers = classify_document_with_http_info(request)
|
|
464
|
-
rescue ApiError => e
|
|
465
|
-
if e.code == 401
|
|
466
|
-
request_token
|
|
467
|
-
data, _status_code, _headers = classify_document_with_http_info(request)
|
|
468
|
-
else
|
|
469
|
-
raise
|
|
470
|
-
end
|
|
471
|
-
end
|
|
472
|
-
data
|
|
473
|
-
end
|
|
474
|
-
|
|
475
|
-
# Runs a multi-class text classification for the document.
|
|
476
|
-
# @param request ClassifyDocumentRequest
|
|
477
|
-
# @return [Array<(ClassificationResponse, Fixnum, Hash)>]
|
|
478
|
-
# ClassificationResponse, response status code and response headers
|
|
479
|
-
private def classify_document_with_http_info(request)
|
|
480
|
-
raise ArgumentError, 'Incorrect request type' unless request.is_a? ClassifyDocumentRequest
|
|
481
|
-
|
|
482
|
-
@api_client.config.logger.debug 'Calling API: WordsApi.classify_document ...' if @api_client.config.debugging
|
|
483
|
-
request_data = request.create_http_request(@api_client)
|
|
484
|
-
|
|
485
|
-
data, status_code, headers = @api_client.call_api(
|
|
486
|
-
request_data[:'method'],
|
|
487
|
-
request_data[:'path'],
|
|
488
|
-
header_params: request_data[:'header_params'],
|
|
489
|
-
query_params: request_data[:'query_params'],
|
|
490
|
-
body: request_data[:'body'],
|
|
491
|
-
return_type: 'ClassificationResponse')
|
|
492
|
-
if @api_client.config.debugging
|
|
493
|
-
@api_client.config.logger.debug "API called:
|
|
494
|
-
WordsApi#classify_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
495
|
-
end
|
|
496
|
-
|
|
497
|
-
[data, status_code, headers]
|
|
498
|
-
end
|
|
499
|
-
|
|
500
|
-
# Runs a multi-class text classification for the document.
|
|
501
|
-
# @param request ClassifyDocumentOnlineRequest
|
|
502
|
-
# @return [ClassificationResponse]
|
|
503
|
-
def classify_document_online(request)
|
|
504
|
-
begin
|
|
505
|
-
data, _status_code, _headers = classify_document_online_with_http_info(request)
|
|
506
|
-
rescue ApiError => e
|
|
507
|
-
if e.code == 401
|
|
508
|
-
request_token
|
|
509
|
-
data, _status_code, _headers = classify_document_online_with_http_info(request)
|
|
510
|
-
else
|
|
511
|
-
raise
|
|
512
|
-
end
|
|
513
|
-
end
|
|
514
|
-
data
|
|
515
|
-
end
|
|
516
|
-
|
|
517
|
-
# Runs a multi-class text classification for the document.
|
|
518
|
-
# @param request ClassifyDocumentOnlineRequest
|
|
519
|
-
# @return [Array<(ClassificationResponse, Fixnum, Hash)>]
|
|
520
|
-
# ClassificationResponse, response status code and response headers
|
|
521
|
-
private def classify_document_online_with_http_info(request)
|
|
522
|
-
raise ArgumentError, 'Incorrect request type' unless request.is_a? ClassifyDocumentOnlineRequest
|
|
523
|
-
|
|
524
|
-
@api_client.config.logger.debug 'Calling API: WordsApi.classify_document_online ...' if @api_client.config.debugging
|
|
525
|
-
request_data = request.create_http_request(@api_client)
|
|
526
|
-
|
|
527
|
-
data, status_code, headers = @api_client.call_api(
|
|
528
|
-
request_data[:'method'],
|
|
529
|
-
request_data[:'path'],
|
|
530
|
-
header_params: request_data[:'header_params'],
|
|
531
|
-
query_params: request_data[:'query_params'],
|
|
532
|
-
body: request_data[:'body'],
|
|
533
|
-
return_type: 'ClassificationResponse')
|
|
534
|
-
if @api_client.config.debugging
|
|
535
|
-
@api_client.config.logger.debug "API called:
|
|
536
|
-
WordsApi#classify_document_online\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
537
|
-
end
|
|
538
|
-
|
|
539
|
-
[data, status_code, headers]
|
|
540
|
-
end
|
|
541
|
-
|
|
542
416
|
# Compares two documents.
|
|
543
417
|
# @param request CompareDocumentRequest
|
|
544
418
|
# @return [DocumentResponse]
|
|
@@ -7312,7 +7186,7 @@ module AsposeWordsCloud
|
|
|
7312
7186
|
[data, status_code, headers]
|
|
7313
7187
|
end
|
|
7314
7188
|
|
|
7315
|
-
# Get
|
|
7189
|
+
# Get asymmetric public key.
|
|
7316
7190
|
# @param request GetPublicKeyRequest
|
|
7317
7191
|
# @return [PublicKeyResponse]
|
|
7318
7192
|
def get_public_key(request)
|
|
@@ -7329,7 +7203,7 @@ module AsposeWordsCloud
|
|
|
7329
7203
|
data
|
|
7330
7204
|
end
|
|
7331
7205
|
|
|
7332
|
-
# Get
|
|
7206
|
+
# Get asymmetric public key.
|
|
7333
7207
|
# @param request GetPublicKeyRequest
|
|
7334
7208
|
# @return [Array<(PublicKeyResponse, Fixnum, Hash)>]
|
|
7335
7209
|
# PublicKeyResponse, response status code and response headers
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -139,7 +139,7 @@ module AsposeWordsCloud
|
|
|
139
139
|
|
|
140
140
|
# Gets or sets a value indicating whether page margins are exported to HTML, MHTML or EPUB.
|
|
141
141
|
# The default value is false.
|
|
142
|
-
# Aspose.Words does not show area of page margins by default. If any elements are completely or partially clipped by the document edge the displayed area can be extended with this option.
|
|
142
|
+
# Aspose.Words does not show the area of page margins by default. If any elements are completely or partially clipped by the document edge the displayed area can be extended with this option.
|
|
143
143
|
attr_accessor :export_page_margins
|
|
144
144
|
|
|
145
145
|
# Gets or sets a value indicating whether page setup is exported.
|
|
@@ -171,7 +171,7 @@ module AsposeWordsCloud
|
|
|
171
171
|
attr_accessor :fonts_folder_alias
|
|
172
172
|
|
|
173
173
|
# Gets or sets the version of HTML standard, that should be used when saving the document to HTML or MHTML.
|
|
174
|
-
#
|
|
174
|
+
# The default value is Aspose.Words.Saving.HtmlVersion.Xhtml.
|
|
175
175
|
attr_accessor :html_version
|
|
176
176
|
|
|
177
177
|
# Gets or sets the output resolution for images when exporting.
|
|
@@ -202,7 +202,7 @@ module AsposeWordsCloud
|
|
|
202
202
|
attr_accessor :remove_java_script_from_links
|
|
203
203
|
|
|
204
204
|
# Gets or sets the flag that indicates whether backslash characters should be replaced with yen signs.
|
|
205
|
-
#
|
|
205
|
+
# The default value is false.
|
|
206
206
|
# By default, Aspose.Words mimics MS Word's behavior and doesn't replace backslash characters with yen signs in
|
|
207
207
|
# generated HTML documents. However, previous versions of Aspose.Words performed such replacements in certain
|
|
208
208
|
# scenarios. This flag enables backward compatibility with previous versions of Aspose.Words.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -39,11 +39,11 @@ module AsposeWordsCloud
|
|
|
39
39
|
attr_accessor :range_end
|
|
40
40
|
|
|
41
41
|
# Gets or sets the author name for a comment.
|
|
42
|
-
# Cannot be null.Default is empty string.
|
|
42
|
+
# Cannot be null.Default is an empty string.
|
|
43
43
|
attr_accessor :author
|
|
44
44
|
|
|
45
45
|
# Gets or sets the initials of the user associated with a specific comment.
|
|
46
|
-
# Cannot be null.Default is empty string.
|
|
46
|
+
# Cannot be null.Default is an empty string.
|
|
47
47
|
attr_accessor :initial
|
|
48
48
|
|
|
49
49
|
# Gets or sets the date and time that the comment was made.
|
|
@@ -36,11 +36,11 @@ module AsposeWordsCloud
|
|
|
36
36
|
attr_accessor :range_end
|
|
37
37
|
|
|
38
38
|
# Gets or sets the author name for a comment.
|
|
39
|
-
# Cannot be null.Default is empty string.
|
|
39
|
+
# Cannot be null.Default is an empty string.
|
|
40
40
|
attr_accessor :author
|
|
41
41
|
|
|
42
42
|
# Gets or sets the initials of the user associated with a specific comment.
|
|
43
|
-
# Cannot be null.Default is empty string.
|
|
43
|
+
# Cannot be null.Default is an empty string.
|
|
44
44
|
attr_accessor :initial
|
|
45
45
|
|
|
46
46
|
# Gets or sets the date and time that the comment was made.
|
|
@@ -36,11 +36,11 @@ module AsposeWordsCloud
|
|
|
36
36
|
attr_accessor :range_end
|
|
37
37
|
|
|
38
38
|
# Gets or sets the author name for a comment.
|
|
39
|
-
# Cannot be null.Default is empty string.
|
|
39
|
+
# Cannot be null.Default is an empty string.
|
|
40
40
|
attr_accessor :author
|
|
41
41
|
|
|
42
42
|
# Gets or sets the initials of the user associated with a specific comment.
|
|
43
|
-
# Cannot be null.Default is empty string.
|
|
43
|
+
# Cannot be null.Default is an empty string.
|
|
44
44
|
attr_accessor :initial
|
|
45
45
|
|
|
46
46
|
# Gets or sets the date and time that the comment was made.
|
|
@@ -29,12 +29,12 @@ module AsposeWordsCloud
|
|
|
29
29
|
|
|
30
30
|
# Options of document compress.
|
|
31
31
|
class CompressOptions
|
|
32
|
-
# Gets or sets the quality level of images from 0 to 100.
|
|
32
|
+
# Gets or sets the quality level of images from 0 to 100. The default value is 75.
|
|
33
33
|
attr_accessor :images_quality
|
|
34
34
|
|
|
35
35
|
# Gets or sets the resize factor of images.
|
|
36
36
|
# This value determines how many times the size of the images in the document will be reduced.
|
|
37
|
-
# The parameter value must be greater than 1 for resizing.
|
|
37
|
+
# The parameter value must be greater than 1 for resizing. The default value is 1 and has no effect on images size.
|
|
38
38
|
attr_accessor :images_reduce_size_factor
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
40
|
def self.attribute_map
|
|
@@ -37,7 +37,7 @@ module AsposeWordsCloud
|
|
|
37
37
|
attr_accessor :id
|
|
38
38
|
|
|
39
39
|
# Gets or sets the custom xml part data.
|
|
40
|
-
# Cannot be null.Default is empty string.
|
|
40
|
+
# Cannot be null.Default is an empty string.
|
|
41
41
|
attr_accessor :data
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
43
|
def self.attribute_map
|
|
@@ -37,7 +37,7 @@ module AsposeWordsCloud
|
|
|
37
37
|
attr_accessor :id
|
|
38
38
|
|
|
39
39
|
# Gets or sets the custom xml part data.
|
|
40
|
-
# Cannot be null.Default is empty string.
|
|
40
|
+
# Cannot be null.Default is an empty string.
|
|
41
41
|
attr_accessor :data
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
43
|
def self.attribute_map
|
|
@@ -37,7 +37,7 @@ module AsposeWordsCloud
|
|
|
37
37
|
attr_accessor :id
|
|
38
38
|
|
|
39
39
|
# Gets or sets the custom xml part data.
|
|
40
|
-
# Cannot be null.Default is empty string.
|
|
40
|
+
# Cannot be null.Default is an empty string.
|
|
41
41
|
attr_accessor :data
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
43
|
def self.attribute_map
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -38,6 +38,9 @@ module AsposeWordsCloud
|
|
|
38
38
|
# Gets or sets the name of the file.
|
|
39
39
|
attr_accessor :file_name
|
|
40
40
|
|
|
41
|
+
# Gets or sets the file size.
|
|
42
|
+
attr_accessor :file_size
|
|
43
|
+
|
|
41
44
|
# Gets or sets a value indicating whether the document is encrypted and requires a password to open.
|
|
42
45
|
attr_accessor :is_encrypted
|
|
43
46
|
|
|
@@ -75,6 +78,7 @@ module AsposeWordsCloud
|
|
|
75
78
|
:'links' => :'Links',
|
|
76
79
|
:'document_properties' => :'DocumentProperties',
|
|
77
80
|
:'file_name' => :'FileName',
|
|
81
|
+
:'file_size' => :'FileSize',
|
|
78
82
|
:'is_encrypted' => :'IsEncrypted',
|
|
79
83
|
:'is_signed' => :'IsSigned',
|
|
80
84
|
:'source_format' => :'SourceFormat'
|
|
@@ -87,6 +91,7 @@ module AsposeWordsCloud
|
|
|
87
91
|
:'links' => :'Array<Link>',
|
|
88
92
|
:'document_properties' => :'DocumentProperties',
|
|
89
93
|
:'file_name' => :'String',
|
|
94
|
+
:'file_size' => :'Integer',
|
|
90
95
|
:'is_encrypted' => :'BOOLEAN',
|
|
91
96
|
:'is_signed' => :'BOOLEAN',
|
|
92
97
|
:'source_format' => :'String'
|
|
@@ -115,6 +120,10 @@ module AsposeWordsCloud
|
|
|
115
120
|
self.file_name = attributes[:'FileName']
|
|
116
121
|
end
|
|
117
122
|
|
|
123
|
+
if attributes.key?(:'FileSize')
|
|
124
|
+
self.file_size = attributes[:'FileSize']
|
|
125
|
+
end
|
|
126
|
+
|
|
118
127
|
if attributes.key?(:'IsEncrypted')
|
|
119
128
|
self.is_encrypted = attributes[:'IsEncrypted']
|
|
120
129
|
end
|
|
@@ -160,6 +169,7 @@ module AsposeWordsCloud
|
|
|
160
169
|
links == other.links &&
|
|
161
170
|
document_properties == other.document_properties &&
|
|
162
171
|
file_name == other.file_name &&
|
|
172
|
+
file_size == other.file_size &&
|
|
163
173
|
is_encrypted == other.is_encrypted &&
|
|
164
174
|
is_signed == other.is_signed &&
|
|
165
175
|
source_format == other.source_format
|
|
@@ -174,7 +184,7 @@ module AsposeWordsCloud
|
|
|
174
184
|
# Calculates hash code according to all attributes.
|
|
175
185
|
# @return [Fixnum] Hash code
|
|
176
186
|
def hash
|
|
177
|
-
[links, document_properties, file_name, is_encrypted, is_signed, source_format].hash
|
|
187
|
+
[links, document_properties, file_name, file_size, is_encrypted, is_signed, source_format].hash
|
|
178
188
|
end
|
|
179
189
|
|
|
180
190
|
# Builds the object from hash
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -139,7 +139,7 @@ module AsposeWordsCloud
|
|
|
139
139
|
|
|
140
140
|
# Gets or sets a value indicating whether page margins are exported to HTML, MHTML or EPUB.
|
|
141
141
|
# The default value is false.
|
|
142
|
-
# Aspose.Words does not show area of page margins by default. If any elements are completely or partially clipped by the document edge the displayed area can be extended with this option.
|
|
142
|
+
# Aspose.Words does not show the area of page margins by default. If any elements are completely or partially clipped by the document edge the displayed area can be extended with this option.
|
|
143
143
|
attr_accessor :export_page_margins
|
|
144
144
|
|
|
145
145
|
# Gets or sets a value indicating whether page setup is exported.
|
|
@@ -171,7 +171,7 @@ module AsposeWordsCloud
|
|
|
171
171
|
attr_accessor :fonts_folder_alias
|
|
172
172
|
|
|
173
173
|
# Gets or sets the version of HTML standard, that should be used when saving the document to HTML or MHTML.
|
|
174
|
-
#
|
|
174
|
+
# The default value is Aspose.Words.Saving.HtmlVersion.Xhtml.
|
|
175
175
|
attr_accessor :html_version
|
|
176
176
|
|
|
177
177
|
# Gets or sets the output resolution for images when exporting.
|
|
@@ -202,7 +202,7 @@ module AsposeWordsCloud
|
|
|
202
202
|
attr_accessor :remove_java_script_from_links
|
|
203
203
|
|
|
204
204
|
# Gets or sets the flag that indicates whether backslash characters should be replaced with yen signs.
|
|
205
|
-
#
|
|
205
|
+
# The default value is false.
|
|
206
206
|
# By default, Aspose.Words mimics MS Word's behavior and doesn't replace backslash characters with yen signs in
|
|
207
207
|
# generated HTML documents. However, previous versions of Aspose.Words performed such replacements in certain
|
|
208
208
|
# scenarios. This flag enables backward compatibility with previous versions of Aspose.Words.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
|
@@ -42,7 +42,7 @@ module AsposeWordsCloud
|
|
|
42
42
|
attr_accessor :footnote_type
|
|
43
43
|
|
|
44
44
|
# Gets or sets the custom reference mark to be used for this footnote.
|
|
45
|
-
#
|
|
45
|
+
# The default value is Empty, meaning auto-numbered footnotes are used.
|
|
46
46
|
# RTF-format can only store 1 symbol as custom reference mark, so upon export only the first symbol will be written others will be discard.
|
|
47
47
|
attr_accessor :reference_mark
|
|
48
48
|
|
|
@@ -36,7 +36,7 @@ module AsposeWordsCloud
|
|
|
36
36
|
attr_accessor :footnote_type
|
|
37
37
|
|
|
38
38
|
# Gets or sets the custom reference mark to be used for this footnote.
|
|
39
|
-
#
|
|
39
|
+
# The default value is Empty, meaning auto-numbered footnotes are used.
|
|
40
40
|
# RTF-format can only store 1 symbol as custom reference mark, so upon export only the first symbol will be written others will be discard.
|
|
41
41
|
attr_accessor :reference_mark
|
|
42
42
|
|
|
@@ -36,7 +36,7 @@ module AsposeWordsCloud
|
|
|
36
36
|
attr_accessor :footnote_type
|
|
37
37
|
|
|
38
38
|
# Gets or sets the custom reference mark to be used for this footnote.
|
|
39
|
-
#
|
|
39
|
+
# The default value is Empty, meaning auto-numbered footnotes are used.
|
|
40
40
|
# RTF-format can only store 1 symbol as custom reference mark, so upon export only the first symbol will be written others will be discard.
|
|
41
41
|
attr_accessor :reference_mark
|
|
42
42
|
|
|
@@ -55,7 +55,7 @@ module AsposeWordsCloud
|
|
|
55
55
|
attr_accessor :help_text
|
|
56
56
|
|
|
57
57
|
# 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.
|
|
58
|
-
# If
|
|
58
|
+
# If true, the text specified by the HelpText property is displayed. If False, the text in the AutoText entry specified by the HelpText property is displayed.
|
|
59
59
|
attr_accessor :own_help
|
|
60
60
|
|
|
61
61
|
# Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
|
|
@@ -55,7 +55,7 @@ module AsposeWordsCloud
|
|
|
55
55
|
attr_accessor :help_text
|
|
56
56
|
|
|
57
57
|
# 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.
|
|
58
|
-
# If
|
|
58
|
+
# If true, the text specified by the HelpText property is displayed. If False, the text in the AutoText entry specified by the HelpText property is displayed.
|
|
59
59
|
attr_accessor :own_help
|
|
60
60
|
|
|
61
61
|
# Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
|
|
@@ -55,7 +55,7 @@ module AsposeWordsCloud
|
|
|
55
55
|
attr_accessor :help_text
|
|
56
56
|
|
|
57
57
|
# 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.
|
|
58
|
-
# If
|
|
58
|
+
# If true, the text specified by the HelpText property is displayed. If False, the text in the AutoText entry specified by the HelpText property is displayed.
|
|
59
59
|
attr_accessor :own_help
|
|
60
60
|
|
|
61
61
|
# Gets or sets a value indicating whether references to the specified form field are automatically updated whenever the field is exited.
|
|
@@ -64,7 +64,7 @@ module AsposeWordsCloud
|
|
|
64
64
|
attr_accessor :update_ambiguous_text_font
|
|
65
65
|
|
|
66
66
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
67
|
-
#
|
|
67
|
+
# The default value is false.
|
|
68
68
|
attr_accessor :update_created_time_property
|
|
69
69
|
|
|
70
70
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|