Skip to content

Commit a01ab66

Browse files
Andrey KaferiAndrey Kaferi
authored andcommitted
Update to v19.12
1 parent fda587a commit a01ab66

18 files changed

+494
-130
lines changed

AsposePdfCloud.xcodeproj/project.pbxproj

Lines changed: 66 additions & 38 deletions
Large diffs are not rendered by default.

AsposePdfCloud/Models/CheckBoxField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ open class CheckBoxField: FormField {
4343

4444
public init(links: [Link]?, partialName: String?, rect: Rectangle?, value: String?, pageIndex: Int, height: Double?, width: Double?, zIndex: Int?, isGroup: Bool?, parent: FormField?, isSharedField: Bool?, flags: [AnnotationFlags]?, color: Color?, contents: String?, margin: MarginInfo?, highlighting: LinkHighlightingMode?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, border: Border?, allowedStates: [String]?, style: BoxStyle?, activeState: String?, checked: Bool, exportValue: String?) {
4545
self.checked = checked
46-
super.init(links: links)
46+
super.init(links: links, partialName: partialName, rect: rect, value: value, pageIndex: pageIndex, height: height, width: width, zIndex: zIndex, isGroup: isGroup, parent: parent, isSharedField: isSharedField, flags: flags, color: color, contents: contents, margin: margin, highlighting: highlighting, horizontalAlignment: horizontalAlignment, verticalAlignment: verticalAlignment, border: border)
4747
self.allowedStates = allowedStates
4848
self.style = style
4949
self.activeState = activeState

AsposePdfCloud/Models/ChoiceField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ open class ChoiceField: FormField {
3636

3737

3838
public init(links: [Link]?, partialName: String?, rect: Rectangle?, value: String?, pageIndex: Int, height: Double?, width: Double?, zIndex: Int?, isGroup: Bool?, parent: FormField?, isSharedField: Bool?, flags: [AnnotationFlags]?, color: Color?, contents: String?, margin: MarginInfo?, highlighting: LinkHighlightingMode?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, border: Border?, multiSelect: Bool?, selected: Int?) {
39-
super.init(links: links)
39+
super.init(links: links, partialName: partialName, rect: rect, value: value, pageIndex: pageIndex, height: height, width: width, zIndex: zIndex, isGroup: isGroup, parent: parent, isSharedField: isSharedField, flags: flags, color: color, contents: contents, margin: margin, highlighting: highlighting, horizontalAlignment: horizontalAlignment, verticalAlignment: verticalAlignment, border: border)
4040
self.multiSelect = multiSelect
4141
self.selected = selected
4242
}

AsposePdfCloud/Models/CircleAnnotation.swift

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,21 @@ open class CircleAnnotation: CommonFigureAnnotation {
3131

3232

3333

34-
public init(links: [Link]?, color: Color?, contents: String?, modified: String?, id: String?, flags: [AnnotationFlags]?, name: String?, rect: Rectangle, pageIndex: Int?, zIndex: Int?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, creationDate: String?, subject: String?, title: String?, richText: String?, interiorColor: Color?, frame: Rectangle?) {
35-
super.init(links: links)
34+
public override init(links: [Link]?, color: Color?, contents: String?, modified: String?, id: String?, flags: [AnnotationFlags]?, name: String?, rect: Rectangle, pageIndex: Int?, zIndex: Int?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, creationDate: String?, subject: String?, title: String?, richText: String?, interiorColor: Color?, frame: Rectangle?) {
35+
super.init(links: links, color: color, contents: contents, modified: modified, id: id, flags: flags, name: name, rect: rect, pageIndex: pageIndex, zIndex: zIndex, horizontalAlignment: horizontalAlignment, verticalAlignment: verticalAlignment, creationDate: creationDate, subject: subject, title: title, richText: richText, interiorColor: interiorColor, frame: frame)
3636
}
3737

3838

3939

4040
// Encodable protocol methods
4141

4242
public override func encode(to encoder: Encoder) throws {
43-
44-
var container = encoder.container(keyedBy: String.self)
45-
4643
try super.encode(to: encoder)
4744
}
4845

4946
// Decodable protocol methods
5047

5148
public required init(from decoder: Decoder) throws {
52-
let container = try decoder.container(keyedBy: String.self)
53-
5449
try super.init(from: decoder)
5550
}
5651
}

AsposePdfCloud/Models/ComboBoxField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ open class ComboBoxField: ChoiceField {
4040

4141

4242
public init(links: [Link]?, partialName: String?, rect: Rectangle?, value: String?, pageIndex: Int, height: Double?, width: Double?, zIndex: Int?, isGroup: Bool?, parent: FormField?, isSharedField: Bool?, flags: [AnnotationFlags]?, color: Color?, contents: String?, margin: MarginInfo?, highlighting: LinkHighlightingMode?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, border: Border?, multiSelect: Bool?, selected: Int?, options: [Option]?, activeState: String?, editable: Bool?, spellCheck: Bool?) {
43-
super.init(links: links)
43+
super.init(links: links, partialName: partialName, rect: rect, value: value, pageIndex: pageIndex, height: height, width: width, zIndex: zIndex, isGroup: isGroup, parent: parent, isSharedField: isSharedField, flags: flags, color: color, contents: contents, margin: margin, highlighting: highlighting, horizontalAlignment: horizontalAlignment, verticalAlignment: verticalAlignment, border: border, multiSelect: multiSelect, selected: selected)
4444
self.options = options
4545
self.activeState = activeState
4646
self.editable = editable

AsposePdfCloud/Models/ListBoxField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ open class ListBoxField: ChoiceField {
4040

4141

4242
public init(links: [Link]?, partialName: String?, rect: Rectangle?, value: String?, pageIndex: Int, height: Double?, width: Double?, zIndex: Int?, isGroup: Bool?, parent: FormField?, isSharedField: Bool?, flags: [AnnotationFlags]?, color: Color?, contents: String?, margin: MarginInfo?, highlighting: LinkHighlightingMode?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, border: Border?, multiSelect: Bool?, selected: Int?, options: [Option]?, activeState: String?, topIndex: Int?, selectedItems: [Int]?) {
43-
super.init(links: links)
43+
super.init(links: links, partialName: partialName, rect: rect, value: value, pageIndex: pageIndex, height: height, width: width, zIndex: zIndex, isGroup: isGroup, parent: parent, isSharedField: isSharedField, flags: flags, color: color, contents: contents, margin: margin, highlighting: highlighting, horizontalAlignment: horizontalAlignment, verticalAlignment: verticalAlignment, border: border, multiSelect: multiSelect, selected: selected)
4444
self.options = options
4545
self.activeState = activeState
4646
self.topIndex = topIndex

AsposePdfCloud/Models/PolyLineAnnotation.swift

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,21 @@ open class PolyLineAnnotation: PolyAnnotation {
3131

3232

3333

34-
public init(links: [Link]?, color: Color?, contents: String?, modified: String?, id: String?, flags: [AnnotationFlags]?, name: String?, rect: Rectangle, pageIndex: Int?, zIndex: Int?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, creationDate: String?, subject: String?, title: String?, richText: String?, interiorColor: Color?, startingStyle: LineEnding?, endingStyle: LineEnding?, intent: PolyIntent?, vertices: [Point]) {
35-
super.init(links: links)
34+
public override init(links: [Link]?, color: Color?, contents: String?, modified: String?, id: String?, flags: [AnnotationFlags]?, name: String?, rect: Rectangle, pageIndex: Int?, zIndex: Int?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, creationDate: String?, subject: String?, title: String?, richText: String?, interiorColor: Color?, startingStyle: LineEnding?, endingStyle: LineEnding?, intent: PolyIntent?, vertices: [Point]) {
35+
super.init(links: links, color: color, contents: contents, modified: modified, id: id, flags: flags, name: name, rect: rect, pageIndex: pageIndex, zIndex: zIndex, horizontalAlignment: horizontalAlignment, verticalAlignment: verticalAlignment, creationDate: creationDate, subject: subject, title: title, richText: richText, interiorColor: interiorColor, startingStyle: startingStyle, endingStyle: endingStyle, intent: intent, vertices: vertices)
3636
}
3737

3838

3939

4040
// Encodable protocol methods
4141

4242
public override func encode(to encoder: Encoder) throws {
43-
44-
var container = encoder.container(keyedBy: String.self)
45-
4643
try super.encode(to: encoder)
4744
}
4845

4946
// Decodable protocol methods
5047

5148
public required init(from decoder: Decoder) throws {
52-
let container = try decoder.container(keyedBy: String.self)
53-
5449
try super.init(from: decoder)
5550
}
5651
}

AsposePdfCloud/Models/PolygonAnnotation.swift

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,21 @@ open class PolygonAnnotation: PolyAnnotation {
3131

3232

3333

34-
public init(links: [Link]?, color: Color?, contents: String?, modified: String?, id: String?, flags: [AnnotationFlags]?, name: String?, rect: Rectangle, pageIndex: Int?, zIndex: Int?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, creationDate: String?, subject: String?, title: String?, richText: String?, interiorColor: Color?, startingStyle: LineEnding?, endingStyle: LineEnding?, intent: PolyIntent?, vertices: [Point]) {
35-
super.init(links: links)
34+
public override init(links: [Link]?, color: Color?, contents: String?, modified: String?, id: String?, flags: [AnnotationFlags]?, name: String?, rect: Rectangle, pageIndex: Int?, zIndex: Int?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, creationDate: String?, subject: String?, title: String?, richText: String?, interiorColor: Color?, startingStyle: LineEnding?, endingStyle: LineEnding?, intent: PolyIntent?, vertices: [Point]) {
35+
super.init(links: links, color: color, contents: contents, modified: modified, id: id, flags: flags, name: name, rect: rect, pageIndex: pageIndex, zIndex: zIndex, horizontalAlignment: horizontalAlignment, verticalAlignment: verticalAlignment, creationDate: creationDate, subject: subject, title: title, richText: richText, interiorColor: interiorColor, startingStyle: startingStyle, endingStyle: endingStyle, intent: intent, vertices: vertices)
3636
}
3737

3838

3939

4040
// Encodable protocol methods
4141

4242
public override func encode(to encoder: Encoder) throws {
43-
44-
var container = encoder.container(keyedBy: String.self)
45-
4643
try super.encode(to: encoder)
4744
}
4845

4946
// Decodable protocol methods
5047

5148
public required init(from decoder: Decoder) throws {
52-
let container = try decoder.container(keyedBy: String.self)
53-
5449
try super.init(from: decoder)
5550
}
5651
}

AsposePdfCloud/Models/RadioButtonField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ open class RadioButtonField: ChoiceField {
3838

3939

4040
public init(links: [Link]?, partialName: String?, rect: Rectangle?, value: String?, pageIndex: Int, height: Double?, width: Double?, zIndex: Int?, isGroup: Bool?, parent: FormField?, isSharedField: Bool?, flags: [AnnotationFlags]?, color: Color?, contents: String?, margin: MarginInfo?, highlighting: LinkHighlightingMode?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, border: Border?, multiSelect: Bool?, selected: Int?, options: [Option]?, radioButtonOptionsField: [RadioButtonOptionField]?, style: BoxStyle?) {
41-
super.init(links: links)
41+
super.init(links: links, partialName: partialName, rect: rect, value: value, pageIndex: pageIndex, height: height, width: width, zIndex: zIndex, isGroup: isGroup, parent: parent, isSharedField: isSharedField, flags: flags, color: color, contents: contents, margin: margin, highlighting: highlighting, horizontalAlignment: horizontalAlignment, verticalAlignment: verticalAlignment, border: border, multiSelect: multiSelect, selected: selected)
4242
self.options = options
4343
self.radioButtonOptionsField = radioButtonOptionsField
4444
self.style = style

AsposePdfCloud/Models/RadioButtonOptionField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ open class RadioButtonOptionField: FormField {
3636

3737

3838
public init(links: [Link]?, partialName: String?, rect: Rectangle?, value: String?, pageIndex: Int, height: Double?, width: Double?, zIndex: Int?, isGroup: Bool?, parent: FormField?, isSharedField: Bool?, flags: [AnnotationFlags]?, color: Color?, contents: String?, margin: MarginInfo?, highlighting: LinkHighlightingMode?, horizontalAlignment: HorizontalAlignment?, verticalAlignment: VerticalAlignment?, border: Border?, optionName: String?, style: BoxStyle?) {
39-
super.init(links: links)
39+
super.init(links: links, partialName: partialName, rect: rect, value: value, pageIndex: pageIndex, height: height, width: width, zIndex: zIndex, isGroup: isGroup, parent: parent, isSharedField: isSharedField, flags: flags, color: color, contents: contents, margin: margin, highlighting: highlighting, horizontalAlignment: horizontalAlignment, verticalAlignment: verticalAlignment, border: border)
4040
self.optionName = optionName
4141
self.style = style
4242
}

0 commit comments

Comments
 (0)