-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathJXLSRange.mm
More file actions
43 lines (34 loc) · 751 Bytes
/
JXLSRange.mm
File metadata and controls
43 lines (34 loc) · 751 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
40
41
42
43
//
// JXLSRange.m
// JXLS
//
// Created by David Hoerl on 10/26/08.
// Copyright (c) 2008-2013 David Hoerl. Some rights reserved: <http://opensource.org/licenses/BSD-3-Clause>
// Copyright (c) 2013 Jan Weiß. Some rights reserved: <http://opensource.org/licenses/BSD-3-Clause>
//
#import "xlslib.h"
#import "extformat.h"
#import "range.h"
using namespace std;
using namespace xlslib_core;
#import "JXLSRange.h"
#define RANGE(a) ((xlslib_core::range *)(a))
@implementation JXLSRange
{
void *aRange; // xlslib_core::range
}
- (id)initWithRange:(void *)range
{
self = [super init];
aRange = range;
return self;
}
- (void *)range
{
return aRange;
}
- (void)cellColor:(color_name_t)aColor
{
RANGE(aRange)->cellcolor(aColor);
}
@end