This is a great approach, initialize I plan to develop the tool with GTK as well. End up I decide to use another approach which is much faster and effective. If you don't mind to try my library. Please read below.
My company'd just develop an open source PHP report library which allow you design PDF report via Java based IReport report designer. When you run the report it will use FPDF library as foundation and convert ireport xml file to PDF on the fly.
We make use the FPDF library, you can increase the productivity 100%-300% if you know how to use iReport.
Since my company gain a lot of benefit from open source software, so we willing to contribute something to open source community.
This project is free to use and free to change, project name = PHPJasperXML.
This is new library and we need you feed back. Please feed back at:
I'm not active in at here, please reply this message at forum aboved. Sorry I'm not promoting my forum, simply this forum is special for our company product & services, I check it always.
Below is the sample source code for display the report. Hopefully this project can spread fast, so that not PHP expert can design their PDF report easily.
Thanks for you trying this library.
include_once ('setting.php'); //optional, just wanna to preset variable for database
$xml = simplexml_load_file("sample1.jrxml");
$PHPJasperXML = new PHPJasperXML();
$PHPJasperXML->outpage("I"); //page output method I:standard output D:Download file