Skip to content

Commit df4a961

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents 5005dea + 4e39db6 commit df4a961

File tree

323 files changed

+6741
-325
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

+6741
-325
lines changed

AsposeWordsCloud.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Pod::Spec.new do |s|
22
s.name = 'AsposeWordsCloud'
3-
s.version = '24.7'
3+
s.version = '24.8'
44
s.summary = 'Aspose Words for Cloud.'
55
s.homepage = 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git'
66
s.license = { :type => 'MIT', :file => 'LICENSE' }
77
s.author = { 'ivan.kishchenko' => '[email protected]' }
88
s.source = { :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => s.version.to_s }
9-
s.ios.deployment_target = "9.0"
10-
s.osx.deployment_target = "10.10"
9+
s.ios.deployment_target = "11.0"
10+
s.osx.deployment_target = "10.13"
1111
s.swift_version = "4.0"
1212
s.source_files = 'Sources/**/*'
1313
end

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,15 @@ This repository contains Aspose.Words Cloud SDK for Swift source code. This SDK
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
@@ -346,7 +352,7 @@ Add link to this repository as dependency to your Package.swift:
346352

347353
dependencies: [
348354
// Dependencies declare other packages that this package depends on.
349-
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "24.7"),
355+
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "24.8"),
350356
],
351357
targets: [
352358
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -364,7 +370,7 @@ targets: [
364370
Add link to git repository as dependency to your Podfile:
365371

366372
```ruby
367-
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '24.7'
373+
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '24.8'
368374
```
369375

370376
## Getting Started

Sources/AsposeWordsCloud/Api/Configuration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,6 @@ public class Configuration : Codable {
188188

189189
// Returns SDK version for using in statistics headers
190190
public func getSdkVersion() -> String {
191-
return "24.7";
191+
return "24.8";
192192
}
193193
}

Sources/AsposeWordsCloud/Model/Requests/AcceptAllRevisionsOnlineRequest.swift

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,26 @@ public class AcceptAllRevisionsOnlineRequest : WordsApiRequest {
3434
private let loadEncoding : String?;
3535
private let password : String?;
3636
private let encryptedPassword : String?;
37+
private let openTypeSupport : Bool?;
3738
private let destFileName : String?;
3839

3940
private enum CodingKeys: String, CodingKey {
4041
case document;
4142
case loadEncoding;
4243
case password;
4344
case encryptedPassword;
45+
case openTypeSupport;
4446
case destFileName;
4547
case invalidCodingKey;
4648
}
4749

4850
// Initializes a new instance of the AcceptAllRevisionsOnlineRequest class.
49-
public init(document : InputStream, loadEncoding : String? = nil, password : String? = nil, encryptedPassword : String? = nil, destFileName : String? = nil) {
51+
public init(document : InputStream, loadEncoding : String? = nil, password : String? = nil, encryptedPassword : String? = nil, openTypeSupport : Bool? = nil, destFileName : String? = nil) {
5052
self.document = document;
5153
self.loadEncoding = loadEncoding;
5254
self.password = password;
5355
self.encryptedPassword = encryptedPassword;
56+
self.openTypeSupport = openTypeSupport;
5457
self.destFileName = destFileName;
5558
}
5659

@@ -74,6 +77,11 @@ public class AcceptAllRevisionsOnlineRequest : WordsApiRequest {
7477
return self.encryptedPassword;
7578
}
7679

80+
// The value indicates whether OpenType support is on.
81+
public func getOpenTypeSupport() -> Bool? {
82+
return self.openTypeSupport;
83+
}
84+
7785
// 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.
7886
public func getDestFileName() -> String? {
7987
return self.destFileName;
@@ -123,6 +131,18 @@ public class AcceptAllRevisionsOnlineRequest : WordsApiRequest {
123131
}
124132

125133

134+
if (self.getOpenTypeSupport() != nil) {
135+
136+
#if os(Linux)
137+
queryItems.append(URLQueryItem(name: "openTypeSupport", value: try ObjectSerializer.serializeToString(value: self.getOpenTypeSupport()!)));
138+
139+
#else
140+
queryItems.append(URLQueryItem(name: "openTypeSupport", value: try ObjectSerializer.serializeToString(value: self.getOpenTypeSupport()!)));
141+
142+
#endif
143+
}
144+
145+
126146
if (self.getDestFileName() != nil) {
127147

128148
#if os(Linux)

Sources/AsposeWordsCloud/Model/Requests/AcceptAllRevisionsRequest.swift

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public class AcceptAllRevisionsRequest : WordsApiRequest {
3636
private let loadEncoding : String?;
3737
private let password : String?;
3838
private let encryptedPassword : String?;
39+
private let openTypeSupport : Bool?;
3940
private let destFileName : String?;
4041

4142
private enum CodingKeys: String, CodingKey {
@@ -45,18 +46,20 @@ public class AcceptAllRevisionsRequest : WordsApiRequest {
4546
case loadEncoding;
4647
case password;
4748
case encryptedPassword;
49+
case openTypeSupport;
4850
case destFileName;
4951
case invalidCodingKey;
5052
}
5153

5254
// Initializes a new instance of the AcceptAllRevisionsRequest class.
53-
public init(name : String, folder : String? = nil, storage : String? = nil, loadEncoding : String? = nil, password : String? = nil, encryptedPassword : String? = nil, destFileName : String? = nil) {
55+
public init(name : String, folder : String? = nil, storage : String? = nil, loadEncoding : String? = nil, password : String? = nil, encryptedPassword : String? = nil, openTypeSupport : Bool? = nil, destFileName : String? = nil) {
5456
self.name = name;
5557
self.folder = folder;
5658
self.storage = storage;
5759
self.loadEncoding = loadEncoding;
5860
self.password = password;
5961
self.encryptedPassword = encryptedPassword;
62+
self.openTypeSupport = openTypeSupport;
6063
self.destFileName = destFileName;
6164
}
6265

@@ -90,6 +93,11 @@ public class AcceptAllRevisionsRequest : WordsApiRequest {
9093
return self.encryptedPassword;
9194
}
9295

96+
// The value indicates whether OpenType support is on.
97+
public func getOpenTypeSupport() -> Bool? {
98+
return self.openTypeSupport;
99+
}
100+
93101
// 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.
94102
public func getDestFileName() -> String? {
95103
return self.destFileName;
@@ -165,6 +173,18 @@ public class AcceptAllRevisionsRequest : WordsApiRequest {
165173
}
166174

167175

176+
if (self.getOpenTypeSupport() != nil) {
177+
178+
#if os(Linux)
179+
queryItems.append(URLQueryItem(name: "openTypeSupport", value: try ObjectSerializer.serializeToString(value: self.getOpenTypeSupport()!)));
180+
181+
#else
182+
queryItems.append(URLQueryItem(name: "openTypeSupport", value: try ObjectSerializer.serializeToString(value: self.getOpenTypeSupport()!)));
183+
184+
#endif
185+
}
186+
187+
168188
if (self.getDestFileName() != nil) {
169189

170190
#if os(Linux)

Sources/AsposeWordsCloud/Model/Requests/AppendDocumentOnlineRequest.swift

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public class AppendDocumentOnlineRequest : WordsApiRequest {
3535
private let loadEncoding : String?;
3636
private let password : String?;
3737
private let encryptedPassword : String?;
38+
private let openTypeSupport : Bool?;
3839
private let destFileName : String?;
3940
private let revisionAuthor : String?;
4041
private let revisionDateTime : String?;
@@ -45,19 +46,21 @@ public class AppendDocumentOnlineRequest : WordsApiRequest {
4546
case loadEncoding;
4647
case password;
4748
case encryptedPassword;
49+
case openTypeSupport;
4850
case destFileName;
4951
case revisionAuthor;
5052
case revisionDateTime;
5153
case invalidCodingKey;
5254
}
5355

5456
// Initializes a new instance of the AppendDocumentOnlineRequest class.
55-
public init(document : InputStream, documentList : BaseEntryList, loadEncoding : String? = nil, password : String? = nil, encryptedPassword : String? = nil, destFileName : String? = nil, revisionAuthor : String? = nil, revisionDateTime : String? = nil) {
57+
public init(document : InputStream, documentList : BaseEntryList, loadEncoding : String? = nil, password : String? = nil, encryptedPassword : String? = nil, openTypeSupport : Bool? = nil, destFileName : String? = nil, revisionAuthor : String? = nil, revisionDateTime : String? = nil) {
5658
self.document = document;
5759
self.documentList = documentList;
5860
self.loadEncoding = loadEncoding;
5961
self.password = password;
6062
self.encryptedPassword = encryptedPassword;
63+
self.openTypeSupport = openTypeSupport;
6164
self.destFileName = destFileName;
6265
self.revisionAuthor = revisionAuthor;
6366
self.revisionDateTime = revisionDateTime;
@@ -88,6 +91,11 @@ public class AppendDocumentOnlineRequest : WordsApiRequest {
8891
return self.encryptedPassword;
8992
}
9093

94+
// The value indicates whether OpenType support is on.
95+
public func getOpenTypeSupport() -> Bool? {
96+
return self.openTypeSupport;
97+
}
98+
9199
// 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.
92100
public func getDestFileName() -> String? {
93101
return self.destFileName;
@@ -147,6 +155,18 @@ public class AppendDocumentOnlineRequest : WordsApiRequest {
147155
}
148156

149157

158+
if (self.getOpenTypeSupport() != nil) {
159+
160+
#if os(Linux)
161+
queryItems.append(URLQueryItem(name: "openTypeSupport", value: try ObjectSerializer.serializeToString(value: self.getOpenTypeSupport()!)));
162+
163+
#else
164+
queryItems.append(URLQueryItem(name: "openTypeSupport", value: try ObjectSerializer.serializeToString(value: self.getOpenTypeSupport()!)));
165+
166+
#endif
167+
}
168+
169+
150170
if (self.getDestFileName() != nil) {
151171

152172
#if os(Linux)

Sources/AsposeWordsCloud/Model/Requests/AppendDocumentRequest.swift

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public class AppendDocumentRequest : WordsApiRequest {
3737
private let loadEncoding : String?;
3838
private let password : String?;
3939
private let encryptedPassword : String?;
40+
private let openTypeSupport : Bool?;
4041
private let destFileName : String?;
4142
private let revisionAuthor : String?;
4243
private let revisionDateTime : String?;
@@ -49,21 +50,23 @@ public class AppendDocumentRequest : WordsApiRequest {
4950
case loadEncoding;
5051
case password;
5152
case encryptedPassword;
53+
case openTypeSupport;
5254
case destFileName;
5355
case revisionAuthor;
5456
case revisionDateTime;
5557
case invalidCodingKey;
5658
}
5759

5860
// Initializes a new instance of the AppendDocumentRequest class.
59-
public init(name : String, documentList : BaseEntryList, folder : String? = nil, storage : String? = nil, loadEncoding : String? = nil, password : String? = nil, encryptedPassword : String? = nil, destFileName : String? = nil, revisionAuthor : String? = nil, revisionDateTime : String? = nil) {
61+
public init(name : String, documentList : BaseEntryList, folder : String? = nil, storage : String? = nil, loadEncoding : String? = nil, password : String? = nil, encryptedPassword : String? = nil, openTypeSupport : Bool? = nil, destFileName : String? = nil, revisionAuthor : String? = nil, revisionDateTime : String? = nil) {
6062
self.name = name;
6163
self.documentList = documentList;
6264
self.folder = folder;
6365
self.storage = storage;
6466
self.loadEncoding = loadEncoding;
6567
self.password = password;
6668
self.encryptedPassword = encryptedPassword;
69+
self.openTypeSupport = openTypeSupport;
6770
self.destFileName = destFileName;
6871
self.revisionAuthor = revisionAuthor;
6972
self.revisionDateTime = revisionDateTime;
@@ -104,6 +107,11 @@ public class AppendDocumentRequest : WordsApiRequest {
104107
return self.encryptedPassword;
105108
}
106109

110+
// The value indicates whether OpenType support is on.
111+
public func getOpenTypeSupport() -> Bool? {
112+
return self.openTypeSupport;
113+
}
114+
107115
// 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.
108116
public func getDestFileName() -> String? {
109117
return self.destFileName;
@@ -189,6 +197,18 @@ public class AppendDocumentRequest : WordsApiRequest {
189197
}
190198

191199

200+
if (self.getOpenTypeSupport() != nil) {
201+
202+
#if os(Linux)
203+
queryItems.append(URLQueryItem(name: "openTypeSupport", value: try ObjectSerializer.serializeToString(value: self.getOpenTypeSupport()!)));
204+
205+
#else
206+
queryItems.append(URLQueryItem(name: "openTypeSupport", value: try ObjectSerializer.serializeToString(value: self.getOpenTypeSupport()!)));
207+
208+
#endif
209+
}
210+
211+
192212
if (self.getDestFileName() != nil) {
193213

194214
#if os(Linux)

Sources/AsposeWordsCloud/Model/Requests/ApplyStyleToDocumentElementOnlineRequest.swift

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public class ApplyStyleToDocumentElementOnlineRequest : WordsApiRequest {
3636
private let loadEncoding : String?;
3737
private let password : String?;
3838
private let encryptedPassword : String?;
39+
private let openTypeSupport : Bool?;
3940
private let destFileName : String?;
4041
private let revisionAuthor : String?;
4142
private let revisionDateTime : String?;
@@ -47,20 +48,22 @@ public class ApplyStyleToDocumentElementOnlineRequest : WordsApiRequest {
4748
case loadEncoding;
4849
case password;
4950
case encryptedPassword;
51+
case openTypeSupport;
5052
case destFileName;
5153
case revisionAuthor;
5254
case revisionDateTime;
5355
case invalidCodingKey;
5456
}
5557

5658
// Initializes a new instance of the ApplyStyleToDocumentElementOnlineRequest class.
57-
public init(document : InputStream, styledNodePath : String, styleApply : StyleApply, loadEncoding : String? = nil, password : String? = nil, encryptedPassword : String? = nil, destFileName : String? = nil, revisionAuthor : String? = nil, revisionDateTime : String? = nil) {
59+
public init(document : InputStream, styledNodePath : String, styleApply : StyleApply, loadEncoding : String? = nil, password : String? = nil, encryptedPassword : String? = nil, openTypeSupport : Bool? = nil, destFileName : String? = nil, revisionAuthor : String? = nil, revisionDateTime : String? = nil) {
5860
self.document = document;
5961
self.styledNodePath = styledNodePath;
6062
self.styleApply = styleApply;
6163
self.loadEncoding = loadEncoding;
6264
self.password = password;
6365
self.encryptedPassword = encryptedPassword;
66+
self.openTypeSupport = openTypeSupport;
6467
self.destFileName = destFileName;
6568
self.revisionAuthor = revisionAuthor;
6669
self.revisionDateTime = revisionDateTime;
@@ -96,6 +99,11 @@ public class ApplyStyleToDocumentElementOnlineRequest : WordsApiRequest {
9699
return self.encryptedPassword;
97100
}
98101

102+
// The value indicates whether OpenType support is on.
103+
public func getOpenTypeSupport() -> Bool? {
104+
return self.openTypeSupport;
105+
}
106+
99107
// 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.
100108
public func getDestFileName() -> String? {
101109
return self.destFileName;
@@ -157,6 +165,18 @@ public class ApplyStyleToDocumentElementOnlineRequest : WordsApiRequest {
157165
}
158166

159167

168+
if (self.getOpenTypeSupport() != nil) {
169+
170+
#if os(Linux)
171+
queryItems.append(URLQueryItem(name: "openTypeSupport", value: try ObjectSerializer.serializeToString(value: self.getOpenTypeSupport()!)));
172+
173+
#else
174+
queryItems.append(URLQueryItem(name: "openTypeSupport", value: try ObjectSerializer.serializeToString(value: self.getOpenTypeSupport()!)));
175+
176+
#endif
177+
}
178+
179+
160180
if (self.getDestFileName() != nil) {
161181

162182
#if os(Linux)

0 commit comments

Comments
 (0)