[reportlab-users] simpledoctemlpate

John Pywtorak reportlab-users@reportlab.com
Tue, 6 Apr 2004 10:12:34 -0700

I think you are going to have to work directly with the canvas and use the=
primatives that platypus builds on like drawtext (? I think that is the=20
name), etc.

Another option is to implement routines for the new page events.  Here you =
the doc and canvas objects in which you can draw text anywhere you want.  I=
use it to draw page number and title on a page by page basis.

You could however extend SimpleDocTemplate and overide the draw method I wo=

Hope this gets you headed in the right direction.

Johnny P

On Tuesday 06 April 2004 02:44 am, =EF=BF=BDffffca=EF=BF=BDffffbf=EF=BF=BDf=
fffb7=EF=BF=BDffffbc =EF=BF=BDffffcd=EF=BF=BDfffff5=20
> Hi:
>   How can I realize this:
>      doc =3D SimpleDocTemplate('e:/page4.pdf')
>     story =3D []
>     story.append(String(x,y,'ddd'))
>     doc.build(story)
>    I know that is wrong ,but I want to draw strings with x,y in=20
> simpledoctemplate,what should i do? thanks
> ---------------------------------
> Do You Yahoo!?
> =E6=83=A0=E6=99=AETT=E6=B8=B8=E6=88=8F=E5=89=A7=EF=BC=8C=E7=8E=A9=E6=B8=