-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstyles.c
102 lines (77 loc) · 1.73 KB
/
styles.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*****************************************************************************
* styles - A library for creating Excel XLSX styles 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 "xlsxwriter/xmlwriter.h"
#include "xlsxwriter/styles.h"
#include "xlsxwriter/utility.h"
#include "hbapi.h"
/*****************************************************************************
*
* Private functions.
*
****************************************************************************/
/*
* Create a new styles object.
*/
/*
lxw_styles *
lxw_styles_new(void)
*/
HB_FUNC( LXW_STYLES_NEW )
{
hb_retptr( lxw_styles_new() );
}
/*
* Free a styles object.
*/
/*
void
lxw_styles_free(lxw_styles *styles)
*/
HB_FUNC( LXW_STYLES_FREE )
{
lxw_styles *styles = hb_parptr( 1 ) ;
lxw_styles_free(styles) ;
}
/*
* Write the <t> element for rich strings.
*/
/*
void
lxw_styles_write_string_fragment(lxw_styles *self, char *string)
*/
/*
HB_FUNC( LXW_STYLES_WRITE_STRING_FRAGMENT )
{
lxw_styles *self = hb_parptr( 1 ) ;
char *string = hb_parcx( 2 ) ; // No pasa.. (RIGC - 2019/05/28)
lxw_styles_write_string_fragment(self, string) ;
}
*/
/*****************************************************************************
*
* XML file assembly functions.
*
****************************************************************************/
/*
* Assemble and write the XML file.
*/
/*
void
lxw_styles_assemble_xml_file(lxw_styles *self)
*/
HB_FUNC( LXW_STYLES_ASSEMBLE_XML_FILE )
{
lxw_styles *self = hb_parptr( 1 ) ;
lxw_styles_assemble_xml_file(self) ;
}
//eof