HOW CAN I REACH THIS: Automatic Footer Alignment.

Here should go questions about transforming XML with XSLT and FOP.
Alattar
Posts: 2

HOW CAN I REACH THIS: Automatic Footer Alignment.

Mon Jun 27, 2005 8:35 am

Hello,

There are many pages that have a footer.
Footer corresponds to the next pattern:

------ // line separator
{number_of_page}

The problem is in the need to move the {number_of_page}
element to the left/right corner of the page depending on
the evenness of the page. For example,

on the first page:
------ // line separator
{number_of_page} -> in the right bottom corner of the page

on the second page:
------ // line separator
{number_of_page} -> in the left bottom corner of the page

etc.

How can I do this automatically? I cannot find the answer on
this question. Please, help me.
Alattar
Posts: 2

Re: HOW CAN I REACH THIS: Automatic Footer Alignment.

Mon Jun 27, 2005 8:39 am

I am confronted with this difficulties using the XSL-FO, of course.
sorin_ristache
Posts: 4144

Mon Jun 27, 2005 12:14 pm

Hello,

If you are working directly on a XSL-FO document see the solution at

http://www.dpawson.co.uk/xsl/sect3/N8703.html#d11901e115

For DocBook XML documents transformed to the PDF format using the DocBook XSL stylesheets you must customize the footer.content template from the fo/pagesetup.xsl stylesheet:

http://www.sagehill.net/docbookxsl/PrintHeaders.html

The DocBook DTD and the DocBook XSL stylesheets are included in the <oXygen/> installation.

Best regards,
Sorin

Return to “XSLT and FOP”

Who is online

Users browsing this forum: No registered users and 1 guest