Report Module in wxpython

Hi Ed,

Can u point me in right direction here. I will explain my scenario here.

I have a wxpython (version wx 2.6.1 and python 2.3) application that talk with web server via soap . What I need to do is to accept a set of data through my wxpython application and generate a pdf and send that to the server.

The client app is developed in windows platform, ported to mac. I am creating executable with pyexe and py2app on mac.

The pdf layout is standard, it has to be build only once. the layout doesn’t change with data. so what I need to know is once designed the layout using Dabo Report designer , will it be easy enough to call it from my application to generate the pdf.

Correct me if I am wrong here…

I was thinnking once I have the “Dabo report form xml (rfxml) document” generated using Dabo report designer and the Dabo framework installed . I can call it from my application to generate the pdf.

And for the mac will it be just a matter of following the steps I did for windows.

Thanks

···

Thomas Thomas

phone +64 7 855 8478
fax +64 7 855 8871

Thomas Thomas wrote:

Hi Ed,
Can u point me in right direction here. I will explain my scenario here.

I'm not Ed, but I'll take this question because I'm responsible for all the prior and future development of the report writer/report designer in Dabo.

I have a wxpython (version wx 2.6.1 and python 2.3) application that talk with web server via soap . What I need to do is to accept a set of data through my wxpython application and generate a pdf and send that to the server.

Sounds straightforward enough.

The client app is developed in windows platform, ported to mac. I am creating executable with pyexe and py2app on mac.

No problem there.

The pdf layout is standard, it has to be build only once. the layout doesn't change with data. so what I need to know is once designed the layout using Dabo Report designer , will it be easy enough to call it from my application to generate the pdf.

Yes, very easy.

Correct me if I am wrong here....
I was thinnking once I have the "Dabo report form xml (rfxml) document" generated using Dabo report designer and the Dabo framework installed . I can call it from my application to generate the pdf.

Yes, absolutely. Once you have the rfxml, you are half-way there. The other have is your dataset, which you will need to generate however your application does it at runtime (a report cursor is the same thing as a dataset which in this context really only needs to be an iterable of dict-like mappings.

And for the mac will it be just a matter of following the steps I did for windows.

For the report writing, you shouldn't have to do anything but copy your code over.

For more detailed help, including what properties to set in the report writer, etc., please hop over to the dabo-users list.

Good luck!

···

--
Paul McNett
http://paulmcnett.com
http://dabodev.com