Skip to content

Commit fbb4111

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents a3e634a + b6bd8ec commit fbb4111

File tree

6 files changed

+19
-49
lines changed

6 files changed

+19
-49
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.7'
3+
s.version = '23.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' }

README.md

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

284284
dependencies: [
285285
// Dependencies declare other packages that this package depends on.
286-
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "23.7"),
286+
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "23.8"),
287287
],
288288
targets: [
289289
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -301,7 +301,7 @@ targets: [
301301
Add link to git repository as dependency to your Podfile:
302302

303303
```ruby
304-
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '23.7'
304+
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '23.8'
305305
```
306306

307307
## 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 "23.7";
191+
return "23.8";
192192
}
193193
}

Sources/AsposeWordsCloud/Model/EpubSaveOptionsData.swift

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ import Foundation
3030
// Container class for epub save options.
3131
@available(macOS 10.12, iOS 10.3, watchOS 3.3, tvOS 12.0, *)
3232
public class EpubSaveOptionsData : HtmlSaveOptionsData {
33-
// Field of epubNavigationMapLevel. Container class for epub save options.
34-
private var _epubNavigationMapLevel : Int? = nil;
33+
// Field of navigationMapLevel. Container class for epub save options.
34+
private var _navigationMapLevel : Int? = nil;
3535

36-
public var epubNavigationMapLevel : Int? {
36+
public var navigationMapLevel : Int? {
3737
get {
38-
return self._epubNavigationMapLevel;
38+
return self._navigationMapLevel;
3939
}
4040
set {
41-
self._epubNavigationMapLevel = newValue;
41+
self._navigationMapLevel = newValue;
4242
}
4343
}
4444

@@ -52,7 +52,7 @@ public class EpubSaveOptionsData : HtmlSaveOptionsData {
5252
}
5353

5454
private enum CodingKeys: String, CodingKey {
55-
case epubNavigationMapLevel = "EpubNavigationMapLevel";
55+
case navigationMapLevel = "NavigationMapLevel";
5656
case invalidCodingKey;
5757
}
5858

@@ -63,28 +63,28 @@ public class EpubSaveOptionsData : HtmlSaveOptionsData {
6363
public required init(from decoder: Decoder) throws {
6464
try super.init(from: decoder);
6565
let container = try decoder.container(keyedBy: CodingKeys.self);
66-
self.epubNavigationMapLevel = try container.decodeIfPresent(Int.self, forKey: .epubNavigationMapLevel);
66+
self.navigationMapLevel = try container.decodeIfPresent(Int.self, forKey: .navigationMapLevel);
6767
}
6868

6969
public override func encode(to encoder: Encoder) throws {
7070
try super.encode(to: encoder);
7171
var container = encoder.container(keyedBy: CodingKeys.self);
72-
if (self.epubNavigationMapLevel != nil) {
73-
try container.encode(self.epubNavigationMapLevel, forKey: .epubNavigationMapLevel);
72+
if (self.navigationMapLevel != nil) {
73+
try container.encode(self.navigationMapLevel, forKey: .navigationMapLevel);
7474
}
7575
}
7676

7777
public override func collectFilesContent(_ resultFilesContent : inout [FileReference]) {
7878
}
7979

80-
// Sets epubNavigationMapLevel. Gets or sets the maximum level of headings populated to the navigation map when exporting.
81-
public func setEpubNavigationMapLevel(epubNavigationMapLevel : Int?) -> EpubSaveOptionsData {
82-
self.epubNavigationMapLevel = epubNavigationMapLevel;
80+
// Sets navigationMapLevel. Gets or sets the maximum level of headings populated to the navigation map when exporting.
81+
public func setNavigationMapLevel(navigationMapLevel : Int?) -> EpubSaveOptionsData {
82+
self.navigationMapLevel = navigationMapLevel;
8383
return self;
8484
}
8585

86-
// Gets epubNavigationMapLevel. Gets or sets the maximum level of headings populated to the navigation map when exporting.
87-
public func getEpubNavigationMapLevel() -> Int? {
88-
return self.epubNavigationMapLevel;
86+
// Gets navigationMapLevel. Gets or sets the maximum level of headings populated to the navigation map when exporting.
87+
public func getNavigationMapLevel() -> Int? {
88+
return self.navigationMapLevel;
8989
}
9090
}

Sources/AsposeWordsCloud/Model/SaveOptionsData.swift

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -206,18 +206,6 @@ public class SaveOptionsData : Codable, WordsApiModel {
206206
}
207207
}
208208

209-
// Field of updateSdtContent. base container class for save options data.
210-
private var _updateSdtContent : Bool? = nil;
211-
212-
public var updateSdtContent : Bool? {
213-
get {
214-
return self._updateSdtContent;
215-
}
216-
set {
217-
self._updateSdtContent = newValue;
218-
}
219-
}
220-
221209
// Field of zipOutput. base container class for save options data.
222210
private var _zipOutput : Bool? = nil;
223211

@@ -251,7 +239,6 @@ public class SaveOptionsData : Codable, WordsApiModel {
251239
case updateFields = "UpdateFields";
252240
case updateLastPrintedProperty = "UpdateLastPrintedProperty";
253241
case updateLastSavedTimeProperty = "UpdateLastSavedTimeProperty";
254-
case updateSdtContent = "UpdateSdtContent";
255242
case zipOutput = "ZipOutput";
256243
case saveFormat = "SaveFormat";
257244
case invalidCodingKey;
@@ -273,7 +260,6 @@ public class SaveOptionsData : Codable, WordsApiModel {
273260
self.updateFields = try container.decodeIfPresent(Bool.self, forKey: .updateFields);
274261
self.updateLastPrintedProperty = try container.decodeIfPresent(Bool.self, forKey: .updateLastPrintedProperty);
275262
self.updateLastSavedTimeProperty = try container.decodeIfPresent(Bool.self, forKey: .updateLastSavedTimeProperty);
276-
self.updateSdtContent = try container.decodeIfPresent(Bool.self, forKey: .updateSdtContent);
277263
self.zipOutput = try container.decodeIfPresent(Bool.self, forKey: .zipOutput);
278264

279265
}
@@ -313,9 +299,6 @@ public class SaveOptionsData : Codable, WordsApiModel {
313299
if (self.updateLastSavedTimeProperty != nil) {
314300
try container.encode(self.updateLastSavedTimeProperty, forKey: .updateLastSavedTimeProperty);
315301
}
316-
if (self.updateSdtContent != nil) {
317-
try container.encode(self.updateSdtContent, forKey: .updateSdtContent);
318-
}
319302
if (self.zipOutput != nil) {
320303
try container.encode(self.zipOutput, forKey: .zipOutput);
321304
}
@@ -459,18 +442,6 @@ public class SaveOptionsData : Codable, WordsApiModel {
459442
}
460443

461444

462-
// Sets updateSdtContent. Gets or sets a value indicating whether content of StructuredDocumentTag is updated before saving.
463-
public func setUpdateSdtContent(updateSdtContent : Bool?) -> SaveOptionsData {
464-
self.updateSdtContent = updateSdtContent;
465-
return self;
466-
}
467-
468-
// Gets updateSdtContent. Gets or sets a value indicating whether content of StructuredDocumentTag is updated before saving.
469-
public func getUpdateSdtContent() -> Bool? {
470-
return self.updateSdtContent;
471-
}
472-
473-
474445
// Sets zipOutput. Gets or sets a value indicating whether to zip output or not. The default value is false.
475446
public func setZipOutput(zipOutput : Bool?) -> SaveOptionsData {
476447
self.zipOutput = zipOutput;

Tests/AsposeWordsCloudTests/LoadWebDocumentTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ class LoadWebDocumentTests: BaseTestContext {
4141
.setDmlEffectsRenderingMode(dmlEffectsRenderingMode: DocSaveOptionsData.DmlEffectsRenderingMode._none)
4242
.setDmlRenderingMode(dmlRenderingMode: DocSaveOptionsData.DmlRenderingMode.drawingML)
4343
.setFileName(fileName: "google.doc")
44-
.setUpdateSdtContent(updateSdtContent: false)
4544
.setZipOutput(zipOutput: false);
4645
let requestData = LoadWebDocumentData()
4746
.setSaveOptions(saveOptions: requestDataSaveOptions as! DocSaveOptionsData)

0 commit comments

Comments
 (0)