[reportlab-users] Usage of <pto> ?

Bernard Cagalj reportlab-users@reportlab.com
Thu, 30 Sep 2004 10:41:02 +0200


Hallo !

I was trying to do the following. I have a invoice form where i need to put
the address and other stuff on the first page and the second page is empty.
So I created two <pageTemplate> definitions.

Now I automatically want to swtich to the second <pageTemplate> when I have
a pagebreak.

So I tried the following:

<story>
<pto>
<pto_header><setNextTemplate name="secondPage"/></pto_header>
	<para style="address">Bla Bla bla... </para>
	.
	.
	<para> (many paragraphs - page-break must occur)
	.
	.
</pto>
</story>

I get the following error:

Warning flowable not yet implemented ! pto!

I used the same example that is printed in the user guide (so it should
work) but I guess I made some mistakes. Thanks for any hint. If my solution
for automatically switching <pageTemplate> does not work I would really
appreciate any help for a working solution.

Greetings
Bernard