[reportlab-users] intra-paragraph backcolor?
Dinu Gherman
gherman at darwin.in-berlin.de
Wed Dec 29 04:46:42 EST 2010
Jon.Reinsch:
> Is there any way to set the background color on selected text within
> a paragraph? I know I can use <para backColor='yellow'> for the
> entire paragraph, but I only want to hilite certain words, a la:
> <p>The effect is <span style='background-color:yellow'>easy</span>
> to achieve in html/css.</p>
You might want to have a look at something I wrote on a while ago
http://pypi.python.org/pypi/alterparagraphs
http://www.slideshare.net/dinugherman/reportlab-paragraphs-reloadedeuropython-2008
I haven't touched it much since my original efforts, but you'are
warmly invited to take it further...
Regards,
Dinu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20101229/91ad39d7/attachment.html>
More information about the reportlab-users
mailing list