[reportlab-users] Problem with KeepInFrame in 2.1
Robin Becker
robin at reportlab.com
Sun Aug 31 08:59:01 EDT 2008
Roberto Alsina wrote:
> Hello,
>
> When using a KeppInFrame in "truncate" mode, it eats the border of a
> XPreformatted inside it.
>
> I am generating the KeepInFrame like this:
>
> KeepInFrame(2000*cm,2000*cm,content=[XPreformatted(text,style)],mode="truncate")
>
> I use the silly 2000*cm so it's actually using the size of the frame it's in
> at wrapping time.
>
I'm not certain exactly what you mean by eats the border since I don't
see anything obviously wrong in your 15 page example and I don't know
what you intend things to look like. Can you say which page contains the
eaten xpreformatted and what it should look like.
> Here's an example PDF with the problem (look at the code fragments):
>
> http://rst2pdf.googlecode.com/svn/trunk/doc/manual.pdf
>
> Any suggestions?
>
--
Robin Becker
More information about the reportlab-users
mailing list