NSPrintOperation.inc 5.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. { Parsed from AppKit.framework NSPrintOperation.h }
  2. {$ifdef TYPES}
  3. type
  4. NSPrintOperationPtr = ^NSPrintOperation;
  5. {$endif}
  6. {$ifdef TYPES}
  7. type
  8. NSPrintingPageOrder = NSInteger;
  9. NSPrintingPageOrderPtr = ^NSPrintingPageOrder;
  10. const
  11. NSDescendingPageOrder = -1;
  12. NSSpecialPageOrder = 0;
  13. NSAscendingPageOrder = 1;
  14. NSUnknownPageOrder = 2;
  15. type
  16. NSPrintRenderingQuality = NSInteger;
  17. NSPrintRenderingQualityPtr = ^NSPrintRenderingQuality;
  18. const
  19. NSPrintRenderingQualityBest = 0;
  20. NSPrintRenderingQualityResponsive = 1;
  21. {$endif}
  22. {$ifdef EXTERNAL_SYMBOLS}
  23. var
  24. NSPrintOperationExistsException: NSString; cvar; external;
  25. {$endif}
  26. {$ifdef CLASSES}
  27. type
  28. NSPrintOperation = objcclass external (NSObject)
  29. private
  30. public
  31. class function printOperationWithView_printInfo (view: NSView; printInfo: NSPrintInfo): NSPrintOperation; message 'printOperationWithView:printInfo:';
  32. class function PDFOperationWithView_insideRect_toData_printInfo (view: NSView; rect: NSRect; data: NSMutableData; printInfo: NSPrintInfo): NSPrintOperation; message 'PDFOperationWithView:insideRect:toData:printInfo:';
  33. class function PDFOperationWithView_insideRect_toPath_printInfo (view: NSView; rect: NSRect; path: NSString; printInfo: NSPrintInfo): NSPrintOperation; message 'PDFOperationWithView:insideRect:toPath:printInfo:';
  34. class function EPSOperationWithView_insideRect_toData_printInfo (view: NSView; rect: NSRect; data: NSMutableData; printInfo: NSPrintInfo): NSPrintOperation; message 'EPSOperationWithView:insideRect:toData:printInfo:';
  35. class function EPSOperationWithView_insideRect_toPath_printInfo (view: NSView; rect: NSRect; path: NSString; printInfo: NSPrintInfo): NSPrintOperation; message 'EPSOperationWithView:insideRect:toPath:printInfo:';
  36. class function printOperationWithView (view: NSView): NSPrintOperation; message 'printOperationWithView:';
  37. class function PDFOperationWithView_insideRect_toData (view: NSView; rect: NSRect; data: NSMutableData): NSPrintOperation; message 'PDFOperationWithView:insideRect:toData:';
  38. class function EPSOperationWithView_insideRect_toData (view: NSView; rect: NSRect; data: NSMutableData): NSPrintOperation; message 'EPSOperationWithView:insideRect:toData:';
  39. class function currentOperation: NSPrintOperation; message 'currentOperation';
  40. class procedure setCurrentOperation (operation: NSPrintOperation); message 'setCurrentOperation:';
  41. function isCopyingOperation: ObjCBOOL; message 'isCopyingOperation';
  42. function preferredRenderingQuality: NSPrintRenderingQuality; message 'preferredRenderingQuality';
  43. procedure setJobTitle(newValue: NSString); message 'setJobTitle:';
  44. function jobTitle: NSString; message 'jobTitle';
  45. procedure setShowsPrintPanel(newValue: ObjCBOOL); message 'setShowsPrintPanel:';
  46. function showsPrintPanel: ObjCBOOL; message 'showsPrintPanel';
  47. procedure setShowsProgressPanel(newValue: ObjCBOOL); message 'setShowsProgressPanel:';
  48. function showsProgressPanel: ObjCBOOL; message 'showsProgressPanel';
  49. procedure setPrintPanel(newValue: NSPrintPanel); message 'setPrintPanel:';
  50. function printPanel: NSPrintPanel; message 'printPanel';
  51. procedure setPDFPanel(newValue: NSPDFPanel); message 'setPDFPanel:';
  52. function PDFPanel: NSPDFPanel; message 'PDFPanel';
  53. procedure setCanSpawnSeparateThread(newValue: ObjCBOOL); message 'setCanSpawnSeparateThread:';
  54. function canSpawnSeparateThread: ObjCBOOL; message 'canSpawnSeparateThread';
  55. procedure setPageOrder(newValue: NSPrintingPageOrder); message 'setPageOrder:';
  56. function pageOrder: NSPrintingPageOrder; message 'pageOrder';
  57. procedure runOperationModalForWindow_delegate_didRunSelector_contextInfo (docWindow: NSWindow; delegate: id; didRunSelector: SEL; contextInfo: pointer); message 'runOperationModalForWindow:delegate:didRunSelector:contextInfo:';
  58. function runOperation: ObjCBOOL; message 'runOperation';
  59. function view: NSView; message 'view';
  60. procedure setPrintInfo(newValue: NSPrintInfo); message 'setPrintInfo:';
  61. function printInfo: NSPrintInfo; message 'printInfo';
  62. function context: NSGraphicsContext; message 'context';
  63. function pageRange: NSRange; message 'pageRange';
  64. function currentPage: NSInteger; message 'currentPage';
  65. function createContext: NSGraphicsContext; message 'createContext';
  66. procedure destroyContext; message 'destroyContext';
  67. function deliverResult: ObjCBOOL; message 'deliverResult';
  68. procedure cleanUpOperation; message 'cleanUpOperation';
  69. end;
  70. type
  71. NSPrintOperation_NSDeprecated = objccategory external name 'NSDeprecated' (NSPrintOperation)
  72. procedure setAccessoryView (view_: NSView); message 'setAccessoryView:'; deprecated 'in 10_0, 10_5';
  73. function accessoryView: NSView; message 'accessoryView'; deprecated 'in 10_0, 10_5';
  74. procedure setJobStyleHint (hint: NSString); message 'setJobStyleHint:'; deprecated 'in 10_2, 10_5';
  75. function jobStyleHint: NSString; message 'jobStyleHint'; deprecated 'in 10_2, 10_5';
  76. procedure setShowPanels (flag: ObjCBOOL); message 'setShowPanels:'; deprecated 'in 10_0, 10_4';
  77. function showPanels: ObjCBOOL; message 'showPanels'; deprecated 'in 10_0, 10_4';
  78. end;
  79. {$endif}