-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBCBarcodeLabelsWebView.h
More file actions
39 lines (29 loc) · 980 Bytes
/
BCBarcodeLabelsWebView.h
File metadata and controls
39 lines (29 loc) · 980 Bytes
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
//
// BCBarcodeLabelsWebView.h
// Bartender
//
// Created by Tom Houpt on 12/7/16.
// Copyright 2012 Behavioral Cybernetics. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
#import "BarExperiment.h"
@interface BCBarcodeLabelsWebView : WebView <WebFrameLoadDelegate> {
BarExperiment *experiment;
NSString *exptCode;
NSArray *itemCodes;
NSUInteger subjectsCount;
NSMutableString *htmlString;
// for printing
// NSPrintOperation *printOp;
// NSDocument *printSender;
// BOOL showPrintPanels;
}
- (id) initWithExptCode:(NSString *)ec andItemCodes:(NSArray *)ic forSubjectsCount:(NSUInteger)sc;
- (void) appendCssToString:(NSMutableString *)buffer;
- (void) writeHtmlToPath:(NSString *)path;
- (void)webView:(WebView *)sender didFinishLoadForFrame:(WebFrame *)webFrame;
//- (void)print:(BOOL)showPanels fromDocument:(NSDocument *)sender;
// -(void)print:(id)sender;
//- (void)drawRect:(NSRect)dirtyRect;
@end