]> Dogcows Code - chaz/homebank/blob - src/hb-export.h
Merge branch 'upstream'
[chaz/homebank] / src / hb-export.h
1 /* HomeBank -- Free, easy, personal accounting for everyone.
2 * Copyright (C) 1995-2019 Maxime DOYEN
3 *
4 * This file is part of HomeBank.
5 *
6 * HomeBank is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * HomeBank is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef __HB_EXPORT_H__
21 #define __HB_EXPORT_H__
22
23 #include <cairo-pdf.h>
24
25
26 #define PDF_NUMCOL 6 + 1
27
28 typedef struct _pdfprintcontext PdfPrintContext;
29
30 struct _pdfprintcontext {
31 gdouble w, h;
32 gdouble mt, mb, ml, mr;
33 gdouble column_width[PDF_NUMCOL];
34 gchar *column_txt[PDF_NUMCOL];
35
36 PangoFontDescription *desc;
37 };
38
39
40
41
42
43 void hb_export_qif_account_all(gchar *filename);
44 void hb_export_qif_account_single(gchar *filename, Account *acc);
45
46 void hb_export_pdf_listview(GtkTreeView *treeview, gchar *filepath, gchar *accname);
47
48 #endif
49
This page took 0.038254 seconds and 5 git commands to generate.