1# This file is generated by objective.metadata
2#
3# Last update: Fri Jun  8 16:58:05 2012
4
5import objc, sys
6
7if sys.maxsize > 2 ** 32:
8    def sel32or64(a, b): return b
9else:
10    def sel32or64(a, b): return a
11if sys.byteorder == 'little':
12    def littleOrBig(a, b): return a
13else:
14    def littleOrBig(a, b): return b
15
16misc = {
17}
18constants = '''$PDFDocumentAuthorAttribute$PDFDocumentCreationDateAttribute$PDFDocumentCreatorAttribute$PDFDocumentDidBeginFindNotification$PDFDocumentDidBeginPageFindNotification$PDFDocumentDidBeginPageWriteNotification$PDFDocumentDidBeginWriteNotification$PDFDocumentDidEndFindNotification$PDFDocumentDidEndPageFindNotification$PDFDocumentDidEndPageWriteNotification$PDFDocumentDidEndWriteNotification$PDFDocumentDidFindMatchNotification$PDFDocumentDidUnlockNotification$PDFDocumentKeywordsAttribute$PDFDocumentModificationDateAttribute$PDFDocumentProducerAttribute$PDFDocumentSubjectAttribute$PDFDocumentTitleAttribute$PDFThumbnailViewDocumentEditedNotification$PDFViewAnnotationHitNotification$PDFViewAnnotationWillHitNotification$PDFViewChangedHistoryNotification$PDFViewCopyPermissionNotification$PDFViewDisplayBoxChangedNotification$PDFViewDisplayModeChangedNotification$PDFViewDocumentChangedNotification$PDFViewPageChangedNotification$PDFViewPrintPermissionNotification$PDFViewScaleChangedNotification$PDFViewSelectionChangedNotification$'''
19enums = '''$kPDFActionNamedFind@8$kPDFActionNamedFirstPage@3$kPDFActionNamedGoBack@5$kPDFActionNamedGoForward@6$kPDFActionNamedGoToPage@7$kPDFActionNamedLastPage@4$kPDFActionNamedNextPage@1$kPDFActionNamedNone@0$kPDFActionNamedPreviousPage@2$kPDFActionNamedPrint@9$kPDFActionNamedZoomIn@10$kPDFActionNamedZoomOut@11$kPDFAnnotationArea@4$kPDFBorderStyleBeveled@2$kPDFBorderStyleDashed@1$kPDFBorderStyleInset@3$kPDFBorderStyleSolid@0$kPDFBorderStyleUnderline@4$kPDFControlArea@16$kPDFDisplayBoxArtBox@4$kPDFDisplayBoxBleedBox@2$kPDFDisplayBoxCropBox@1$kPDFDisplayBoxMediaBox@0$kPDFDisplayBoxTrimBox@3$kPDFDisplaySinglePage@0$kPDFDisplaySinglePageContinuous@1$kPDFDisplayTwoUp@2$kPDFDisplayTwoUpContinuous@3$kPDFDocumentPermissionsNone@0$kPDFDocumentPermissionsOwner@2$kPDFDocumentPermissionsUser@1$kPDFIconArea@64$kPDFInterpolationQualityHigh@2$kPDFInterpolationQualityLow@1$kPDFInterpolationQualityNone@0$kPDFLineStyleCircle@2$kPDFLineStyleClosedArrow@5$kPDFLineStyleDiamond@3$kPDFLineStyleNone@0$kPDFLineStyleOpenArrow@4$kPDFLineStyleSquare@1$kPDFLinkArea@8$kPDFMarkupTypeHighlight@0$kPDFMarkupTypeStrikeOut@1$kPDFMarkupTypeUnderline@2$kPDFNoArea@0$kPDFPageArea@1$kPDFPopupArea@128$kPDFPrintPageScaleDownToFit@2$kPDFPrintPageScaleNone@0$kPDFPrintPageScaleToFit@1$kPDFTextAnnotationIconComment@0$kPDFTextAnnotationIconHelp@3$kPDFTextAnnotationIconInsert@6$kPDFTextAnnotationIconKey@1$kPDFTextAnnotationIconNewParagraph@4$kPDFTextAnnotationIconNote@2$kPDFTextAnnotationIconParagraph@5$kPDFTextArea@2$kPDFTextFieldArea@32$kPDFWidgetCheckBoxControl@2$kPDFWidgetPushButtonControl@0$kPDFWidgetRadioButtonControl@1$kPDFWidgetUnknownControl@-1$'''
20misc.update({})
21aliases = {'kPDFDestinationUnspecifiedValue': 'FLT_MAX'}
22r = objc.registerMetaDataForSelector
23objc._updatingMetadata(True)
24try:
25    r(b'PDFActionResetForm', b'fieldsIncludedAreCleared', {'retval': {'type': b'Z'}})
26    r(b'PDFActionResetForm', b'setFieldsIncludedAreCleared:', {'arguments': {2: {'type': b'Z'}}})
27    r(b'PDFAnnotation', b'hasAppearanceStream', {'retval': {'type': b'Z'}})
28    r(b'PDFAnnotation', b'setShouldDisplay:', {'arguments': {2: {'type': b'Z'}}})
29    r(b'PDFAnnotation', b'setShouldPrint:', {'arguments': {2: {'type': b'Z'}}})
30    r(b'PDFAnnotation', b'shouldDisplay', {'retval': {'type': b'Z'}})
31    r(b'PDFAnnotation', b'shouldPrint', {'retval': {'type': b'Z'}})
32    r(b'PDFAnnotationButtonWidget', b'allowsToggleToOff', {'retval': {'type': b'Z'}})
33    r(b'PDFAnnotationButtonWidget', b'isHighlighted', {'retval': {'type': b'Z'}})
34    r(b'PDFAnnotationButtonWidget', b'setAllowsToggleToOff:', {'arguments': {2: {'type': b'Z'}}})
35    r(b'PDFAnnotationButtonWidget', b'setHighlighted:', {'arguments': {2: {'type': b'Z'}}})
36    r(b'PDFAnnotationChoiceWidget', b'isListChoice', {'retval': {'type': b'Z'}})
37    r(b'PDFAnnotationChoiceWidget', b'setIsListChoice:', {'arguments': {2: {'type': b'Z'}}})
38    r(b'PDFAnnotationLink', b'setHighlighted:', {'arguments': {2: {'type': b'Z'}}})
39    r(b'PDFAnnotationPopup', b'isOpen', {'retval': {'type': b'Z'}})
40    r(b'PDFAnnotationPopup', b'setIsOpen:', {'arguments': {2: {'type': b'Z'}}})
41    r(b'PDFDocument', b'allowsCopying', {'retval': {'type': b'Z'}})
42    r(b'PDFDocument', b'allowsPrinting', {'retval': {'type': b'Z'}})
43    r(b'PDFDocument', b'isEncrypted', {'retval': {'type': b'Z'}})
44    r(b'PDFDocument', b'isFinding', {'retval': {'type': b'Z'}})
45    r(b'PDFDocument', b'isLocked', {'retval': {'type': b'Z'}})
46    r(b'PDFDocument', b'printOperationForPrintInfo:scalingMode:autoRotate:', {'arguments': {4: {'type': b'Z'}}})
47    r(b'PDFDocument', b'unlockWithPassword:', {'retval': {'type': b'Z'}})
48    r(b'PDFDocument', b'writeToFile:', {'retval': {'type': b'Z'}})
49    r(b'PDFDocument', b'writeToFile:withOptions:', {'retval': {'type': b'Z'}})
50    r(b'PDFDocument', b'writeToURL:', {'retval': {'type': b'Z'}})
51    r(b'PDFDocument', b'writeToURL:withOptions:', {'retval': {'type': b'Z'}})
52    r(b'PDFOutline', b'isOpen', {'retval': {'type': b'Z'}})
53    r(b'PDFOutline', b'setIsOpen:', {'arguments': {2: {'type': b'Z'}}})
54    r(b'PDFPage', b'displaysAnnotations', {'retval': {'type': b'Z'}})
55    r(b'PDFPage', b'setDisplaysAnnotations:', {'arguments': {2: {'type': b'Z'}}})
56    r(b'PDFSelection', b'drawForPage:active:', {'arguments': {3: {'type': b'Z'}}})
57    r(b'PDFSelection', b'drawForPage:withBox:active:', {'arguments': {4: {'type': b'Z'}}})
58    r(b'PDFThumbnailView', b'allowsDragging', {'retval': {'type': b'Z'}})
59    r(b'PDFThumbnailView', b'allowsMultipleSelection', {'retval': {'type': b'Z'}})
60    r(b'PDFThumbnailView', b'setAllowsDragging:', {'arguments': {2: {'type': b'Z'}}})
61    r(b'PDFThumbnailView', b'setAllowsMultipleSelection:', {'arguments': {2: {'type': b'Z'}}})
62    r(b'PDFView', b'allowsDragging', {'retval': {'type': b'Z'}})
63    r(b'PDFView', b'autoScales', {'retval': {'type': b'Z'}})
64    r(b'PDFView', b'canGoBack', {'retval': {'type': b'Z'}})
65    r(b'PDFView', b'canGoForward', {'retval': {'type': b'Z'}})
66    r(b'PDFView', b'canGoToFirstPage', {'retval': {'type': b'Z'}})
67    r(b'PDFView', b'canGoToLastPage', {'retval': {'type': b'Z'}})
68    r(b'PDFView', b'canGoToNextPage', {'retval': {'type': b'Z'}})
69    r(b'PDFView', b'canGoToPreviousPage', {'retval': {'type': b'Z'}})
70    r(b'PDFView', b'canZoomIn', {'retval': {'type': b'Z'}})
71    r(b'PDFView', b'canZoomOut', {'retval': {'type': b'Z'}})
72    r(b'PDFView', b'displaysAsBook', {'retval': {'type': b'Z'}})
73    r(b'PDFView', b'displaysPageBreaks', {'retval': {'type': b'Z'}})
74    r(b'PDFView', b'enableDataDetectors', {'retval': {'type': b'Z'}})
75    r(b'PDFView', b'pageForPoint:nearest:', {'arguments': {3: {'type': b'Z'}}})
76    r(b'PDFView', b'printWithInfo:autoRotate:', {'arguments': {3: {'type': b'Z'}}})
77    r(b'PDFView', b'printWithInfo:autoRotate:pageScaling:', {'arguments': {3: {'type': b'Z'}}})
78    r(b'PDFView', b'setAllowsDragging:', {'arguments': {2: {'type': b'Z'}}})
79    r(b'PDFView', b'setAutoScales:', {'arguments': {2: {'type': b'Z'}}})
80    r(b'PDFView', b'setCurrentSelection:animate:', {'arguments': {3: {'type': b'Z'}}})
81    r(b'PDFView', b'setDisplaysAsBook:', {'arguments': {2: {'type': b'Z'}}})
82    r(b'PDFView', b'setDisplaysPageBreaks:', {'arguments': {2: {'type': b'Z'}}})
83    r(b'PDFView', b'setEnableDataDetectors:', {'arguments': {2: {'type': b'Z'}}})
84    r(b'PDFView', b'setShouldAntiAlias:', {'arguments': {2: {'type': b'Z'}}})
85    r(b'PDFView', b'shouldAntiAlias', {'retval': {'type': b'Z'}})
86finally:
87    objc._updatingMetadata(False)
88r = objc.registerMetaDataForSelector
89objc._updatingMetadata(True)
90try:
91    r(b'NSObject', b'PDFViewOpenPDF:forRemoteGoToAction:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}}})
92    r(b'NSObject', b'PDFViewPerformFind:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
93    r(b'NSObject', b'PDFViewPerformGoToPage:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
94    r(b'NSObject', b'PDFViewPerformPrint:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
95    r(b'NSObject', b'PDFViewPrintJobTitle:', {'retval': {'type': b'@'}, 'arguments': {2: {'type': b'@'}}})
96    r(b'NSObject', b'PDFViewWillChangeScaleFactor:toScale:', {'retval': {'type': sel32or64(b'f', b'd')}, 'arguments': {2: {'type': b'@'}, 3: {'type': sel32or64(b'f', b'd')}}})
97    r(b'NSObject', b'PDFViewWillClickOnLink:withURL:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}, 3: {'type': b'@'}}})
98    r(b'NSObject', b'classForAnnotationClass:', {'retval': {'type': b'^{objc_class=}'}, 'arguments': {2: {'type': b'^{objc_class=}'}}})
99    r(b'NSObject', b'classForPage', {'retval': {'type': b'^{objc_class=}'}})
100    r(b'NSObject', b'didMatchString:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
101    r(b'NSObject', b'documentDidBeginDocumentFind:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
102    r(b'NSObject', b'documentDidBeginPageFind:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
103    r(b'NSObject', b'documentDidEndDocumentFind:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
104    r(b'NSObject', b'documentDidEndPageFind:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
105    r(b'NSObject', b'documentDidFindMatch:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
106    r(b'NSObject', b'documentDidUnlock:', {'retval': {'type': b'v'}, 'arguments': {2: {'type': b'@'}}})
107finally:
108    objc._updatingMetadata(False)
109protocols={'PDFViewDelegate': objc.informal_protocol('PDFViewDelegate', [objc.selector(None, b'PDFViewWillClickOnLink:withURL:', b'v@:@@', isRequired=False), objc.selector(None, b'PDFViewOpenPDF:forRemoteGoToAction:', b'v@:@@', isRequired=False), objc.selector(None, b'PDFViewPerformFind:', b'v@:@', isRequired=False), objc.selector(None, b'PDFViewWillChangeScaleFactor:toScale:', sel32or64(b'f@:@f', b'd@:@d'), isRequired=False), objc.selector(None, b'PDFViewPerformPrint:', b'v@:@', isRequired=False), objc.selector(None, b'PDFViewPrintJobTitle:', b'@@:@', isRequired=False), objc.selector(None, b'PDFViewPerformGoToPage:', b'v@:@', isRequired=False)]), 'PDFDocumentDelegate': objc.informal_protocol('PDFDocumentDelegate', [objc.selector(None, b'classForPage', b'^{objc_class=}@:', isRequired=False), objc.selector(None, b'classForAnnotationClass:', b'^{objc_class=}@:^{objc_class=}', isRequired=False), objc.selector(None, b'didMatchString:', b'v@:@', isRequired=False)]), 'PDFDocumentNotifications': objc.informal_protocol('PDFDocumentNotifications', [objc.selector(None, b'documentDidFindMatch:', b'v@:@', isRequired=False), objc.selector(None, b'documentDidBeginPageFind:', b'v@:@', isRequired=False), objc.selector(None, b'documentDidBeginDocumentFind:', b'v@:@', isRequired=False), objc.selector(None, b'documentDidUnlock:', b'v@:@', isRequired=False), objc.selector(None, b'documentDidEndPageFind:', b'v@:@', isRequired=False), objc.selector(None, b'documentDidEndDocumentFind:', b'v@:@', isRequired=False)])}
110expressions = {}
111
112# END OF FILE
113