Skip to content

Commit 0739ef6

Browse files
Andrey KaferiAndrey Kaferi
authored andcommitted
Update to v20.7
1 parent 6e3b5a2 commit 0739ef6

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

AsposePdfCloud.xcodeproj/project.pbxproj

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
125EF5DA236C7F1F0013E682 /* RadioButtonFieldsResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 125EF5D4236C7F1F0013E682 /* RadioButtonFieldsResponse.swift */; };
3737
125EF5DB236C7F1F0013E682 /* RadioButtonOptionField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 125EF5D5236C7F1F0013E682 /* RadioButtonOptionField.swift */; };
3838
1278CC982444B50900AACF09 /* ImageFragment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1278CC972444B50900AACF09 /* ImageFragment.swift */; };
39+
1288960024D068D8007FD10A /* ImageEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 128895FD24D068D8007FD10A /* ImageEncoding.swift */; };
40+
1288960124D068D8007FD10A /* ApiInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 128895FE24D068D8007FD10A /* ApiInfo.swift */; };
41+
1288960224D068D8007FD10A /* ImageCompressionVersion.swift in Sources */ = {isa = PBXBuildFile; fileRef = 128895FF24D068D8007FD10A /* ImageCompressionVersion.swift */; };
3942
128B4CEB238C25F500877D55 /* ComboBoxFieldsResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 128B4CE7238C25F500877D55 /* ComboBoxFieldsResponse.swift */; };
4043
128B4CEC238C25F500877D55 /* ComboBoxFieldResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 128B4CE8238C25F500877D55 /* ComboBoxFieldResponse.swift */; };
4144
128B4CED238C25F500877D55 /* ComboBoxField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 128B4CE9238C25F500877D55 /* ComboBoxField.swift */; };
@@ -440,6 +443,9 @@
440443
125EF5D4236C7F1F0013E682 /* RadioButtonFieldsResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RadioButtonFieldsResponse.swift; sourceTree = "<group>"; };
441444
125EF5D5236C7F1F0013E682 /* RadioButtonOptionField.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RadioButtonOptionField.swift; sourceTree = "<group>"; };
442445
1278CC972444B50900AACF09 /* ImageFragment.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageFragment.swift; sourceTree = "<group>"; };
446+
128895FD24D068D8007FD10A /* ImageEncoding.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageEncoding.swift; sourceTree = "<group>"; };
447+
128895FE24D068D8007FD10A /* ApiInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ApiInfo.swift; sourceTree = "<group>"; };
448+
128895FF24D068D8007FD10A /* ImageCompressionVersion.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageCompressionVersion.swift; sourceTree = "<group>"; };
443449
128B4CE7238C25F500877D55 /* ComboBoxFieldsResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComboBoxFieldsResponse.swift; sourceTree = "<group>"; };
444450
128B4CE8238C25F500877D55 /* ComboBoxFieldResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComboBoxFieldResponse.swift; sourceTree = "<group>"; };
445451
128B4CE9238C25F500877D55 /* ComboBoxField.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComboBoxField.swift; sourceTree = "<group>"; };
@@ -862,6 +868,9 @@
862868
1E668AE72174AFC2004218A8 /* Models */ = {
863869
isa = PBXGroup;
864870
children = (
871+
128895FE24D068D8007FD10A /* ApiInfo.swift */,
872+
128895FF24D068D8007FD10A /* ImageCompressionVersion.swift */,
873+
128895FD24D068D8007FD10A /* ImageEncoding.swift */,
865874
125B282124A23A8C001CAB84 /* OutputFormat.swift */,
866875
1278CC972444B50900AACF09 /* ImageFragment.swift */,
867876
1E668B072174AFF2004218A8 /* Annotation.swift */,
@@ -1585,6 +1594,7 @@
15851594
1ED99317231E9B2F00725F99 /* FormField.swift in Sources */,
15861595
1EC94E6C2282C1FF00624E38 /* GraphInfo.swift in Sources */,
15871596
1EC94E662282C1FF00624E38 /* TableBroken.swift in Sources */,
1597+
1288960024D068D8007FD10A /* ImageEncoding.swift in Sources */,
15881598
1E84B8CA233CF53700057874 /* TextBoxFields.swift in Sources */,
15891599
1E9D85C321B55DF50026DB97 /* PopupAnnotationWithParent.swift in Sources */,
15901600
1E668BA32174AFFC004218A8 /* ImageTemplate.swift in Sources */,
@@ -1611,6 +1621,7 @@
16111621
1ECF708722562DCE0056698E /* StampsInfo.swift in Sources */,
16121622
1E52FD8F2189F2AB00DEDC40 /* PolyLineAnnotationResponse.swift in Sources */,
16131623
1E668BA62174AFFC004218A8 /* VerticalAlignment.swift in Sources */,
1624+
1288960224D068D8007FD10A /* ImageCompressionVersion.swift in Sources */,
16141625
1E668AE22174AFA4004218A8 /* Extensions.swift in Sources */,
16151626
1E9A4AD922280BBB00BE3FA5 /* ScreenAnnotation.swift in Sources */,
16161627
1E668B9B2174AFFC004218A8 /* LinkActionType.swift in Sources */,
@@ -1751,6 +1762,7 @@
17511762
1EF1EC1F220B3BF000200CEF /* RedactionAnnotation.swift in Sources */,
17521763
1E668B562174AFFC004218A8 /* FreeTextAnnotations.swift in Sources */,
17531764
1E9D85AE21B55DF50026DB97 /* HighlightAnnotationResponse.swift in Sources */,
1765+
1288960124D068D8007FD10A /* ApiInfo.swift in Sources */,
17541766
1E668BB32174AFFC004218A8 /* FieldType.swift in Sources */,
17551767
1E52FD902189F2AB00DEDC40 /* SquareAnnotationsResponse.swift in Sources */,
17561768
1E9D85CA21B55DF50026DB97 /* StrikeOutAnnotationResponse.swift in Sources */,
@@ -2013,7 +2025,7 @@
20132025
"@executable_path/Frameworks",
20142026
"@loader_path/Frameworks",
20152027
);
2016-
MARKETING_VERSION = 20.6.0;
2028+
MARKETING_VERSION = 20.7.0;
20172029
PRODUCT_BUNDLE_IDENTIFIER = com.aspose.AsposePdfCloud;
20182030
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
20192031
SKIP_INSTALL = YES;
@@ -2042,7 +2054,7 @@
20422054
"@executable_path/Frameworks",
20432055
"@loader_path/Frameworks",
20442056
);
2045-
MARKETING_VERSION = 20.6.0;
2057+
MARKETING_VERSION = 20.7.0;
20462058
PRODUCT_BUNDLE_IDENTIFIER = com.aspose.AsposePdfCloud;
20472059
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
20482060
SKIP_INSTALL = YES;

AsposePdfCloudTests/DocumentTests.swift

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,20 @@ class DocumentTests: AsposePdfCloudTests {
5555
let name = "4pages.pdf"
5656
let expectation = self.expectation(description: "testPostOptimizeDocument")
5757
let options = OptimizeOptions(
58-
allowReusePageContent: false,
58+
allowReusePageContent: true,
5959
compressImages: true,
6060
imageQuality: 100,
6161
linkDuplcateStreams: true,
6262
removeUnusedObjects: true,
6363
removeUnusedStreams: true,
64-
unembedFonts: true);
64+
unembedFonts: true,
65+
resizeImages: true,
66+
maxResolution: 3000,
67+
subsetFonts: true,
68+
removePrivateInfo: true,
69+
imageEncoding: ImageEncoding.unchanged,
70+
imageCompressionVersion: ImageCompressionVersion.standard
71+
);
6572

6673

6774
uploadFile(name: name) {

0 commit comments

Comments
 (0)