-
Notifications
You must be signed in to change notification settings - Fork 0
/
BCDailyDataWebView.h
45 lines (33 loc) · 1.05 KB
/
BCDailyDataWebView.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
41
42
43
44
45
//
// BCDailyDataWebView.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 "DailyData.h"
@interface BCDailyDataWebView : WebView <WebFrameLoadDelegate> {
DailyData *dailyData;
NSTableView *tableView;
NSMutableString *htmlString;
BOOL useAlternatingRowColors;
BOOL useVerticalLines;
BOOL useHorizontalLines;
BOOL useCaption;
BOOL useRowNumbers;
// for printing
// NSPrintOperation *printOp;
// NSDocument *printSender;
// BOOL showPrintPanels;
}
- (id) initWithDailyData:(DailyData *)data andTable:(NSTableView *)table;
- (void) appendCssToString:(NSMutableString *)buffer;
- (void) appendDailyDataInfoToString:(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