Ver código fonte

综合 - DMG资源分包功能补充

wanjun 1 ano atrás
pai
commit
2af705f53c
28 arquivos alterados com 612 adições e 75 exclusões
  1. 87 60
      PDF Office/PDF Master.xcodeproj/project.pbxproj
  2. 24 0
      PDF Office/PDF Master.xcodeproj/xcuserdata/kdanwj.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
  3. 9 9
      PDF Office/PDF Master/Class/PDFTools/Batch/View/Choose/ConvertPDF/KMBatchConvertPDFView.xib
  4. BIN
      PDF Office/PDF Master/Class/PDFTools/Convert/Library/ComPDFKit_Conversion.framework/Versions/A/ComPDFKit_Conversion
  5. 2 2
      PDF Office/PDF Master/Class/PDFTools/Convert/Library/ComPDFKit_Conversion.framework/Versions/A/Resources/Info.plist
  6. 3 3
      PDF Office/PDF Master/Class/PDFTools/Convert/Library/ComPDFKit_Conversion.framework/Versions/A/_CodeSignature/CodeResources
  7. BIN
      PDF Office/PDF Master/Class/PDFTools/Convert/Library/libDocumentAI.dylib
  8. BIN
      PDF Office/PDF Master/Class/PDFTools/Convert/Library/libonnxruntime.1.12.0.dylib
  9. BIN
      PDF Office/PDF Master/Class/PDFTools/Convert/Library/libopencv_world.4.2.0.dylib
  10. BIN
      PDF Office/PDF Master/Class/PDFTools/Convert/Library/libopencv_world.4.2.dylib
  11. BIN
      PDF Office/PDF Master/Class/PDFTools/Convert/Library/libopencv_world.dylib
  12. BIN
      PDF Office/PDF Master/Class/PDFTools/Convert/Library/libpaddle2onnx.1.0.5.dylib
  13. 28 1
      PDF Office/PDF Master/Class/PDFTools/Convert/View/KMConvertOCRSettingItemView.swift
  14. 20 0
      PDF Office/PDF Master/Class/Resource Download/KMResourceDownload.h
  15. 117 0
      PDF Office/PDF Master/Class/Resource Download/KMResourceDownload.m
  16. 1 0
      PDF Office/PDF Master/PDF_Master DMG-Bridging-Header.h
  17. 1 0
      PDF Office/PDF Master/PDF_Master-Bridging-Header.h
  18. 1 0
      PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Headers
  19. 1 0
      PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Modules
  20. 1 0
      PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Resources
  21. 165 0
      PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/Headers/SSZipArchive.h
  22. 71 0
      PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/Headers/SSZipCommon.h
  23. 25 0
      PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/Headers/ZipArchive.h
  24. 6 0
      PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/Modules/module.modulemap
  25. 48 0
      PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/Resources/Info.plist
  26. BIN
      PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/ZipArchive
  27. 1 0
      PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/Current
  28. 1 0
      PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/ZipArchive

+ 87 - 60
PDF Office/PDF Master.xcodeproj/project.pbxproj

@@ -1042,6 +1042,9 @@
 		9FBC48BF299E23B100CA39D7 /* NSViewController+DesignToken.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FBC48BE299E23B100CA39D7 /* NSViewController+DesignToken.swift */; };
 		9FBC48C0299E23B100CA39D7 /* NSViewController+DesignToken.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FBC48BE299E23B100CA39D7 /* NSViewController+DesignToken.swift */; };
 		9FBC48C1299E23B100CA39D7 /* NSViewController+DesignToken.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FBC48BE299E23B100CA39D7 /* NSViewController+DesignToken.swift */; };
+		9FC444F72AA5F62200D7187C /* KMResourceDownload.m in Sources */ = {isa = PBXBuildFile; fileRef = 9FC444F42AA5E82700D7187C /* KMResourceDownload.m */; };
+		9FC444FA2AA61EDE00D7187C /* ZipArchive.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 9FC444F82AA5F7D600D7187C /* ZipArchive.framework */; };
+		9FC444FB2AA61EDE00D7187C /* ZipArchive.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 9FC444F82AA5F7D600D7187C /* ZipArchive.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
 		9FD0FA2929CD3ED400F2AB0D /* KMRightSideEmptyVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FD0FA2729CD3ED400F2AB0D /* KMRightSideEmptyVC.swift */; };
 		9FD0FA2A29CD3ED400F2AB0D /* KMRightSideEmptyVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FD0FA2729CD3ED400F2AB0D /* KMRightSideEmptyVC.swift */; };
 		9FD0FA2B29CD3ED400F2AB0D /* KMRightSideEmptyVC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9FD0FA2729CD3ED400F2AB0D /* KMRightSideEmptyVC.swift */; };
@@ -2808,30 +2811,10 @@
 		BB99ACD2292E2AEF0048AFD9 /* KMMergeCollectionViewItem.xib in Resources */ = {isa = PBXBuildFile; fileRef = BB99ACCE292E2AEF0048AFD9 /* KMMergeCollectionViewItem.xib */; };
 		BB99ACD3292E2AEF0048AFD9 /* KMMergeCollectionViewItem.xib in Resources */ = {isa = PBXBuildFile; fileRef = BB99ACCE292E2AEF0048AFD9 /* KMMergeCollectionViewItem.xib */; };
 		BB99ACD4292E2AEF0048AFD9 /* KMMergeCollectionViewItem.xib in Resources */ = {isa = PBXBuildFile; fileRef = BB99ACCE292E2AEF0048AFD9 /* KMMergeCollectionViewItem.xib */; };
-		BB9DCC802A09FC750024A6F1 /* libopencv_world.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7A2A09FC720024A6F1 /* libopencv_world.dylib */; };
-		BB9DCC812A09FC760024A6F1 /* libopencv_world.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7A2A09FC720024A6F1 /* libopencv_world.dylib */; };
-		BB9DCC822A09FC760024A6F1 /* libopencv_world.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7A2A09FC720024A6F1 /* libopencv_world.dylib */; };
-		BB9DCC832A09FC760024A6F1 /* libopencv_world.4.2.0.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7B2A09FC720024A6F1 /* libopencv_world.4.2.0.dylib */; };
-		BB9DCC842A09FC760024A6F1 /* libopencv_world.4.2.0.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7B2A09FC720024A6F1 /* libopencv_world.4.2.0.dylib */; };
-		BB9DCC852A09FC760024A6F1 /* libopencv_world.4.2.0.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7B2A09FC720024A6F1 /* libopencv_world.4.2.0.dylib */; };
-		BB9DCC862A09FC760024A6F1 /* libDocumentAI.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7C2A09FC730024A6F1 /* libDocumentAI.dylib */; };
-		BB9DCC872A09FC760024A6F1 /* libDocumentAI.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7C2A09FC730024A6F1 /* libDocumentAI.dylib */; };
-		BB9DCC882A09FC760024A6F1 /* libDocumentAI.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7C2A09FC730024A6F1 /* libDocumentAI.dylib */; };
 		BB9DCC892A09FC760024A6F1 /* libopencv_world.4.2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7D2A09FC740024A6F1 /* libopencv_world.4.2.dylib */; };
 		BB9DCC8A2A09FC770024A6F1 /* libopencv_world.4.2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7D2A09FC740024A6F1 /* libopencv_world.4.2.dylib */; };
 		BB9DCC8B2A09FC770024A6F1 /* libopencv_world.4.2.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7D2A09FC740024A6F1 /* libopencv_world.4.2.dylib */; };
-		BB9DCC8C2A09FC770024A6F1 /* libpaddle2onnx.1.0.5.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7E2A09FC740024A6F1 /* libpaddle2onnx.1.0.5.dylib */; };
-		BB9DCC8D2A09FC770024A6F1 /* libpaddle2onnx.1.0.5.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7E2A09FC740024A6F1 /* libpaddle2onnx.1.0.5.dylib */; };
-		BB9DCC8E2A09FC770024A6F1 /* libpaddle2onnx.1.0.5.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7E2A09FC740024A6F1 /* libpaddle2onnx.1.0.5.dylib */; };
-		BB9DCC8F2A09FC770024A6F1 /* libonnxruntime.1.12.0.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7F2A09FC750024A6F1 /* libonnxruntime.1.12.0.dylib */; };
-		BB9DCC902A09FC770024A6F1 /* libonnxruntime.1.12.0.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7F2A09FC750024A6F1 /* libonnxruntime.1.12.0.dylib */; };
-		BB9DCC912A09FC780024A6F1 /* libonnxruntime.1.12.0.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7F2A09FC750024A6F1 /* libonnxruntime.1.12.0.dylib */; };
-		BB9DCC922A09FCA00024A6F1 /* libpaddle2onnx.1.0.5.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7E2A09FC740024A6F1 /* libpaddle2onnx.1.0.5.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
-		BB9DCC932A09FCA30024A6F1 /* libopencv_world.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7A2A09FC720024A6F1 /* libopencv_world.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
 		BB9DCC942A09FCA50024A6F1 /* libopencv_world.4.2.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7D2A09FC740024A6F1 /* libopencv_world.4.2.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
-		BB9DCC952A09FCA80024A6F1 /* libopencv_world.4.2.0.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7B2A09FC720024A6F1 /* libopencv_world.4.2.0.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
-		BB9DCC962A09FCAA0024A6F1 /* libonnxruntime.1.12.0.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7F2A09FC750024A6F1 /* libonnxruntime.1.12.0.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
-		BB9DCC972A09FCAC0024A6F1 /* libDocumentAI.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7C2A09FC730024A6F1 /* libDocumentAI.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
 		BB9DCC9A2A0A10410024A6F1 /* ComDocumentAIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC982A0A10400024A6F1 /* ComDocumentAIKit.framework */; };
 		BB9DCC9C2A0A104E0024A6F1 /* ComDocumentAIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC982A0A10400024A6F1 /* ComDocumentAIKit.framework */; };
 		BB9DCC9D2A0A104E0024A6F1 /* ComDocumentAIKit.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC982A0A10400024A6F1 /* ComDocumentAIKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
@@ -3122,12 +3105,7 @@
 		BBD1F79C296FF7A600343885 /* KMPageEditSplitSettingModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = BBD1F79B296FF7A600343885 /* KMPageEditSplitSettingModel.swift */; };
 		BBD1F79D296FF7A600343885 /* KMPageEditSplitSettingModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = BBD1F79B296FF7A600343885 /* KMPageEditSplitSettingModel.swift */; };
 		BBD1F79E296FF7A600343885 /* KMPageEditSplitSettingModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = BBD1F79B296FF7A600343885 /* KMPageEditSplitSettingModel.swift */; };
-		BBD54EC72A1C53A10012A230 /* libDocumentAI.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7C2A09FC730024A6F1 /* libDocumentAI.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
-		BBD54EC82A1C53A30012A230 /* libonnxruntime.1.12.0.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7F2A09FC750024A6F1 /* libonnxruntime.1.12.0.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
-		BBD54EC92A1C53A50012A230 /* libopencv_world.4.2.0.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7B2A09FC720024A6F1 /* libopencv_world.4.2.0.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
 		BBD54ECA2A1C53A80012A230 /* libopencv_world.4.2.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7D2A09FC740024A6F1 /* libopencv_world.4.2.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
-		BBD54ECB2A1C53AA0012A230 /* libopencv_world.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7A2A09FC720024A6F1 /* libopencv_world.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
-		BBD54ECC2A1C53AC0012A230 /* libpaddle2onnx.1.0.5.dylib in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC7E2A09FC740024A6F1 /* libpaddle2onnx.1.0.5.dylib */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
 		BBD54ECD2A1C53B20012A230 /* ComDocumentAIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC982A0A10400024A6F1 /* ComDocumentAIKit.framework */; };
 		BBD54ECE2A1C53B20012A230 /* ComDocumentAIKit.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = BB9DCC982A0A10400024A6F1 /* ComDocumentAIKit.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
 		BBD54ED42A1CBD720012A230 /* NSView+KMExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = BBD54ED32A1CBD720012A230 /* NSView+KMExtension.swift */; };
@@ -3549,21 +3527,16 @@
 			dstPath = "";
 			dstSubfolderSpec = 10;
 			files = (
-				BB9DCC932A09FCA30024A6F1 /* libopencv_world.dylib in Embed Frameworks */,
 				ADA08A8729F14336009B2A7B /* ComPDFKit_Conversion.framework in Embed Frameworks */,
 				AD8DD29E2A97249A007CC9D0 /* libDocumentAI.3.2.2.dylib in Embed Frameworks */,
 				ADE3C1CD29A5A7EE00793B13 /* AFNetworking.framework in Embed Frameworks */,
 				AD8DD2A02A97249D007CC9D0 /* libpaddle2onnx.1.0.7.dylib in Embed Frameworks */,
-				BB9DCC922A09FCA00024A6F1 /* libpaddle2onnx.1.0.5.dylib in Embed Frameworks */,
 				AD8DD29F2A97249B007CC9D0 /* libonnxruntime.1.14.1.dylib in Embed Frameworks */,
-				BB9DCC962A09FCAA0024A6F1 /* libonnxruntime.1.12.0.dylib in Embed Frameworks */,
-				BB9DCC972A09FCAC0024A6F1 /* libDocumentAI.dylib in Embed Frameworks */,
 				BB9DCC9D2A0A104E0024A6F1 /* ComDocumentAIKit.framework in Embed Frameworks */,
 				89752DAC2936ECED003FF08E /* Masonry.framework in Embed Frameworks */,
 				ADE3C1D629A5A91C00793B13 /* KMAdvertisement.framework in Embed Frameworks */,
 				ADA08A8529F1430E009B2A7B /* ComPDFKit.framework in Embed Frameworks */,
 				BBB9B33A299A5FD1004F3235 /* ObjectiveDropboxOfficial.framework in Embed Frameworks */,
-				BB9DCC952A09FCA80024A6F1 /* libopencv_world.4.2.0.dylib in Embed Frameworks */,
 				BB9DCC942A09FCA50024A6F1 /* libopencv_world.4.2.dylib in Embed Frameworks */,
 			);
 			name = "Embed Frameworks";
@@ -3587,21 +3560,17 @@
 			dstSubfolderSpec = 10;
 			files = (
 				BBD7FE022A13211700F96075 /* KMAdvertisement.framework in Embed Frameworks */,
-				BBD54EC82A1C53A30012A230 /* libonnxruntime.1.12.0.dylib in Embed Frameworks */,
 				BBD7FDFE2A13210A00F96075 /* ComPDFKit_Conversion.framework in Embed Frameworks */,
 				9F00CCC12A2F251800AC462E /* Sparkle.framework in Embed Frameworks */,
+				9FC444FB2AA61EDE00D7187C /* ZipArchive.framework in Embed Frameworks */,
 				89752DA82936ECE4003FF08E /* Masonry.framework in Embed Frameworks */,
 				BBD7FDFC2A13210700F96075 /* AFNetworking.framework in Embed Frameworks */,
-				BBD54ECB2A1C53AA0012A230 /* libopencv_world.dylib in Embed Frameworks */,
 				BBD54ECE2A1C53B20012A230 /* ComDocumentAIKit.framework in Embed Frameworks */,
 				BB88401F2A132C6B0062446B /* ObjectiveDropboxOfficial.framework in Embed Frameworks */,
 				BBD54ECA2A1C53A80012A230 /* libopencv_world.4.2.dylib in Embed Frameworks */,
 				BBD7FE002A13210C00F96075 /* ComPDFKit.framework in Embed Frameworks */,
-				BBD54EC92A1C53A50012A230 /* libopencv_world.4.2.0.dylib in Embed Frameworks */,
 				AD61B7B02A9DD07300D346C1 /* libpaddle2onnx.1.0.7.dylib in Embed Frameworks */,
 				AD61B7AF2A9DD06F00D346C1 /* libonnxruntime.1.14.1.dylib in Embed Frameworks */,
-				BBD54ECC2A1C53AC0012A230 /* libpaddle2onnx.1.0.5.dylib in Embed Frameworks */,
-				BBD54EC72A1C53A10012A230 /* libDocumentAI.dylib in Embed Frameworks */,
 				AD61B7AE2A9DD06C00D346C1 /* libDocumentAI.3.2.2.dylib in Embed Frameworks */,
 			);
 			name = "Embed Frameworks";
@@ -4062,6 +4031,9 @@
 		9FBC48BE299E23B100CA39D7 /* NSViewController+DesignToken.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "NSViewController+DesignToken.swift"; sourceTree = "<group>"; };
 		9FBDA7282A4D32A500A972F3 /* KMWebsocket.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMWebsocket.swift; sourceTree = "<group>"; };
 		9FBDA72C2A4D532700A972F3 /* KMWebsocketManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMWebsocketManager.swift; sourceTree = "<group>"; };
+		9FC444F42AA5E82700D7187C /* KMResourceDownload.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KMResourceDownload.m; sourceTree = "<group>"; };
+		9FC444F52AA5E82700D7187C /* KMResourceDownload.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = KMResourceDownload.h; sourceTree = "<group>"; };
+		9FC444F82AA5F7D600D7187C /* ZipArchive.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = ZipArchive.framework; sourceTree = "<group>"; };
 		9FD0FA2729CD3ED400F2AB0D /* KMRightSideEmptyVC.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMRightSideEmptyVC.swift; sourceTree = "<group>"; };
 		9FD0FA2829CD3ED400F2AB0D /* KMRightSideEmptyVC.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KMRightSideEmptyVC.xib; sourceTree = "<group>"; };
 		9FD0FA2F29CD947000F2AB0D /* KMOpacityPanel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMOpacityPanel.swift; sourceTree = "<group>"; };
@@ -4761,12 +4733,7 @@
 		BB99ACC9292DEE6E0048AFD9 /* KMMergeTitleBar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMMergeTitleBar.swift; sourceTree = "<group>"; };
 		BB99ACCD292E2AEF0048AFD9 /* KMMergeCollectionViewItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMMergeCollectionViewItem.swift; sourceTree = "<group>"; };
 		BB99ACCE292E2AEF0048AFD9 /* KMMergeCollectionViewItem.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KMMergeCollectionViewItem.xib; sourceTree = "<group>"; };
-		BB9DCC7A2A09FC720024A6F1 /* libopencv_world.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; path = libopencv_world.dylib; sourceTree = "<group>"; };
-		BB9DCC7B2A09FC720024A6F1 /* libopencv_world.4.2.0.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; path = libopencv_world.4.2.0.dylib; sourceTree = "<group>"; };
-		BB9DCC7C2A09FC730024A6F1 /* libDocumentAI.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; path = libDocumentAI.dylib; sourceTree = "<group>"; };
 		BB9DCC7D2A09FC740024A6F1 /* libopencv_world.4.2.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; path = libopencv_world.4.2.dylib; sourceTree = "<group>"; };
-		BB9DCC7E2A09FC740024A6F1 /* libpaddle2onnx.1.0.5.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; path = libpaddle2onnx.1.0.5.dylib; sourceTree = "<group>"; };
-		BB9DCC7F2A09FC750024A6F1 /* libonnxruntime.1.12.0.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; path = libonnxruntime.1.12.0.dylib; sourceTree = "<group>"; };
 		BB9DCC982A0A10400024A6F1 /* ComDocumentAIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = ComDocumentAIKit.framework; sourceTree = "<group>"; };
 		BB9DCC9E2A0A2B0A0024A6F1 /* KMConvertSettingView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMConvertSettingView.swift; sourceTree = "<group>"; };
 		BB9E2F722A495BCD000DC68D /* KMConvertSettingLimitTipView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = KMConvertSettingLimitTipView.swift; sourceTree = "<group>"; };
@@ -5086,10 +5053,8 @@
 				9F00CF6D2A386D8D00AC462E /* PromisesObjC.framework in Frameworks */,
 				9F00CF502A38655500AC462E /* FirebaseAnalytics.framework in Frameworks */,
 				9F00CF602A386C7400AC462E /* FirebaseInstallations.framework in Frameworks */,
-				BB9DCC8F2A09FC770024A6F1 /* libonnxruntime.1.12.0.dylib in Frameworks */,
 				BBF5D4A62A5FD2A500D09418 /* AppCenterCrashes.framework in Frameworks */,
 				BB9DCC892A09FC760024A6F1 /* libopencv_world.4.2.dylib in Frameworks */,
-				BB9DCC802A09FC750024A6F1 /* libopencv_world.dylib in Frameworks */,
 				ADE3C1CC29A5A7EE00793B13 /* AFNetworking.framework in Frameworks */,
 				BBB9B339299A5FD1004F3235 /* ObjectiveDropboxOfficial.framework in Frameworks */,
 				ADE3C1D529A5A91C00793B13 /* KMAdvertisement.framework in Frameworks */,
@@ -5107,13 +5072,10 @@
 				9F00CF5C2A386B3F00AC462E /* SystemConfiguration.framework in Frameworks */,
 				AD8DD2972A97248E007CC9D0 /* libonnxruntime.1.14.1.dylib in Frameworks */,
 				ADA08A8429F1430E009B2A7B /* ComPDFKit.framework in Frameworks */,
-				BB9DCC862A09FC760024A6F1 /* libDocumentAI.dylib in Frameworks */,
 				9F00CF4D2A38655500AC462E /* FirebaseCore.framework in Frameworks */,
 				9F00CF582A3866E800AC462E /* GoogleUtilities.framework in Frameworks */,
-				BB9DCC832A09FC760024A6F1 /* libopencv_world.4.2.0.dylib in Frameworks */,
 				9F00CF7A2A386DC400AC462E /* FirebaseCoreDiagnostics.framework in Frameworks */,
 				9F00CF802A386DC500AC462E /* GoogleDataTransport.framework in Frameworks */,
-				BB9DCC8C2A09FC770024A6F1 /* libpaddle2onnx.1.0.5.dylib in Frameworks */,
 				ADA08A8629F14336009B2A7B /* ComPDFKit_Conversion.framework in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
@@ -5138,11 +5100,9 @@
 			files = (
 				9F00CF682A386D8D00AC462E /* nanopb.framework in Frameworks */,
 				9F00CF512A38655500AC462E /* FirebaseAnalytics.framework in Frameworks */,
-				BB9DCC902A09FC770024A6F1 /* libonnxruntime.1.12.0.dylib in Frameworks */,
 				BB9DCC8A2A09FC770024A6F1 /* libopencv_world.4.2.dylib in Frameworks */,
 				AD8DD2942A972486007CC9D0 /* libDocumentAI.3.2.2.dylib in Frameworks */,
 				AD8DD29C2A972492007CC9D0 /* libpaddle2onnx.1.0.7.dylib in Frameworks */,
-				BB9DCC812A09FC760024A6F1 /* libopencv_world.dylib in Frameworks */,
 				ADE3C1C929A5A75E00793B13 /* AFNetworking.framework in Frameworks */,
 				9F00CF612A386C7400AC462E /* FirebaseInstallations.framework in Frameworks */,
 				9F00CF7B2A386DC500AC462E /* FirebaseCoreDiagnostics.framework in Frameworks */,
@@ -5154,14 +5114,11 @@
 				89D9896428FD23B8003A3E87 /* PDFKit.framework in Frameworks */,
 				ADA08A7E29F13EA0009B2A7B /* ComPDFKit.framework in Frameworks */,
 				89752DA92936ECE9003FF08E /* Masonry.framework in Frameworks */,
-				BB9DCC872A09FC760024A6F1 /* libDocumentAI.dylib in Frameworks */,
 				9F00CF4E2A38655500AC462E /* FirebaseCore.framework in Frameworks */,
 				9F00CF7E2A386DC500AC462E /* GoogleAppMeasurementIdentitySupport.framework in Frameworks */,
 				AD8DD2982A97248E007CC9D0 /* libonnxruntime.1.14.1.dylib in Frameworks */,
 				9F00CF592A3866E900AC462E /* GoogleUtilities.framework in Frameworks */,
-				BB9DCC842A09FC760024A6F1 /* libopencv_world.4.2.0.dylib in Frameworks */,
 				9F00CF812A386DC500AC462E /* GoogleDataTransport.framework in Frameworks */,
-				BB9DCC8D2A09FC770024A6F1 /* libpaddle2onnx.1.0.5.dylib in Frameworks */,
 				ADA08A8229F13EE1009B2A7B /* ComPDFKit_Conversion.framework in Frameworks */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
@@ -5185,13 +5142,11 @@
 			buildActionMask = 2147483647;
 			files = (
 				9F00CF7F2A386DC500AC462E /* GoogleAppMeasurementIdentitySupport.framework in Frameworks */,
-				BB9DCC912A09FC780024A6F1 /* libonnxruntime.1.12.0.dylib in Frameworks */,
 				9F00CF7C2A386DC500AC462E /* FirebaseCoreDiagnostics.framework in Frameworks */,
 				9F00CCC52A2F2E2400AC462E /* AppCenter.framework in Frameworks */,
 				9F00CF6F2A386D8D00AC462E /* PromisesObjC.framework in Frameworks */,
 				BB9DCC8B2A09FC770024A6F1 /* libopencv_world.4.2.dylib in Frameworks */,
 				9F00CF692A386D8D00AC462E /* nanopb.framework in Frameworks */,
-				BB9DCC822A09FC760024A6F1 /* libopencv_world.dylib in Frameworks */,
 				9F00CF522A38655500AC462E /* FirebaseAnalytics.framework in Frameworks */,
 				BBD7FDFB2A13210700F96075 /* AFNetworking.framework in Frameworks */,
 				9F00CF5A2A3866E900AC462E /* GoogleUtilities.framework in Frameworks */,
@@ -5199,15 +5154,13 @@
 				89752DA72936ECE4003FF08E /* Masonry.framework in Frameworks */,
 				BBD54ECD2A1C53B20012A230 /* ComDocumentAIKit.framework in Frameworks */,
 				9F00CCC02A2F251800AC462E /* Sparkle.framework in Frameworks */,
-				BB9DCC882A09FC760024A6F1 /* libDocumentAI.dylib in Frameworks */,
 				9F00CCC62A2F2E2400AC462E /* AppCenterAnalytics.framework in Frameworks */,
 				9F00CF822A386DC500AC462E /* GoogleDataTransport.framework in Frameworks */,
 				9F00CCC72A2F2E2400AC462E /* AppCenterCrashes.framework in Frameworks */,
-				BB9DCC852A09FC760024A6F1 /* libopencv_world.4.2.0.dylib in Frameworks */,
 				AD8DD2992A97248E007CC9D0 /* libonnxruntime.1.14.1.dylib in Frameworks */,
 				AD8DD2952A972486007CC9D0 /* libDocumentAI.3.2.2.dylib in Frameworks */,
+				9FC444FA2AA61EDE00D7187C /* ZipArchive.framework in Frameworks */,
 				9F00CF792A386DC400AC462E /* GoogleAppMeasurement.framework in Frameworks */,
-				BB9DCC8E2A09FC770024A6F1 /* libpaddle2onnx.1.0.5.dylib in Frameworks */,
 				BBD7FDFF2A13210C00F96075 /* ComPDFKit.framework in Frameworks */,
 				9F00CF622A386C7400AC462E /* FirebaseInstallations.framework in Frameworks */,
 				BB88401E2A132C6B0062446B /* ObjectiveDropboxOfficial.framework in Frameworks */,
@@ -5351,6 +5304,7 @@
 		89752DA22936ECD5003FF08E /* Third Pard Library */ = {
 			isa = PBXGroup;
 			children = (
+				9FC444F82AA5F7D600D7187C /* ZipArchive.framework */,
 				AD032CB62A4E6A7E00F1D745 /* Starscream.framework */,
 				9F00CF4A2A38655300AC462E /* FirebaseAnalytics */,
 				9F00CCC22A2F2E2300AC462E /* AppCenter.framework */,
@@ -6163,6 +6117,16 @@
 			path = Websocket;
 			sourceTree = "<group>";
 		};
+		9FC444F32AA5E82700D7187C /* Resource Download */ = {
+			isa = PBXGroup;
+			children = (
+				9FC444F52AA5E82700D7187C /* KMResourceDownload.h */,
+				9FC444F42AA5E82700D7187C /* KMResourceDownload.m */,
+			);
+			name = "Resource Download";
+			path = "PDF Master/Class/Resource Download";
+			sourceTree = SOURCE_ROOT;
+		};
 		9FDD0F58294AB3E7000C4DAD /* ViewController */ = {
 			isa = PBXGroup;
 			children = (
@@ -8089,6 +8053,7 @@
 				BB2C6A7328F2656000478A33 /* PDFWindowController */,
 				9FBA0EE728FFC2DD001117AF /* Appearance */,
 				9FBDA7272A4D326800A972F3 /* Websocket */,
+				9FC444F32AA5E82700D7187C /* Resource Download */,
 			);
 			path = Class;
 			sourceTree = "<group>";
@@ -8660,14 +8625,9 @@
 			children = (
 				BB9DCC982A0A10400024A6F1 /* ComDocumentAIKit.framework */,
 				AD8DD2922A972486007CC9D0 /* libDocumentAI.3.2.2.dylib */,
-				BB9DCC7C2A09FC730024A6F1 /* libDocumentAI.dylib */,
 				AD8DD2962A97248E007CC9D0 /* libonnxruntime.1.14.1.dylib */,
-				BB9DCC7F2A09FC750024A6F1 /* libonnxruntime.1.12.0.dylib */,
 				AD8DD29A2A972492007CC9D0 /* libpaddle2onnx.1.0.7.dylib */,
-				BB9DCC7B2A09FC720024A6F1 /* libopencv_world.4.2.0.dylib */,
 				BB9DCC7D2A09FC740024A6F1 /* libopencv_world.4.2.dylib */,
-				BB9DCC7A2A09FC720024A6F1 /* libopencv_world.dylib */,
-				BB9DCC7E2A09FC740024A6F1 /* libpaddle2onnx.1.0.5.dylib */,
 				ADA08A8029F13EE1009B2A7B /* ComPDFKit_Conversion.framework */,
 			);
 			path = Library;
@@ -12478,6 +12438,7 @@
 				BB897260294C5DDA0045787C /* KMWatermarkPropertyInfoController.swift in Sources */,
 				BB0A55162A3052F800B6E84B /* KMCustomTextField.swift in Sources */,
 				F3732316292DF9410013862C /* CPDFTextAnnotation+PDFListView.m in Sources */,
+				9FC444F72AA5F62200D7187C /* KMResourceDownload.m in Sources */,
 				BBB1A3A029F6128200E54E47 /* KMSystemMenu.swift in Sources */,
 				9F0201882A1DA28B00C9B673 /* KMAILanguagePopVC.swift in Sources */,
 				F37322EC292DF9410013862C /* CPDFStampAnnotation+PDFListView.m in Sources */,
@@ -14130,6 +14091,30 @@
 					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
 					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
 					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFWindowController/PDFSDK",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
 				);
 				GCC_PREPROCESSOR_DEFINITIONS = (
 					"DEBUG=1",
@@ -14178,6 +14163,15 @@
 					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
 					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
 					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
 				);
 				MACOSX_DEPLOYMENT_TARGET = 11.0;
 				MARKETING_VERSION = 1.2.0;
@@ -14272,6 +14266,30 @@
 					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
 					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
 					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library/FirebaseAnalytics",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFWindowController/PDFSDK",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Third\\ Pard\\ Library",
 				);
 				GCC_PREPROCESSOR_DEFINITIONS = "VERSION_DMG=1";
 				GENERATE_INFOPLIST_FILE = YES;
@@ -14316,6 +14334,15 @@
 					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
 					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
 					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
+					"$(PROJECT_DIR)/PDF\\ Master/Class/PDFTools/Convert/Library",
 				);
 				MACOSX_DEPLOYMENT_TARGET = 11.0;
 				MARKETING_VERSION = 1.2.0;

+ 24 - 0
PDF Office/PDF Master.xcodeproj/xcuserdata/kdanwj.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Bucket
+   uuid = "A8D1F77E-FE7C-4DEF-A02B-F317BAFFC2B6"
+   type = "1"
+   version = "2.0">
+   <Breakpoints>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "AD344587-64A1-4F8E-8488-DE53BFAE67EE"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "PDF Master/Class/Resource Download/KMResourceDownload.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "28"
+            endingLineNumber = "28"
+            landmarkName = "-downloadFramework"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
+   </Breakpoints>
+</Bucket>

+ 9 - 9
PDF Office/PDF Master/Class/PDFTools/Batch/View/Choose/ConvertPDF/KMBatchConvertPDFView.xib

@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22154" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
     <dependencies>
         <deployment identifier="macosx"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22154"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
     <objects>
-        <customObject id="-2" userLabel="File's Owner" customClass="KMBatchConvertPDFView" customModule="PDF_Office" customModuleProvider="target">
+        <customObject id="-2" userLabel="File's Owner" customClass="KMBatchConvertPDFView" customModule="PDF_Master" customModuleProvider="target">
             <connections>
                 <outlet property="convertActionButton" destination="t8i-o1-Alp" id="MHl-AG-but"/>
                 <outlet property="convertButton" destination="64o-IE-4ut" id="SR5-5y-SJN"/>
@@ -29,7 +29,7 @@
                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="cil-Yp-W4m">
                             <rect key="frame" x="0.0" y="584" width="250" height="60"/>
                             <subviews>
-                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Q8R-va-r5O">
+                                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Q8R-va-r5O">
                                     <rect key="frame" x="14" y="40" width="47" height="20"/>
                                     <constraints>
                                         <constraint firstAttribute="height" constant="20" id="2Cv-hP-x8e"/>
@@ -43,7 +43,7 @@
                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="9eH-fh-he9">
                                     <rect key="frame" x="16" y="0.0" width="218" height="32"/>
                                     <subviews>
-                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="I6b-oY-jAA">
+                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="I6b-oY-jAA">
                                             <rect key="frame" x="6" y="8" width="34" height="16"/>
                                             <textFieldCell key="cell" lineBreakMode="clipping" title="word" id="NcY-rO-cuF">
                                                 <font key="font" metaFont="system"/>
@@ -96,13 +96,13 @@
                         </customView>
                         <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="t8i-o1-Alp">
                             <rect key="frame" x="16" y="16" width="218" height="32"/>
-                            <constraints>
-                                <constraint firstAttribute="height" constant="32" id="mRK-kE-s49"/>
-                            </constraints>
                             <buttonCell key="cell" type="square" title="Convert" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="sfu-AN-zAL">
                                 <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                 <font key="font" metaFont="system"/>
                             </buttonCell>
+                            <constraints>
+                                <constraint firstAttribute="height" constant="32" id="mRK-kE-s49"/>
+                            </constraints>
                             <connections>
                                 <action selector="convertAction:" target="-2" id="N5z-e7-7eC"/>
                             </connections>
@@ -116,7 +116,7 @@
                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="aCo-EM-LoA">
                             <rect key="frame" x="0.0" y="644" width="250" height="50"/>
                             <subviews>
-                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="X6C-S7-N1h">
+                                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="X6C-S7-N1h">
                                     <rect key="frame" x="14" y="16" width="56" height="19"/>
                                     <textFieldCell key="cell" lineBreakMode="clipping" title="Setting" id="ghU-cN-H8a">
                                         <font key="font" metaFont="system" size="16"/>

BIN
PDF Office/PDF Master/Class/PDFTools/Convert/Library/ComPDFKit_Conversion.framework/Versions/A/ComPDFKit_Conversion


+ 2 - 2
PDF Office/PDF Master/Class/PDFTools/Convert/Library/ComPDFKit_Conversion.framework/Versions/A/Resources/Info.plist

@@ -17,13 +17,13 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>1.8.0</string>
+	<string>1.8.1</string>
 	<key>CFBundleSupportedPlatforms</key>
 	<array>
 		<string>MacOSX</string>
 	</array>
 	<key>CFBundleVersion</key>
-	<string>181</string>
+	<string>180</string>
 	<key>DTCompiler</key>
 	<string>com.apple.compilers.llvm.clang.1_0</string>
 	<key>DTPlatformBuild</key>

+ 3 - 3
PDF Office/PDF Master/Class/PDFTools/Convert/Library/ComPDFKit_Conversion.framework/Versions/A/_CodeSignature/CodeResources

@@ -106,7 +106,7 @@
 		</data>
 		<key>Resources/Info.plist</key>
 		<data>
-		OkM1UoSncT07w07R9+fblzgwazk=
+		KJ4G8r07AckAft3ej8KfaWhiF6c=
 		</data>
 		<key>Resources/PDF2Excel.bundle/FPPDFInfo.plist</key>
 		<data>
@@ -1583,11 +1583,11 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			OkM1UoSncT07w07R9+fblzgwazk=
+			KJ4G8r07AckAft3ej8KfaWhiF6c=
 			</data>
 			<key>hash2</key>
 			<data>
-			6zTNAUv3h+MJx34p10Dz+LbGpwG2PK4d+5qA30k6kqY=
+			N/Ze95+Y8R8Ppbd0QpGdv9B7qxa5yhiFuUR0lipfPh4=
 			</data>
 		</dict>
 		<key>Resources/PDF2Excel.bundle/FPPDFInfo.plist</key>

BIN
PDF Office/PDF Master/Class/PDFTools/Convert/Library/libDocumentAI.dylib


BIN
PDF Office/PDF Master/Class/PDFTools/Convert/Library/libonnxruntime.1.12.0.dylib


BIN
PDF Office/PDF Master/Class/PDFTools/Convert/Library/libopencv_world.4.2.0.dylib


BIN
PDF Office/PDF Master/Class/PDFTools/Convert/Library/libopencv_world.4.2.dylib


BIN
PDF Office/PDF Master/Class/PDFTools/Convert/Library/libopencv_world.dylib


BIN
PDF Office/PDF Master/Class/PDFTools/Convert/Library/libpaddle2onnx.1.0.5.dylib


+ 28 - 1
PDF Office/PDF Master/Class/PDFTools/Convert/View/KMConvertOCRSettingItemView.swift

@@ -4,7 +4,6 @@
 //
 //  Created by tangchao on 2022/12/6.
 //
-
 class KMConvertOCRSettingItemView: KMConvertBaseView {
     @IBOutlet weak var titleLabel: NSTextField!
     @IBOutlet weak var checkBox: NSBox!
@@ -77,11 +76,39 @@ class KMConvertOCRSettingItemView: KMConvertBaseView {
     }
     
     @objc func checkBoxAction(sender: NSButton) {
+//        let isExist = KMResourceDownload().documentAIBundleIsExist()
+//        if isExist || self._checkVC?.state == .Checked {
+//            if let state = self._checkVC?.state {
+//                self._checkVC?.state = state == .Checked ? .Norm : .Checked
+//            }
+//            
+//            self._checkAction()
+//        } else {
+//            let alert = NSAlert()
+//            alert.messageText = NSLocalizedString("Do you want to download resources?", comment: "")
+//            alert.informativeText = NSLocalizedString("Additional resource pack download is required to use OCR. Do you want to continue?", comment: "")
+//            alert.addButton(withTitle: NSLocalizedString("Yes", comment: ""))
+//            alert.addButton(withTitle: NSLocalizedString("No", comment: ""))
+//            alert.beginSheetModal(for: self.window!) { [unowned self] result in
+//                if (result == .alertFirstButtonReturn) { /// 取消
+//                    KMResourceDownload().downloadFramework()
+//                    
+//                    if let state = self._checkVC?.state {
+//                        self._checkVC?.state = state == .Checked ? .Norm : .Checked
+//                    }
+//                    
+//                    self._checkAction()
+//                } else if result == .alertSecondButtonReturn {
+//                    return
+//                }
+//            }
+//        }
         if let state = self._checkVC?.state {
             self._checkVC?.state = state == .Checked ? .Norm : .Checked
         }
         
         self._checkAction()
+
     }
     
     public func checkAction() {

+ 20 - 0
PDF Office/PDF Master/Class/Resource Download/KMResourceDownload.h

@@ -0,0 +1,20 @@
+//
+//  KMResourceDownload.h
+//  PDF Master DMG
+//
+//  Created by wanjun on 2023/8/1.
+//
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface KMResourceDownload : NSObject
+
+- (void)downloadFramework;
+
+- (BOOL)documentAIBundleIsExist;
+
+@end
+
+NS_ASSUME_NONNULL_END

+ 117 - 0
PDF Office/PDF Master/Class/Resource Download/KMResourceDownload.m

@@ -0,0 +1,117 @@
+//
+//  KMResourceDownload.m
+//  PDF Master DMG
+//
+//  Created by wanjun on 2023/8/1.
+//
+
+#import "KMResourceDownload.h"
+#import <ZipArchive/ZipArchive.h>
+//#if __has_include(<DateTools/DateTools.h>)
+//    #import <DateTools/DateTools.h>
+//    #define HAS_DOCUMENTAI_FRAMEWORK 1
+//#else
+//    #define HAS_DOCUMENTAI_FRAMEWORK 0
+//#endif
+
+@implementation KMResourceDownload
+
+- (void)downloadFramework {
+    
+    NSString *urlString = @"http://test-pdf-pro.kdan.cn:3021/downloads/DocumentAI.bundle.zip";
+    NSURL *url = [NSURL URLWithString:urlString];
+    
+    NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
+    NSURLSession *session = [NSURLSession sessionWithConfiguration:configuration];
+    
+    NSURLSessionDownloadTask *downloadTask = [session downloadTaskWithURL:url completionHandler:^(NSURL * _Nullable location, NSURLResponse * _Nullable response, NSError * _Nullable error) {
+        if (error) {
+            NSLog(@"Failed to download framework: %@", error);
+            return;
+        }
+        
+        // Move the downloaded file to APP Contents/Frameworks folder
+        NSFileManager *fileManager = [NSFileManager defaultManager];
+        NSString *frameworksDirectory = [[NSBundle mainBundle] privateFrameworksPath];
+        NSString *destinationPath = [frameworksDirectory stringByAppendingPathComponent:@"DocumentAI.bundle.zip"];
+        
+        NSError *moveError = nil;
+        [fileManager moveItemAtURL:location toURL:[NSURL fileURLWithPath:destinationPath] error:&moveError];
+        if (moveError) {
+            NSLog(@"Failed to move framework: %@", moveError);
+            return;
+        }
+        
+        NSLog(@"Framework downloaded and installed successfully!");
+        
+        // 解压 framework 文件
+        [self unzipFrameworkAtURL:[NSURL fileURLWithPath:destinationPath] toDestination:frameworksDirectory];
+        
+        // 加载 framework 文件
+        [self loadFramework:[frameworksDirectory stringByAppendingPathComponent:@"DocumentAI.bundle"]];
+
+    }];
+    
+    [downloadTask resume];
+
+}
+
+// 解压 framework 文件
+- (void)unzipFrameworkAtURL:(NSURL *)zipURL toDestination:(NSString *)destinationPath {
+    // 解压逻辑,使用 Foundation 框架的 NSFileManager 或其他解压库
+    NSFileManager *fileManager = [NSFileManager defaultManager];
+    // 根据压缩文件类型选择解压方法
+    BOOL success = NO;
+    if ([zipURL.path.pathExtension isEqualToString:@"zip"]) {
+        // 使用系统自带的解压方法,需要引入 libz.tbd 库
+        success = [SSZipArchive unzipFileAtPath:zipURL.path
+                                     toDestination:destinationPath];
+    } else {
+        // 如果是其他类型的压缩文件,可以使用第三方库,如 SSZipArchive 等进行解压
+        // success = [SSZipArchive unzipFileAtPath:tempFilePath toDestination:destinationPath];
+    }
+    
+    if (success) {
+        NSLog(@"File unzipped successfully!");
+        [fileManager removeItemAtPath:zipURL.path error:nil];
+
+    } else {
+        NSLog(@"Failed to unzip file.");
+    }
+}
+
+// 加载 framework 文件
+- (void)loadFramework:(NSString *)destinationPath {
+    NSError *error = nil;
+
+    NSBundle *frameworkBundle = [NSBundle bundleWithPath:destinationPath];
+    if (![frameworkBundle loadAndReturnError:&error]) {
+        NSLog(@"Error loading bundle: %@", error);
+        return;
+    }
+    
+    // 使用 framework 中的代码和资源
+//#if HAS_DOCUMENTAI_FRAMEWORK
+//    NSDate *selectedDate = [NSDate dateWithTimeIntervalSinceNow:-24*60*60*6+100];
+//    NSString *week = [NSDate weekTimeAgoSinceDate:selectedDate];
+//    NSLog(@"week == %@", week);
+//#else
+//    // 其他处理或者警告用户没有导入 SomeFramework
+//    NSLog(@"没有库");
+//#endif
+}
+
+- (BOOL)documentAIBundleIsExist {
+    NSError *error = nil;
+
+    NSString *frameworksDirectory = [[NSBundle mainBundle] privateFrameworksPath];
+    NSBundle *frameworkBundle = [NSBundle bundleWithPath:[frameworksDirectory stringByAppendingPathComponent:@"DocumentAI.bundle"]];
+    if (![frameworkBundle loadAndReturnError:&error]) {
+        NSLog(@"Error loading bundle: %@", error);
+        return NO;
+    }
+
+    return YES;
+}
+
+@end

+ 1 - 0
PDF Office/PDF Master/PDF_Master DMG-Bridging-Header.h

@@ -84,3 +84,4 @@
 #import "CPDFListView+Extension.h"
 #import "KMSignatureHelpViewController.h"
 #import <Sparkle/Sparkle.h>
+#import "KMResourceDownload.h"

+ 1 - 0
PDF Office/PDF Master/PDF_Master-Bridging-Header.h

@@ -82,3 +82,4 @@
 #import "KMCoverButton.h"
 #import "CPDFListView+Extension.h"
 #import "KMSignatureHelpViewController.h"
+#import "KMResourceDownload.h"

+ 1 - 0
PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Headers

@@ -0,0 +1 @@
+Versions/Current/Headers

+ 1 - 0
PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Modules

@@ -0,0 +1 @@
+Versions/Current/Modules

+ 1 - 0
PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Resources

@@ -0,0 +1 @@
+Versions/Current/Resources

+ 165 - 0
PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/Headers/SSZipArchive.h

@@ -0,0 +1,165 @@
+//
+//  SSZipArchive.h
+//  SSZipArchive
+//
+//  Created by Sam Soffes on 7/21/10.
+//
+
+#ifndef _SSZIPARCHIVE_H
+#define _SSZIPARCHIVE_H
+
+#import <Foundation/Foundation.h>
+
+#import "SSZipCommon.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+extern NSString *const SSZipArchiveErrorDomain;
+typedef NS_ENUM(NSInteger, SSZipArchiveErrorCode) {
+    SSZipArchiveErrorCodeFailedOpenZipFile      = -1,
+    SSZipArchiveErrorCodeFailedOpenFileInZip    = -2,
+    SSZipArchiveErrorCodeFileInfoNotLoadable    = -3,
+    SSZipArchiveErrorCodeFileContentNotReadable = -4,
+    SSZipArchiveErrorCodeFailedToWriteFile      = -5,
+    SSZipArchiveErrorCodeInvalidArguments       = -6,
+};
+
+@protocol SSZipArchiveDelegate;
+
+@interface SSZipArchive : NSObject
+
+// Password check
++ (BOOL)isFilePasswordProtectedAtPath:(NSString *)path;
++ (BOOL)isPasswordValidForArchiveAtPath:(NSString *)path password:(NSString *)pw error:(NSError * _Nullable * _Nullable)error NS_SWIFT_NOTHROW;
+
+// Total payload size
++ (NSNumber *)payloadSizeForArchiveAtPath:(NSString *)path error:(NSError **)error;
+
+// Unzip
++ (BOOL)unzipFileAtPath:(NSString *)path toDestination:(NSString *)destination;
++ (BOOL)unzipFileAtPath:(NSString *)path toDestination:(NSString *)destination delegate:(nullable id<SSZipArchiveDelegate>)delegate;
+
++ (BOOL)unzipFileAtPath:(NSString *)path
+          toDestination:(NSString *)destination
+              overwrite:(BOOL)overwrite
+               password:(nullable NSString *)password
+                  error:(NSError * *)error;
+
++ (BOOL)unzipFileAtPath:(NSString *)path
+          toDestination:(NSString *)destination
+              overwrite:(BOOL)overwrite
+               password:(nullable NSString *)password
+                  error:(NSError * *)error
+               delegate:(nullable id<SSZipArchiveDelegate>)delegate NS_REFINED_FOR_SWIFT;
+
++ (BOOL)unzipFileAtPath:(NSString *)path
+          toDestination:(NSString *)destination
+     preserveAttributes:(BOOL)preserveAttributes
+              overwrite:(BOOL)overwrite
+               password:(nullable NSString *)password
+                  error:(NSError * *)error
+               delegate:(nullable id<SSZipArchiveDelegate>)delegate;
+
++ (BOOL)unzipFileAtPath:(NSString *)path
+          toDestination:(NSString *)destination
+        progressHandler:(void (^_Nullable)(NSString *entry, unz_file_info zipInfo, long entryNumber, long total))progressHandler
+      completionHandler:(void (^_Nullable)(NSString *path, BOOL succeeded, NSError * _Nullable error))completionHandler;
+
++ (BOOL)unzipFileAtPath:(NSString *)path
+          toDestination:(NSString *)destination
+              overwrite:(BOOL)overwrite
+               password:(nullable NSString *)password
+        progressHandler:(void (^_Nullable)(NSString *entry, unz_file_info zipInfo, long entryNumber, long total))progressHandler
+      completionHandler:(void (^_Nullable)(NSString *path, BOOL succeeded, NSError * _Nullable error))completionHandler;
+
++ (BOOL)unzipFileAtPath:(NSString *)path
+          toDestination:(NSString *)destination
+     preserveAttributes:(BOOL)preserveAttributes
+              overwrite:(BOOL)overwrite
+         nestedZipLevel:(NSInteger)nestedZipLevel
+               password:(nullable NSString *)password
+                  error:(NSError **)error
+               delegate:(nullable id<SSZipArchiveDelegate>)delegate
+        progressHandler:(void (^_Nullable)(NSString *entry, unz_file_info zipInfo, long entryNumber, long total))progressHandler
+      completionHandler:(void (^_Nullable)(NSString *path, BOOL succeeded, NSError * _Nullable error))completionHandler;
+
+// Zip
+// default compression level is Z_DEFAULT_COMPRESSION (from "zlib.h")
+// keepParentDirectory: if YES, then unzipping will give `directoryName/fileName`. If NO, then unzipping will just give `fileName`. Default is NO.
+
+// without password
++ (BOOL)createZipFileAtPath:(NSString *)path withFilesAtPaths:(NSArray<NSString *> *)paths;
++ (BOOL)createZipFileAtPath:(NSString *)path withContentsOfDirectory:(NSString *)directoryPath;
+
++ (BOOL)createZipFileAtPath:(NSString *)path withContentsOfDirectory:(NSString *)directoryPath keepParentDirectory:(BOOL)keepParentDirectory;
+
+// with optional password, default encryption is AES
+// don't use AES if you need compatibility with native macOS unzip and Archive Utility
++ (BOOL)createZipFileAtPath:(NSString *)path withFilesAtPaths:(NSArray<NSString *> *)paths withPassword:(nullable NSString *)password;
++ (BOOL)createZipFileAtPath:(NSString *)path withFilesAtPaths:(NSArray<NSString *> *)paths withPassword:(nullable NSString *)password progressHandler:(void(^ _Nullable)(NSUInteger entryNumber, NSUInteger total))progressHandler;
++ (BOOL)createZipFileAtPath:(NSString *)path withContentsOfDirectory:(NSString *)directoryPath withPassword:(nullable NSString *)password;
++ (BOOL)createZipFileAtPath:(NSString *)path withContentsOfDirectory:(NSString *)directoryPath keepParentDirectory:(BOOL)keepParentDirectory withPassword:(nullable NSString *)password;
++ (BOOL)createZipFileAtPath:(NSString *)path
+    withContentsOfDirectory:(NSString *)directoryPath
+        keepParentDirectory:(BOOL)keepParentDirectory
+               withPassword:(nullable NSString *)password
+         andProgressHandler:(void(^ _Nullable)(NSUInteger entryNumber, NSUInteger total))progressHandler;
++ (BOOL)createZipFileAtPath:(NSString *)path
+    withContentsOfDirectory:(NSString *)directoryPath
+        keepParentDirectory:(BOOL)keepParentDirectory
+           compressionLevel:(int)compressionLevel
+                   password:(nullable NSString *)password
+                        AES:(BOOL)aes
+            progressHandler:(void(^ _Nullable)(NSUInteger entryNumber, NSUInteger total))progressHandler;
+//suport symlink compress --file
++ (BOOL)createZipFileAtPath:(NSString *)path withFilesAtPaths:(NSArray<NSString *> *)paths withPassword:(nullable NSString *)password keepSymlinks:(BOOL)keeplinks;
+//suport symlink compress --directory
++ (BOOL)createZipFileAtPath:(NSString *)path
+    withContentsOfDirectory:(NSString *)directoryPath
+        keepParentDirectory:(BOOL)keepParentDirectory
+           compressionLevel:(int)compressionLevel
+                   password:(nullable NSString *)password
+                        AES:(BOOL)aes
+            progressHandler:(void(^ _Nullable)(NSUInteger entryNumber, NSUInteger total))progressHandler
+               keepSymlinks:(BOOL)keeplinks;
+
+- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)initWithPath:(NSString *)path NS_DESIGNATED_INITIALIZER;
+- (BOOL)open;
+- (BOOL)openForAppending;
+
+/// write empty folder
+- (BOOL)writeFolderAtPath:(NSString *)path withFolderName:(NSString *)folderName withPassword:(nullable NSString *)password;
+/// write file
+- (BOOL)writeFile:(NSString *)path withPassword:(nullable NSString *)password;
+- (BOOL)writeFileAtPath:(NSString *)path withFileName:(nullable NSString *)fileName withPassword:(nullable NSString *)password;
+- (BOOL)writeFileAtPath:(NSString *)path withFileName:(nullable NSString *)fileName compressionLevel:(int)compressionLevel password:(nullable NSString *)password AES:(BOOL)aes;
+///write symlink files
+- (BOOL)writeSymlinkFileAtPath:(NSString *)path withFileName:(nullable NSString *)fileName compressionLevel:(int)compressionLevel password:(nullable NSString *)password AES:(BOOL)aes;
+/// write data
+- (BOOL)writeData:(NSData *)data filename:(nullable NSString *)filename withPassword:(nullable NSString *)password;
+- (BOOL)writeData:(NSData *)data filename:(nullable NSString *)filename compressionLevel:(int)compressionLevel password:(nullable NSString *)password AES:(BOOL)aes;
+
+- (BOOL)close;
+
+@end
+
+@protocol SSZipArchiveDelegate <NSObject>
+
+@optional
+
+- (void)zipArchiveWillUnzipArchiveAtPath:(NSString *)path zipInfo:(unz_global_info)zipInfo;
+- (void)zipArchiveDidUnzipArchiveAtPath:(NSString *)path zipInfo:(unz_global_info)zipInfo unzippedPath:(NSString *)unzippedPath;
+
+- (BOOL)zipArchiveShouldUnzipFileAtIndex:(NSInteger)fileIndex totalFiles:(NSInteger)totalFiles archivePath:(NSString *)archivePath fileInfo:(unz_file_info)fileInfo;
+- (void)zipArchiveWillUnzipFileAtIndex:(NSInteger)fileIndex totalFiles:(NSInteger)totalFiles archivePath:(NSString *)archivePath fileInfo:(unz_file_info)fileInfo;
+- (void)zipArchiveDidUnzipFileAtIndex:(NSInteger)fileIndex totalFiles:(NSInteger)totalFiles archivePath:(NSString *)archivePath fileInfo:(unz_file_info)fileInfo;
+- (void)zipArchiveDidUnzipFileAtIndex:(NSInteger)fileIndex totalFiles:(NSInteger)totalFiles archivePath:(NSString *)archivePath unzippedFilePath:(NSString *)unzippedFilePath;
+
+- (void)zipArchiveProgressEvent:(unsigned long long)loaded total:(unsigned long long)total;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
+#endif /* _SSZIPARCHIVE_H */

+ 71 - 0
PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/Headers/SSZipCommon.h

@@ -0,0 +1,71 @@
+#ifndef SSZipCommon
+#define SSZipCommon
+
+// typedefs moved from mz_compat.h to here for public access
+
+/* unz_global_info structure contain global data about the ZIPfile
+ These data comes from the end of central dir */
+typedef struct unz_global_info64_s
+{
+    uint64_t number_entry;          /* total number of entries in the central dir on this disk */
+    uint32_t number_disk_with_CD;   /* number the the disk with central dir, used for spanning ZIP */
+    uint16_t size_comment;          /* size of the global comment of the zipfile */
+} unz_global_info64;
+
+
+typedef struct unz_global_info_s
+{
+    uint32_t number_entry;          /* total number of entries in the central dir on this disk */
+    uint32_t number_disk_with_CD;   /* number the the disk with central dir, used for spanning ZIP */
+    uint16_t size_comment;          /* size of the global comment of the zipfile */
+} unz_global_info;
+
+/* unz_file_info contain information about a file in the zipfile */
+/* https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT */
+typedef struct unz_file_info64_s
+{
+    uint16_t version;               /* version made by                 2 bytes */
+    uint16_t version_needed;        /* version needed to extract       2 bytes */
+    uint16_t flag;                  /* general purpose bit flag        2 bytes */
+    uint16_t compression_method;    /* compression method              2 bytes */
+    uint32_t dos_date;              /* last mod file date in Dos fmt   4 bytes */
+    struct tm tmu_date;
+    uint32_t crc;                   /* crc-32                          4 bytes */
+    uint64_t compressed_size;       /* compressed size                 8 bytes */
+    uint64_t uncompressed_size;     /* uncompressed size               8 bytes */
+    uint16_t size_filename;         /* filename length                 2 bytes */
+    uint16_t size_file_extra;       /* extra field length              2 bytes */
+    uint16_t size_file_comment;     /* file comment length             2 bytes */
+
+    uint32_t disk_num_start;        /* disk number start               4 bytes */
+    uint16_t internal_fa;           /* internal file attributes        2 bytes */
+    uint32_t external_fa;           /* external file attributes        4 bytes */
+
+    uint64_t disk_offset;
+
+    uint16_t size_file_extra_internal;
+} unz_file_info64;
+
+typedef struct unz_file_info_s
+{
+    uint16_t version;               /* version made by                 2 bytes */
+    uint16_t version_needed;        /* version needed to extract       2 bytes */
+    uint16_t flag;                  /* general purpose bit flag        2 bytes */
+    uint16_t compression_method;    /* compression method              2 bytes */
+    uint32_t dos_date;              /* last mod file date in Dos fmt   4 bytes */
+    struct tm tmu_date;
+    uint32_t crc;                   /* crc-32                          4 bytes */
+    uint32_t compressed_size;       /* compressed size                 4 bytes */
+    uint32_t uncompressed_size;     /* uncompressed size               4 bytes */
+    uint16_t size_filename;         /* filename length                 2 bytes */
+    uint16_t size_file_extra;       /* extra field length              2 bytes */
+    uint16_t size_file_comment;     /* file comment length             2 bytes */
+
+    uint16_t disk_num_start;        /* disk number start               2 bytes */
+    uint16_t internal_fa;           /* internal file attributes        2 bytes */
+    uint32_t external_fa;           /* external file attributes        4 bytes */
+
+    uint64_t disk_offset;
+} unz_file_info;
+
+#endif

+ 25 - 0
PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/Headers/ZipArchive.h

@@ -0,0 +1,25 @@
+//
+//  ZipArchive.h
+//  ZipArchive
+//
+//  Created by Serhii Mumriak on 12/1/15.
+//
+
+#import <Foundation/Foundation.h>
+
+//! Project version number for ZipArchive.
+FOUNDATION_EXPORT double ZipArchiveVersionNumber;
+
+//! Project version string for ZipArchive.
+FOUNDATION_EXPORT const unsigned char ZipArchiveVersionString[];
+
+// In this header, you should import all the public headers of your framework using statements like #import <SSZipArchive.h>
+
+// This is to account for the many different ways this library gets imported.
+#if __has_include(<SSZipArchive/SSZipArchive.h>)
+#import <SSZipArchive/SSZipArchive.h>
+#elif __has_include("../SSZipArchive.h")
+#import "../SSZipArchive.h"
+#else
+#import "SSZipArchive.h"
+#endif

+ 6 - 0
PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/Modules/module.modulemap

@@ -0,0 +1,6 @@
+framework module ZipArchive {
+  umbrella header "ZipArchive.h"
+  export *
+
+  module * { export * }
+}

+ 48 - 0
PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/Resources/Info.plist

@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>BuildMachineOSBuild</key>
+	<string>23A5337a</string>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>en</string>
+	<key>CFBundleExecutable</key>
+	<string>ZipArchive</string>
+	<key>CFBundleIdentifier</key>
+	<string>com.ziparchive.ZipArchive</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>ZipArchive</string>
+	<key>CFBundlePackageType</key>
+	<string>FMWK</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleSignature</key>
+	<string>????</string>
+	<key>CFBundleSupportedPlatforms</key>
+	<array>
+		<string>MacOSX</string>
+	</array>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+	<key>DTCompiler</key>
+	<string>com.apple.compilers.llvm.clang.1_0</string>
+	<key>DTPlatformBuild</key>
+	<string></string>
+	<key>DTPlatformName</key>
+	<string>macosx</string>
+	<key>DTPlatformVersion</key>
+	<string>14.0</string>
+	<key>DTSDKBuild</key>
+	<string>23A5334a</string>
+	<key>DTSDKName</key>
+	<string>macosx14.0</string>
+	<key>DTXcode</key>
+	<string>1500</string>
+	<key>DTXcodeBuild</key>
+	<string>15A5229m</string>
+	<key>LSMinimumSystemVersion</key>
+	<string>10.15</string>
+</dict>
+</plist>

BIN
PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/A/ZipArchive


+ 1 - 0
PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/Versions/Current

@@ -0,0 +1 @@
+A

+ 1 - 0
PDF Office/PDF Master/Third Pard Library/ZipArchive.framework/ZipArchive

@@ -0,0 +1 @@
+Versions/Current/ZipArchive