Question

I want to hide the page number which appears at the page footer while using XSL-FO and the output format is PDF.

Is there a way to do this with <fo:page sequence>

Please let me know

thanks

Was it helpful?

Solution

What is usually done in fo:page-sequence regarding page numbering is just setting the initial page number or forcing a page count.

If you want to remove the page numbering from the footer, you need to look at where the footer is generated and remove the piece that is outputting the page numbering.

This is usually done with <fo:page-number> or <fo:retrieve-marker> in <fo:static-content> for a <fo:region-after> (in <fo:simple-page-master>).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top