-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathJXLSFormat.mm
More file actions
44 lines (33 loc) · 733 Bytes
/
JXLSFormat.mm
File metadata and controls
44 lines (33 loc) · 733 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
44
//
// JXLSFormat.m
// JXLS
//
// Created by David Hoerl on 10/7/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>
//
#include <stdint.h>
#include <string>
#include "xlslib.h"
#if 0
#import "format.h"
#endif
using namespace xlslib_core;
using namespace xlslib_strings;
#import "JXLSFormat.h"
#define FORMAT(a) ((xlslib_core::format_t *)(a))
@implementation JXLSFormat
{
xlslib_core::format_t *_format;
}
- (instancetype)initWithFormat:(void *)ft
{
self = [super init];
_format = FORMAT(ft);
return self;
}
- (void *)format
{
return _format;
}
@end