NSPDFPanel.inc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. { Parsed from AppKit.framework NSPDFPanel.h }
  2. {$ifdef TYPES}
  3. type
  4. NSPDFPanelPtr = ^NSPDFPanel;
  5. {$endif}
  6. {$ifdef TYPES}
  7. type
  8. NSPDFPanelOptions = NSInteger;
  9. NSPDFPanelOptionsPtr = ^NSPDFPanelOptions;
  10. const
  11. NSPDFPanelShowsPaperSize = 1 shl 2;
  12. NSPDFPanelShowsOrientation = 1 shl 3;
  13. NSPDFPanelRequestsParentDirectory = 1 shl 24;
  14. {$endif}
  15. {$ifdef CLASSES}
  16. type
  17. NSPDFPanel = objcclass external (NSObject)
  18. private
  19. _accessoryController: NSViewController;
  20. _options: NSPDFPanelOptions;
  21. _defaultFileName: NSString;
  22. _panel: id;
  23. _private: id;
  24. public
  25. class function panel: NSPDFPanel; message 'panel';
  26. procedure setAccessoryController(newValue: NSViewController); message 'setAccessoryController:';
  27. function accessoryController: NSViewController; message 'accessoryController';
  28. procedure setOptions(newValue: NSPDFPanelOptions); message 'setOptions:';
  29. function options: NSPDFPanelOptions; message 'options';
  30. procedure setDefaultFileName(newValue: NSString); message 'setDefaultFileName:';
  31. function defaultFileName: NSString; message 'defaultFileName';
  32. procedure beginSheetWithPDFInfo_modalForWindow_completionHandler (pdfInfo: NSPDFInfo; docWindow: NSWindow; completionHandler: OpaqueCBlock); message 'beginSheetWithPDFInfo:modalForWindow:completionHandler:';
  33. end;
  34. {$endif}