Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
开发者_如何学Python Improve this questionWe have a C++ Gtk application that currently has a "homebrew" reporting component. We're looking to step up to a more fully-featured reporting library, preferably with a WYSIWYG designer, print-preview / GUI viewer, and PDF export capabilities.
Any recommendations?
It's kind of unclear exactly what you mean by "reporting component". But you can do print-preview and PDF generation using Cairo, although that's fairly low-level. At least it might be used as the basis for the reporting component you're interested in.
Perhaps use BIRT or JasperReports (open-source Java libraries, each one has a WYSIWYG designer available) and invoke it either by JNI or by executing the corresponding viewer in a subprocess?
精彩评论