Re: Position Paragraph or how to get current position

Mike Driscoll <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <CAO4gEAtNtTEJcm=t51SPJqOJfCTa4UMsUooT5JsdDhaA=qYDJA@mail.gmail.com>
Hi Andy,


On Fri, Oct 18, 2013 at 2:27 PM, Andy Robinson <[email protected]> wrote:

> Mike, on the table:  you can draw any flowable in canvas mode if you first
> call
>    object.wrap(availWidth, availHeight), which will return the width
> and height within that space that it actually wants to use.
> Practically, width was never used and is always the width of the
> frame, but height tells you where your table will end.
>
>
> This height will be to the bottom of the table.  We define the edges
> as a zero-width line at the midpoint of the bottom border.  However,
> by default all table cells have 3 points of padding between the
> content and edges (overrideable by you) on the inside; there is no
> padding around the inside.  So to put a paragraph straight after,
> you'll want to set its baseline a bit lower.
>
> This is going from memory as I don't have a development environment to
> hand.  Hope it helps...


I think I got the padding removed using the table's style options,
specifically BOTTOMPADDING and TOPPADDING. But I'm still not sure how I can
control the indent of the following flowables. I really want to move the
Paragraph object that follows the table to the left about half an inch.

- Mike
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.