ソースを参照

【ComPDFKit】更新至V2.1.1

tangchao 7 ヶ月 前
コミット
23b5f6fa74

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


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

@@ -25,7 +25,7 @@
  * Method to get the font used for the annotation’s text field.
  * Set freetext after manually updateAppearanceStream
  */
-@property (nonatomic,retain) CPDFKitPlatformFont *font DEPRECATED_MSG_ATTRIBUTE("use setCFont:fontSize: and cFontSize");
+@property (nonatomic,retain) CPDFKitPlatformFont *font DEPRECATED_MSG_ATTRIBUTE("use setCFont: and setFontSize:");
 
 /**
  * Method to set the font name used for the annotation’s text field.

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

@@ -32,6 +32,18 @@ typedef NS_ENUM(NSInteger, CPDFDisplayBox) {
     CPDFDisplayArtBox = 4
 };
 
+@interface CPDFPageDrawRectOptions : NSObject
+
+@property (nonatomic,retain) CPDFKitPlatformColor *backgroundColor;
+
+@property (nonatomic,assign) BOOL isDrawDrakMode;
+
+@property (nonatomic,assign) CGFloat scale;
+
+@property (nonatomic,assign) BOOL isDrawAnnot;
+
+@end
+
 extern NSNotificationName const CPDFPageDidLoadAnnotationNotification;
 extern NSNotificationName const CPDFPageDidAddAnnotationNotification;
 extern NSNotificationName const CPDFPageDidRemoveAnnotationNotification;
@@ -86,6 +98,8 @@ extern NSNotificationName const CPDFPageDidFindSearchChangeNotification;
 
 @property (nonatomic,readonly) CGRect bounds;
 
+@property (nonatomic,readonly) CGRect cropBounds;
+
 /**
  * Returns the size of page after rotation.
  */
@@ -137,6 +151,11 @@ extern NSNotificationName const CPDFPageDidFindSearchChangeNotification;
  */
 - (CPDFKitPlatformImage *)thumbnailOfSize:(CGSize)size;
 
+/**
+ * Convenience function that returns an image of this page's bound.
+ */
+- (CPDFKitPlatformImage *)renderPageOfRect:(CGRect)rect pageDrawRectOptions:(CPDFPageDrawRectOptions *)pageDrawRectOptions;
+
 #pragma mark - Find
 /**
  *Page number search for content editing*

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

@@ -69,6 +69,11 @@ typedef NS_OPTIONS(NSInteger, CEditingSelectState) {
  */
 @property (nonatomic,retain) CPDFKitPlatformColor *editingBorderColor;
 
+/**
+ *The border color selected when the mouse is swiped
+ */
+@property (nonatomic,retain) CPDFKitPlatformColor *editingMouseSelectionBorderColor;
+
 /**
  * Select Block color + Move reference color
  */
@@ -143,6 +148,17 @@ typedef NS_OPTIONS(NSInteger, CEditingSelectState) {
  * Array of dashed lines of the text code block.
  */
 @property (nonatomic,retain) NSArray * editingBorderDashPattern;
+
+/**
+ * Border width when the mouse is swiped.
+ */
+@property (nonatomic,retain) NSNumber *editingMouseSelectionBorderWidth;
+
+/**
+ * Array of dashed lines when the mouse is swiped.
+ */
+@property (nonatomic,retain) NSArray * editingMouseSelectionBorderDashPattern;
+
 /**
  * The latest value supported at cropping time
  */

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

@@ -46,7 +46,7 @@ typedef NS_OPTIONS(NSInteger, CPDFAreaOfInterest) {
     CPDFImageArea =         (1UL << 8),
 };
 
-@class CPDFView, CPDFDocument, CPDFPage, CPDFSelection, CPDFFreeTextAnnotation, CPDFDestination, CPDFAction,CPDFEditArea,CPDFBorder;
+@class CPDFView, CPDFDocument, CPDFPage, CPDFSelection, CPDFFreeTextAnnotation, CPDFDestination, CPDFAction,CPDFEditArea,CPDFEditImageArea,CPDFBorder;
 
 @protocol CPDFViewDelegate <NSObject>
 
@@ -78,6 +78,8 @@ typedef NS_OPTIONS(NSInteger, CPDFAreaOfInterest) {
 
 - (void)PDFViewEditingSelectionDidChanged:(CPDFView *)pdfView;
 
+- (void)PDFViewEditingSelectCharDidChanged:(CPDFView *)pdfView;
+
 - (void)PDFViewPDFSelectionAttributeDidChanged:(CPDFView *)pdfView;
 
 - (void)PDFViewEditingCropBoundsDidChanged:(CPDFView *)pdfView editingArea:(CPDFEditArea *)editArea;
@@ -94,6 +96,8 @@ typedef NS_OPTIONS(NSInteger, CPDFAreaOfInterest) {
 
 - (void)PDFViewMobileEditingEnd:(CGPoint)point forPDFView:(CPDFView *)pdfView forEditingAreas:(NSArray <CPDFEditArea *> *)editingAreas;
 
+- (void)PDFViewEditingExitCropMode:(CPDFView *)pdfView forEditingArea:(CPDFEditImageArea *)editingArea;
+
 - (CPDFKitPlatformImage *)PDFViewAsBookBookmark;
 
 @end
@@ -179,10 +183,6 @@ typedef NS_OPTIONS(NSInteger, CPDFAreaOfInterest) {
 - (void)setEditAnnotationFreeTextBorder:(CPDFBorder *)border freeText:(CPDFFreeTextAnnotation *)freeText;
 - (void)setEditAnnotationFreeAlignment:(NSTextAlignment)alignment  freeText:(CPDFFreeTextAnnotation *)freeText;
 
-- (void)setEditAnnotationFreeTextBorderColor:(CPDFKitPlatformColor *)color freeText:(CPDFFreeTextAnnotation *)freeText;
-- (void)setEditAnnotationFreeTextBorder:(CPDFBorder *)border freeText:(CPDFFreeTextAnnotation *)freeText;
-- (void)setEditAnnotationFreeAlignment:(NSTextAlignment)alignment  freeText:(CPDFFreeTextAnnotation *)freeText;
-
 #pragma mark - Form Annotation
 
 - (BOOL)isEditFormText;

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


+ 9 - 9
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>21G72</string>
 	<key>CFBundleDevelopmentRegion</key>
 	<string>en</string>
 	<key>CFBundleExecutable</key>
@@ -17,29 +17,29 @@
 	<key>CFBundlePackageType</key>
 	<string>FMWK</string>
 	<key>CFBundleShortVersionString</key>
-	<string>2.1.0</string>
+	<string>2.1.1</string>
 	<key>CFBundleSupportedPlatforms</key>
 	<array>
 		<string>MacOSX</string>
 	</array>
 	<key>CFBundleVersion</key>
-	<string>2100</string>
+	<string>2101</string>
 	<key>DTCompiler</key>
 	<string>com.apple.compilers.llvm.clang.1_0</string>
 	<key>DTPlatformBuild</key>
-	<string>13A233</string>
+	<string>14B47b</string>
 	<key>DTPlatformName</key>
 	<string>macosx</string>
 	<key>DTPlatformVersion</key>
-	<string>11.3</string>
+	<string>13.0</string>
 	<key>DTSDKBuild</key>
-	<string>20E214</string>
+	<string>22A372</string>
 	<key>DTSDKName</key>
-	<string>macosx11.3</string>
+	<string>macosx13.0</string>
 	<key>DTXcode</key>
-	<string>1300</string>
+	<string>1410</string>
 	<key>DTXcodeBuild</key>
-	<string>13A233</string>
+	<string>14B47b</string>
 	<key>LSMinimumSystemVersion</key>
 	<string>10.10</string>
 </dict>

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

@@ -6,15 +6,15 @@
 	<dict>
 		<key>Resources/Assets.car</key>
 		<data>
-		ZCJPCAah/Oufs1RtIHubOBGlcSo=
+		FYRTnWYLN5nHf/VYAI+3B22mH0I=
 		</data>
 		<key>Resources/CPDFUnlockViewController.nib/keyedobjects-101300.nib</key>
 		<data>
-		e/XSIlGXrK/XQ3MPSq17IjdvEEo=
+		ULC3lJLcrnOnCBivTpSe8w8O/VQ=
 		</data>
 		<key>Resources/CPDFUnlockViewController.nib/keyedobjects.nib</key>
 		<data>
-		Dv5ax23hZ/GohlG6yLpCpgKtmBE=
+		0H15nmzgJVoRpoNxPw6ZO38r4Xs=
 		</data>
 		<key>Resources/Cert/0d264c89.0</key>
 		<data>
@@ -46,7 +46,7 @@
 		</data>
 		<key>Resources/Info.plist</key>
 		<data>
-		dxxvK2mj/Vpd5al0Jxs3wkPSAPA=
+		7XuhERc4WESghbJhis0SRWWUwe4=
 		</data>
 		<key>Resources/empty_password.png</key>
 		<data>
@@ -467,11 +467,11 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			9gcJRorzP6EnwfJhnMh55Go2rd0=
+			cwq7+4DrWYulUiqZ0bYXZaGQWus=
 			</data>
 			<key>hash2</key>
 			<data>
-			vx6dB+2QuepV4DFcl8PFA1N3t87BLTqGDJYfhLbXRJo=
+			3uBsZYU835gblpXSESsAATsXosj1EKOry3EGf9EUg30=
 			</data>
 		</dict>
 		<key>Headers/CPDFGoToAction.h</key>
@@ -698,11 +698,11 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			lmbpFSpKRnZOPsgYbgOVsGaaw68=
+			QJohQ8TR/7rN4dNpF7equtZ19so=
 			</data>
 			<key>hash2</key>
 			<data>
-			ITek+5pIYV8/jz66CbdcoMx776Mj6C14brBqsVeBv5k=
+			dCKQZE74CUPFRHLpP74Qf3juCwCLWwqO06Y7EQeicIA=
 			</data>
 		</dict>
 		<key>Headers/CPDFPerimeterMeasureInfo.h</key>
@@ -962,11 +962,11 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			jsEmN8LPGopxZw4yRhS/nyDDO84=
+			fd5wm/Z2my/UwFbhyfI34umxh7s=
 			</data>
 			<key>hash2</key>
 			<data>
-			mfKwwXC8c4WRBYlyLv9nQ9cAV6/XPPHV6/OTYwI1XLg=
+			K24TYzUmQCwiOaRTZTp3ZlfIYqRfUTibx5dZ1KmiNzA=
 			</data>
 		</dict>
 		<key>Headers/CPDFView+Utilities.h</key>
@@ -984,11 +984,11 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			SpCL61OUbhL/2KNi67A+YFXPGjU=
+			EVhnw1TA05zjRMM3GLTeINpgi9c=
 			</data>
 			<key>hash2</key>
 			<data>
-			AL6fYwKb5+ks9gxcmXOd9Khx7lFdaH4L33Oa5VFC/h4=
+			vtNgLM2kayrtU5ALrdQ9ptBxMdGi52AODGeMaHSNahA=
 			</data>
 		</dict>
 		<key>Headers/CPDFWatermark+Protected.h</key>
@@ -1061,33 +1061,33 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			ZCJPCAah/Oufs1RtIHubOBGlcSo=
+			FYRTnWYLN5nHf/VYAI+3B22mH0I=
 			</data>
 			<key>hash2</key>
 			<data>
-			x4BF//bqbUGgwYYsXlwdlzKQ67PQWQHTgHbY8w6qBn0=
+			JtxTmHvR2rDL58rK3iR4dBxal6mWFwodEAPpB5qv6XA=
 			</data>
 		</dict>
 		<key>Resources/CPDFUnlockViewController.nib/keyedobjects-101300.nib</key>
 		<dict>
 			<key>hash</key>
 			<data>
-			e/XSIlGXrK/XQ3MPSq17IjdvEEo=
+			ULC3lJLcrnOnCBivTpSe8w8O/VQ=
 			</data>
 			<key>hash2</key>
 			<data>
-			Cci8sTloeOT1JTL92WrgtxN/YiPEzExX+pbP8X68m+Q=
+			WE60TS6kbusEaTyP03p7VENFKl+sD8oqeeumuSb/Kyw=
 			</data>
 		</dict>
 		<key>Resources/CPDFUnlockViewController.nib/keyedobjects.nib</key>
 		<dict>
 			<key>hash</key>
 			<data>
-			Dv5ax23hZ/GohlG6yLpCpgKtmBE=
+			0H15nmzgJVoRpoNxPw6ZO38r4Xs=
 			</data>
 			<key>hash2</key>
 			<data>
-			u30610+slEfn4T8al/uF0uaEk6zWaMgecsgOru7puII=
+			crpgU0SlPe67g5lOUe+Pn4AZLeVkBFKS9oSX5WNWDjo=
 			</data>
 		</dict>
 		<key>Resources/Cert/0d264c89.0</key>
@@ -1171,11 +1171,11 @@
 		<dict>
 			<key>hash</key>
 			<data>
-			dxxvK2mj/Vpd5al0Jxs3wkPSAPA=
+			7XuhERc4WESghbJhis0SRWWUwe4=
 			</data>
 			<key>hash2</key>
 			<data>
-			pHnU9hCDZaTRw/V0+mPoIYz6UtBP47SJAG952wnqvq4=
+			Wi8xXEwtkWCS0Ra0TIDsi/xnoh7gXHHOw9RcjsG05J0=
 			</data>
 		</dict>
 		<key>Resources/empty_password.png</key>