yllan / PagesFontSetter

Setting the font for CJK or Latin text separately.

This URL has Read+Write access

PagesFontSetter / PFController.h
100644 38 lines (29 sloc) 0.966 kb
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
//
// PFController.h
// PagesFontSetter
//
// Created by Yung-Luen Lan on 5/6/09.
// Copyright 2009 yllan.org. All rights reserved.
//
 
#import <Cocoa/Cocoa.h>
 
@interface PFController : NSObject {
    NSString *_latinFont;
    NSString *_cjkFont;
    BOOL _needSetLatinFont;
    BOOL _needSetCJKFont;
    
    NSTextField *_documentLabel;
    NSProgressIndicator *_progressBar;
    NSWindow *_progressWindow;
    NSWindow *_mainWindow;
}
 
@property (nonatomic, copy) NSString *latinFont;
@property (nonatomic, copy) NSString *cjkFont;
 
@property (nonatomic, retain) IBOutlet NSTextField *documentLabel;
@property (nonatomic, retain) IBOutlet NSProgressIndicator *progressBar;
@property (nonatomic, retain) IBOutlet NSWindow *progressWindow;
@property (nonatomic, retain) IBOutlet NSWindow *mainWindow;
 
@property BOOL needSetLatinFont;
@property BOOL needSetCJKFont;
 
- (IBAction) setAllOpenedDocuments: (id)sender;
- (IBAction) setClipboard: (id)sender;
 
@end