[reportlab-users] Page headings in platypus

Robin Becker robin at reportlab.com
Wed Nov 4 10:52:48 EST 2009


Robert Young wrote:

> Actually, scratch my earlier note. I found that:

>

> from reportlab.platypus.flowables import DocIf

>

> However, with the statement:

>

> story.append(DocIf('doc.frame.atTop',headertext))

>

> gets me an error:

>

> AttributeError: atTop

> docEval doc.frame.atTop failed!

>

> Ideas?

>

> - Robert


Doh! not enough doughnuts today. Frame objects have an _atTop attribute.


> Robert Young wrote:

>> Thanks, that's (almost) exactly what I needed. My current code is

>> reading in each line, and putting each one out as a separate

>> "paragraph." Under that sort of arrangement, I want to put out the

..........
--
Robin Becker


More information about the reportlab-users mailing list