Skip to content

Commit 71e3f22

Browse files
Andrey KaferiAndrey Kaferi
authored andcommitted
Update to v20.4
1 parent e10ba69 commit 71e3f22

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

AsposePdfCloud.xcodeproj/project.pbxproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
125EF5D9236C7F1F0013E682 /* RadioButtonField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 125EF5D3236C7F1F0013E682 /* RadioButtonField.swift */; };
3535
125EF5DA236C7F1F0013E682 /* RadioButtonFieldsResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 125EF5D4236C7F1F0013E682 /* RadioButtonFieldsResponse.swift */; };
3636
125EF5DB236C7F1F0013E682 /* RadioButtonOptionField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 125EF5D5236C7F1F0013E682 /* RadioButtonOptionField.swift */; };
37+
1278CC982444B50900AACF09 /* ImageFragment.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1278CC972444B50900AACF09 /* ImageFragment.swift */; };
3738
128B4CEB238C25F500877D55 /* ComboBoxFieldsResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 128B4CE7238C25F500877D55 /* ComboBoxFieldsResponse.swift */; };
3839
128B4CEC238C25F500877D55 /* ComboBoxFieldResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 128B4CE8238C25F500877D55 /* ComboBoxFieldResponse.swift */; };
3940
128B4CED238C25F500877D55 /* ComboBoxField.swift in Sources */ = {isa = PBXBuildFile; fileRef = 128B4CE9238C25F500877D55 /* ComboBoxField.swift */; };
@@ -436,6 +437,7 @@
436437
125EF5D3236C7F1F0013E682 /* RadioButtonField.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RadioButtonField.swift; sourceTree = "<group>"; };
437438
125EF5D4236C7F1F0013E682 /* RadioButtonFieldsResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RadioButtonFieldsResponse.swift; sourceTree = "<group>"; };
438439
125EF5D5236C7F1F0013E682 /* RadioButtonOptionField.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RadioButtonOptionField.swift; sourceTree = "<group>"; };
440+
1278CC972444B50900AACF09 /* ImageFragment.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageFragment.swift; sourceTree = "<group>"; };
439441
128B4CE7238C25F500877D55 /* ComboBoxFieldsResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComboBoxFieldsResponse.swift; sourceTree = "<group>"; };
440442
128B4CE8238C25F500877D55 /* ComboBoxFieldResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComboBoxFieldResponse.swift; sourceTree = "<group>"; };
441443
128B4CE9238C25F500877D55 /* ComboBoxField.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ComboBoxField.swift; sourceTree = "<group>"; };
@@ -858,6 +860,7 @@
858860
1E668AE72174AFC2004218A8 /* Models */ = {
859861
isa = PBXGroup;
860862
children = (
863+
1278CC972444B50900AACF09 /* ImageFragment.swift */,
861864
1E668B072174AFF2004218A8 /* Annotation.swift */,
862865
1E668B1C2174AFF4004218A8 /* AnnotationFlags.swift */,
863866
1E668B0B2174AFF2004218A8 /* AnnotationInfo.swift */,
@@ -1676,6 +1679,7 @@
16761679
1E668B992174AFFC004218A8 /* LettersPositioningMethods.swift in Sources */,
16771680
1E9D85BB21B55DF50026DB97 /* CaretAnnotationResponse.swift in Sources */,
16781681
1E668BAA2174AFFC004218A8 /* Pages.swift in Sources */,
1682+
1278CC982444B50900AACF09 /* ImageFragment.swift in Sources */,
16791683
1E9A4AD522280BBB00BE3FA5 /* ScreenAnnotationResponse.swift in Sources */,
16801684
1E668BA92174AFFC004218A8 /* CompressionType.swift in Sources */,
16811685
1E7AF02122FC47C20017310A /* FileVersions.swift in Sources */,
@@ -2005,7 +2009,7 @@
20052009
"@executable_path/Frameworks",
20062010
"@loader_path/Frameworks",
20072011
);
2008-
MARKETING_VERSION = 20.2.0;
2012+
MARKETING_VERSION = 20.4.0;
20092013
PRODUCT_BUNDLE_IDENTIFIER = com.aspose.AsposePdfCloud;
20102014
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
20112015
SKIP_INSTALL = YES;
@@ -2034,7 +2038,7 @@
20342038
"@executable_path/Frameworks",
20352039
"@loader_path/Frameworks",
20362040
);
2037-
MARKETING_VERSION = 20.2.0;
2041+
MARKETING_VERSION = 20.4.0;
20382042
PRODUCT_BUNDLE_IDENTIFIER = com.aspose.AsposePdfCloud;
20392043
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
20402044
SKIP_INSTALL = YES;

AsposePdfCloudTests/TablesTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,10 @@ class TablesTests: AsposePdfCloudTests {
312312
for c in 0..<numOfCols {
313313
let cell = Cell(isNoBorder: nil, margin: nil, border: nil,
314314
backgroundColor: Color(A: 255, R: 0, G: 128, B: 0),
315-
backgroundImageFile: nil, alignment: nil, defaultCellTextState: textState,
315+
backgroundImageFile: nil,
316+
backgroundImageStorageFile: nil, alignment: nil, defaultCellTextState: textState,
316317
paragraphs: [TextRect(text: "Value", page: nil, rect: nil, horizontalAlignment: nil, verticalAlignment: nil, position: nil, baselinePosition: nil, textState: nil)],
317-
isWordWrapped: nil, verticalAlignment: nil, colSpan: nil, rowSpan: nil, width: nil)
318+
isWordWrapped: nil, verticalAlignment: nil, colSpan: nil, rowSpan: nil, width: nil, htmlFragment: nil, images: nil)
318319

319320
// change properties on cell
320321
if c == 1 {
@@ -338,9 +339,8 @@ class TablesTests: AsposePdfCloudTests {
338339
// change properties on paragraph AFTER first clearing and re-adding paragraphs
339340
else if c == 4
340341
{
341-
cell.paragraphs?[0].text = "y"
342-
cell.paragraphs?[0].textState = textState
343-
cell.paragraphs?[0].textState?.foregroundColor = Color(A: 255, R: 0, G: 0, B: 255)
342+
cell.paragraphs = nil
343+
cell.htmlFragment = "<ul><li>First</li><li>Second</li></ul>"
344344
}
345345
row.cells.append(cell)
346346

0 commit comments

Comments
 (0)