[reportlab-users] Paragraph on a rounded box

Robin Becker robin at reportlab.com
Thu Feb 15 09:01:39 EST 2007


Andrea De Angeli wrote:

> Hello everybody.

>

> I am new to the list, and starting to apply reportlab library right now.

>

> I was not able to find a way to box my paragraph into a "rounded corner

> box".

> I know that I can draw a box around my pars by enclosing them in a

> table, but - again - only sharp corners.

>

> Any suggestions?

>

> Thanks to all

>

> A.

>

........

Unfortunately I don't think there's any easy way to do what you want with tables
and or Paragraphs. I think this can be done by subclassing the existing
paragraph and having an overridden draw method that will add the enclosing box
properly. Email me again Saturday and I will try and do this over the weekend.
--
Robin Becker


More information about the reportlab-users mailing list