page-position='last' is not yet implemented (NYI)

S

Sascha Folville

Hi,
I'm trying to transform a XML document to PDF using apache (xerces).

I want different formatting for first and last page.
My code looks like this:

<fo:layout-master-set>
<fo:simple-page-master master-name="first" ...>
...
</fo:simple-page-master>

<fo:simple-page-master master-name="last" ...>
...
</fo:simple-page-master>

<fo:simple-page-master master-name="rest" ...>
...
</fo:simple-page-master>

....

<fo:page-sequence-master master-name="data">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference page-position="first"
master-name="first"/>
<fo:conditional-page-master-reference page-position="last"
master-name="last"/>
<fo:conditional-page-master-reference page-position="rest"
master-name="rest"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>

My logfile says :"page-position='last' is not yet implemented (NYI)".

Does anyone know another way to solve my problem? Is there a version
wich supports "page-position='last'"?

Thanx4help

Sascha
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top