[reportlab-users] Platypus: Color Question

Ben McCain bmccain at univ-wea.com
Fri Jan 21 10:25:04 EST 2005


Thanks Andy.  I might be able to work around it
by making that one part it's own paragraph.

Thanks again, Ben.

-----Original Message-----
From: reportlab-users-bounces at reportlab.com
[mailto:reportlab-users-bounces at reportlab.com]On Behalf Of
andy at reportlab.com
Sent: Friday, January 21, 2005 9:03 AM
To: reportlab-users at reportlab.com
Subject: Re: [reportlab-users] Platypus: Color Question


I don't think we support this for substrings within a paragraph
(i.e. using the font tag).  It can be done for an entire paragraph
by setting the 'backcolor' or 'bgcolor' attributes on the paragraph
object itself or in the style.

How much trouble does this cause?  Conceptually it could be done,
as it's the same problem as underlining whereby we need to do a
graphic which matches the length of the text and splits in the
right places.

Thanks,


Andy Robinson
CEO/Chief Architect
ReportLab Europe Ltd.
tel +44 20 8544 8049

-----Original Message-----
From: Ben McCain <bmccain at univ-wea.com>
To: 'reportlab-users at reportlab.com' <reportlab-users at reportlab.com>
Sent: Fri, 21 Jan 2005 08:47:21 -0600
Subject: [reportlab-users] Platypus: Color Question

I'm trying to set the background color for a text string. One
of the examples used an imbedded tag in the text to
change the fore ground color (<font color='red'>).  I looked
at page 67 of the User Guide, but couldn't figure it out.  Is
there a way to change the background color.  Thanks.

Ben McCain
Universal Weather and Aviation, Inc.
713-944-1440 x3619

_______________________________________________
reportlab-users mailing list
reportlab-users at reportlab.com
http://two.pairlist.net/mailman/listinfo/reportlab-users
_______________________________________________
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