Browse Source

【SDK】ComPDFKit v2.1.3 更换
更新内容
- 分块渲染
- 渲染缓存逻辑优化
- 渲染刷新逻辑优化
- 多线程接口整理

影响范围
- 大文档渲染
- 长文档渲染
- 渲染清晰度问题优化
- 文档缩放

lizhe 3 weeks ago
parent
commit
3d271dd535
41 changed files with 5960 additions and 631 deletions
  1. BIN
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/ComPDFKit
  2. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFAnnotation.h
  3. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFDocument.h
  4. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFKitConfig+Private.h
  5. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFKitConfig.h
  6. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFKitPlatform.h
  7. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFPage.h
  8. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFSelection.h
  9. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFUtilities.h
  10. 5 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFView+Editing.h
  11. 16 1
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFView.h
  12. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/ComPDFKit.h
  13. 1 1
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Modules/module.modulemap
  14. BIN
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/Assets.car
  15. BIN
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/CPDFUnlockViewController.nib/keyedobjects-101300.nib
  16. BIN
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/CPDFUnlockViewController.nib/keyedobjects.nib
  17. 7 7
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/Info.plist
  18. BIN
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/default.metallib
  19. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/formsign_tag.png
  20. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/formsign_tag@2x.png
  21. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/loupe-hi.png
  22. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/loupe-lo.png
  23. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/loupe-mask.png
  24. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/magnifier-ranged-hi.png
  25. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/magnifier-ranged-lo.png
  26. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/magnifier-ranged-mask.png
  27. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/popup_note.png
  28. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/popup_note@2x.png
  29. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/quick_bookmark.png
  30. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/quick_bookmark~ipad.png
  31. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/recoding_on.png
  32. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/recoding_on@2x.png
  33. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/recoding_play.png
  34. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/recoding_play@2x.png
  35. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/viewer_dragDontBack.png
  36. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/viewer_dragDontBack@2x.png
  37. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/viewer_dragDontFront.png
  38. 0 0
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/viewer_dragDontFront@2x.png
  39. 21 21
      PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/_CodeSignature/CodeResources
  40. BIN
      PDF Office/PDF Master/Source/default.metallib
  41. 5910 601
      PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/lizhe.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

BIN
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/ComPDFKit


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFAnnotation.h


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFDocument.h


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFKitConfig+Private.h


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFKitConfig.h


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFKitPlatform.h


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFPage.h


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFSelection.h


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFUtilities.h


+ 5 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFView+Editing.h

@@ -99,6 +99,11 @@ typedef NS_OPTIONS(NSInteger, CEditingSelectState) {
  */
 @property (nonatomic,assign) BOOL isShowMouseAreaHover;
 
+/**
+ * Whether All EditingArea show Area Dot when enter Edit
+ */
+@property (nonatomic,assign) BOOL isShowAllEditingAreaDotHover;
+
 /**
  * Hover border color of mouse placed text block.
  */

+ 16 - 1
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/CPDFView.h

@@ -46,6 +46,18 @@ typedef NS_OPTIONS(NSInteger, CPDFAreaOfInterest) {
     CPDFImageArea =         (1UL << 8),
 };
 
+typedef NS_ENUM(NSInteger, CPDFViewScrollState) {
+    CPDFViewScrollStateBegin,
+    CPDFViewScrollStateScrolling,
+    CPDFViewScrollStateEnd,
+};
+
+typedef NS_ENUM(NSInteger, CPDFViewScaleState) {
+    CPDFViewScaleStateBegin,
+    CPDFViewScaleStateChange,
+    CPDFViewScaleStateEnd,
+};
+
 @class CPDFView, CPDFDocument, CPDFPage, CPDFSelection, CPDFFreeTextAnnotation, CPDFDestination, CPDFAction,CPDFEditArea,CPDFEditImageArea,CPDFBorder;
 
 @protocol CPDFViewDelegate <NSObject>
@@ -103,7 +115,6 @@ typedef NS_OPTIONS(NSInteger, CPDFAreaOfInterest) {
 @end
 
 @interface CPDFView : NSView
-
 #pragma mark - Document
 
 // Methods for associating a CPDFDocument with a CPDFView.
@@ -150,6 +161,10 @@ typedef NS_OPTIONS(NSInteger, CPDFAreaOfInterest) {
 // PDF displayed. For continuous modes this is a "fit width" behavior, for non-continuous modes it is a "best fit" behavior.
 @property (nonatomic,assign) BOOL autoScales;
 
+@property (nonatomic,assign) CPDFViewScrollState scrollState;
+
+@property (nonatomic,assign) CPDFViewScaleState scaleState;
+
 - (IBAction)zoomIn:(id)sender;
 @property (nonatomic, readonly) BOOL canZoomIn;
 

+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Headers/ComPDFKit.h


+ 1 - 1
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Modules/module.modulemap

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

BIN
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/Assets.car


BIN
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/CPDFUnlockViewController.nib/keyedobjects-101300.nib


BIN
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/CPDFUnlockViewController.nib/keyedobjects.nib


+ 7 - 7
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/Info.plist

@@ -3,7 +3,7 @@
 <plist version="1.0">
 <dict>
 	<key>BuildMachineOSBuild</key>
-	<string>21E230</string>
+	<string>23A344</string>
 	<key>CFBundleDevelopmentRegion</key>
 	<string>en</string>
 	<key>CFBundleExecutable</key>
@@ -27,19 +27,19 @@
 	<key>DTCompiler</key>
 	<string>com.apple.compilers.llvm.clang.1_0</string>
 	<key>DTPlatformBuild</key>
-	<string>13A233</string>
+	<string></string>
 	<key>DTPlatformName</key>
 	<string>macosx</string>
 	<key>DTPlatformVersion</key>
-	<string>11.3</string>
+	<string>14.2</string>
 	<key>DTSDKBuild</key>
-	<string>20E214</string>
+	<string>23C53</string>
 	<key>DTSDKName</key>
-	<string>macosx11.3</string>
+	<string>macosx14.2</string>
 	<key>DTXcode</key>
-	<string>1300</string>
+	<string>1520</string>
 	<key>DTXcodeBuild</key>
-	<string>13A233</string>
+	<string>15C500b</string>
 	<key>LSMinimumSystemVersion</key>
 	<string>10.11</string>
 </dict>

BIN
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/default.metallib


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/formsign_tag.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/formsign_tag@2x.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/loupe-hi.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/loupe-lo.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/loupe-mask.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/magnifier-ranged-hi.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/magnifier-ranged-lo.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/magnifier-ranged-mask.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/popup_note.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/popup_note@2x.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/quick_bookmark.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/quick_bookmark~ipad.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/recoding_on.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/recoding_on@2x.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/recoding_play.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/recoding_play@2x.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/viewer_dragDontBack.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/viewer_dragDontBack@2x.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/viewer_dragDontFront.png


+ 0 - 0
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/Resources/viewer_dragDontFront@2x.png


+ 21 - 21
PDF Office/PDF Master/Class/PDFWindowController/PDFSDK/ComPDFKit.framework/Versions/A/_CodeSignature/CodeResources

@@ -6,15 +6,15 @@
 	<dict>
 		<key>Resources/Assets.car</key>
 		<data>
-		Lsv7/Q81njxGwXBA8bI9Dpf4F1w=
+		UlWbqdfXO52si+nmlS2gVgXXEN4=
 		</data>
 		<key>Resources/CPDFUnlockViewController.nib/keyedobjects-101300.nib</key>
 		<data>
-		e/XSIlGXrK/XQ3MPSq17IjdvEEo=
+		WWbJH/mkNN2q0uLETXjvlNRlcAQ=
 		</data>
 		<key>Resources/CPDFUnlockViewController.nib/keyedobjects.nib</key>
 		<data>
-		Dv5ax23hZ/GohlG6yLpCpgKtmBE=
+		dRWDU96uUk0Hy6R6fw3WiuV5+Tc=
 		</data>
 		<key>Resources/Cert/0d264c89.0</key>
 		<data>
@@ -46,11 +46,11 @@
 		</data>
 		<key>Resources/Info.plist</key>
 		<data>
-		GajL1tn6ONQ9L4oQqKOHVOkaz2Y=
+		l06W1gff2/uygg0wyZnBzGkBRf4=
 		</data>
 		<key>Resources/default.metallib</key>
 		<data>
-		gXenGNieYcPTigUVTHWPzj8Ru6s=
+		PWgVqT4CtBAWiJxWMT4peo9xRa4=
 		</data>
 		<key>Resources/empty_password.png</key>
 		<data>
@@ -966,11 +966,11 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			jh2Mw/AK6uLfPh1CjkI2JGfGkXI=
+			3K9ber4T/ByGhsVUS2f29HK65HA=
 			</data>
 			<key>hash2</key>
 			<data>
-			sUTKIdeDnAXOSRcSKc1B0vDJeLug56RdaQY50hOQhhk=
+			wBQIg/G1Gafi33rHLUxYbiLnHDyOXFysb6guFftfzwE=
 			</data>
 		</dict>
 		<key>Headers/CPDFView+Utilities.h</key>
@@ -988,11 +988,11 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			vnedy3o0ZaQj4aB3Ue98nEfRO1o=
+			89H9OcjZmq7fxmDX5Acs6BcgIjA=
 			</data>
 			<key>hash2</key>
 			<data>
-			iC5sIWjHZVcjiLxUYXOy+mNL3ZntGNCZrvs+medpKwE=
+			ANm4tJYJezHX+COz5RDPL7qKjugQTr8/lgapm28+xcs=
 			</data>
 		</dict>
 		<key>Headers/CPDFWatermark+Protected.h</key>
@@ -1054,44 +1054,44 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			LiQoiZ0HQqg8PLvhYGe2l6sUM/Q=
+			GJse0j0x4wLzigM/YeAjcM+nZxQ=
 			</data>
 			<key>hash2</key>
 			<data>
-			AAkcPQ+8lTvgjXGHEKzmPSMjAW0mw1D0ReUK5G9YEwQ=
+			iQcHR0nTiFjwgQN3izRKSCofKuNTCmNsv4iXpEARTgc=
 			</data>
 		</dict>
 		<key>Resources/Assets.car</key>
 		<dict>
 			<key>hash</key>
 			<data>
-			Lsv7/Q81njxGwXBA8bI9Dpf4F1w=
+			UlWbqdfXO52si+nmlS2gVgXXEN4=
 			</data>
 			<key>hash2</key>
 			<data>
-			PHXwNJNPYSsfT1XIPEdwX2PrSmexDOCEb4tCnkhHshk=
+			DzpiBgAOKtgBBasPN6omeqK0Twl09xqBD3H0phK1HcU=
 			</data>
 		</dict>
 		<key>Resources/CPDFUnlockViewController.nib/keyedobjects-101300.nib</key>
 		<dict>
 			<key>hash</key>
 			<data>
-			e/XSIlGXrK/XQ3MPSq17IjdvEEo=
+			WWbJH/mkNN2q0uLETXjvlNRlcAQ=
 			</data>
 			<key>hash2</key>
 			<data>
-			Cci8sTloeOT1JTL92WrgtxN/YiPEzExX+pbP8X68m+Q=
+			VhdkFTWYOUDHoZdvkZgwIgVNDt8Vj7h0sUxpPKvyjGw=
 			</data>
 		</dict>
 		<key>Resources/CPDFUnlockViewController.nib/keyedobjects.nib</key>
 		<dict>
 			<key>hash</key>
 			<data>
-			Dv5ax23hZ/GohlG6yLpCpgKtmBE=
+			dRWDU96uUk0Hy6R6fw3WiuV5+Tc=
 			</data>
 			<key>hash2</key>
 			<data>
-			u30610+slEfn4T8al/uF0uaEk6zWaMgecsgOru7puII=
+			8puPkEjA9zB7vITJGCll+ZMXd+s8tKMT/p5YgHr/z3g=
 			</data>
 		</dict>
 		<key>Resources/Cert/0d264c89.0</key>
@@ -1175,22 +1175,22 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			GajL1tn6ONQ9L4oQqKOHVOkaz2Y=
+			l06W1gff2/uygg0wyZnBzGkBRf4=
 			</data>
 			<key>hash2</key>
 			<data>
-			gp9XJ8GFI7UwP/WXHL6+clYN0a4e8YEVVjHubWtsqzc=
+			JKxh92/g+tdQbh/croSj/Ua2nJqkEf6TsNg86gvvNEM=
 			</data>
 		</dict>
 		<key>Resources/default.metallib</key>
 		<dict>
 			<key>hash</key>
 			<data>
-			gXenGNieYcPTigUVTHWPzj8Ru6s=
+			PWgVqT4CtBAWiJxWMT4peo9xRa4=
 			</data>
 			<key>hash2</key>
 			<data>
-			oAFF7yW6i+swa281kawm566So3WcP1y5lfdt0q9yEkA=
+			c9ASF45+FqyvK6yt+pau86rzg7KJekcYdRY7lglPRs4=
 			</data>
 		</dict>
 		<key>Resources/empty_password.png</key>

BIN
PDF Office/PDF Master/Source/default.metallib


File diff suppressed because it is too large
+ 5910 - 601
PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/lizhe.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist