-
Notifications
You must be signed in to change notification settings - Fork 20
/
MyDocument.h
40 lines (31 loc) · 976 Bytes
/
MyDocument.h
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//
// MyDocument.h
// FormulatePro
//
// Created by Andrew de los Reyes on 7/4/06.
// Copyright Andrew de los Reyes 2006 . All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <Quartz/Quartz.h>
#import <PDFKit/PDFDocument.h>
#import "FPDocumentView.h"
@interface MyDocument : NSDocument <NSToolbarDelegate>
{
IBOutlet FPDocumentView *_document_view;
IBOutlet NSWindow *_document_window;
IBOutlet NSSegmentedControl *_one_up_vs_two_up_vs_book;
IBOutlet NSSegmentedControl *_single_vs_continuous;
IBOutlet NSView *_print_accessory_view;
NSNumber *_print_original_pdf;
NSData *_originalPDFData;
NSMutableArray *_tempOverlayGraphics;
int _tempOverlayGraphicsVersion;
PDFDocument *_pdf_document;
}
- (IBAction)zoomIn:(id)sender;
- (IBAction)zoomOut:(id)sender;
- (IBAction)toggleOneUpTwoUpBookMode:(id)sender;
- (IBAction)toggleContinuous:(id)sender;
- (IBAction)placeImage:(id)sender;
- (BOOL)drawsOriginalPDF;
@end