org.rococoa.cocoa.appkit
Interface AppKitLibrary.NSPrintPanelOptions
- Enclosing interface:
- AppKitLibrary
public static interface AppKitLibrary.NSPrintPanelOptions
native declaration : /System/Library/Frameworks/AppKit.framework/Headers/NSPrintPanel.h
enum values
NSPrintPanelShowsCopies
static final int NSPrintPanelShowsCopies
- See Also:
- Constant Field Values
NSPrintPanelShowsPageRange
static final int NSPrintPanelShowsPageRange
- See Also:
- Constant Field Values
NSPrintPanelShowsPaperSize
static final int NSPrintPanelShowsPaperSize
- See Also:
- Constant Field Values
NSPrintPanelShowsOrientation
static final int NSPrintPanelShowsOrientation
- See Also:
- Constant Field Values
NSPrintPanelShowsScaling
static final int NSPrintPanelShowsScaling
- See Also:
- Constant Field Values
NSPrintPanelShowsPrintSelection
static final int NSPrintPanelShowsPrintSelection
- See Also:
- Constant Field Values
NSPrintPanelShowsPageSetupAccessory
static final int NSPrintPanelShowsPageSetupAccessory
- See Also:
- Constant Field Values
NSPrintPanelShowsPreview
static final int NSPrintPanelShowsPreview
- Whether the print panel has a built-in preview. Setting this option in a print panel that's not being presented by an NSPrintOperation is not useful. Two things you need to be aware of when this option is set:
1) the NSPrintInfo passed into -beginSheetWithPrintInfo:modalForWindow:delegate:didEndSelector:contextInfo: or -runModalWithPrintInfo: will be retained instead of copied. This is so that the NSPrintOperation that is presenting the panel can respond to -printInfo messages by returning the NSPrintInfo that the user is actually looking at and manipulating, which is the most useful thing for it to return. The result is that the passed-in NSPrintInfo can be mutated even when the user cancels the print panel, but that's OK; the factory methods that you use to create NSPrintOperations do the copying that's appropriate in that case.
2) The presenting NSPrintOperation will send the printing view more messages that it would otherwise, so that it can do pagination right away, draw the preview on screen, etc.
- See Also:
- Constant Field Values
Copyright © 2009. All Rights Reserved.