[reportlab-users] Consuming two frames with a Paragraph
Federico Fanton
federico at panizzolo.it
Tue Sep 21 03:41:14 EDT 2010
Andy Robinson wrote:
> OK, but as the old treasure maps used to say, "Here be dragons...."!
Sounds fun :D
> You pass in an expression to DocIf which may refer to
> 'currentFrame','currentPageTemplate','availableWidth','availableHeight'
> and 'page'. So after your paragraph, you can test if you are in a
> left- or right-side frame, and output FrameBreaks accordingly.
Works perfectly, thanks! :)
(For the record the expression I'm using is "doc.frame.id == 'bframe'")
> I hope this helps. If you can make up a useful example and contribute
> it back we would be happy to add a test or code snippet to have some
> more documentation on this feature...
I can try, certainly :) Is there an example I should follow/imitate, or
would a script that creates a PDF suffice?
Thanks again!
More information about the reportlab-users
mailing list