blob: 730f9037fd75c17e393e00a1bba0948135ddafcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
{ Parsed from PDFKit.framework PDFAnnotation.h }
{ Types from PDFAnnotation }
{$ifdef TYPES}
{$endif}
{$ifdef TYPES}
type
PDFAnnotationPtr = ^PDFAnnotation;
{$endif}
{$ifdef CLASSES}
type
PDFAnnotation = objcclass external (NSObject, NSCopyingProtocol, NSCodingProtocol)
private
_pdfPriv: PDFAnnotationPrivateVars;
public
function initWithBounds (bounds: NSRect): id; message 'initWithBounds:';
function page: PDFPage; message 'page';
function type_: NSString; message 'type';
function bounds: NSRect; message 'bounds';
procedure setBounds (bounds_: NSRect); message 'setBounds:';
{$if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)}
function modificationDate: NSDate; message 'modificationDate';
procedure setModificationDate (date: NSDate); message 'setModificationDate:';
function userName: NSString; message 'userName';
procedure setUserName (name: NSString); message 'setUserName:';
function popup: PDFAnnotationPopup; message 'popup';
procedure setPopup (popup_: PDFAnnotationPopup); message 'setPopup:';
{$endif}
function shouldDisplay: ObjCBOOL; message 'shouldDisplay';
procedure setShouldDisplay (display: ObjCBOOL); message 'setShouldDisplay:';
function shouldPrint: ObjCBOOL; message 'shouldPrint';
procedure setShouldPrint (print: ObjCBOOL); message 'setShouldPrint:';
function border: PDFBorder; message 'border';
procedure setBorder (border_: PDFBorder); message 'setBorder:';
function color: NSColor; message 'color';
procedure setColor (color_: NSColor); message 'setColor:';
{$if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)}
function mouseUpAction: PDFAction; message 'mouseUpAction';
procedure setMouseUpAction (action: PDFAction); message 'setMouseUpAction:';
{$endif}
function contents: NSString; message 'contents';
procedure setContents (contents_: NSString); message 'setContents:';
function toolTip: NSString; message 'toolTip';
function hasAppearanceStream: ObjCBOOL; message 'hasAppearanceStream';
{$if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)}
procedure removeAllAppearanceStreams; message 'removeAllAppearanceStreams';
{$endif}
procedure drawWithBox (box: PDFDisplayBox); message 'drawWithBox:';
{ Adopted protocols }
function copyWithZone (zone: NSZonePtr): id; message 'copyWithZone:';
procedure encodeWithCoder (aCoder: NSCoder); message 'encodeWithCoder:';
function initWithCoder (aDecoder: NSCoder): id; message 'initWithCoder:';
end;
{$endif}
|