[reportlab-users] layout question

Robin Becker robin at reportlab.com
Fri Jan 9 12:41:04 EST 2009


Gabor Torok wrote:

> Hi,

> I'm trying to determine if the following is possible using platypus:

>

> M = an image

> P = a paragraph which is wrapped around the image

> L = an indented list (using Indent) which should start at the bottom of

> the paragraph P

>

> The trouble is that the bottom of P could be above or below the bottom

> of I. If I wrap M and P in an ImageAndFlowables then L will start after

> M (if M is longer than P). If I include L in the ImageAndFlowables then

> it gets wrapped around the image which is not what I need. (I need it to

> be a list starting at the bottom of P.)

>

> In other words, because the ImageAndFlowables acts as a single flowable

> element, I can't start a second paragraph after P, only after both P and M.

>

> Please let me know if what I'm trying to describe makes sense... Is what

> I'm trying to accomplish possible?

>

> Thanks for any info,

> --Gabor

.........

It's not terribly obvious what's intended here

Is this what you mean?


case 1 I(mage) longer than P
IIIIIIII PPPPPPPPPPPPPPP
IIIIIIII PPPPPPPPPPPPPPP
IIIIIIII LLLLLLLLLLLLLLL
LLLLLLLLLLLLLLL
LLLLLLLLLLLLLLL


or case 2
IIIIIIII PPPPPPPPPPPPPPP
IIIIIIII PPPPPPPPPPPPPPP
IIIIIIII PPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPPPPPP
PPPPPPPPPPPPPPPPPPPPPPPP
LLLLLLLLLLLLLLLLLLLLLLLL
LLLLLLLLLLLLLLLLLLLLLLLL


etc etc. 1pic==1000words :)

Currently we don't have a no flowaround option for the image and flowables.
--
Robin Becker


More information about the reportlab-users mailing list