@octane-xplat/macos-renderer 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +95 -20
- package/package.json +15 -2
- package/src/appearance.ts +2 -0
- package/src/fonts.ts +2 -0
- package/src/formatted-text.ts +147 -0
- package/src/gestures.ts +196 -0
- package/src/host-globals.d.ts +55 -0
- package/src/html-text.ts +88 -0
- package/src/image.ts +91 -16
- package/src/index.d.ts +9 -0
- package/src/index.ts +5030 -678
- package/src/layer.ts +11 -9
- package/src/list-template.ts +266 -0
- package/src/list-view.ts +445 -0
- package/src/portal-components.macos.tsx +86 -0
- package/src/presentation.ts +48 -15
- package/src/scroll-view.ts +124 -0
- package/src/tab-view.ts +512 -0
- package/src/template-props.ts +402 -0
- package/src/vendor/listview/LICENSE +19 -0
- package/src/vendor/listview/README.md +1 -0
- package/src/vendor/listview/binding-options.ts +189 -0
- package/src/vendor/listview/expressions.ts +285 -0
- package/src/webview.ts +36 -7
- package/types/ARKitCore.d.ts +199 -0
- package/types/AVFAudio.d.ts +2304 -0
- package/types/AVFoundation.d.ts +6974 -0
- package/types/AVKit.d.ts +215 -0
- package/types/AVRouting.d.ts +7 -0
- package/types/Accelerate.d.ts +4776 -0
- package/types/Accessibility.d.ts +69 -0
- package/types/Accounts.d.ts +134 -0
- package/types/AdSupport.d.ts +12 -0
- package/types/AddressBook.d.ts +1012 -0
- package/types/AppKit.d.ts +34247 -0
- package/types/AppTrackingTransparency.d.ts +23 -0
- package/types/AppleScriptKit.d.ts +6 -0
- package/types/ApplicationServices.d.ts +6346 -0
- package/types/AudioToolbox.d.ts +7129 -0
- package/types/AudioVideoBridging.d.ts +613 -0
- package/types/AuthenticationServices.d.ts +982 -0
- package/types/AutomaticAssessmentConfiguration.d.ts +46 -0
- package/types/Automator.d.ts +248 -0
- package/types/BackgroundAssets.d.ts +9 -0
- package/types/BrowserEngineKit.d.ts +166 -0
- package/types/BusinessChat.d.ts +29 -0
- package/types/CFNetwork.d.ts +931 -0
- package/types/CalendarStore.d.ts +354 -0
- package/types/CallKit.d.ts +30 -0
- package/types/Carbon.d.ts +16207 -0
- package/types/ClassKit.d.ts +281 -0
- package/types/CloudKit.d.ts +1565 -0
- package/types/Collaboration.d.ts +123 -0
- package/types/ColorSync.d.ts +562 -0
- package/types/CompositorServices.d.ts +60 -0
- package/types/ComputeGraph.d.ts +16 -0
- package/types/Contacts.d.ts +1558 -0
- package/types/ContactsUI.d.ts +39 -0
- package/types/CoreAudio.d.ts +1376 -0
- package/types/CoreAudioKit.d.ts +122 -0
- package/types/CoreAudioTypes.d.ts +1003 -0
- package/types/CoreBluetooth.d.ts +657 -0
- package/types/CoreData.d.ts +2479 -0
- package/types/CoreFoundation.d.ts +5546 -0
- package/types/CoreGraphics.d.ts +3676 -0
- package/types/CoreHaptics.d.ts +361 -0
- package/types/CoreImage.d.ts +4781 -0
- package/types/CoreLocation.d.ts +564 -0
- package/types/CoreMIDI.d.ts +1538 -0
- package/types/CoreML.d.ts +905 -0
- package/types/CoreMedia.d.ts +2615 -0
- package/types/CoreMediaIO.d.ts +1046 -0
- package/types/CoreMotion.d.ts +316 -0
- package/types/CoreServices.d.ts +24810 -0
- package/types/CoreSpotlight.d.ts +789 -0
- package/types/CoreTelephony.d.ts +31 -0
- package/types/CoreText.d.ts +3973 -0
- package/types/CoreTransferable.d.ts +3 -0
- package/types/CoreVideo.d.ts +1162 -0
- package/types/CoreWLAN.d.ts +556 -0
- package/types/CryptoTokenKit.d.ts +548 -0
- package/types/DVDPlayback.d.ts +931 -0
- package/types/DataDetection.d.ts +66 -0
- package/types/DeviceCheck.d.ts +46 -0
- package/types/DeviceDiscoveryExtension.d.ts +142 -0
- package/types/DirectoryService.d.ts +966 -0
- package/types/DiscRecording.d.ts +2345 -0
- package/types/DiscRecordingUI.d.ts +288 -0
- package/types/DiskArbitration.d.ts +366 -0
- package/types/DriverKit.d.ts +639 -0
- package/types/EventKit.d.ts +640 -0
- package/types/ExceptionHandling.d.ts +56 -0
- package/types/ExecutionPolicy.d.ts +30 -0
- package/types/ExternalAccessory.d.ts +98 -0
- package/types/FSKit.d.ts +237 -0
- package/types/FileProvider.d.ts +495 -0
- package/types/FileProviderUI.d.ts +31 -0
- package/types/FinderSync.d.ts +165 -0
- package/types/FocusEngine.d.ts +133 -0
- package/types/ForceFeedback.d.ts +399 -0
- package/types/Foundation.d.ts +18216 -0
- package/types/GLKit.d.ts +937 -0
- package/types/GLUT.d.ts +1018 -0
- package/types/GSS.d.ts +855 -0
- package/types/GameController.d.ts +1394 -0
- package/types/GameKit.d.ts +1958 -0
- package/types/GameSave.d.ts +54 -0
- package/types/GameplayKit.d.ts +1645 -0
- package/types/HealthKit.d.ts +278 -0
- package/types/Hypervisor.d.ts +2079 -0
- package/types/ICADevices.d.ts +1400 -0
- package/types/IOBluetooth.d.ts +6094 -0
- package/types/IOBluetoothUI.d.ts +250 -0
- package/types/IOKit.d.ts +25804 -0
- package/types/IOSurface.d.ts +435 -0
- package/types/IOUSBHost.d.ts +809 -0
- package/types/ImageCaptureCore.d.ts +1104 -0
- package/types/ImageIO.d.ts +1697 -0
- package/types/InputMethodKit.d.ts +264 -0
- package/types/InstallerPlugins.d.ts +102 -0
- package/types/InstantMessage.d.ts +229 -0
- package/types/Intents.d.ts +1833 -0
- package/types/IntentsUI.d.ts +5 -0
- package/types/JavaRuntimeSupport.d.ts +520 -0
- package/types/JavaScriptCore.d.ts +934 -0
- package/types/Kerberos.d.ts +3754 -0
- package/types/Kernel.d.ts +33698 -0
- package/types/KernelManagement.d.ts +5 -0
- package/types/LatentSemanticMapping.d.ts +152 -0
- package/types/LinkPresentation.d.ts +57 -0
- package/types/LocalAuthentication.d.ts +94 -0
- package/types/MLCompute.d.ts +2343 -0
- package/types/MapKit.d.ts +2125 -0
- package/types/Matter.d.ts +151 -0
- package/types/MediaAccessibility.d.ts +137 -0
- package/types/MediaLibrary.d.ts +394 -0
- package/types/MediaPlayer.d.ts +475 -0
- package/types/MediaToolbox.d.ts +70 -0
- package/types/Metal.d.ts +4542 -0
- package/types/MetalFX.d.ts +107 -0
- package/types/MetalKit.d.ts +524 -0
- package/types/MetalPerformanceShaders.d.ts +9306 -0
- package/types/MetalPerformanceShadersGraph.d.ts +1394 -0
- package/types/MetricKit.d.ts +231 -0
- package/types/ModelIO.d.ts +2908 -0
- package/types/MultipeerConnectivity.d.ts +348 -0
- package/types/NaturalLanguage.d.ts +556 -0
- package/types/NearbyInteraction.d.ts +51 -0
- package/types/NetFS.d.ts +99 -0
- package/types/Network.d.ts +1622 -0
- package/types/NetworkExtension.d.ts +1574 -0
- package/types/NotificationCenter.d.ts +103 -0
- package/types/OSAKit.d.ts +260 -0
- package/types/OSLog.d.ts +208 -0
- package/types/OpenAL.d.ts +314 -0
- package/types/OpenCL.d.ts +2489 -0
- package/types/OpenDirectory.d.ts +1919 -0
- package/types/OpenGL.d.ts +11322 -0
- package/types/PCSC.d.ts +534 -0
- package/types/PDFKit.d.ts +1575 -0
- package/types/PHASE.d.ts +166 -0
- package/types/ParavirtualizedGraphics.d.ts +153 -0
- package/types/PassKit.d.ts +1287 -0
- package/types/PencilKit.d.ts +201 -0
- package/types/Photos.d.ts +1125 -0
- package/types/PhotosUI.d.ts +397 -0
- package/types/PreferencePanes.d.ts +68 -0
- package/types/ProximityReaderStub.d.ts +5 -0
- package/types/PushKit.d.ts +45 -0
- package/types/Quartz.d.ts +1642 -0
- package/types/QuartzCore.d.ts +1398 -0
- package/types/QuickLook.d.ts +212 -0
- package/types/QuickLookThumbnailing.d.ts +131 -0
- package/types/QuickLookUI.d.ts +117 -0
- package/types/REVISION.json +5 -0
- package/types/ReplayKit.d.ts +294 -0
- package/types/Runtime.d.ts +51605 -0
- package/types/SafariServices.d.ts +430 -0
- package/types/SafetyKit.d.ts +7 -0
- package/types/SceneKit.d.ts +4996 -0
- package/types/ScreenCaptureKit.d.ts +16 -0
- package/types/ScreenSaver.d.ts +41 -0
- package/types/ScreenTime.d.ts +41 -0
- package/types/ScriptingBridge.d.ts +96 -0
- package/types/Security.d.ts +14336 -0
- package/types/SecurityFoundation.d.ts +53 -0
- package/types/SecurityInterface.d.ts +297 -0
- package/types/SensorKit.d.ts +7 -0
- package/types/ServiceManagement.d.ts +71 -0
- package/types/SharedWithYou.d.ts +9 -0
- package/types/SharedWithYouCore.d.ts +5 -0
- package/types/ShazamKit.d.ts +12 -0
- package/types/Social.d.ts +306 -0
- package/types/SoundAnalysis.d.ts +177 -0
- package/types/Speech.d.ts +246 -0
- package/types/SpriteKit.d.ts +2766 -0
- package/types/StoreKit.d.ts +509 -0
- package/types/SyncServices.d.ts +551 -0
- package/types/SystemConfiguration.d.ts +1415 -0
- package/types/SystemExtensions.d.ts +89 -0
- package/types/TWAIN.d.ts +380 -0
- package/types/Tcl.d.ts +4013 -0
- package/types/ThreadNetwork.d.ts +77 -0
- package/types/Tk.d.ts +3750 -0
- package/types/UIUtilities.d.ts +31 -0
- package/types/UniformTypeIdentifiers.d.ts +358 -0
- package/types/UserNotifications.d.ts +538 -0
- package/types/UserNotificationsUI.d.ts +38 -0
- package/types/VideoDecodeAcceleration.d.ts +50 -0
- package/types/VideoSubscriberAccount.d.ts +139 -0
- package/types/VideoToolbox.d.ts +907 -0
- package/types/Virtualization.d.ts +302 -0
- package/types/Vision.d.ts +1723 -0
- package/types/WebKit.d.ts +5195 -0
- package/types/WidgetKit.d.ts +9 -0
- package/types/_LocationEssentials.d.ts +159 -0
- package/types/_ScreenCaptureKit_SwiftUI.d.ts +5 -0
- package/types/iTunesLibrary.d.ts +528 -0
- package/types/index.d.ts +9 -0
- package/types/vecLib.d.ts +33586 -0
- package/types/vmnet.d.ts +178 -0
- package/src/appkit.d.ts +0 -472
|
@@ -0,0 +1,1575 @@
|
|
|
1
|
+
/// <reference types="@nativescript/objc-node-api" />
|
|
2
|
+
/// <reference path="./Runtime.d.ts" />
|
|
3
|
+
/// <reference path="./AppKit.d.ts" />
|
|
4
|
+
|
|
5
|
+
declare const PDFViewVisiblePagesChangedNotification: string
|
|
6
|
+
|
|
7
|
+
declare const PDFViewSelectionChangedNotification: string
|
|
8
|
+
|
|
9
|
+
declare const PDFViewAnnotationWillHitNotification: string
|
|
10
|
+
|
|
11
|
+
declare const PDFViewPrintPermissionNotification: string
|
|
12
|
+
|
|
13
|
+
declare const PDFViewCopyPermissionNotification: string
|
|
14
|
+
|
|
15
|
+
declare const PDFViewAnnotationHitNotification: string
|
|
16
|
+
|
|
17
|
+
declare const PDFViewPageChangedNotification: string
|
|
18
|
+
|
|
19
|
+
declare const PDFViewChangedHistoryNotification: string
|
|
20
|
+
|
|
21
|
+
declare const PDFDocumentUserPasswordOption: string
|
|
22
|
+
|
|
23
|
+
declare const PDFDocumentOwnerPasswordOption: string
|
|
24
|
+
|
|
25
|
+
declare const PDFDocumentModificationDateAttribute: string
|
|
26
|
+
|
|
27
|
+
declare const PDFDocumentCreationDateAttribute: string
|
|
28
|
+
|
|
29
|
+
declare const PDFDocumentProducerAttribute: string
|
|
30
|
+
|
|
31
|
+
declare const PDFDocumentCreatorAttribute: string
|
|
32
|
+
|
|
33
|
+
declare const PDFDocumentSubjectAttribute: string
|
|
34
|
+
|
|
35
|
+
declare const PDFDocumentAuthorAttribute: string
|
|
36
|
+
|
|
37
|
+
declare const PDFDocumentDidBeginPageWriteNotification: string
|
|
38
|
+
|
|
39
|
+
declare const PDFDocumentDidBeginWriteNotification: string
|
|
40
|
+
|
|
41
|
+
declare const PDFDocumentDidFindMatchNotification: string
|
|
42
|
+
|
|
43
|
+
declare const PDFDocumentDidBeginPageFindNotification: string
|
|
44
|
+
|
|
45
|
+
declare const PDFDocumentDidEndFindNotification: string
|
|
46
|
+
|
|
47
|
+
declare const PDFDocumentDidBeginFindNotification: string
|
|
48
|
+
|
|
49
|
+
declare const PDFBorderKeyDashPattern: string
|
|
50
|
+
|
|
51
|
+
declare const PDFBorderKeyStyle: string
|
|
52
|
+
|
|
53
|
+
declare const PDFAppearanceCharacteristicsKeyBorderColor: string
|
|
54
|
+
|
|
55
|
+
declare const PDFAppearanceCharacteristicsKeyBackgroundColor: string
|
|
56
|
+
|
|
57
|
+
declare const PDFAnnotationHighlightingModeOutline: string
|
|
58
|
+
|
|
59
|
+
declare const PDFAnnotationHighlightingModeInvert: string
|
|
60
|
+
|
|
61
|
+
declare const PDFAnnotationTextIconTypeNewParagraph: string
|
|
62
|
+
|
|
63
|
+
declare const PDFAnnotationTextIconTypeNote: string
|
|
64
|
+
|
|
65
|
+
declare const PDFAnnotationLineEndingStyleClosedArrow: string
|
|
66
|
+
|
|
67
|
+
declare const PDFAnnotationLineEndingStyleDiamond: string
|
|
68
|
+
|
|
69
|
+
declare const PDFAnnotationLineEndingStyleCircle: string
|
|
70
|
+
|
|
71
|
+
declare const PDFAnnotationLineEndingStyleSquare: string
|
|
72
|
+
|
|
73
|
+
declare const PDFAnnotationWidgetSubtypeText: string
|
|
74
|
+
|
|
75
|
+
declare const PDFAnnotationWidgetSubtypeSignature: string
|
|
76
|
+
|
|
77
|
+
declare const PDFAnnotationWidgetSubtypeChoice: string
|
|
78
|
+
|
|
79
|
+
declare const PDFAnnotationWidgetSubtypeButton: string
|
|
80
|
+
|
|
81
|
+
declare const PDFAnnotationSubtypeWidget: string
|
|
82
|
+
|
|
83
|
+
declare const PDFAnnotationSubtypePopup: string
|
|
84
|
+
|
|
85
|
+
declare const PDFAnnotationSubtypeStamp: string
|
|
86
|
+
|
|
87
|
+
declare const PDFAnnotationSubtypeInk: string
|
|
88
|
+
|
|
89
|
+
declare const PDFAnnotationSubtypeStrikeOut: string
|
|
90
|
+
|
|
91
|
+
declare const PDFAnnotationSubtypeUnderline: string
|
|
92
|
+
|
|
93
|
+
declare const PDFAnnotationSubtypeHighlight: string
|
|
94
|
+
|
|
95
|
+
declare const PDFAnnotationSubtypeCircle: string
|
|
96
|
+
|
|
97
|
+
declare const PDFAnnotationSubtypeLine: string
|
|
98
|
+
|
|
99
|
+
declare const PDFAnnotationSubtypeLink: string
|
|
100
|
+
|
|
101
|
+
declare const kPDFAnnotationKey_WidgetValue: string
|
|
102
|
+
|
|
103
|
+
declare const kPDFAnnotationKey_WidgetOptions: string
|
|
104
|
+
|
|
105
|
+
declare const kPDFAnnotationKey_WidgetAppearanceDictionary: string
|
|
106
|
+
|
|
107
|
+
declare const kPDFAnnotationKey_WidgetFieldType: string
|
|
108
|
+
|
|
109
|
+
declare const kPDFAnnotationKey_WidgetFieldFlags: string
|
|
110
|
+
|
|
111
|
+
declare const kPDFAnnotationKey_WidgetDefaultValue: string
|
|
112
|
+
|
|
113
|
+
declare const kPDFAnnotationKey_TextLabel: string
|
|
114
|
+
|
|
115
|
+
declare const kPDFAnnotationKey_Quadding: string
|
|
116
|
+
|
|
117
|
+
declare const kPDFAnnotationKey_Parent: string
|
|
118
|
+
|
|
119
|
+
declare const kPDFAnnotationKey_Open: string
|
|
120
|
+
|
|
121
|
+
declare const kPDFAnnotationKey_LinePoints: string
|
|
122
|
+
|
|
123
|
+
declare const kPDFAnnotationKey_HighlightingMode: string
|
|
124
|
+
|
|
125
|
+
declare const kPDFAnnotationKey_Destination: string
|
|
126
|
+
|
|
127
|
+
declare const kPDFAnnotationKey_DefaultAppearance: string
|
|
128
|
+
|
|
129
|
+
declare const kPDFAnnotationKey_BorderStyle: string
|
|
130
|
+
|
|
131
|
+
declare const kPDFAnnotationKey_Subtype: string
|
|
132
|
+
|
|
133
|
+
declare const kPDFAnnotationKey_Name: string
|
|
134
|
+
|
|
135
|
+
declare const kPDFAnnotationKey_Date: string
|
|
136
|
+
|
|
137
|
+
declare const kPDFAnnotationKey_Contents: string
|
|
138
|
+
|
|
139
|
+
declare const kPDFAnnotationKey_Color: string
|
|
140
|
+
|
|
141
|
+
declare const kPDFAnnotationKey_AppearanceState: string
|
|
142
|
+
|
|
143
|
+
declare const PDFAnnotationKeyWidgetOptions: string
|
|
144
|
+
|
|
145
|
+
declare const PDFAnnotationKeyWidgetAppearanceDictionary: string
|
|
146
|
+
|
|
147
|
+
declare const PDFAnnotationKeyWidgetDefaultValue: string
|
|
148
|
+
|
|
149
|
+
declare const PDFAnnotationKeyWidgetBorderColor: string
|
|
150
|
+
|
|
151
|
+
declare const PDFAnnotationKeyWidgetDownCaption: string
|
|
152
|
+
|
|
153
|
+
declare const PDFAnnotationKeyTextLabel: string
|
|
154
|
+
|
|
155
|
+
declare const PDFAnnotationKeyQuadPoints: string
|
|
156
|
+
|
|
157
|
+
declare const PDFAnnotationKeyPopup: string
|
|
158
|
+
|
|
159
|
+
declare const PDFAnnotationKeyParent: string
|
|
160
|
+
|
|
161
|
+
declare const PDFAnnotationKeyIconName: string
|
|
162
|
+
|
|
163
|
+
declare const PDFAnnotationKeyLinePoints: string
|
|
164
|
+
|
|
165
|
+
declare const PDFAnnotationKeyHighlightingMode: string
|
|
166
|
+
|
|
167
|
+
declare const PDFAnnotationKeyDefaultAppearance: string
|
|
168
|
+
|
|
169
|
+
declare const PDFAnnotationKeyBorderStyle: string
|
|
170
|
+
|
|
171
|
+
declare const PDFAnnotationKeyAdditionalActions: string
|
|
172
|
+
|
|
173
|
+
declare const PDFAnnotationKeyAction: string
|
|
174
|
+
|
|
175
|
+
declare const PDFAnnotationKeyRect: string
|
|
176
|
+
|
|
177
|
+
declare const PDFAnnotationKeyDate: string
|
|
178
|
+
|
|
179
|
+
declare const PDFAnnotationKeyFlags: string
|
|
180
|
+
|
|
181
|
+
declare const PDFAnnotationKeyColor: string
|
|
182
|
+
|
|
183
|
+
declare const PDFAnnotationKeyAppearanceState: string
|
|
184
|
+
|
|
185
|
+
declare const PDFAnnotationKeyAppearanceDictionary: string
|
|
186
|
+
|
|
187
|
+
declare const kPDFAnnotationKey_WidgetMaxLen: string
|
|
188
|
+
|
|
189
|
+
declare const PDFThumbnailViewDocumentEditedNotification: string
|
|
190
|
+
|
|
191
|
+
declare const PDFDocumentDidEndPageWriteNotification: string
|
|
192
|
+
|
|
193
|
+
declare const PDFAnnotationKeyLineEndingStyles: string
|
|
194
|
+
|
|
195
|
+
declare const kPDFAnnotationKey_Flags: string
|
|
196
|
+
|
|
197
|
+
declare const PDFAppearanceCharacteristicsKeyCaption: string
|
|
198
|
+
|
|
199
|
+
declare const PDFAnnotationKeyWidgetTextLabelUI: string
|
|
200
|
+
|
|
201
|
+
declare const PDFAnnotationTextIconTypeHelp: string
|
|
202
|
+
|
|
203
|
+
declare const PDFDocumentDidUnlockNotification: string
|
|
204
|
+
|
|
205
|
+
declare const PDFDocumentDidEndPageFindNotification: string
|
|
206
|
+
|
|
207
|
+
declare const PDFAnnotationSubtypeFreeText: string
|
|
208
|
+
|
|
209
|
+
declare const kPDFAnnotationKey_IconName: string
|
|
210
|
+
|
|
211
|
+
declare const kPDFAnnotationKey_InteriorColor: string
|
|
212
|
+
|
|
213
|
+
declare const kPDFAnnotationKey_Popup: string
|
|
214
|
+
|
|
215
|
+
declare const PDFAnnotationLineEndingStyleOpenArrow: string
|
|
216
|
+
|
|
217
|
+
declare const PDFAnnotationKeyOpen: string
|
|
218
|
+
|
|
219
|
+
declare const PDFViewScaleChangedNotification: string
|
|
220
|
+
|
|
221
|
+
declare const PDFDocumentTitleAttribute: string
|
|
222
|
+
|
|
223
|
+
declare const PDFAnnotationSubtypeSquare: string
|
|
224
|
+
|
|
225
|
+
declare const PDFAnnotationKeyContents: string
|
|
226
|
+
|
|
227
|
+
declare const PDFAnnotationSubtypeText: string
|
|
228
|
+
|
|
229
|
+
declare const PDFAnnotationKeyWidgetMaxLen: string
|
|
230
|
+
|
|
231
|
+
declare const PDFAnnotationKeyWidgetValue: string
|
|
232
|
+
|
|
233
|
+
declare const PDFAnnotationHighlightingModePush: string
|
|
234
|
+
|
|
235
|
+
declare const PDFAnnotationKeyInklist: string
|
|
236
|
+
|
|
237
|
+
declare const PDFViewDocumentChangedNotification: string
|
|
238
|
+
|
|
239
|
+
declare const PDFAnnotationTextIconTypeKey: string
|
|
240
|
+
|
|
241
|
+
declare const PDFAnnotationLineEndingStyleNone: string
|
|
242
|
+
|
|
243
|
+
declare const kPDFAnnotationKey_AppearanceDictionary: string
|
|
244
|
+
|
|
245
|
+
declare const PDFAnnotationKeyWidgetRotation: string
|
|
246
|
+
|
|
247
|
+
declare const PDFAnnotationKeyWidgetRolloverCaption: string
|
|
248
|
+
|
|
249
|
+
declare const PDFViewDisplayModeChangedNotification: string
|
|
250
|
+
|
|
251
|
+
declare const PDFAppearanceCharacteristicsKeyRolloverCaption: string
|
|
252
|
+
|
|
253
|
+
declare const kPDFAnnotationKey_WidgetTextLabelUI: string
|
|
254
|
+
|
|
255
|
+
declare const kPDFAnnotationKey_QuadPoints: string
|
|
256
|
+
|
|
257
|
+
declare const PDFAnnotationHighlightingModeNone: string
|
|
258
|
+
|
|
259
|
+
declare const PDFAnnotationKeyWidgetFieldType: string
|
|
260
|
+
|
|
261
|
+
declare const PDFAppearanceCharacteristicsKeyRotation: string
|
|
262
|
+
|
|
263
|
+
declare const PDFAnnotationKeyDestination: string
|
|
264
|
+
|
|
265
|
+
declare const PDFAnnotationKeyQuadding: string
|
|
266
|
+
|
|
267
|
+
declare const PDFDocumentKeywordsAttribute: string
|
|
268
|
+
|
|
269
|
+
declare const PDFAnnotationKeySubtype: string
|
|
270
|
+
|
|
271
|
+
declare const PDFAnnotationTextIconTypeComment: string
|
|
272
|
+
|
|
273
|
+
declare const kPDFAnnotationKey_Page: string
|
|
274
|
+
|
|
275
|
+
declare const kPDFAnnotationKey_Border: string
|
|
276
|
+
|
|
277
|
+
declare const PDFAnnotationTextIconTypeParagraph: string
|
|
278
|
+
|
|
279
|
+
declare const kPDFAnnotationKey_Rect: string
|
|
280
|
+
|
|
281
|
+
declare const PDFDocumentDidEndWriteNotification: string
|
|
282
|
+
|
|
283
|
+
declare const PDFAnnotationKeyInteriorColor: string
|
|
284
|
+
|
|
285
|
+
declare const kPDFDestinationUnspecifiedValue: number
|
|
286
|
+
|
|
287
|
+
declare const PDFBorderKeyLineWidth: string
|
|
288
|
+
|
|
289
|
+
declare const PDFAppearanceCharacteristicsKeyDownCaption: string
|
|
290
|
+
|
|
291
|
+
declare const PDFAnnotationKeyWidgetFieldFlags: string
|
|
292
|
+
|
|
293
|
+
declare const PDFAnnotationKeyBorder: string
|
|
294
|
+
|
|
295
|
+
declare const PDFAnnotationKeyName: string
|
|
296
|
+
|
|
297
|
+
declare const PDFViewDisplayBoxChangedNotification: string
|
|
298
|
+
|
|
299
|
+
declare const PDFAnnotationKeyPage: string
|
|
300
|
+
|
|
301
|
+
declare const PDFAnnotationKeyWidgetBackgroundColor: string
|
|
302
|
+
|
|
303
|
+
declare const kPDFAnnotationKey_AdditionalActions: string
|
|
304
|
+
|
|
305
|
+
declare const PDFAnnotationTextIconTypeInsert: string
|
|
306
|
+
|
|
307
|
+
declare const kPDFAnnotationKey_LineEndingStyles: string
|
|
308
|
+
|
|
309
|
+
declare const kPDFAnnotationKey_Action: string
|
|
310
|
+
|
|
311
|
+
declare const PDFAnnotationKeyWidgetCaption: string
|
|
312
|
+
|
|
313
|
+
declare const kPDFAnnotationKey_Inklist: string
|
|
314
|
+
|
|
315
|
+
declare const PDFInterpolationQuality: {
|
|
316
|
+
None: 0
|
|
317
|
+
Low: 1
|
|
318
|
+
High: 2
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
declare const PDFDisplayMode: {
|
|
322
|
+
SinglePage: 0
|
|
323
|
+
SinglePageContinuous: 1
|
|
324
|
+
TwoUp: 2
|
|
325
|
+
TwoUpContinuous: 3
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
declare const PDFAccessPermissions: {
|
|
329
|
+
LowQualityPrinting: 1
|
|
330
|
+
HighQualityPrinting: 2
|
|
331
|
+
DocumentChanges: 4
|
|
332
|
+
DocumentAssembly: 8
|
|
333
|
+
ContentCopying: 16
|
|
334
|
+
ContentAccessibility: 32
|
|
335
|
+
Commenting: 64
|
|
336
|
+
FormFieldEntry: 128
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
declare const PDFPrintScalingMode: {
|
|
340
|
+
None: 0
|
|
341
|
+
ToFit: 1
|
|
342
|
+
DownToFit: 2
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
declare const PDFWidgetControlType: {
|
|
346
|
+
Unknown: -1
|
|
347
|
+
PushButton: 0
|
|
348
|
+
RadioButton: 1
|
|
349
|
+
CheckBox: 2
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
declare const PDFLineStyle: {
|
|
353
|
+
None: 0
|
|
354
|
+
Square: 1
|
|
355
|
+
Circle: 2
|
|
356
|
+
Diamond: 3
|
|
357
|
+
OpenArrow: 4
|
|
358
|
+
ClosedArrow: 5
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
declare const PDFDisplayBox: {
|
|
362
|
+
Media: 0
|
|
363
|
+
Crop: 1
|
|
364
|
+
Bleed: 2
|
|
365
|
+
Trim: 3
|
|
366
|
+
Art: 4
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
declare const PDFActionNamedName: {
|
|
370
|
+
None: 0
|
|
371
|
+
NextPage: 1
|
|
372
|
+
PreviousPage: 2
|
|
373
|
+
FirstPage: 3
|
|
374
|
+
LastPage: 4
|
|
375
|
+
GoBack: 5
|
|
376
|
+
GoForward: 6
|
|
377
|
+
GoToPage: 7
|
|
378
|
+
Find: 8
|
|
379
|
+
Print: 9
|
|
380
|
+
ZoomIn: 10
|
|
381
|
+
ZoomOut: 11
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
declare const PDFDocumentPermissions: {
|
|
385
|
+
None: 0
|
|
386
|
+
User: 1
|
|
387
|
+
Owner: 2
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
declare const PDFTextAnnotationIconType: {
|
|
391
|
+
Comment: 0
|
|
392
|
+
Key: 1
|
|
393
|
+
Note: 2
|
|
394
|
+
Help: 3
|
|
395
|
+
NewParagraph: 4
|
|
396
|
+
Paragraph: 5
|
|
397
|
+
Insert: 6
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
declare const PDFBorderStyle: {
|
|
401
|
+
Solid: 0
|
|
402
|
+
Dashed: 1
|
|
403
|
+
Beveled: 2
|
|
404
|
+
Inset: 3
|
|
405
|
+
Underline: 4
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
declare const PDFAreaOfInterest: {
|
|
409
|
+
No: 0
|
|
410
|
+
Page: 1
|
|
411
|
+
Text: 2
|
|
412
|
+
Annotation: 4
|
|
413
|
+
Link: 8
|
|
414
|
+
Control: 16
|
|
415
|
+
TextField: 32
|
|
416
|
+
Icon: 64
|
|
417
|
+
Popup: 128
|
|
418
|
+
Image: 256
|
|
419
|
+
Any: 9223372036854775807
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
declare const PDFSelectionGranularity: {
|
|
423
|
+
Character: 0
|
|
424
|
+
Word: 1
|
|
425
|
+
Line: 2
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
declare const PDFMarkupType: {
|
|
429
|
+
Highlight: 0
|
|
430
|
+
StrikeOut: 1
|
|
431
|
+
Underline: 2
|
|
432
|
+
Redact: 3
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
declare const PDFWidgetCellState: {
|
|
436
|
+
Mixed: -1
|
|
437
|
+
Off: 0
|
|
438
|
+
On: 1
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
declare const PDFDisplayDirection: {
|
|
442
|
+
Vertical: 0
|
|
443
|
+
Horizontal: 1
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
declare interface PDFViewDelegate extends NSObjectProtocol {
|
|
447
|
+
PDFViewWillClickOnLinkWithURL?(sender: PDFView, url: NSURL): void
|
|
448
|
+
|
|
449
|
+
PDFViewWillChangeScaleFactorToScale?(sender: PDFView, scaler: number): number
|
|
450
|
+
|
|
451
|
+
PDFViewPrintJobTitle?(sender: PDFView): string
|
|
452
|
+
|
|
453
|
+
PDFViewPerformPrint?(sender: PDFView): void
|
|
454
|
+
|
|
455
|
+
PDFViewPerformFind?(sender: PDFView): void
|
|
456
|
+
|
|
457
|
+
PDFViewPerformGoToPage?(sender: PDFView): void
|
|
458
|
+
|
|
459
|
+
PDFViewOpenPDFForRemoteGoToAction?(sender: PDFView, action: PDFActionRemoteGoTo): void
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
declare class PDFViewDelegate extends NativeObject implements PDFViewDelegate {}
|
|
463
|
+
|
|
464
|
+
declare interface PDFDocumentDelegate extends NSObjectProtocol {
|
|
465
|
+
documentDidUnlock?(notification: NSNotification): void
|
|
466
|
+
|
|
467
|
+
documentDidBeginDocumentFind?(notification: NSNotification): void
|
|
468
|
+
|
|
469
|
+
documentDidEndDocumentFind?(notification: NSNotification): void
|
|
470
|
+
|
|
471
|
+
documentDidBeginPageFind?(notification: NSNotification): void
|
|
472
|
+
|
|
473
|
+
documentDidEndPageFind?(notification: NSNotification): void
|
|
474
|
+
|
|
475
|
+
documentDidFindMatch?(notification: NSNotification): void
|
|
476
|
+
|
|
477
|
+
didMatchString?(instance: PDFSelection): void
|
|
478
|
+
|
|
479
|
+
classForPage?(): interop.Pointer
|
|
480
|
+
|
|
481
|
+
classForAnnotationType?(annotationType: string): interop.Pointer
|
|
482
|
+
|
|
483
|
+
classForAnnotationClass?(annotationClass: interop.PointerConvertible): interop.Pointer
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
declare class PDFDocumentDelegate extends NativeObject implements PDFDocumentDelegate {}
|
|
487
|
+
|
|
488
|
+
declare class PDFAnnotationSquare extends PDFAnnotation implements NSCopying, NSCoding {
|
|
489
|
+
interiorColor: NSColor
|
|
490
|
+
|
|
491
|
+
setInteriorColor(interiorColor: NSColor | null): void
|
|
492
|
+
setInteriorColor(color: NSColor): void
|
|
493
|
+
|
|
494
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
495
|
+
|
|
496
|
+
encodeWithCoder(coder: NSCoder): void
|
|
497
|
+
|
|
498
|
+
initWithCoder(coder: NSCoder): this
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
declare class PDFAnnotationLink extends PDFAnnotation implements NSCopying {
|
|
502
|
+
destination: PDFDestination
|
|
503
|
+
|
|
504
|
+
setDestination(destination: PDFDestination | null): void
|
|
505
|
+
setDestination(destination: PDFDestination): void
|
|
506
|
+
|
|
507
|
+
URL: NSURL
|
|
508
|
+
|
|
509
|
+
setURL(URL: NSURL | null): void
|
|
510
|
+
setURL(url: NSURL): void
|
|
511
|
+
|
|
512
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
declare class PDFAnnotationInk extends PDFAnnotation implements NSCopying, NSCoding {
|
|
516
|
+
readonly paths: NSArray
|
|
517
|
+
|
|
518
|
+
addBezierPath(path: NSBezierPath): void
|
|
519
|
+
|
|
520
|
+
removeBezierPath(path: NSBezierPath): void
|
|
521
|
+
|
|
522
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
523
|
+
|
|
524
|
+
encodeWithCoder(coder: NSCoder): void
|
|
525
|
+
|
|
526
|
+
initWithCoder(coder: NSCoder): this
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
declare class PDFAnnotationFreeText extends PDFAnnotation implements NSCopying, NSCoding {
|
|
530
|
+
font: NSFont
|
|
531
|
+
|
|
532
|
+
setFont(font: NSFont | null): void
|
|
533
|
+
setFont(font: NSFont): void
|
|
534
|
+
|
|
535
|
+
fontColor: NSColor
|
|
536
|
+
|
|
537
|
+
setFontColor(fontColor: NSColor | null): void
|
|
538
|
+
setFontColor(color: NSColor): void
|
|
539
|
+
|
|
540
|
+
alignment: interop.Enum<typeof NSTextAlignment>
|
|
541
|
+
|
|
542
|
+
setAlignment(alignment: interop.Enum<typeof NSTextAlignment>): void
|
|
543
|
+
|
|
544
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
545
|
+
|
|
546
|
+
encodeWithCoder(coder: NSCoder): void
|
|
547
|
+
|
|
548
|
+
initWithCoder(coder: NSCoder): this
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
declare class PDFAnnotationCircle extends PDFAnnotation implements NSCopying {
|
|
552
|
+
interiorColor: NSColor
|
|
553
|
+
|
|
554
|
+
setInteriorColor(interiorColor: NSColor | null): void
|
|
555
|
+
setInteriorColor(color: NSColor): void
|
|
556
|
+
|
|
557
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
declare class PDFSelection extends NSObject implements NSCopying {
|
|
561
|
+
initWithDocument(document: PDFDocument): this
|
|
562
|
+
|
|
563
|
+
readonly pages: NSArray
|
|
564
|
+
|
|
565
|
+
color: NSColor
|
|
566
|
+
|
|
567
|
+
readonly string: string
|
|
568
|
+
|
|
569
|
+
readonly attributedString: NSAttributedString
|
|
570
|
+
|
|
571
|
+
boundsForPage(page: PDFPage): CGRect
|
|
572
|
+
|
|
573
|
+
numberOfTextRangesOnPage(page: PDFPage): number
|
|
574
|
+
|
|
575
|
+
rangeAtIndexOnPage(index: number, page: PDFPage): _NSRange
|
|
576
|
+
|
|
577
|
+
selectionsByLine(): NSArray
|
|
578
|
+
|
|
579
|
+
addSelection(selection: PDFSelection): void
|
|
580
|
+
|
|
581
|
+
addSelections(selections: NSArray<interop.Object> | Array<interop.Object>): void
|
|
582
|
+
|
|
583
|
+
extendSelectionAtEnd(succeed: number): void
|
|
584
|
+
|
|
585
|
+
extendSelectionAtStart(precede: number): void
|
|
586
|
+
|
|
587
|
+
extendSelectionForLineBoundaries(): void
|
|
588
|
+
|
|
589
|
+
drawForPageActive(page: PDFPage, active: boolean): void
|
|
590
|
+
|
|
591
|
+
drawForPageWithBoxActive(
|
|
592
|
+
page: PDFPage,
|
|
593
|
+
box: interop.Enum<typeof PDFDisplayBox>,
|
|
594
|
+
active: boolean,
|
|
595
|
+
): void
|
|
596
|
+
|
|
597
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
declare class PDFOutline extends NSObject {
|
|
601
|
+
init(): this
|
|
602
|
+
|
|
603
|
+
readonly document: PDFDocument
|
|
604
|
+
|
|
605
|
+
readonly parent: PDFOutline
|
|
606
|
+
|
|
607
|
+
readonly numberOfChildren: number
|
|
608
|
+
|
|
609
|
+
readonly index: number
|
|
610
|
+
|
|
611
|
+
childAtIndex(index: number): PDFOutline
|
|
612
|
+
|
|
613
|
+
insertChildAtIndex(child: PDFOutline, index: number): void
|
|
614
|
+
|
|
615
|
+
removeFromParent(): void
|
|
616
|
+
|
|
617
|
+
label: string
|
|
618
|
+
|
|
619
|
+
isOpen: boolean
|
|
620
|
+
|
|
621
|
+
destination: PDFDestination
|
|
622
|
+
|
|
623
|
+
action: PDFAction
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
declare class PDFDocument extends NSObject implements NSCopying {
|
|
627
|
+
init(): this
|
|
628
|
+
|
|
629
|
+
initWithURL(url: NSURL): this
|
|
630
|
+
|
|
631
|
+
initWithData(data: NSData): this
|
|
632
|
+
|
|
633
|
+
readonly documentURL: NSURL
|
|
634
|
+
|
|
635
|
+
readonly documentRef: interop.Object
|
|
636
|
+
|
|
637
|
+
get documentAttributes(): NSDictionary
|
|
638
|
+
set documentAttributes(
|
|
639
|
+
value: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
640
|
+
)
|
|
641
|
+
|
|
642
|
+
readonly majorVersion: number
|
|
643
|
+
|
|
644
|
+
readonly minorVersion: number
|
|
645
|
+
|
|
646
|
+
readonly isEncrypted: boolean
|
|
647
|
+
|
|
648
|
+
readonly isLocked: boolean
|
|
649
|
+
|
|
650
|
+
unlockWithPassword(password: string): boolean
|
|
651
|
+
|
|
652
|
+
readonly allowsPrinting: boolean
|
|
653
|
+
|
|
654
|
+
readonly allowsCopying: boolean
|
|
655
|
+
|
|
656
|
+
readonly allowsDocumentChanges: boolean
|
|
657
|
+
|
|
658
|
+
readonly allowsDocumentAssembly: boolean
|
|
659
|
+
|
|
660
|
+
readonly allowsContentAccessibility: boolean
|
|
661
|
+
|
|
662
|
+
readonly allowsCommenting: boolean
|
|
663
|
+
|
|
664
|
+
readonly allowsFormFieldEntry: boolean
|
|
665
|
+
|
|
666
|
+
readonly accessPermissions: interop.Enum<typeof PDFAccessPermissions>
|
|
667
|
+
|
|
668
|
+
readonly permissionsStatus: interop.Enum<typeof PDFDocumentPermissions>
|
|
669
|
+
|
|
670
|
+
readonly string: string
|
|
671
|
+
|
|
672
|
+
delegate: PDFDocumentDelegate
|
|
673
|
+
|
|
674
|
+
dataRepresentation(): NSData
|
|
675
|
+
|
|
676
|
+
dataRepresentationWithOptions(
|
|
677
|
+
options: NSDictionary<interop.Object, interop.Object> | Record<interop.Object, interop.Object>,
|
|
678
|
+
): NSData
|
|
679
|
+
|
|
680
|
+
writeToFile(path: string): boolean
|
|
681
|
+
|
|
682
|
+
writeToFileWithOptions(
|
|
683
|
+
path: string,
|
|
684
|
+
options:
|
|
685
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
686
|
+
| Record<interop.Object, interop.Object>
|
|
687
|
+
| null,
|
|
688
|
+
): boolean
|
|
689
|
+
|
|
690
|
+
writeToURL(url: NSURL): boolean
|
|
691
|
+
|
|
692
|
+
writeToURLWithOptions(
|
|
693
|
+
url: NSURL,
|
|
694
|
+
options:
|
|
695
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
696
|
+
| Record<interop.Object, interop.Object>
|
|
697
|
+
| null,
|
|
698
|
+
): boolean
|
|
699
|
+
|
|
700
|
+
outlineRoot: PDFOutline
|
|
701
|
+
|
|
702
|
+
outlineItemForSelection(selection: PDFSelection): PDFOutline
|
|
703
|
+
|
|
704
|
+
readonly pageCount: number
|
|
705
|
+
|
|
706
|
+
pageAtIndex(index: number): PDFPage
|
|
707
|
+
|
|
708
|
+
indexForPage(page: PDFPage): number
|
|
709
|
+
|
|
710
|
+
insertPageAtIndex(page: PDFPage, index: number): void
|
|
711
|
+
|
|
712
|
+
removePageAtIndex(index: number): void
|
|
713
|
+
|
|
714
|
+
exchangePageAtIndexWithPageAtIndex(indexA: number, indexB: number): void
|
|
715
|
+
|
|
716
|
+
readonly pageClass: interop.Pointer
|
|
717
|
+
|
|
718
|
+
findStringWithOptions(
|
|
719
|
+
string: string,
|
|
720
|
+
options: interop.Enum<typeof NSStringCompareOptions>,
|
|
721
|
+
): NSArray
|
|
722
|
+
|
|
723
|
+
beginFindStringWithOptions(
|
|
724
|
+
string: string,
|
|
725
|
+
options: interop.Enum<typeof NSStringCompareOptions>,
|
|
726
|
+
): void
|
|
727
|
+
|
|
728
|
+
beginFindStringsWithOptions(
|
|
729
|
+
strings: NSArray<interop.Object> | Array<interop.Object>,
|
|
730
|
+
options: interop.Enum<typeof NSStringCompareOptions>,
|
|
731
|
+
): void
|
|
732
|
+
|
|
733
|
+
findStringFromSelectionWithOptions(
|
|
734
|
+
string: string,
|
|
735
|
+
selection: PDFSelection | null,
|
|
736
|
+
options: interop.Enum<typeof NSStringCompareOptions>,
|
|
737
|
+
): PDFSelection
|
|
738
|
+
|
|
739
|
+
readonly isFinding: boolean
|
|
740
|
+
|
|
741
|
+
cancelFindString(): void
|
|
742
|
+
|
|
743
|
+
printOperationForPrintInfoScalingModeAutoRotate(
|
|
744
|
+
printInfo: NSPrintInfo | null,
|
|
745
|
+
scaleMode: interop.Enum<typeof PDFPrintScalingMode>,
|
|
746
|
+
doRotate: boolean,
|
|
747
|
+
): NSPrintOperation
|
|
748
|
+
|
|
749
|
+
readonly selectionForEntireDocument: PDFSelection
|
|
750
|
+
|
|
751
|
+
selectionFromPageAtPointToPageAtPoint(
|
|
752
|
+
startPage: PDFPage,
|
|
753
|
+
startPoint: CGPoint,
|
|
754
|
+
endPage: PDFPage,
|
|
755
|
+
endPoint: CGPoint,
|
|
756
|
+
): PDFSelection
|
|
757
|
+
|
|
758
|
+
selectionFromPageAtCharacterIndexToPageAtCharacterIndex(
|
|
759
|
+
startPage: PDFPage,
|
|
760
|
+
startCharacter: number,
|
|
761
|
+
endPage: PDFPage,
|
|
762
|
+
endCharacter: number,
|
|
763
|
+
): PDFSelection
|
|
764
|
+
|
|
765
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
declare class PDFDestination extends NSObject implements NSCopying {
|
|
769
|
+
initWithPageAtPoint(page: PDFPage, point: CGPoint): this
|
|
770
|
+
|
|
771
|
+
readonly page: PDFPage | null
|
|
772
|
+
|
|
773
|
+
readonly point: CGPoint
|
|
774
|
+
|
|
775
|
+
zoom: number
|
|
776
|
+
|
|
777
|
+
compare(destination: PDFDestination): interop.Enum<typeof NSComparisonResult>
|
|
778
|
+
|
|
779
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
declare class PDFBorder extends NSObject implements NSCopying, NSCoding {
|
|
783
|
+
style: interop.Enum<typeof PDFBorderStyle>
|
|
784
|
+
|
|
785
|
+
lineWidth: number
|
|
786
|
+
|
|
787
|
+
get dashPattern(): NSArray
|
|
788
|
+
set dashPattern(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
789
|
+
|
|
790
|
+
readonly borderKeyValues: NSDictionary
|
|
791
|
+
|
|
792
|
+
drawInRect(rect: CGRect): void
|
|
793
|
+
|
|
794
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
795
|
+
|
|
796
|
+
encodeWithCoder(coder: NSCoder): void
|
|
797
|
+
|
|
798
|
+
initWithCoder(coder: NSCoder): this
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
declare class PDFPage extends NSObject implements NSCopying {
|
|
802
|
+
init(): this
|
|
803
|
+
|
|
804
|
+
initWithImage(image: NSImage): this
|
|
805
|
+
|
|
806
|
+
readonly document: PDFDocument
|
|
807
|
+
|
|
808
|
+
readonly pageRef: interop.Object
|
|
809
|
+
|
|
810
|
+
readonly label: string
|
|
811
|
+
|
|
812
|
+
boundsForBox(box: interop.Enum<typeof PDFDisplayBox>): CGRect
|
|
813
|
+
|
|
814
|
+
setBoundsForBox(bounds: CGRect, box: interop.Enum<typeof PDFDisplayBox>): void
|
|
815
|
+
|
|
816
|
+
rotation: number
|
|
817
|
+
|
|
818
|
+
readonly annotations: NSArray
|
|
819
|
+
|
|
820
|
+
displaysAnnotations: boolean
|
|
821
|
+
|
|
822
|
+
addAnnotation(annotation: PDFAnnotation): void
|
|
823
|
+
|
|
824
|
+
removeAnnotation(annotation: PDFAnnotation): void
|
|
825
|
+
|
|
826
|
+
annotationAtPoint(point: CGPoint): PDFAnnotation
|
|
827
|
+
|
|
828
|
+
transformForBox(box: interop.Enum<typeof PDFDisplayBox>): CGAffineTransform
|
|
829
|
+
|
|
830
|
+
drawWithBoxToContext(box: interop.Enum<typeof PDFDisplayBox>, context: interop.Object): void
|
|
831
|
+
|
|
832
|
+
transformContextForBox(context: interop.Object, box: interop.Enum<typeof PDFDisplayBox>): void
|
|
833
|
+
|
|
834
|
+
thumbnailOfSizeForBox(size: CGSize, box: interop.Enum<typeof PDFDisplayBox>): NSImage
|
|
835
|
+
|
|
836
|
+
readonly numberOfCharacters: number
|
|
837
|
+
|
|
838
|
+
readonly string: string
|
|
839
|
+
|
|
840
|
+
readonly attributedString: NSAttributedString
|
|
841
|
+
|
|
842
|
+
characterBoundsAtIndex(index: number): CGRect
|
|
843
|
+
|
|
844
|
+
characterIndexAtPoint(point: CGPoint): number
|
|
845
|
+
|
|
846
|
+
selectionForRect(rect: CGRect): PDFSelection
|
|
847
|
+
|
|
848
|
+
selectionForWordAtPoint(point: CGPoint): PDFSelection
|
|
849
|
+
|
|
850
|
+
selectionForLineAtPoint(point: CGPoint): PDFSelection
|
|
851
|
+
|
|
852
|
+
selectionFromPointToPoint(startPoint: CGPoint, endPoint: CGPoint): PDFSelection
|
|
853
|
+
|
|
854
|
+
selectionForRange(range: _NSRange): PDFSelection
|
|
855
|
+
|
|
856
|
+
readonly dataRepresentation: NSData
|
|
857
|
+
|
|
858
|
+
drawWithBox(box: interop.Enum<typeof PDFDisplayBox>): void
|
|
859
|
+
|
|
860
|
+
transformContextForBox(box: interop.Enum<typeof PDFDisplayBox>): void
|
|
861
|
+
|
|
862
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
declare class PDFActionURL extends PDFAction implements NSCopying {
|
|
866
|
+
initWithURL(url: NSURL): this
|
|
867
|
+
|
|
868
|
+
URL: NSURL
|
|
869
|
+
|
|
870
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
declare class PDFActionNamed extends PDFAction implements NSCopying {
|
|
874
|
+
initWithName(name: interop.Enum<typeof PDFActionNamedName>): this
|
|
875
|
+
|
|
876
|
+
name: interop.Enum<typeof PDFActionNamedName>
|
|
877
|
+
|
|
878
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
declare class PDFAction extends NSObject implements NSCopying {
|
|
882
|
+
readonly type: string
|
|
883
|
+
|
|
884
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
declare class PDFActionResetForm extends PDFAction implements NSCopying {
|
|
888
|
+
init(): this
|
|
889
|
+
|
|
890
|
+
get fields(): NSArray
|
|
891
|
+
set fields(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
892
|
+
|
|
893
|
+
fieldsIncludedAreCleared: boolean
|
|
894
|
+
|
|
895
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
declare class PDFAnnotationTextWidget extends PDFAnnotation implements NSCopying {
|
|
899
|
+
stringValue(): string
|
|
900
|
+
|
|
901
|
+
setStringValue(value: string): void
|
|
902
|
+
|
|
903
|
+
attributedStringValue(): NSAttributedString
|
|
904
|
+
|
|
905
|
+
setAttributedStringValue(value: NSAttributedString): void
|
|
906
|
+
|
|
907
|
+
backgroundColor: NSColor
|
|
908
|
+
|
|
909
|
+
setBackgroundColor(backgroundColor: NSColor | null): void
|
|
910
|
+
setBackgroundColor(color: NSColor): void
|
|
911
|
+
|
|
912
|
+
rotation(): number
|
|
913
|
+
|
|
914
|
+
setRotation(rotation: number): void
|
|
915
|
+
|
|
916
|
+
font: NSFont
|
|
917
|
+
|
|
918
|
+
setFont(font: NSFont | null): void
|
|
919
|
+
setFont(font: NSFont): void
|
|
920
|
+
|
|
921
|
+
fontColor: NSColor
|
|
922
|
+
|
|
923
|
+
setFontColor(fontColor: NSColor | null): void
|
|
924
|
+
setFontColor(color: NSColor): void
|
|
925
|
+
|
|
926
|
+
alignment: interop.Enum<typeof NSTextAlignment>
|
|
927
|
+
|
|
928
|
+
setAlignment(alignment: interop.Enum<typeof NSTextAlignment>): void
|
|
929
|
+
|
|
930
|
+
maximumLength: number
|
|
931
|
+
|
|
932
|
+
setMaximumLength(maximumLength: number): void
|
|
933
|
+
setMaximumLength(maxLen: number): void
|
|
934
|
+
|
|
935
|
+
fieldName: string
|
|
936
|
+
|
|
937
|
+
setFieldName(fieldName: string | null): void
|
|
938
|
+
setFieldName(name: string): void
|
|
939
|
+
|
|
940
|
+
isMultiline(): boolean
|
|
941
|
+
|
|
942
|
+
setIsMultiline(multiline: boolean): void
|
|
943
|
+
|
|
944
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
declare class PDFAnnotationLine extends PDFAnnotation implements NSCopying, NSCoding {
|
|
948
|
+
startPoint: CGPoint
|
|
949
|
+
|
|
950
|
+
setStartPoint(startPoint: CGPoint): void
|
|
951
|
+
setStartPoint(point: CGPoint): void
|
|
952
|
+
|
|
953
|
+
endPoint: CGPoint
|
|
954
|
+
|
|
955
|
+
setEndPoint(endPoint: CGPoint): void
|
|
956
|
+
setEndPoint(point: CGPoint): void
|
|
957
|
+
|
|
958
|
+
startLineStyle: interop.Enum<typeof PDFLineStyle>
|
|
959
|
+
|
|
960
|
+
setStartLineStyle(startLineStyle: interop.Enum<typeof PDFLineStyle>): void
|
|
961
|
+
setStartLineStyle(style: interop.Enum<typeof PDFLineStyle>): void
|
|
962
|
+
|
|
963
|
+
endLineStyle: interop.Enum<typeof PDFLineStyle>
|
|
964
|
+
|
|
965
|
+
setEndLineStyle(endLineStyle: interop.Enum<typeof PDFLineStyle>): void
|
|
966
|
+
setEndLineStyle(style: interop.Enum<typeof PDFLineStyle>): void
|
|
967
|
+
|
|
968
|
+
interiorColor: NSColor
|
|
969
|
+
|
|
970
|
+
setInteriorColor(interiorColor: NSColor | null): void
|
|
971
|
+
setInteriorColor(color: NSColor): void
|
|
972
|
+
|
|
973
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
974
|
+
|
|
975
|
+
encodeWithCoder(coder: NSCoder): void
|
|
976
|
+
|
|
977
|
+
initWithCoder(coder: NSCoder): this
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
declare class PDFAnnotationButtonWidget extends PDFAnnotation implements NSCopying {
|
|
981
|
+
controlType(): interop.Enum<typeof PDFWidgetControlType>
|
|
982
|
+
|
|
983
|
+
setControlType(type: interop.Enum<typeof PDFWidgetControlType>): void
|
|
984
|
+
|
|
985
|
+
state(): number
|
|
986
|
+
|
|
987
|
+
setState(value: number): void
|
|
988
|
+
|
|
989
|
+
backgroundColor: NSColor
|
|
990
|
+
|
|
991
|
+
setBackgroundColor(backgroundColor: NSColor | null): void
|
|
992
|
+
setBackgroundColor(color: NSColor): void
|
|
993
|
+
|
|
994
|
+
allowsToggleToOff: boolean
|
|
995
|
+
|
|
996
|
+
setAllowsToggleToOff(allowsToggleToOff: boolean): void
|
|
997
|
+
setAllowsToggleToOff(allowOff: boolean): void
|
|
998
|
+
|
|
999
|
+
font: NSFont
|
|
1000
|
+
|
|
1001
|
+
setFont(font: NSFont | null): void
|
|
1002
|
+
setFont(font: NSFont): void
|
|
1003
|
+
|
|
1004
|
+
fontColor: NSColor
|
|
1005
|
+
|
|
1006
|
+
setFontColor(fontColor: NSColor | null): void
|
|
1007
|
+
setFontColor(color: NSColor): void
|
|
1008
|
+
|
|
1009
|
+
caption: string
|
|
1010
|
+
|
|
1011
|
+
setCaption(caption: string | null): void
|
|
1012
|
+
setCaption(name: string): void
|
|
1013
|
+
|
|
1014
|
+
fieldName: string
|
|
1015
|
+
|
|
1016
|
+
setFieldName(fieldName: string | null): void
|
|
1017
|
+
setFieldName(name: string): void
|
|
1018
|
+
|
|
1019
|
+
onStateValue(): string
|
|
1020
|
+
|
|
1021
|
+
setOnStateValue(name: string): void
|
|
1022
|
+
|
|
1023
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
declare class PDFAnnotationPopup extends PDFAnnotation implements NSCopying, NSCoding {
|
|
1027
|
+
isOpen(): boolean
|
|
1028
|
+
|
|
1029
|
+
setIsOpen(isOpen: boolean): void
|
|
1030
|
+
|
|
1031
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1032
|
+
|
|
1033
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1034
|
+
|
|
1035
|
+
initWithCoder(coder: NSCoder): this
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
declare class PDFAnnotation extends NSObject implements NSCopying, NSCoding {
|
|
1039
|
+
initWithBoundsForTypeWithProperties(
|
|
1040
|
+
bounds: CGRect,
|
|
1041
|
+
annotationType: string,
|
|
1042
|
+
properties:
|
|
1043
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
1044
|
+
| Record<interop.Object, interop.Object>
|
|
1045
|
+
| null,
|
|
1046
|
+
): this
|
|
1047
|
+
|
|
1048
|
+
page: PDFPage
|
|
1049
|
+
|
|
1050
|
+
type: string
|
|
1051
|
+
|
|
1052
|
+
bounds: CGRect
|
|
1053
|
+
|
|
1054
|
+
shouldDisplay: boolean
|
|
1055
|
+
|
|
1056
|
+
shouldPrint: boolean
|
|
1057
|
+
|
|
1058
|
+
modificationDate: NSDate
|
|
1059
|
+
|
|
1060
|
+
userName: string
|
|
1061
|
+
|
|
1062
|
+
popup: PDFAnnotation
|
|
1063
|
+
|
|
1064
|
+
border: PDFBorder
|
|
1065
|
+
|
|
1066
|
+
color: NSColor
|
|
1067
|
+
|
|
1068
|
+
contents: string
|
|
1069
|
+
|
|
1070
|
+
action: PDFAction
|
|
1071
|
+
|
|
1072
|
+
readonly hasAppearanceStream: boolean
|
|
1073
|
+
|
|
1074
|
+
highlighted: boolean
|
|
1075
|
+
|
|
1076
|
+
drawWithBoxInContext(box: interop.Enum<typeof PDFDisplayBox>, context: interop.Object): void
|
|
1077
|
+
|
|
1078
|
+
setValueForAnnotationKey(value: interop.Object, key: string): boolean
|
|
1079
|
+
|
|
1080
|
+
setBooleanForAnnotationKey(value: boolean, key: string): boolean
|
|
1081
|
+
|
|
1082
|
+
setRectForAnnotationKey(value: CGRect, key: string): boolean
|
|
1083
|
+
|
|
1084
|
+
readonly annotationKeyValues: NSDictionary
|
|
1085
|
+
|
|
1086
|
+
valueForAnnotationKey(key: string): interop.Object
|
|
1087
|
+
|
|
1088
|
+
removeValueForAnnotationKey(key: string): void
|
|
1089
|
+
|
|
1090
|
+
isHighlighted(): boolean
|
|
1091
|
+
|
|
1092
|
+
initWithDictionaryForPage(
|
|
1093
|
+
dictionary:
|
|
1094
|
+
| NSDictionary<interop.Object, interop.Object>
|
|
1095
|
+
| Record<interop.Object, interop.Object>,
|
|
1096
|
+
page: PDFPage | null,
|
|
1097
|
+
): this
|
|
1098
|
+
|
|
1099
|
+
initWithBounds(bounds: CGRect): this
|
|
1100
|
+
|
|
1101
|
+
readonly toolTip: string
|
|
1102
|
+
|
|
1103
|
+
mouseUpAction: PDFAction
|
|
1104
|
+
|
|
1105
|
+
removeAllAppearanceStreams(): void
|
|
1106
|
+
|
|
1107
|
+
drawWithBox(box: interop.Enum<typeof PDFDisplayBox>): void
|
|
1108
|
+
|
|
1109
|
+
font: NSFont
|
|
1110
|
+
|
|
1111
|
+
fontColor: NSColor
|
|
1112
|
+
|
|
1113
|
+
interiorColor: NSColor
|
|
1114
|
+
|
|
1115
|
+
alignment: interop.Enum<typeof NSTextAlignment>
|
|
1116
|
+
|
|
1117
|
+
startPoint: CGPoint
|
|
1118
|
+
|
|
1119
|
+
endPoint: CGPoint
|
|
1120
|
+
|
|
1121
|
+
startLineStyle: interop.Enum<typeof PDFLineStyle>
|
|
1122
|
+
|
|
1123
|
+
endLineStyle: interop.Enum<typeof PDFLineStyle>
|
|
1124
|
+
|
|
1125
|
+
static lineStyleFromName(name: string): interop.Enum<typeof PDFLineStyle>
|
|
1126
|
+
|
|
1127
|
+
static nameForLineStyle(style: interop.Enum<typeof PDFLineStyle>): string
|
|
1128
|
+
|
|
1129
|
+
iconType: interop.Enum<typeof PDFTextAnnotationIconType>
|
|
1130
|
+
|
|
1131
|
+
get quadrilateralPoints(): NSArray
|
|
1132
|
+
set quadrilateralPoints(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1133
|
+
|
|
1134
|
+
markupType: interop.Enum<typeof PDFMarkupType>
|
|
1135
|
+
|
|
1136
|
+
widgetFieldType: string
|
|
1137
|
+
|
|
1138
|
+
widgetControlType: interop.Enum<typeof PDFWidgetControlType>
|
|
1139
|
+
|
|
1140
|
+
multiline: boolean
|
|
1141
|
+
|
|
1142
|
+
readonly activatableTextField: boolean
|
|
1143
|
+
|
|
1144
|
+
readonly isPasswordField: boolean
|
|
1145
|
+
|
|
1146
|
+
comb: boolean
|
|
1147
|
+
|
|
1148
|
+
maximumLength: number
|
|
1149
|
+
|
|
1150
|
+
widgetStringValue: string
|
|
1151
|
+
|
|
1152
|
+
widgetDefaultStringValue: string
|
|
1153
|
+
|
|
1154
|
+
allowsToggleToOff: boolean
|
|
1155
|
+
|
|
1156
|
+
radiosInUnison: boolean
|
|
1157
|
+
|
|
1158
|
+
readOnly: boolean
|
|
1159
|
+
|
|
1160
|
+
listChoice: boolean
|
|
1161
|
+
|
|
1162
|
+
get choices(): NSArray
|
|
1163
|
+
set choices(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1164
|
+
|
|
1165
|
+
get values(): NSArray
|
|
1166
|
+
set values(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1167
|
+
|
|
1168
|
+
buttonWidgetState: interop.Enum<typeof PDFWidgetCellState>
|
|
1169
|
+
|
|
1170
|
+
buttonWidgetStateString: string
|
|
1171
|
+
|
|
1172
|
+
open: boolean
|
|
1173
|
+
|
|
1174
|
+
readonly paths: NSArray
|
|
1175
|
+
|
|
1176
|
+
addBezierPath(path: NSBezierPath): void
|
|
1177
|
+
|
|
1178
|
+
removeBezierPath(path: NSBezierPath): void
|
|
1179
|
+
|
|
1180
|
+
destination: PDFDestination
|
|
1181
|
+
|
|
1182
|
+
URL: NSURL
|
|
1183
|
+
|
|
1184
|
+
fieldName: string
|
|
1185
|
+
|
|
1186
|
+
caption: string
|
|
1187
|
+
|
|
1188
|
+
backgroundColor: NSColor
|
|
1189
|
+
|
|
1190
|
+
stampName: string
|
|
1191
|
+
|
|
1192
|
+
isMultiline(): boolean
|
|
1193
|
+
|
|
1194
|
+
isActivatableTextField(): boolean
|
|
1195
|
+
|
|
1196
|
+
hasComb(): boolean
|
|
1197
|
+
|
|
1198
|
+
isReadOnly(): boolean
|
|
1199
|
+
|
|
1200
|
+
isListChoice(): boolean
|
|
1201
|
+
|
|
1202
|
+
isOpen(): boolean
|
|
1203
|
+
|
|
1204
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1205
|
+
|
|
1206
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1207
|
+
|
|
1208
|
+
initWithCoder(coder: NSCoder): this
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
declare class PDFView extends NSView implements NSAnimationDelegate, NSMenuDelegate {
|
|
1212
|
+
document: PDFDocument
|
|
1213
|
+
|
|
1214
|
+
readonly canGoToFirstPage: boolean
|
|
1215
|
+
|
|
1216
|
+
goToFirstPage(sender: interop.Object | null): void
|
|
1217
|
+
|
|
1218
|
+
readonly canGoToLastPage: boolean
|
|
1219
|
+
|
|
1220
|
+
goToLastPage(sender: interop.Object | null): void
|
|
1221
|
+
|
|
1222
|
+
readonly canGoToNextPage: boolean
|
|
1223
|
+
|
|
1224
|
+
goToNextPage(sender: interop.Object | null): void
|
|
1225
|
+
|
|
1226
|
+
readonly canGoToPreviousPage: boolean
|
|
1227
|
+
|
|
1228
|
+
goToPreviousPage(sender: interop.Object | null): void
|
|
1229
|
+
|
|
1230
|
+
readonly canGoBack: boolean
|
|
1231
|
+
|
|
1232
|
+
goBack(sender: interop.Object | null): void
|
|
1233
|
+
|
|
1234
|
+
readonly canGoForward: boolean
|
|
1235
|
+
|
|
1236
|
+
goForward(sender: interop.Object | null): void
|
|
1237
|
+
|
|
1238
|
+
readonly currentPage: PDFPage
|
|
1239
|
+
|
|
1240
|
+
goToPage(page: PDFPage): void
|
|
1241
|
+
|
|
1242
|
+
readonly currentDestination: PDFDestination
|
|
1243
|
+
|
|
1244
|
+
goToDestination(destination: PDFDestination): void
|
|
1245
|
+
|
|
1246
|
+
goToSelection(selection: PDFSelection): void
|
|
1247
|
+
|
|
1248
|
+
goToRectOnPage(rect: CGRect, page: PDFPage): void
|
|
1249
|
+
|
|
1250
|
+
displayMode: interop.Enum<typeof PDFDisplayMode>
|
|
1251
|
+
|
|
1252
|
+
displayDirection: interop.Enum<typeof PDFDisplayDirection>
|
|
1253
|
+
|
|
1254
|
+
displaysPageBreaks: boolean
|
|
1255
|
+
|
|
1256
|
+
pageBreakMargins: NSEdgeInsets
|
|
1257
|
+
|
|
1258
|
+
displayBox: interop.Enum<typeof PDFDisplayBox>
|
|
1259
|
+
|
|
1260
|
+
displaysAsBook: boolean
|
|
1261
|
+
|
|
1262
|
+
displaysRTL: boolean
|
|
1263
|
+
|
|
1264
|
+
backgroundColor: NSColor
|
|
1265
|
+
|
|
1266
|
+
interpolationQuality: interop.Enum<typeof PDFInterpolationQuality>
|
|
1267
|
+
|
|
1268
|
+
pageShadowsEnabled: boolean
|
|
1269
|
+
|
|
1270
|
+
delegate: PDFViewDelegate
|
|
1271
|
+
|
|
1272
|
+
scaleFactor: number
|
|
1273
|
+
|
|
1274
|
+
minScaleFactor: number
|
|
1275
|
+
|
|
1276
|
+
maxScaleFactor: number
|
|
1277
|
+
|
|
1278
|
+
autoScales: boolean
|
|
1279
|
+
|
|
1280
|
+
readonly scaleFactorForSizeToFit: number
|
|
1281
|
+
|
|
1282
|
+
zoomIn(sender: interop.Object | null): void
|
|
1283
|
+
|
|
1284
|
+
readonly canZoomIn: boolean
|
|
1285
|
+
|
|
1286
|
+
zoomOut(sender: interop.Object | null): void
|
|
1287
|
+
|
|
1288
|
+
readonly canZoomOut: boolean
|
|
1289
|
+
|
|
1290
|
+
areaOfInterestForMouse(event: NSEvent): interop.Enum<typeof PDFAreaOfInterest>
|
|
1291
|
+
|
|
1292
|
+
areaOfInterestForPoint(cursorLocation: CGPoint): interop.Enum<typeof PDFAreaOfInterest>
|
|
1293
|
+
|
|
1294
|
+
setCursorForAreaOfInterest(area: interop.Enum<typeof PDFAreaOfInterest>): void
|
|
1295
|
+
|
|
1296
|
+
performAction(action: PDFAction): void
|
|
1297
|
+
|
|
1298
|
+
currentSelection: PDFSelection
|
|
1299
|
+
|
|
1300
|
+
setCurrentSelectionAnimate(selection: PDFSelection | null, animate: boolean): void
|
|
1301
|
+
|
|
1302
|
+
clearSelection(): void
|
|
1303
|
+
|
|
1304
|
+
selectAll(sender: interop.Object | null): void
|
|
1305
|
+
|
|
1306
|
+
scrollSelectionToVisible(sender: interop.Object | null): void
|
|
1307
|
+
|
|
1308
|
+
get highlightedSelections(): NSArray
|
|
1309
|
+
set highlightedSelections(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1310
|
+
|
|
1311
|
+
drawPageToContext(page: PDFPage, context: interop.Object): void
|
|
1312
|
+
|
|
1313
|
+
drawPagePostToContext(page: PDFPage, context: interop.Object): void
|
|
1314
|
+
|
|
1315
|
+
copy(): interop.Object
|
|
1316
|
+
copy(sender: interop.Object | null): void
|
|
1317
|
+
|
|
1318
|
+
printWithInfoAutoRotate(printInfo: NSPrintInfo, doRotate: boolean): void
|
|
1319
|
+
|
|
1320
|
+
printWithInfoAutoRotatePageScaling(
|
|
1321
|
+
printInfo: NSPrintInfo,
|
|
1322
|
+
doRotate: boolean,
|
|
1323
|
+
scale: interop.Enum<typeof PDFPrintScalingMode>,
|
|
1324
|
+
): void
|
|
1325
|
+
|
|
1326
|
+
pageForPointNearest(point: CGPoint, nearest: boolean): PDFPage
|
|
1327
|
+
|
|
1328
|
+
convertPointToPage(point: CGPoint, page: PDFPage): CGPoint
|
|
1329
|
+
|
|
1330
|
+
convertRectToPage(rect: CGRect, page: PDFPage): CGRect
|
|
1331
|
+
|
|
1332
|
+
convertPointFromPage(point: CGPoint, page: PDFPage): CGPoint
|
|
1333
|
+
|
|
1334
|
+
convertRectFromPage(rect: CGRect, page: PDFPage): CGRect
|
|
1335
|
+
|
|
1336
|
+
readonly documentView: NSView
|
|
1337
|
+
|
|
1338
|
+
layoutDocumentView(): void
|
|
1339
|
+
|
|
1340
|
+
annotationsChangedOnPage(page: PDFPage): void
|
|
1341
|
+
|
|
1342
|
+
rowSizeForPage(page: PDFPage): CGSize
|
|
1343
|
+
|
|
1344
|
+
acceptsDraggedFiles: boolean
|
|
1345
|
+
|
|
1346
|
+
readonly visiblePages: NSArray
|
|
1347
|
+
|
|
1348
|
+
enableDataDetectors: boolean
|
|
1349
|
+
|
|
1350
|
+
takePasswordFrom(sender: interop.Object): void
|
|
1351
|
+
|
|
1352
|
+
drawPage(page: PDFPage): void
|
|
1353
|
+
|
|
1354
|
+
drawPagePost(page: PDFPage): void
|
|
1355
|
+
|
|
1356
|
+
shouldAntiAlias: boolean
|
|
1357
|
+
|
|
1358
|
+
greekingThreshold: number
|
|
1359
|
+
|
|
1360
|
+
takeBackgroundColorFrom(sender: interop.Object): void
|
|
1361
|
+
|
|
1362
|
+
allowsDragging: boolean
|
|
1363
|
+
|
|
1364
|
+
animationShouldStart(animation: NSAnimation): boolean
|
|
1365
|
+
|
|
1366
|
+
animationDidStop(animation: NSAnimation): void
|
|
1367
|
+
|
|
1368
|
+
animationDidEnd(animation: NSAnimation): void
|
|
1369
|
+
|
|
1370
|
+
animationValueForProgress(animation: NSAnimation, progress: number): number
|
|
1371
|
+
|
|
1372
|
+
animationDidReachProgressMark(animation: NSAnimation, progress: number): void
|
|
1373
|
+
|
|
1374
|
+
isEqual(object: interop.Object): boolean
|
|
1375
|
+
|
|
1376
|
+
readonly hash: number
|
|
1377
|
+
|
|
1378
|
+
readonly superclass: interop.Pointer
|
|
1379
|
+
|
|
1380
|
+
class(): interop.Pointer
|
|
1381
|
+
|
|
1382
|
+
self(): this
|
|
1383
|
+
|
|
1384
|
+
performSelector(aSelector: string): interop.Object
|
|
1385
|
+
|
|
1386
|
+
performSelectorWithObject(aSelector: string, object: interop.Object): interop.Object
|
|
1387
|
+
|
|
1388
|
+
performSelectorWithObjectWithObject(
|
|
1389
|
+
aSelector: string,
|
|
1390
|
+
object1: interop.Object,
|
|
1391
|
+
object2: interop.Object,
|
|
1392
|
+
): interop.Object
|
|
1393
|
+
|
|
1394
|
+
readonly isProxy: boolean
|
|
1395
|
+
|
|
1396
|
+
isKindOfClass(aClass: interop.PointerConvertible): boolean
|
|
1397
|
+
|
|
1398
|
+
isMemberOfClass(aClass: interop.PointerConvertible): boolean
|
|
1399
|
+
|
|
1400
|
+
conformsToProtocol(aProtocol: interop.PointerConvertible): boolean
|
|
1401
|
+
|
|
1402
|
+
respondsToSelector(aSelector: string): boolean
|
|
1403
|
+
|
|
1404
|
+
retain(): this
|
|
1405
|
+
|
|
1406
|
+
release(): void
|
|
1407
|
+
|
|
1408
|
+
autorelease(): this
|
|
1409
|
+
|
|
1410
|
+
retainCount(): number
|
|
1411
|
+
|
|
1412
|
+
readonly zone: interop.Pointer
|
|
1413
|
+
|
|
1414
|
+
readonly description: string
|
|
1415
|
+
|
|
1416
|
+
readonly debugDescription: string
|
|
1417
|
+
|
|
1418
|
+
menuNeedsUpdate(menu: NSMenu): void
|
|
1419
|
+
|
|
1420
|
+
numberOfItemsInMenu(menu: NSMenu): number
|
|
1421
|
+
|
|
1422
|
+
menuUpdateItemAtIndexShouldCancel(
|
|
1423
|
+
menu: NSMenu,
|
|
1424
|
+
item: NSMenuItem,
|
|
1425
|
+
index: number,
|
|
1426
|
+
shouldCancel: boolean,
|
|
1427
|
+
): boolean
|
|
1428
|
+
|
|
1429
|
+
menuHasKeyEquivalentForEventTargetAction(
|
|
1430
|
+
menu: NSMenu,
|
|
1431
|
+
event: NSEvent,
|
|
1432
|
+
target: interop.PointerConvertible,
|
|
1433
|
+
action: interop.PointerConvertible,
|
|
1434
|
+
): boolean
|
|
1435
|
+
|
|
1436
|
+
menuWillOpen(menu: NSMenu): void
|
|
1437
|
+
|
|
1438
|
+
menuDidClose(menu: NSMenu): void
|
|
1439
|
+
|
|
1440
|
+
menuWillHighlightItem(menu: NSMenu, item: NSMenuItem | null): void
|
|
1441
|
+
|
|
1442
|
+
confinementRectForMenuOnScreen(menu: NSMenu, screen: NSScreen | null): CGRect
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
declare class PDFActionRemoteGoTo extends PDFAction implements NSCopying {
|
|
1446
|
+
initWithPageIndexAtPointFileURL(pageIndex: number, point: CGPoint, url: NSURL): this
|
|
1447
|
+
|
|
1448
|
+
pageIndex: number
|
|
1449
|
+
|
|
1450
|
+
point: CGPoint
|
|
1451
|
+
|
|
1452
|
+
URL: NSURL
|
|
1453
|
+
|
|
1454
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
declare class PDFAppearanceCharacteristics extends NSObject implements NSCopying {
|
|
1458
|
+
controlType: interop.Enum<typeof PDFWidgetControlType>
|
|
1459
|
+
|
|
1460
|
+
backgroundColor: NSColor
|
|
1461
|
+
|
|
1462
|
+
borderColor: NSColor
|
|
1463
|
+
|
|
1464
|
+
rotation: number
|
|
1465
|
+
|
|
1466
|
+
caption: string
|
|
1467
|
+
|
|
1468
|
+
rolloverCaption: string
|
|
1469
|
+
|
|
1470
|
+
downCaption: string
|
|
1471
|
+
|
|
1472
|
+
readonly appearanceCharacteristicsKeyValues: NSDictionary
|
|
1473
|
+
|
|
1474
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
declare class PDFActionGoTo extends PDFAction implements NSCopying {
|
|
1478
|
+
initWithDestination(destination: PDFDestination): this
|
|
1479
|
+
|
|
1480
|
+
destination: PDFDestination
|
|
1481
|
+
|
|
1482
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
declare class PDFAnnotationStamp extends PDFAnnotation implements NSCopying {
|
|
1486
|
+
name(): string
|
|
1487
|
+
|
|
1488
|
+
setName(name: string): void
|
|
1489
|
+
|
|
1490
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
declare class PDFAnnotationText extends PDFAnnotation implements NSCopying, NSCoding {
|
|
1494
|
+
iconType: interop.Enum<typeof PDFTextAnnotationIconType>
|
|
1495
|
+
|
|
1496
|
+
setIconType(type: interop.Enum<typeof PDFTextAnnotationIconType>): void
|
|
1497
|
+
|
|
1498
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1499
|
+
|
|
1500
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1501
|
+
|
|
1502
|
+
initWithCoder(coder: NSCoder): this
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
declare class PDFThumbnailView extends NSView implements NSCoding {
|
|
1506
|
+
PDFView: PDFView
|
|
1507
|
+
|
|
1508
|
+
backgroundColor: NSColor
|
|
1509
|
+
|
|
1510
|
+
readonly selectedPages: NSArray
|
|
1511
|
+
|
|
1512
|
+
thumbnailSize: CGSize
|
|
1513
|
+
|
|
1514
|
+
maximumNumberOfColumns: number
|
|
1515
|
+
|
|
1516
|
+
labelFont: NSFont
|
|
1517
|
+
|
|
1518
|
+
allowsDragging: boolean
|
|
1519
|
+
|
|
1520
|
+
allowsMultipleSelection: boolean
|
|
1521
|
+
|
|
1522
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1523
|
+
|
|
1524
|
+
initWithCoder(coder: NSCoder): this
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
declare class PDFAnnotationChoiceWidget extends PDFAnnotation implements NSCopying {
|
|
1528
|
+
stringValue(): string
|
|
1529
|
+
|
|
1530
|
+
setStringValue(value: string): void
|
|
1531
|
+
|
|
1532
|
+
backgroundColor: NSColor
|
|
1533
|
+
|
|
1534
|
+
setBackgroundColor(color: NSColor): void
|
|
1535
|
+
|
|
1536
|
+
font: NSFont
|
|
1537
|
+
|
|
1538
|
+
setFont(font: NSFont): void
|
|
1539
|
+
|
|
1540
|
+
fontColor: NSColor
|
|
1541
|
+
|
|
1542
|
+
setFontColor(color: NSColor): void
|
|
1543
|
+
|
|
1544
|
+
fieldName: string
|
|
1545
|
+
|
|
1546
|
+
setFieldName(name: string): void
|
|
1547
|
+
|
|
1548
|
+
isListChoice(): boolean
|
|
1549
|
+
|
|
1550
|
+
setIsListChoice(isList: boolean): void
|
|
1551
|
+
|
|
1552
|
+
get choices(): NSArray
|
|
1553
|
+
set choices(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1554
|
+
|
|
1555
|
+
setChoices(options: NSArray<interop.Object> | Array<interop.Object>): void
|
|
1556
|
+
|
|
1557
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
declare class PDFAnnotationMarkup extends PDFAnnotation implements NSCopying, NSCoding {
|
|
1561
|
+
get quadrilateralPoints(): NSArray
|
|
1562
|
+
set quadrilateralPoints(value: NSArray<interop.Object> | Array<interop.Object>)
|
|
1563
|
+
|
|
1564
|
+
setQuadrilateralPoints(points: NSArray<interop.Object> | Array<interop.Object>): void
|
|
1565
|
+
|
|
1566
|
+
markupType: interop.Enum<typeof PDFMarkupType>
|
|
1567
|
+
|
|
1568
|
+
setMarkupType(type: interop.Enum<typeof PDFMarkupType>): void
|
|
1569
|
+
|
|
1570
|
+
copyWithZone(zone: interop.PointerConvertible): interop.Object
|
|
1571
|
+
|
|
1572
|
+
encodeWithCoder(coder: NSCoder): void
|
|
1573
|
+
|
|
1574
|
+
initWithCoder(coder: NSCoder): this
|
|
1575
|
+
}
|