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 dat开发者_如何转开发a to a Excel or openoffice spreadsheet,PDF would be helpful too. The problem is dont find any.
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.
精彩评论