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
|
#import <Cocoa/Cocoa.h>
#import "ScalingScrollView.h"
@interface DocumentWindowController : NSWindowController { // <NSLayoutManagerDelegate, NSTextViewDelegate> {
IBOutlet ScalingScrollView *scrollView;
NSLayoutManager *layoutMgr;
BOOL hasMultiplePages;
BOOL rulerIsBeingDisplayed;
BOOL isSettingSize;
}
// Convenience initializer. Loads the correct nib automatically.
- (id)init;
- (NSUInteger)numberOfPages;
- (void)doForegroundLayoutToCharacterIndex:(NSUInteger)loc;
- (NSView *)documentView;
- (void)breakUndoCoalescing;
- (IBAction)chooseAndAttachFiles:(id)sender;
@end
|