Skip to content

Commit ef3f52a

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents 0f87689 + 7dd6930 commit ef3f52a

File tree

5 files changed

+64
-4
lines changed

5 files changed

+64
-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.3'
3+
s.version = '24.4'
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
@@ -330,7 +330,7 @@ Add link to this repository as dependency to your Package.swift:
330330

331331
dependencies: [
332332
// Dependencies declare other packages that this package depends on.
333-
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "24.3"),
333+
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "24.4"),
334334
],
335335
targets: [
336336
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -348,7 +348,7 @@ targets: [
348348
Add link to git repository as dependency to your Podfile:
349349

350350
```ruby
351-
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '24.3'
351+
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '24.4'
352352
```
353353

354354
## 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.3";
191+
return "24.4";
192192
}
193193
}

Sources/AsposeWordsCloud/Model/DrawingObjectInsert.swift

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,18 @@ public class DrawingObjectInsert : Codable, WordsApiModel {
213213
}
214214
}
215215

216+
// Field of aspectRatioLocked. Drawing object element for insert.
217+
private var _aspectRatioLocked : Bool? = nil;
218+
219+
public var aspectRatioLocked : Bool? {
220+
get {
221+
return self._aspectRatioLocked;
222+
}
223+
set {
224+
self._aspectRatioLocked = newValue;
225+
}
226+
}
227+
216228
private enum CodingKeys: String, CodingKey {
217229
case position = "Position";
218230
case relativeHorizontalPosition = "RelativeHorizontalPosition";
@@ -222,6 +234,7 @@ public class DrawingObjectInsert : Codable, WordsApiModel {
222234
case width = "Width";
223235
case height = "Height";
224236
case wrapType = "WrapType";
237+
case aspectRatioLocked = "AspectRatioLocked";
225238
case invalidCodingKey;
226239
}
227240

@@ -249,6 +262,7 @@ public class DrawingObjectInsert : Codable, WordsApiModel {
249262
self.wrapType = WrapType(rawValue: raw_wrapType);
250263
}
251264

265+
self.aspectRatioLocked = json["AspectRatioLocked"] as? Bool;
252266
}
253267

254268
public required init(from decoder: Decoder) throws {
@@ -261,6 +275,7 @@ public class DrawingObjectInsert : Codable, WordsApiModel {
261275
self.width = try container.decodeIfPresent(Double.self, forKey: .width);
262276
self.height = try container.decodeIfPresent(Double.self, forKey: .height);
263277
self.wrapType = try container.decodeIfPresent(WrapType.self, forKey: .wrapType);
278+
self.aspectRatioLocked = try container.decodeIfPresent(Bool.self, forKey: .aspectRatioLocked);
264279
}
265280

266281
public func encode(to encoder: Encoder) throws {
@@ -289,6 +304,9 @@ public class DrawingObjectInsert : Codable, WordsApiModel {
289304
if (self.wrapType != nil) {
290305
try container.encode(self.wrapType, forKey: .wrapType);
291306
}
307+
if (self.aspectRatioLocked != nil) {
308+
try container.encode(self.aspectRatioLocked, forKey: .aspectRatioLocked);
309+
}
292310
}
293311

294312
public func collectFilesContent(_ resultFilesContent : inout [FileReference]) {
@@ -421,4 +439,16 @@ public class DrawingObjectInsert : Codable, WordsApiModel {
421439
public func getWrapType() -> WrapType? {
422440
return self.wrapType;
423441
}
442+
443+
444+
// Sets aspectRatioLocked. Gets or sets a value indicating whether AspectRatioLocked option on or off.
445+
public func setAspectRatioLocked(aspectRatioLocked : Bool?) -> DrawingObjectInsert {
446+
self.aspectRatioLocked = aspectRatioLocked;
447+
return self;
448+
}
449+
450+
// Gets aspectRatioLocked. Gets or sets a value indicating whether AspectRatioLocked option on or off.
451+
public func getAspectRatioLocked() -> Bool? {
452+
return self.aspectRatioLocked;
453+
}
424454
}

Sources/AsposeWordsCloud/Model/DrawingObjectUpdate.swift

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,18 @@ public class DrawingObjectUpdate : Codable, WordsApiModel {
201201
}
202202
}
203203

204+
// Field of aspectRatioLocked. Drawing object element for update.
205+
private var _aspectRatioLocked : Bool? = nil;
206+
207+
public var aspectRatioLocked : Bool? {
208+
get {
209+
return self._aspectRatioLocked;
210+
}
211+
set {
212+
self._aspectRatioLocked = newValue;
213+
}
214+
}
215+
204216
private enum CodingKeys: String, CodingKey {
205217
case relativeHorizontalPosition = "RelativeHorizontalPosition";
206218
case _left = "Left";
@@ -209,6 +221,7 @@ public class DrawingObjectUpdate : Codable, WordsApiModel {
209221
case width = "Width";
210222
case height = "Height";
211223
case wrapType = "WrapType";
224+
case aspectRatioLocked = "AspectRatioLocked";
212225
case invalidCodingKey;
213226
}
214227

@@ -232,6 +245,7 @@ public class DrawingObjectUpdate : Codable, WordsApiModel {
232245
self.wrapType = WrapType(rawValue: raw_wrapType);
233246
}
234247

248+
self.aspectRatioLocked = json["AspectRatioLocked"] as? Bool;
235249
}
236250

237251
public required init(from decoder: Decoder) throws {
@@ -243,6 +257,7 @@ public class DrawingObjectUpdate : Codable, WordsApiModel {
243257
self.width = try container.decodeIfPresent(Double.self, forKey: .width);
244258
self.height = try container.decodeIfPresent(Double.self, forKey: .height);
245259
self.wrapType = try container.decodeIfPresent(WrapType.self, forKey: .wrapType);
260+
self.aspectRatioLocked = try container.decodeIfPresent(Bool.self, forKey: .aspectRatioLocked);
246261
}
247262

248263
public func encode(to encoder: Encoder) throws {
@@ -268,6 +283,9 @@ public class DrawingObjectUpdate : Codable, WordsApiModel {
268283
if (self.wrapType != nil) {
269284
try container.encode(self.wrapType, forKey: .wrapType);
270285
}
286+
if (self.aspectRatioLocked != nil) {
287+
try container.encode(self.aspectRatioLocked, forKey: .aspectRatioLocked);
288+
}
271289
}
272290

273291
public func collectFilesContent(_ resultFilesContent : inout [FileReference]) {
@@ -358,4 +376,16 @@ public class DrawingObjectUpdate : Codable, WordsApiModel {
358376
public func getWrapType() -> WrapType? {
359377
return self.wrapType;
360378
}
379+
380+
381+
// Sets aspectRatioLocked. Gets or sets a value indicating whether AspectRatioLocked option on or off.
382+
public func setAspectRatioLocked(aspectRatioLocked : Bool?) -> DrawingObjectUpdate {
383+
self.aspectRatioLocked = aspectRatioLocked;
384+
return self;
385+
}
386+
387+
// Gets aspectRatioLocked. Gets or sets a value indicating whether AspectRatioLocked option on or off.
388+
public func getAspectRatioLocked() -> Bool? {
389+
return self.aspectRatioLocked;
390+
}
361391
}

0 commit comments

Comments
 (0)