Hello all,
I wish to start a discussion about the necessity for a reporting framework for wxPython.
The last threads displayed, that some of you are looking for such a functionality.
For my present project I need a reporting framework. So I'm coding some basics by hand.
Some thoughts:
···
----------------------
HTMLEasyPrint: This is easy, but for creating business reports like orders, invoices, ... HTML lacks of tools for positioning elements on the canvas.
ReportLab: The mighty tool for creating top quality PDF. The problem with RL is, that the user need another program to print out the files.
PrintTable: Is ok for printing only tables.
----------------------
At this time I use some functionalty to scale and convert device units into "paper" units. That's working quite well.
The report is an easy structured XML file with all fields in it:
...
<to>
<name y="23" x="25" type="text">Andreas Kaiser</name>
<street y="23" x="25" type="text">The Street 23</street>
</to>
...
X and Y are in millimeters.
Other types are tables. This not working well at this time.
I parse the XML file and call some functions for converting the units and drawing the elements on the canvas.
PySketch was mentioned for laying out a report. This thought is looking good.
I hope that we can start a discussion and create such a reporting framework for wxPython.
Andreas