home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep 4.2J (Developer)
/
os42jdev.iso
/
NextDeveloper
/
OpenStepConversion
/
IntermediateFrameworks3
/
AppKit.framework
/
Headers
/
NSPageLayout.h
< prev
next >
Wrap
Text File
|
1994-09-29
|
2KB
|
76 lines
/*
PageLayout.h
Application Kit, Release 2.0
Copyright (c) 1988, 1989, 1990, NeXT, Inc. All rights reserved.
*/
#import "NSPanel.h"
/* Returns the size of a given type of paper */
extern const NSSize NXFindPaperSize(NSString *paperName);
typedef enum _NXMeasurementUnit {
NSInchUnit = 0,
NSCentimeterUnit = 1,
NSPointUnit = 2,
NSPicaUnit = 3
} NSMeasurementUnit;
/* Tags of Controls in the Page Layout panel */
enum {
NSPLImageButton = 50,
NSPLTitleField = 51,
NSPLPaperNameButton = 52,
NSPLUnitsButton = 54,
NSPLWidthForm = 55,
NSPLHeightForm = 56,
NSPLOrientationMatrix = 57,
NSPLCancelButton = NSCancelButton,
NSPLOKButton = NSOKButton
};
@interface NSPageLayout : NSPanel
{
id appIcon;
id height;
id width;
id ok;
id cancel;
id orientation;
id scale;
id paperSizeList;
id layoutList;
id unitsList;
int exitTag;
id paperView;
id _paperViewShadow;
id accessoryView;
char _currUnits;
BOOL _otherPaper;
unsigned short _reservedPageLayout1;
unsigned int _reservedPageLayout2;
unsigned int _reservedPageLayout3;
unsigned int _reservedPageLayout4;
unsigned int _reservedPageLayout5;
}
+ pageLayout;
- setAccessoryView:aView;
- accessoryView;
- pickedButton:sender;
- pickedPaperSize:sender;
- pickedOrientation:sender;
- pickedLayout:sender;
- pickedUnits:sender;
- (BOOL)textShouldBeginEditing:textObject;
- textDidEnd:textObject endChar:(unsigned short)theChar;
- readPrintInfo;
- writePrintInfo;
- (int)runModal;
- convertOldFactor:(float *)old newFactor:(float *)new;
@end