Skip to content

Commit bd2332d

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents fff3ecc + 212a02e commit bd2332d

File tree

186 files changed

+1233
-1685
lines changed

Some content is hidden

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

186 files changed

+1233
-1685
lines changed

AsposeWordsCloud.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AsposeWordsCloud'
3-
s.version = '23.9'
3+
s.version = '23.10'
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' }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ Add link to this repository as dependency to your Package.swift:
288288

289289
dependencies: [
290290
// Dependencies declare other packages that this package depends on.
291-
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "23.9"),
291+
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "23.10"),
292292
],
293293
targets: [
294294
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -306,7 +306,7 @@ targets: [
306306
Add link to git repository as dependency to your Podfile:
307307

308308
```ruby
309-
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '23.9'
309+
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '23.10'
310310
```
311311

312312
## Getting Started

Scripts/runTests.sh

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,4 @@ swift build && swift test --enable-code-coverage
33
report_line=$(llvm-cov report .build/x86_64-unknown-linux/debug/AsposeWordsCloudPackageTests.xctest -instr-profile=.build/x86_64-unknown-linux/debug/codecov/default.profdata | grep "Sources/AsposeWordsCloud/Api/WordsAPI.swift *")
44
IFS=' ' read -ra report_splited <<< "$report_line"
55
code_coverage=${report_splited[6]}
6-
echo "Words API code coverage: $code_coverage"
7-
8-
if [[ $code_coverage == "100.00%" ]]
9-
then
10-
echo "OK"
11-
else
12-
echo "Failed: code coverage should be 100.00%"
13-
echo "Uncovered methods:"
14-
echo $(llvm-cov report -show-functions .build/x86_64-unknown-linux/debug/AsposeWordsCloudPackageTests.xctest -instr-profile=.build/x86_64-unknown-linux/debug/codecov/default.profdata Sources/AsposeWordsCloud/Api/WordsAPI.swift | grep "* 0.00%*")
15-
exit 1
16-
fi
6+
echo "Words API code coverage: $code_coverage"

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 "23.9";
191+
return "23.10";
192192
}
193193
}

Sources/AsposeWordsCloud/Api/ObjectSerializer.swift

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ class ObjectSerializer {
109109
"DrawingObjectsResponse, _": DrawingObjectsResponse.self,
110110
"DrawingObjectUpdate, _": DrawingObjectUpdate.self,
111111
"EmfSaveOptionsData, _": EmfSaveOptionsData.self,
112+
"EpsSaveOptionsData, _": EpsSaveOptionsData.self,
112113
"EpubSaveOptionsData, _": EpubSaveOptionsData.self,
113114
"InternalError, _": InternalError.self,
114115
"ErrorDetails, _": ErrorDetails.self,
@@ -130,7 +131,6 @@ class ObjectSerializer {
130131
"FlatOpcTemplateMacroSaveOptionsData, _": FlatOpcTemplateMacroSaveOptionsData.self,
131132
"FlatOpcTemplateSaveOptionsData, _": FlatOpcTemplateSaveOptionsData.self,
132133
"Font, _": Font.self,
133-
"FontDto, _": FontDto.self,
134134
"FontInfo, _": FontInfo.self,
135135
"FontResponse, _": FontResponse.self,
136136
"Footnote, _": Footnote.self,
@@ -221,10 +221,8 @@ class ObjectSerializer {
221221
"PsSaveOptionsData, _": PsSaveOptionsData.self,
222222
"PublicKeyResponse, _": PublicKeyResponse.self,
223223
"RangeDocument, _": RangeDocument.self,
224-
"RangeDocumentDto, _": RangeDocumentDto.self,
225224
"RangeTextResponse, _": RangeTextResponse.self,
226225
"ReplaceRange, _": ReplaceRange.self,
227-
"ReplaceRangeDto, _": ReplaceRangeDto.self,
228226
"ReplaceTextParameters, _": ReplaceTextParameters.self,
229227
"ReplaceTextResponse, _": ReplaceTextResponse.self,
230228
"ReportBuildOptions, _": nil,
@@ -273,26 +271,20 @@ class ObjectSerializer {
273271
"Table, _": Table.self,
274272
"TableCell, _": TableCell.self,
275273
"TableCellFormat, _": TableCellFormat.self,
276-
"TableCellFormatDto, _": TableCellFormatDto.self,
277274
"TableCellFormatResponse, _": TableCellFormatResponse.self,
278275
"TableCellInsert, _": TableCellInsert.self,
279-
"TableCellInsertDto, _": TableCellInsertDto.self,
280276
"TableCellResponse, _": TableCellResponse.self,
281277
"TableInsert, _": TableInsert.self,
282-
"TableInsertDto, _": TableInsertDto.self,
283278
"TableLink, _": TableLink.self,
284279
"TableLinkCollection, _": TableLinkCollection.self,
285280
"TableLinkCollectionResponse, _": TableLinkCollectionResponse.self,
286281
"TableProperties, _": TableProperties.self,
287-
"TablePropertiesDto, _": TablePropertiesDto.self,
288282
"TablePropertiesResponse, _": TablePropertiesResponse.self,
289283
"TableResponse, _": TableResponse.self,
290284
"TableRow, _": TableRow.self,
291285
"TableRowFormat, _": TableRowFormat.self,
292-
"TableRowFormatDto, _": TableRowFormatDto.self,
293286
"TableRowFormatResponse, _": TableRowFormatResponse.self,
294287
"TableRowInsert, _": TableRowInsert.self,
295-
"TableRowInsertDto, _": TableRowInsertDto.self,
296288
"TableRowResponse, _": TableRowResponse.self,
297289
"TabStop, _": TabStop.self,
298290
"TabStopInsert, _": TabStopInsert.self,

Sources/AsposeWordsCloud/Api/WordsAPI.swift

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,7 @@ public class WordsAPI : Encryptor {
759759
}
760760

761761
// Async representation of compressDocument method
762+
// Compress and resize images inside the document.
762763
// The default settings allows to reduce the size of the document without any visible degradation of images quality.
763764
public func compressDocument(request : CompressDocumentRequest, callback : @escaping (_ response : CompressResponse?, _ error : Error?) -> ()) {
764765
do {
@@ -793,6 +794,7 @@ public class WordsAPI : Encryptor {
793794
}
794795

795796
// Sync representation of compressDocument method
797+
// Compress and resize images inside the document.
796798
// The default settings allows to reduce the size of the document without any visible degradation of images quality.
797799
public func compressDocument(request : CompressDocumentRequest) throws -> CompressResponse {
798800
let semaphore = DispatchSemaphore(value: 0);
@@ -814,6 +816,7 @@ public class WordsAPI : Encryptor {
814816

815817
// Async representation of compressDocumentOnline method
816818
// Compress and resize images inside the document.
819+
// The default settings allows to reduce the size of the document without any visible degradation of images quality.
817820
public func compressDocumentOnline(request : CompressDocumentOnlineRequest, callback : @escaping (_ response : CompressDocumentOnlineResponse?, _ error : Error?) -> ()) {
818821
do {
819822
if (self.apiInvoker == nil) {
@@ -848,6 +851,7 @@ public class WordsAPI : Encryptor {
848851

849852
// Sync representation of compressDocumentOnline method
850853
// Compress and resize images inside the document.
854+
// The default settings allows to reduce the size of the document without any visible degradation of images quality.
851855
public func compressDocumentOnline(request : CompressDocumentOnlineRequest) throws -> CompressDocumentOnlineResponse {
852856
let semaphore = DispatchSemaphore(value: 0);
853857
var responseObject : CompressDocumentOnlineResponse? = nil;
@@ -1165,6 +1169,7 @@ public class WordsAPI : Encryptor {
11651169
}
11661170

11671171
// Async representation of createDocument method
1172+
// Creates a new document in cloud storage in the format, determined by the file extension.
11681173
// Supported all save format extensions.
11691174
public func createDocument(request : CreateDocumentRequest, callback : @escaping (_ response : DocumentResponse?, _ error : Error?) -> ()) {
11701175
do {
@@ -1199,6 +1204,7 @@ public class WordsAPI : Encryptor {
11991204
}
12001205

12011206
// Sync representation of createDocument method
1207+
// Creates a new document in cloud storage in the format, determined by the file extension.
12021208
// Supported all save format extensions.
12031209
public func createDocument(request : CreateDocumentRequest) throws -> DocumentResponse {
12041210
let semaphore = DispatchSemaphore(value: 0);
@@ -1666,6 +1672,7 @@ public class WordsAPI : Encryptor {
16661672
}
16671673

16681674
// Async representation of deleteBorder method
1675+
// Removes a border from the document node.
16691676
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
16701677
public func deleteBorder(request : DeleteBorderRequest, callback : @escaping (_ response : BorderResponse?, _ error : Error?) -> ()) {
16711678
do {
@@ -1700,6 +1707,7 @@ public class WordsAPI : Encryptor {
17001707
}
17011708

17021709
// Sync representation of deleteBorder method
1710+
// Removes a border from the document node.
17031711
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
17041712
public func deleteBorder(request : DeleteBorderRequest) throws -> BorderResponse {
17051713
let semaphore = DispatchSemaphore(value: 0);
@@ -1721,6 +1729,7 @@ public class WordsAPI : Encryptor {
17211729

17221730
// Async representation of deleteBorderOnline method
17231731
// Removes a border from the document node.
1732+
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
17241733
public func deleteBorderOnline(request : DeleteBorderOnlineRequest, callback : @escaping (_ response : DeleteBorderOnlineResponse?, _ error : Error?) -> ()) {
17251734
do {
17261735
if (self.apiInvoker == nil) {
@@ -1755,6 +1764,7 @@ public class WordsAPI : Encryptor {
17551764

17561765
// Sync representation of deleteBorderOnline method
17571766
// Removes a border from the document node.
1767+
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
17581768
public func deleteBorderOnline(request : DeleteBorderOnlineRequest) throws -> DeleteBorderOnlineResponse {
17591769
let semaphore = DispatchSemaphore(value: 0);
17601770
var responseObject : DeleteBorderOnlineResponse? = nil;
@@ -1774,6 +1784,7 @@ public class WordsAPI : Encryptor {
17741784
}
17751785

17761786
// Async representation of deleteBorders method
1787+
// Removes borders from the document node.
17771788
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
17781789
public func deleteBorders(request : DeleteBordersRequest, callback : @escaping (_ response : BordersResponse?, _ error : Error?) -> ()) {
17791790
do {
@@ -1808,6 +1819,7 @@ public class WordsAPI : Encryptor {
18081819
}
18091820

18101821
// Sync representation of deleteBorders method
1822+
// Removes borders from the document node.
18111823
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
18121824
public func deleteBorders(request : DeleteBordersRequest) throws -> BordersResponse {
18131825
let semaphore = DispatchSemaphore(value: 0);
@@ -1829,6 +1841,7 @@ public class WordsAPI : Encryptor {
18291841

18301842
// Async representation of deleteBordersOnline method
18311843
// Removes borders from the document node.
1844+
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
18321845
public func deleteBordersOnline(request : DeleteBordersOnlineRequest, callback : @escaping (_ response : DeleteBordersOnlineResponse?, _ error : Error?) -> ()) {
18331846
do {
18341847
if (self.apiInvoker == nil) {
@@ -1863,6 +1876,7 @@ public class WordsAPI : Encryptor {
18631876

18641877
// Sync representation of deleteBordersOnline method
18651878
// Removes borders from the document node.
1879+
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
18661880
public func deleteBordersOnline(request : DeleteBordersOnlineRequest) throws -> DeleteBordersOnlineResponse {
18671881
let semaphore = DispatchSemaphore(value: 0);
18681882
var responseObject : DeleteBordersOnlineResponse? = nil;
@@ -4715,6 +4729,7 @@ public class WordsAPI : Encryptor {
47154729
}
47164730

47174731
// Async representation of getBorder method
4732+
// Reads a border from the document node.
47184733
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
47194734
public func getBorder(request : GetBorderRequest, callback : @escaping (_ response : BorderResponse?, _ error : Error?) -> ()) {
47204735
do {
@@ -4749,6 +4764,7 @@ public class WordsAPI : Encryptor {
47494764
}
47504765

47514766
// Sync representation of getBorder method
4767+
// Reads a border from the document node.
47524768
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
47534769
public func getBorder(request : GetBorderRequest) throws -> BorderResponse {
47544770
let semaphore = DispatchSemaphore(value: 0);
@@ -4770,6 +4786,7 @@ public class WordsAPI : Encryptor {
47704786

47714787
// Async representation of getBorderOnline method
47724788
// Reads a border from the document node.
4789+
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
47734790
public func getBorderOnline(request : GetBorderOnlineRequest, callback : @escaping (_ response : BorderResponse?, _ error : Error?) -> ()) {
47744791
do {
47754792
if (self.apiInvoker == nil) {
@@ -4804,6 +4821,7 @@ public class WordsAPI : Encryptor {
48044821

48054822
// Sync representation of getBorderOnline method
48064823
// Reads a border from the document node.
4824+
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
48074825
public func getBorderOnline(request : GetBorderOnlineRequest) throws -> BorderResponse {
48084826
let semaphore = DispatchSemaphore(value: 0);
48094827
var responseObject : BorderResponse? = nil;
@@ -14519,7 +14537,7 @@ public class WordsAPI : Encryptor {
1451914537
}
1452014538

1452114539
// Async representation of saveAsOnline method
14522-
// Converts a document to the specified format.
14540+
// Converts a document in cloud storage to the specified format.
1452314541
public func saveAsOnline(request : SaveAsOnlineRequest, callback : @escaping (_ response : SaveAsOnlineResponse?, _ error : Error?) -> ()) {
1452414542
do {
1452514543
if (self.apiInvoker == nil) {
@@ -14553,7 +14571,7 @@ public class WordsAPI : Encryptor {
1455314571
}
1455414572

1455514573
// Sync representation of saveAsOnline method
14556-
// Converts a document to the specified format.
14574+
// Converts a document in cloud storage to the specified format.
1455714575
public func saveAsOnline(request : SaveAsOnlineRequest) throws -> SaveAsOnlineResponse {
1455814576
let semaphore = DispatchSemaphore(value: 0);
1455914577
var responseObject : SaveAsOnlineResponse? = nil;
@@ -14682,6 +14700,7 @@ public class WordsAPI : Encryptor {
1468214700

1468314701
// Async representation of saveAsTiff method
1468414702
// Converts a document in cloud storage to TIFF format using detailed conversion settings.
14703+
@available(*, deprecated, message: "This operation will be removed in the future.")
1468514704
public func saveAsTiff(request : SaveAsTiffRequest, callback : @escaping (_ response : SaveResponse?, _ error : Error?) -> ()) {
1468614705
do {
1468714706
if (self.apiInvoker == nil) {
@@ -14735,7 +14754,8 @@ public class WordsAPI : Encryptor {
1473514754
}
1473614755

1473714756
// Async representation of saveAsTiffOnline method
14738-
// Converts a document to TIFF format using detailed conversion settings.
14757+
// Converts a document in cloud storage to TIFF format using detailed conversion settings.
14758+
@available(*, deprecated, message: "This operation will be removed in the future.")
1473914759
public func saveAsTiffOnline(request : SaveAsTiffOnlineRequest, callback : @escaping (_ response : SaveAsTiffOnlineResponse?, _ error : Error?) -> ()) {
1474014760
do {
1474114761
if (self.apiInvoker == nil) {
@@ -14769,7 +14789,7 @@ public class WordsAPI : Encryptor {
1476914789
}
1477014790

1477114791
// Sync representation of saveAsTiffOnline method
14772-
// Converts a document to TIFF format using detailed conversion settings.
14792+
// Converts a document in cloud storage to TIFF format using detailed conversion settings.
1477314793
public func saveAsTiffOnline(request : SaveAsTiffOnlineRequest) throws -> SaveAsTiffOnlineResponse {
1477414794
let semaphore = DispatchSemaphore(value: 0);
1477514795
var responseObject : SaveAsTiffOnlineResponse? = nil;
@@ -15221,6 +15241,7 @@ public class WordsAPI : Encryptor {
1522115241
}
1522215242

1522315243
// Async representation of updateBorder method
15244+
// Updates a border in the document node.
1522415245
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
1522515246
public func updateBorder(request : UpdateBorderRequest, callback : @escaping (_ response : BorderResponse?, _ error : Error?) -> ()) {
1522615247
do {
@@ -15255,6 +15276,7 @@ public class WordsAPI : Encryptor {
1525515276
}
1525615277

1525715278
// Sync representation of updateBorder method
15279+
// Updates a border in the document node.
1525815280
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
1525915281
public func updateBorder(request : UpdateBorderRequest) throws -> BorderResponse {
1526015282
let semaphore = DispatchSemaphore(value: 0);
@@ -15276,6 +15298,7 @@ public class WordsAPI : Encryptor {
1527615298

1527715299
// Async representation of updateBorderOnline method
1527815300
// Updates a border in the document node.
15301+
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
1527915302
public func updateBorderOnline(request : UpdateBorderOnlineRequest, callback : @escaping (_ response : UpdateBorderOnlineResponse?, _ error : Error?) -> ()) {
1528015303
do {
1528115304
if (self.apiInvoker == nil) {
@@ -15310,6 +15333,7 @@ public class WordsAPI : Encryptor {
1531015333

1531115334
// Sync representation of updateBorderOnline method
1531215335
// Updates a border in the document node.
15336+
// The 'nodePath' parameter should refer to a paragraph, a cell or a row.
1531315337
public func updateBorderOnline(request : UpdateBorderOnlineRequest) throws -> UpdateBorderOnlineResponse {
1531415338
let semaphore = DispatchSemaphore(value: 0);
1531515339
var responseObject : UpdateBorderOnlineResponse? = nil;

0 commit comments

Comments
 (0)