Skip to content

Commit b29f76c

Browse files
Merge branch 'master' into release
2 parents d597f45 + 0761fa2 commit b29f76c

File tree

323 files changed

+2574
-331
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

323 files changed

+2574
-331
lines changed

Jenkinsfile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,7 @@ def runtests(dockerImageVersion)
6868
}
6969
}
7070

71-
node('words-linux') {
72-
stage('oldruby'){
73-
try {
74-
runtests("2.7")
75-
} finally {
76-
cleanWs()
77-
}
78-
}
79-
71+
node('words-linux') {
8072
stage('newruby'){
8173
try {
8274
runtests("3.1")

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@ This repository contains Aspose.Words Cloud SDK for Ruby source code. This SDK a
1313
* Watermarks and protection
1414
* Full read & write access to Document Object Model, including sections, paragraphs, text, images, tables, headers/footers and many others
1515

16+
## Enhancements in Version 24.8
17+
18+
- Added the support of OpenType standard. It is usefull for languages required advanced typography.
19+
20+
1621
## Enhancements in Version 24.7
1722

1823
- Added support for azw3 (Amazon Kindle Format) documents.
24+
- Added 'MaxImageResolution' property for SvgSaveOptionsData class.
1925

2026

2127
## Enhancements in Version 24.6
@@ -342,7 +348,7 @@ To use Aspose Words for Cloud Ruby SDK you need to register an account with [Asp
342348
To install this package do the following:
343349
update your Gemfile
344350
```ruby
345-
gem 'aspose_words_cloud', '~> 24.7'
351+
gem 'aspose_words_cloud', '~> 24.8'
346352
```
347353
or install directly
348354
```bash

lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ class AcceptAllRevisionsOnlineRequest
4141
# Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
4242
attr_accessor :encrypted_password
4343

44+
# The value indicates whether OpenType support is on.
45+
attr_accessor :open_type_support
46+
4447
# Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
4548
attr_accessor :dest_file_name
4649

@@ -50,13 +53,15 @@ class AcceptAllRevisionsOnlineRequest
5053
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
5154
# @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
5255
# @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
56+
# @param open_type_support The value indicates whether OpenType support is on.
5357
# @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
5458

55-
def initialize(document:, load_encoding: nil, password: nil, encrypted_password: nil, dest_file_name: nil)
59+
def initialize(document:, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil)
5660
self.document = document
5761
self.load_encoding = load_encoding
5862
self.password = password
5963
self.encrypted_password = encrypted_password
64+
self.open_type_support = open_type_support
6065
self.dest_file_name = dest_file_name
6166
end
6267

@@ -74,6 +79,7 @@ def to_batch_part(api_client, requestId, parentRequestId = nil)
7479
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
7580
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
7681
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
82+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
7783
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
7884

7985
if query_params
@@ -136,6 +142,7 @@ def create_http_request(api_client)
136142
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
137143
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
138144
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
145+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
139146
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
140147

141148
# header parameters

lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ class AcceptAllRevisionsRequest
4747
# Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
4848
attr_accessor :encrypted_password
4949

50+
# The value indicates whether OpenType support is on.
51+
attr_accessor :open_type_support
52+
5053
# Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
5154
attr_accessor :dest_file_name
5255

@@ -58,15 +61,17 @@ class AcceptAllRevisionsRequest
5861
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
5962
# @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
6063
# @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
64+
# @param open_type_support The value indicates whether OpenType support is on.
6165
# @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
6266

63-
def initialize(name:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, dest_file_name: nil)
67+
def initialize(name:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil)
6468
self.name = name
6569
self.folder = folder
6670
self.storage = storage
6771
self.load_encoding = load_encoding
6872
self.password = password
6973
self.encrypted_password = encrypted_password
74+
self.open_type_support = open_type_support
7075
self.dest_file_name = dest_file_name
7176
end
7277

@@ -87,6 +92,7 @@ def to_batch_part(api_client, requestId, parentRequestId = nil)
8792
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
8893
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
8994
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
95+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
9096
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
9197

9298
if query_params
@@ -142,6 +148,7 @@ def create_http_request(api_client)
142148
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
143149
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
144150
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
151+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
145152
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
146153

147154
# header parameters

lib/aspose_words_cloud/models/requests/append_document_online_request.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ class AppendDocumentOnlineRequest
4444
# Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
4545
attr_accessor :encrypted_password
4646

47+
# The value indicates whether OpenType support is on.
48+
attr_accessor :open_type_support
49+
4750
# Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
4851
attr_accessor :dest_file_name
4952

@@ -60,16 +63,18 @@ class AppendDocumentOnlineRequest
6063
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
6164
# @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
6265
# @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
66+
# @param open_type_support The value indicates whether OpenType support is on.
6367
# @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
6468
# @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
6569
# @param revision_date_time The date and time to use for revisions.
6670

67-
def initialize(document:, document_list:, load_encoding: nil, password: nil, encrypted_password: nil, dest_file_name: nil, revision_author: nil, revision_date_time: nil)
71+
def initialize(document:, document_list:, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil, revision_author: nil, revision_date_time: nil)
6872
self.document = document
6973
self.document_list = document_list
7074
self.load_encoding = load_encoding
7175
self.password = password
7276
self.encrypted_password = encrypted_password
77+
self.open_type_support = open_type_support
7378
self.dest_file_name = dest_file_name
7479
self.revision_author = revision_author
7580
self.revision_date_time = revision_date_time
@@ -91,6 +96,7 @@ def to_batch_part(api_client, requestId, parentRequestId = nil)
9196
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
9297
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
9398
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
99+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
94100
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
95101
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
96102
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
@@ -165,6 +171,7 @@ def create_http_request(api_client)
165171
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
166172
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
167173
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
174+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
168175
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
169176
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
170177
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?

lib/aspose_words_cloud/models/requests/append_document_request.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ class AppendDocumentRequest
5050
# Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
5151
attr_accessor :encrypted_password
5252

53+
# The value indicates whether OpenType support is on.
54+
attr_accessor :open_type_support
55+
5356
# Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
5457
attr_accessor :dest_file_name
5558

@@ -68,18 +71,20 @@ class AppendDocumentRequest
6871
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
6972
# @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
7073
# @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
74+
# @param open_type_support The value indicates whether OpenType support is on.
7175
# @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
7276
# @param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
7377
# @param revision_date_time The date and time to use for revisions.
7478

75-
def initialize(name:, document_list:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, dest_file_name: nil, revision_author: nil, revision_date_time: nil)
79+
def initialize(name:, document_list:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil, revision_author: nil, revision_date_time: nil)
7680
self.name = name
7781
self.document_list = document_list
7882
self.folder = folder
7983
self.storage = storage
8084
self.load_encoding = load_encoding
8185
self.password = password
8286
self.encrypted_password = encrypted_password
87+
self.open_type_support = open_type_support
8388
self.dest_file_name = dest_file_name
8489
self.revision_author = revision_author
8590
self.revision_date_time = revision_date_time
@@ -104,6 +109,7 @@ def to_batch_part(api_client, requestId, parentRequestId = nil)
104109
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
105110
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
106111
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
112+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
107113
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
108114
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
109115
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
@@ -174,6 +180,7 @@ def create_http_request(api_client)
174180
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
175181
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
176182
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
183+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
177184
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
178185
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
179186
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?

0 commit comments

Comments
 (0)