-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy paththeme.c
84 lines (63 loc) · 1.4 KB
/
theme.c
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/*****************************************************************************
* theme - A library for creating Excel XLSX theme files.
*
* Used in conjunction with the libxlsxwriter library.
*
* Copyright 2014-2019, John McNamara, jmcnamara@cpan.org. See LICENSE.txt.
*
*/
/*
* Wrapped for Harbour by Riztan Gutierrez, riztan@gmail.com
*
*/
#include <string.h>
#include "xlsxwriter/xmlwriter.h"
#include "xlsxwriter/theme.h"
#include "xlsxwriter/utility.h"
#include "hbapi.h"
/*****************************************************************************
*
* Private functions.
*
****************************************************************************/
/*
* Create a new theme object.
*/
/*
lxw_theme *
lxw_theme_new(void)
*/
HB_FUNC( LXW_THEME_NEW )
{
hb_retptr( lxw_theme_new() );
}
/*
* Free a theme object.
*/
/*
void
lxw_theme_free(lxw_theme *theme)
*/
HB_FUNC( LXW_THEME_FREE )
{
lxw_theme *theme = hb_parptr( 1 ) ;
lxw_theme_free(theme) ;
}
/*****************************************************************************
*
* XML file assembly functions.
*
****************************************************************************/
/*
* Assemble and write the XML file.
*/
/*
void
lxw_theme_assemble_xml_file(lxw_theme *self)
*/
HB_FUNC( LXW_THEME_ASSEMBLE_XML_FILE )
{
lxw_theme *self = hb_parptr( 1 ) ;
lxw_theme_assemble_xml_file(self) ;
}
//eof