Skip to content

Commit 3d7811a

Browse files
SDK regenerated by CI server [ci skip]
1 parent 32c3bf2 commit 3d7811a

File tree

5 files changed

+70
-4
lines changed

5 files changed

+70
-4
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 = '24.11'
3+
s.version = '24.12'
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: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ 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.12
17+
18+
- Added 'RenderChoiceFormFieldBorder' property for PdfSaveOptionsData class.
19+
- Added 'ApplySuperscript' property for ReplaceTextParameters class.
20+
21+
1622
## Enhancements in Version 24.11
1723

1824
- Added GetAllRevisions method to obtain all available revisions in document.
@@ -367,7 +373,7 @@ Add link to this repository as dependency to your Package.swift:
367373

368374
dependencies: [
369375
// Dependencies declare other packages that this package depends on.
370-
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "24.11"),
376+
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "24.12"),
371377
],
372378
targets: [
373379
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -385,7 +391,7 @@ targets: [
385391
Add link to git repository as dependency to your Podfile:
386392

387393
```ruby
388-
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '24.11'
394+
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '24.12'
389395
```
390396

391397
## Getting Started

Sources/AsposeWordsCloud/Api/Configuration.swift

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

188188
// Returns SDK version for using in statistics headers
189189
public func getSdkVersion() -> String {
190-
return "24.11";
190+
return "24.12";
191191
}
192192
}

Sources/AsposeWordsCloud/Model/PdfSaveOptionsData.swift

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,18 @@ public class PdfSaveOptionsData : FixedPageSaveOptionsData {
433433
}
434434
}
435435

436+
// Field of renderChoiceFormFieldBorder. Container class for pdf save options.
437+
private var _renderChoiceFormFieldBorder : Bool? = nil;
438+
439+
public var renderChoiceFormFieldBorder : Bool? {
440+
get {
441+
return self._renderChoiceFormFieldBorder;
442+
}
443+
set {
444+
self._renderChoiceFormFieldBorder = newValue;
445+
}
446+
}
447+
436448
// Field of textCompression. Container class for pdf save options.
437449
private var _textCompression : TextCompression? = nil;
438450

@@ -537,6 +549,7 @@ public class PdfSaveOptionsData : FixedPageSaveOptionsData {
537549
case pageMode = "PageMode";
538550
case preblendImages = "PreblendImages";
539551
case preserveFormFields = "PreserveFormFields";
552+
case renderChoiceFormFieldBorder = "RenderChoiceFormFieldBorder";
540553
case textCompression = "TextCompression";
541554
case useBookFoldPrintingSettings = "UseBookFoldPrintingSettings";
542555
case useCoreFonts = "UseCoreFonts";
@@ -604,6 +617,7 @@ public class PdfSaveOptionsData : FixedPageSaveOptionsData {
604617

605618
self.preblendImages = json["PreblendImages"] as? Bool;
606619
self.preserveFormFields = json["PreserveFormFields"] as? Bool;
620+
self.renderChoiceFormFieldBorder = json["RenderChoiceFormFieldBorder"] as? Bool;
607621
if let raw_textCompression = json["TextCompression"] as? String {
608622
self.textCompression = TextCompression(rawValue: raw_textCompression);
609623
}
@@ -643,6 +657,7 @@ public class PdfSaveOptionsData : FixedPageSaveOptionsData {
643657
self.pageMode = try container.decodeIfPresent(PageMode.self, forKey: .pageMode);
644658
self.preblendImages = try container.decodeIfPresent(Bool.self, forKey: .preblendImages);
645659
self.preserveFormFields = try container.decodeIfPresent(Bool.self, forKey: .preserveFormFields);
660+
self.renderChoiceFormFieldBorder = try container.decodeIfPresent(Bool.self, forKey: .renderChoiceFormFieldBorder);
646661
self.textCompression = try container.decodeIfPresent(TextCompression.self, forKey: .textCompression);
647662
self.useBookFoldPrintingSettings = try container.decodeIfPresent(Bool.self, forKey: .useBookFoldPrintingSettings);
648663
self.useCoreFonts = try container.decodeIfPresent(Bool.self, forKey: .useCoreFonts);
@@ -720,6 +735,9 @@ public class PdfSaveOptionsData : FixedPageSaveOptionsData {
720735
if (self.preserveFormFields != nil) {
721736
try container.encode(self.preserveFormFields, forKey: .preserveFormFields);
722737
}
738+
if (self.renderChoiceFormFieldBorder != nil) {
739+
try container.encode(self.renderChoiceFormFieldBorder, forKey: .renderChoiceFormFieldBorder);
740+
}
723741
if (self.textCompression != nil) {
724742
try container.encode(self.textCompression, forKey: .textCompression);
725743
}
@@ -1016,6 +1034,18 @@ public class PdfSaveOptionsData : FixedPageSaveOptionsData {
10161034
}
10171035

10181036

1037+
// Sets renderChoiceFormFieldBorder. Gets or sets a value indicating whether to render PDF choice form field border. PDF choice form fields are used for export of SDT Combo Box Content Control, SDT Drop-Down List Content Control and legacy Drop-Down Form Field when PreserveFormFields option is enabled.The default value is true.
1038+
public func setRenderChoiceFormFieldBorder(renderChoiceFormFieldBorder : Bool?) -> PdfSaveOptionsData {
1039+
self.renderChoiceFormFieldBorder = renderChoiceFormFieldBorder;
1040+
return self;
1041+
}
1042+
1043+
// Gets renderChoiceFormFieldBorder. Gets or sets a value indicating whether to render PDF choice form field border. PDF choice form fields are used for export of SDT Combo Box Content Control, SDT Drop-Down List Content Control and legacy Drop-Down Form Field when PreserveFormFields option is enabled.The default value is true.
1044+
public func getRenderChoiceFormFieldBorder() -> Bool? {
1045+
return self.renderChoiceFormFieldBorder;
1046+
}
1047+
1048+
10191049
// Sets textCompression. Gets or sets the compression type to be used for all textual content in the document.
10201050
public func setTextCompression(textCompression : TextCompression?) -> PdfSaveOptionsData {
10211051
self.textCompression = textCompression;

Sources/AsposeWordsCloud/Model/ReplaceTextParameters.swift

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@ import Foundation
2929

3030
// Class for document replace text request building.
3131
public class ReplaceTextParameters : Codable, WordsApiModel {
32+
// Field of applySuperscript. Class for document replace text request building.
33+
private var _applySuperscript : Bool? = nil;
34+
35+
public var applySuperscript : Bool? {
36+
get {
37+
return self._applySuperscript;
38+
}
39+
set {
40+
self._applySuperscript = newValue;
41+
}
42+
}
43+
3244
// Field of isMatchCase. Class for document replace text request building.
3345
private var _isMatchCase : Bool? = nil;
3446

@@ -90,6 +102,7 @@ public class ReplaceTextParameters : Codable, WordsApiModel {
90102
}
91103

92104
private enum CodingKeys: String, CodingKey {
105+
case applySuperscript = "ApplySuperscript";
93106
case isMatchCase = "IsMatchCase";
94107
case isMatchWholeWord = "IsMatchWholeWord";
95108
case isOldValueRegex = "IsOldValueRegex";
@@ -102,6 +115,7 @@ public class ReplaceTextParameters : Codable, WordsApiModel {
102115
}
103116

104117
public required init(from json: [String: Any]) throws {
118+
self.applySuperscript = json["ApplySuperscript"] as? Bool;
105119
self.isMatchCase = json["IsMatchCase"] as? Bool;
106120
self.isMatchWholeWord = json["IsMatchWholeWord"] as? Bool;
107121
self.isOldValueRegex = json["IsOldValueRegex"] as? Bool;
@@ -111,6 +125,7 @@ public class ReplaceTextParameters : Codable, WordsApiModel {
111125

112126
public required init(from decoder: Decoder) throws {
113127
let container = try decoder.container(keyedBy: CodingKeys.self);
128+
self.applySuperscript = try container.decodeIfPresent(Bool.self, forKey: .applySuperscript);
114129
self.isMatchCase = try container.decodeIfPresent(Bool.self, forKey: .isMatchCase);
115130
self.isMatchWholeWord = try container.decodeIfPresent(Bool.self, forKey: .isMatchWholeWord);
116131
self.isOldValueRegex = try container.decodeIfPresent(Bool.self, forKey: .isOldValueRegex);
@@ -120,6 +135,9 @@ public class ReplaceTextParameters : Codable, WordsApiModel {
120135

121136
public func encode(to encoder: Encoder) throws {
122137
var container = encoder.container(keyedBy: CodingKeys.self);
138+
if (self.applySuperscript != nil) {
139+
try container.encode(self.applySuperscript, forKey: .applySuperscript);
140+
}
123141
if (self.isMatchCase != nil) {
124142
try container.encode(self.isMatchCase, forKey: .isMatchCase);
125143
}
@@ -163,6 +181,18 @@ public class ReplaceTextParameters : Codable, WordsApiModel {
163181
}
164182
}
165183

184+
// Sets applySuperscript. Gets or sets a value indicating whether apply superscript to font or not.
185+
public func setApplySuperscript(applySuperscript : Bool?) -> ReplaceTextParameters {
186+
self.applySuperscript = applySuperscript;
187+
return self;
188+
}
189+
190+
// Gets applySuperscript. Gets or sets a value indicating whether apply superscript to font or not.
191+
public func getApplySuperscript() -> Bool? {
192+
return self.applySuperscript;
193+
}
194+
195+
166196
// Sets isMatchCase. Gets or sets a value indicating whether flag, true means the search is case-sensitive; false means the search is not case-sensitive.
167197
public func setIsMatchCase(isMatchCase : Bool?) -> ReplaceTextParameters {
168198
self.isMatchCase = isMatchCase;

0 commit comments

Comments
 (0)