Re: [web2py] Simple PDF Report in Slices

2010-09-28 Thread Mariano Reingart
On Tue, Sep 28, 2010 at 2:19 PM, Bruno Rocha wrote: > As mentioned here in another thread of the group, the output PDF has > problems with accented characters. Sorry, what thread? Can you fill an issue on pyfpdf.googlecode.com? > I was testing if it would be possible to decode in the base class,

Re: [web2py] Simple PDF Report in Slices

2010-09-28 Thread Bruno Rocha
As mentioned here in another thread of the group, the output PDF has problems with accented characters. I was testing if it would be possible to decode in the base class, instead of having to pass each string decoded 2010/9/27 yamandu > Hi, I wrote a simple report the generates a PDF version u

Re: [web2py] Simple PDF Report in Slices

2010-09-27 Thread Mariano Reingart
Great! I agree with your thoughts: A. Setting width attributes in SQLTABLE is not a nice hack, having a easier way would enable one-liners reports! Anyway, html renderer (using python HTMLParser) is complex and limited, maybe using web2py HTML helpers directly(not serialized) would be a better, s

[web2py] Simple PDF Report in Slices

2010-09-27 Thread yamandu
Hi, I wrote a simple report the generates a PDF version using PyFPDF that comes now with web2py. I´ts here: http://web2pyslices.com/main/slices/take_slice/99 My goal is share and start a discussion to get this type of code better. So, please, test it and comment!