[reportlab-users] How to Draw Hierarchical tables (1 to many)

Remy Pinsonnault remy_pinsonnault at roche.ca
Thu Dec 9 10:01:28 EST 2004


Thanks a lot!

It works perfectly. I also found an interesting product on the Zope site
called RMLPageTemplate (http://zope.org/Members/mkerrin/RMLPageTemplate)

I can build the RML inside a Zope Page Template and the product takes =
care
of calling the trml2pdf script and rendering the PDF!!

Thanks again.

Remy

-----Original Message-----
From: reportlab-users-bounces at reportlab.com
[mailto:reportlab-users-bounces at reportlab.com] On Behalf Of =
bo at bitute.b4net.
lt
Sent: Mi=A8=A6rcoles, 08 de Diciembre de 2004 03:14 a.m.
To: reportlab-users at reportlab.com
Subject: Re: [reportlab-users] How to Draw Hierarchical tables (1 to =
many)


Hi, Remy.

On Tue, Dec 07, 2004 at 10:15:52AM -0500, Remy Pinsonnault wrote:
> I am a newbie with Reportlab and I am trying to do a hierchical table=20
> like the following example. I have no problem getting the data (from=20
> Oracle
> queries) but in fact I don't know how to draw the table, which library =
to
> use, etc.

You want Open Report: http://www.openreport.org/
Then you can make tables in RML, like this:

<blockTable>
  <tr>
    <td>KERRY, JOHN</td>
    <td>ID 12345 -- 2004/12/12</td>
  </tr>
  <tr>
    <td>1. Looser</td>
  </tr>
  <tr>
    <td>2. Dumb</td>
  </tr>
  <tr>
    <td>3. Laugh without any reason</td>
  </tr>
</blockTable>

More info: RTFM on the site.

--=20
HTH, =C4=BA

Isn't air travel wonderful?  Breakfast in London, dinner in New York,
luggage in Brazil. _______________________________________________
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