Revision: 14578
http://sourceforge.net/p/skim-app/code/14578
Author: hofman
Date: 2024-10-24 17:15:28 +0000 (Thu, 24 Oct 2024)
Log Message:
-----------
Add scriptingImageData as custom scripting key
Modified Paths:
--------------
trunk/SKNPDFAnnotationNote_SKExtensions.h
trunk/SKNPDFAnnotationNote_SKExtensions.m
Modified: trunk/SKNPDFAnnotationNote_SKExtensions.h
===================================================================
--- trunk/SKNPDFAnnotationNote_SKExtensions.h 2024-10-24 17:11:31 UTC (rev
14577)
+++ trunk/SKNPDFAnnotationNote_SKExtensions.h 2024-10-24 17:15:28 UTC (rev
14578)
@@ -44,6 +44,7 @@
extern NSString *SKPDFAnnotationRichTextKey;
extern NSString *SKPDFAnnotationScriptingIconTypeKey;
+extern NSString *SKPDFAnnotationScriptingImageDataKey;
enum {
kSKNPDFTextAnnotationIconImage = 7
Modified: trunk/SKNPDFAnnotationNote_SKExtensions.m
===================================================================
--- trunk/SKNPDFAnnotationNote_SKExtensions.m 2024-10-24 17:11:31 UTC (rev
14577)
+++ trunk/SKNPDFAnnotationNote_SKExtensions.m 2024-10-24 17:15:28 UTC (rev
14578)
@@ -51,6 +51,7 @@
NSString *SKPDFAnnotationRichTextKey = @"richText";
NSString *SKPDFAnnotationScriptingIconTypeKey = @"scriptingIconType";
+NSString *SKPDFAnnotationScriptingImageDataKey = @"scriptingImageData";
@interface SKNPDFAnnotationNote (SKPrivateDeclarations)
- (NSTextStorage *)mutableText;
@@ -144,6 +145,7 @@
#pragma clang diagnostic pop
[customKeys addObject:SKPDFAnnotationRichTextKey];
[customKeys addObject:SKPDFAnnotationScriptingIconTypeKey];
+ [customKeys addObject:SKPDFAnnotationScriptingImageDataKey];
customNoteScriptingKeys = [customKeys copy];
}
return customNoteScriptingKeys;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit