> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul McNett
> I thought I remembered some discussion of that on reportlab-users. 
> Thanks for the reminder. Does para provide everything that paragraph 
> does? How are links supported (easy as making an <a href>?) If I find 
> some time I'll try to get it working.

Para's docstring reproduced below.  It looks like it is meant to use the
usual HTML syntax.

"""new experimental paragraph implementation

Intended to allow support for paragraphs in paragraphs, hotlinks,
embedded flowables, and underlining.  The main entry point is the
function

def Paragraph(text, style, bulletText=None, frags=None)

Which is intended to be plug compatible with the "usual" platypus
paragraph except that it supports more functionality.

In this implementation you may embed paragraphs inside paragraphs
to create hierarchically organized documents.

This implementation adds the following paragraph-like tags (which
support the same attributes as paragraphs, for font specification, etc).

- Unnumberred lists (ala html):

    <ul>
        <li>first one</li>
        <li>second one</li>
    </ul>

Also <ul type="disc"> (default) or <ul type="circle">, <ul
type="square">.

- Numberred lists (ala html):

    <ol>
        <li>first one</li>
        <li>second one</li>
    </ol>

Also <ul type="1"> (default) or <ul type="a">, <ul type="A">.

- Display lists (ala HTML):

For example

<dl bulletFontName="Helvetica-BoldOblique" spaceBefore="10"
spaceAfter="10">
<dt>frogs</dt> <dd>Little green slimy things. Delicious with
<b>garlic</b></dd>
<dt>kittens</dt> <dd>cute, furry, not edible</dd>
<dt>bunnies</dt> <dd>cute, furry,. Delicious with <b>garlic</b></dd>
</dl>

ALSO the following additional internal paragraph markup tags are
supported

<u>underlined text</u>

<a href="http://www.reportlab.com";>hyperlinked text</a>
<a href="http://www.reportlab.com"; color="blue">hyperlinked text</a>

<link destination="end" >Go to the end (go to document internal
destination)</link>
<link destination="start" color="cyan">Go to the beginning</link>

<setLink destination="start" color="magenta">This is the document start
  (define document destination inside paragraph, color is
optional)</setLink>

"""

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to