[reportlab-users] Bulleted Text not displaying
pmattingly at mail.csuchico.edu
Mon Oct 13 15:58:12 EDT 2008
Sure, see for yourself:
The search wasn't very helpful in finding out more about the bullet
The code you posted does something odd on my setup:
∂ This is bulleted text.
I don't know if that'll come through, here's a Wikipedia page:
On Mon, Oct 13, 2008 at 12:41 PM, Tim Roberts <timr at probo.com> wrote:
> Peter Mattingly wrote:
> > For fans of the XML approach this works for that application:
> > text = "<para leftIndent=32><bullet
> > bulletIndent=15>\xe2\x80\xa2</bullet>This is bulleted text.</para>"
> > para = Paragraph(text, style=body_style)
> > story.append(para)
> > I got the bullet character from the documentation; Who knows where
> > they got that, I certainly can't find any reference that that code /
> > format when I google it.
> Really? Those three bytes are the UTF-8 representation of the Unicode
> character U+2022, which is "Bullet". So, it could have been written:
> text = u"<para leftIndent=32><bullet
> bulletIndent=15>\u2202</bullet>This is bulleted text.</para>"
> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
> reportlab-users mailing list
> reportlab-users at reportlab.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the reportlab-users