tags:

views:

81

answers:

1

Im coding a simple c/gtk+ app connected to a mysql database. The gui and db code is done, now I need to make some reports based on database data, I thought the easier way to do this is by using an api that would let me output the data to a Excel or openoffice spreadsheet,PDF would be helpful too. The problem is dont find any.

+1  A: 

Cairo is the way: surely it is not inefficient... maybe too low level. If you report is mostly text, I'd render to the cairo context with pango, yet part of the GTK+ stack.

fetasail
@fetasail I didn't know I could combine cairo+pango. I've used cairo in the past but only for drawing. Thanks for the answer.
dallen