Skip to content

Commit 4bdac73

Browse files
SDK regenerated by CI server [ci skip]
1 parent b1d38f3 commit 4bdac73

File tree

3 files changed

+15
-45
lines changed

3 files changed

+15
-45
lines changed

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)