Skip to content

Commit de6f971

Browse files
Andrey KaferiAndrey Kaferi
authored andcommitted
Update to v20.6
1 parent 449bfef commit de6f971

File tree

3 files changed

+24
-18
lines changed

3 files changed

+24
-18
lines changed

AsposePdfCloud.xcodeproj/project.pbxproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
122D5DF723CE1C8300D9E42E /* ListBoxFieldResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 122D5DE823CE1C8200D9E42E /* ListBoxFieldResponse.swift */; };
2323
122D5DF823CE1C8300D9E42E /* ListBoxFields.swift in Sources */ = {isa = PBXBuildFile; fileRef = 122D5DE923CE1C8200D9E42E /* ListBoxFields.swift */; };
2424
122D5DF923CE1C8300D9E42E /* Direction.swift in Sources */ = {isa = PBXBuildFile; fileRef = 122D5DEA23CE1C8200D9E42E /* Direction.swift */; };
25+
125B282224A23A8D001CAB84 /* OutputFormat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 125B282124A23A8C001CAB84 /* OutputFormat.swift */; };
2526
125EF5CA236C7E1D0013E682 /* CheckBoxFieldResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 125EF5C4236C7E1C0013E682 /* CheckBoxFieldResponse.swift */; };
2627
125EF5CB236C7E1D0013E682 /* CheckBoxFields.swift in Sources */ = {isa = PBXBuildFile; fileRef = 125EF5C5236C7E1D0013E682 /* CheckBoxFields.swift */; };
2728
125EF5CC236C7E1D0013E682 /* CheckBoxFieldsResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 125EF5C6236C7E1D0013E682 /* CheckBoxFieldsResponse.swift */; };
@@ -425,6 +426,7 @@
425426
122D5DE823CE1C8200D9E42E /* ListBoxFieldResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ListBoxFieldResponse.swift; sourceTree = "<group>"; };
426427
122D5DE923CE1C8200D9E42E /* ListBoxFields.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ListBoxFields.swift; sourceTree = "<group>"; };
427428
122D5DEA23CE1C8200D9E42E /* Direction.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Direction.swift; sourceTree = "<group>"; };
429+
125B282124A23A8C001CAB84 /* OutputFormat.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OutputFormat.swift; sourceTree = "<group>"; };
428430
125EF5C4236C7E1C0013E682 /* CheckBoxFieldResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CheckBoxFieldResponse.swift; sourceTree = "<group>"; };
429431
125EF5C5236C7E1D0013E682 /* CheckBoxFields.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CheckBoxFields.swift; sourceTree = "<group>"; };
430432
125EF5C6236C7E1D0013E682 /* CheckBoxFieldsResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CheckBoxFieldsResponse.swift; sourceTree = "<group>"; };
@@ -860,6 +862,7 @@
860862
1E668AE72174AFC2004218A8 /* Models */ = {
861863
isa = PBXGroup;
862864
children = (
865+
125B282124A23A8C001CAB84 /* OutputFormat.swift */,
863866
1278CC972444B50900AACF09 /* ImageFragment.swift */,
864867
1E668B072174AFF2004218A8 /* Annotation.swift */,
865868
1E668B1C2174AFF4004218A8 /* AnnotationFlags.swift */,
@@ -1659,6 +1662,7 @@
16591662
1ECF708622562DCE0056698E /* TablesRecognizedResponse.swift in Sources */,
16601663
1E668B672174AFFC004218A8 /* Attachments.swift in Sources */,
16611664
122D5DF823CE1C8300D9E42E /* ListBoxFields.swift in Sources */,
1665+
125B282224A23A8D001CAB84 /* OutputFormat.swift in Sources */,
16621666
1E9D85C221B55DF50026DB97 /* UnderlineAnnotation.swift in Sources */,
16631667
1EF1EC21220B3BF000200CEF /* FileAttachmentAnnotation.swift in Sources */,
16641668
1E668B682174AFFC004218A8 /* TextAnnotationResponse.swift in Sources */,
@@ -2009,7 +2013,7 @@
20092013
"@executable_path/Frameworks",
20102014
"@loader_path/Frameworks",
20112015
);
2012-
MARKETING_VERSION = 20.5.0;
2016+
MARKETING_VERSION = 20.6.0;
20132017
PRODUCT_BUNDLE_IDENTIFIER = com.aspose.AsposePdfCloud;
20142018
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
20152019
SKIP_INSTALL = YES;
@@ -2038,7 +2042,7 @@
20382042
"@executable_path/Frameworks",
20392043
"@loader_path/Frameworks",
20402044
);
2041-
MARKETING_VERSION = 20.5.0;
2045+
MARKETING_VERSION = 20.6.0;
20422046
PRODUCT_BUNDLE_IDENTIFIER = com.aspose.AsposePdfCloud;
20432047
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
20442048
SKIP_INSTALL = YES;

AsposePdfCloudTests/ConvertTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,12 +600,12 @@ class ConvertTests: AsposePdfCloudTests {
600600
func testPutPdfInStorageToHtml() {
601601

602602
let expectation = self.expectation(description: "testPutPdfInStorageToHtml")
603-
let resFileName = "result.zip"
603+
let resFileName = "result.html"
604604
let outPath = "\(self.tempFolder)/\(resFileName)"
605605

606606
uploadFile(name: fileName) {
607607

608-
PdfAPI.putPdfInStorageToHtml(name: self.fileName, outPath: outPath, folder: self.tempFolder) {
608+
PdfAPI.putPdfInStorageToHtml(name: self.fileName, outPath: outPath, folder: self.tempFolder, outputFormat: OutputFormat.folder.rawValue) {
609609
(response, error) in
610610
guard error == nil else {
611611
XCTFail("error testPutPdfInStorageToHtml")

AsposePdfCloudTests/FieldsTests.swift

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ class FieldsTests: AsposePdfCloudTests {
347347
let field = SignatureField(
348348
links: nil,
349349
partialName: "Sign1",
350+
fullName: nil,
350351
rect: Rectangle(LLX: 100, LLY: 100, URX: 0, URY: 0),
351352
value: nil,
352353
pageIndex: 1,
@@ -414,6 +415,7 @@ class FieldsTests: AsposePdfCloudTests {
414415
let field = SignatureField(
415416
links: nil,
416417
partialName: "Sign1",
418+
fullName: nil,
417419
rect: Rectangle(LLX: 100, LLY: 100, URX: 0, URY: 0),
418420
value: nil,
419421
pageIndex: 1,
@@ -536,7 +538,7 @@ class FieldsTests: AsposePdfCloudTests {
536538
let expectation = self.expectation(description: "testPostTextBoxFields")
537539

538540
let textBox = TextBoxField(links: nil,
539-
partialName: "testField",
541+
partialName: "testField", fullName: nil,
540542
rect: Rectangle(LLX: 100, LLY: 100, URX: 500, URY: 200),
541543
value: "Value\nValue",
542544
pageIndex: 1,
@@ -589,7 +591,7 @@ class FieldsTests: AsposePdfCloudTests {
589591
let fieldName = "Petitioner"
590592

591593
let textBox = TextBoxField(links: nil,
592-
partialName: "testField",
594+
partialName: "testField", fullName: nil,
593595
rect: Rectangle(LLX: 100, LLY: 100, URX: 500, URY: 200),
594596
value: "Value\nValue",
595597
pageIndex: 1,
@@ -719,7 +721,7 @@ class FieldsTests: AsposePdfCloudTests {
719721
let expectation = self.expectation(description: "testPostCheckBoxFields")
720722

721723
let field = CheckBoxField(links: nil,
722-
partialName: "testField",
724+
partialName: "testField", fullName: nil,
723725
rect: Rectangle(LLX: 100, LLY: 100, URX: 200, URY: 200),
724726
value: nil,
725727
pageIndex: 1,
@@ -771,7 +773,7 @@ class FieldsTests: AsposePdfCloudTests {
771773
let fieldName = "checkboxField"
772774

773775
let field = CheckBoxField(links: nil,
774-
partialName: "testField",
776+
partialName: "testField", fullName: nil,
775777
rect: Rectangle(LLX: 100, LLY: 100, URX: 200, URY: 200),
776778
value: nil,
777779
pageIndex: 1,
@@ -899,7 +901,7 @@ class FieldsTests: AsposePdfCloudTests {
899901
let expectation = self.expectation(description: "testPostRadioButtonFields")
900902

901903
let field = RadioButtonField(links: nil,
902-
partialName: "testField",
904+
partialName: "testField", fullName: nil,
903905
rect: Rectangle(LLX: 100, LLY: 100, URX: 160, URY: 140),
904906
value: nil,
905907
pageIndex: 1,
@@ -923,7 +925,7 @@ class FieldsTests: AsposePdfCloudTests {
923925
radioButtonOptionsField: [
924926
RadioButtonOptionField(
925927
links: nil,
926-
partialName: nil,
928+
partialName: nil, fullName: nil,
927929
rect: Rectangle(LLX: 100.0, LLY: 130.0, URX: 160.0, URY: 140.0),
928930
value: nil,
929931
pageIndex: 1,
@@ -945,7 +947,7 @@ class FieldsTests: AsposePdfCloudTests {
945947
style: BoxStyle.cross),
946948
RadioButtonOptionField(
947949
links: nil,
948-
partialName: nil,
950+
partialName: nil, fullName: nil,
949951
rect: Rectangle(LLX: 150.0, LLY: 120.0, URX: 160.0, URY: 130.0),
950952
value: nil,
951953
pageIndex: 1,
@@ -995,7 +997,7 @@ class FieldsTests: AsposePdfCloudTests {
995997
let fieldName = "radiobuttonField"
996998

997999
let field = RadioButtonField(links: nil,
998-
partialName: "testField",
1000+
partialName: "testField", fullName: nil,
9991001
rect: Rectangle(LLX: 100, LLY: 100, URX: 160, URY: 140),
10001002
value: nil,
10011003
pageIndex: 1,
@@ -1019,7 +1021,7 @@ class FieldsTests: AsposePdfCloudTests {
10191021
radioButtonOptionsField: [
10201022
RadioButtonOptionField(
10211023
links: nil,
1022-
partialName: nil,
1024+
partialName: nil, fullName: nil,
10231025
rect: Rectangle(LLX: 100.0, LLY: 130.0, URX: 160.0, URY: 140.0),
10241026
value: nil,
10251027
pageIndex: 1,
@@ -1041,7 +1043,7 @@ class FieldsTests: AsposePdfCloudTests {
10411043
style: BoxStyle.cross),
10421044
RadioButtonOptionField(
10431045
links: nil,
1044-
partialName: nil,
1046+
partialName: nil, fullName: nil,
10451047
rect: Rectangle(LLX: 150.0, LLY: 120.0, URX: 160.0, URY: 130.0),
10461048
value: nil,
10471049
pageIndex: 1,
@@ -1168,7 +1170,7 @@ class FieldsTests: AsposePdfCloudTests {
11681170
let expectation = self.expectation(description: "testPostComboBoxFields")
11691171

11701172
let field = ComboBoxField(links: nil,
1171-
partialName: "testField",
1173+
partialName: "testField", fullName: nil,
11721174
rect: Rectangle(LLX: 100, LLY: 100, URX: 160, URY: 140),
11731175
value: nil,
11741176
pageIndex: 1,
@@ -1233,7 +1235,7 @@ class FieldsTests: AsposePdfCloudTests {
12331235
let fieldName = "comboboxField"
12341236

12351237
let field = ComboBoxField(links: nil,
1236-
partialName: "testField",
1238+
partialName: "testField", fullName: nil,
12371239
rect: Rectangle(LLX: 100, LLY: 100, URX: 160, URY: 140),
12381240
value: nil,
12391241
pageIndex: 1,
@@ -1375,7 +1377,7 @@ class FieldsTests: AsposePdfCloudTests {
13751377
let expectation = self.expectation(description: "testPostListBoxFields")
13761378

13771379
let field = ListBoxField(links: nil,
1378-
partialName: "testField",
1380+
partialName: "testField", fullName: nil,
13791381
rect: Rectangle(LLX: 100, LLY: 100, URX: 160, URY: 140),
13801382
value: nil,
13811383
pageIndex: 1,
@@ -1452,7 +1454,7 @@ class FieldsTests: AsposePdfCloudTests {
14521454
let fieldName = "listboxField"
14531455

14541456
let field = ListBoxField(links: nil,
1455-
partialName: "testField",
1457+
partialName: "testField", fullName: nil,
14561458
rect: Rectangle(LLX: 100, LLY: 100, URX: 160, URY: 140),
14571459
value: nil,
14581460
pageIndex: 1,

0 commit comments

Comments
 (0)