[reportlab-users] outputting simple multi-page tabular grid of data

Ralf Schoenian ralf at schoenian-online.de
Sun May 1 08:15:45 EDT 2005


Hello Kevin,

I have just written a report with repeating headlines, grid, and 
adjusting of columns. I will send you the scripts on Monday from the office.

Regards,
Ralf Schoenian

Kevin Murphy schrieb:

> I'd like to programmatically produce printable (PDF? Postscript?) 
> spreadsheet-style output of database queries with these characteristics:
>
> * line borders around cells (i.e. the simple "grid" look)
> * simple textual header and footer
> * first row should be repeated on each page
> * preferably, auto-sizing of columns, but not required
>
> From looking at the documentation and example PDF's, ReportLab looks 
> great and obviously capable of doing this.
>
> Unfortunately, I don't know Python, although I'm experienced in other 
> languages.
>
> Is there some sample code for producing a simple multi-page tabular 
> output?  Or a meta-script that is customized for doing this sort of 
> thing?  I see the Flowable Table class, but the documentation examples 
> aren't quite enough for me, partly because of the newness of Python.  
> I can probably hobble forward by looking at online Python docs, but if 
> I can get a jump start, great.
>
> Ideally, I'd like to figure this out as quickly as possible (I'm 
> creating canvassing lists for an impoverished, long-shot political 
> candidate friend of mine ;-) and make a longer term intellectual 
> investment in Python and ReportLab gradually.
>
> Thanks,
> Kevin Murphy
>
>
>
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users
>




More information about the reportlab-users mailing list