X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Fhb-export.h;h=04d6fa1302de0a973d8a9cb35acdac28dd723408;hp=8eaf2112dbd027bfc84fe1d6ac78199fb79b5e26;hb=cd13d9691c46c2b2d6d459e9e6a76bed1c21b7a6;hpb=27f6e3b112df235c8e9afc9911b1f6bce208a001 diff --git a/src/hb-export.h b/src/hb-export.h index 8eaf211..04d6fa1 100644 --- a/src/hb-export.h +++ b/src/hb-export.h @@ -1,5 +1,5 @@ /* HomeBank -- Free, easy, personal accounting for everyone. - * Copyright (C) 1995-2014 Maxime DOYEN + * Copyright (C) 1995-2018 Maxime DOYEN * * This file is part of HomeBank. * @@ -20,10 +20,30 @@ #ifndef __HB_EXPORT_H__ #define __HB_EXPORT_H__ +#include + + +#define PDF_NUMCOL 6 + 1 + +typedef struct _pdfprintcontext PdfPrintContext; + +struct _pdfprintcontext { + gdouble w, h; + gdouble mt, mb, ml, mr; + gdouble column_width[PDF_NUMCOL]; + gchar *column_txt[PDF_NUMCOL]; + + PangoFontDescription *desc; +}; + + + + void hb_export_qif_account_all(gchar *filename); void hb_export_qif_account_single(gchar *filename, Account *acc); +void hb_export_pdf_listview(GtkTreeView *treeview, gchar *filepath, gchar *accname); #endif