Re: page number, but only if more than one page exists

2015-03-22 Thread Terence M. Bandoian
Good idea. Another option would be to never show the page number on the first page. -Terence Bandoian On 3/22/2015 5:21 PM, Luis Bernardo wrote: Try using a mix of page masters with different page positions (see http://www.w3.org/TR/xsl/#page-position). You will need a page master with p

Re: page number, but only if more than one page exists

2015-03-22 Thread Luis Bernardo
Try using a mix of page masters with different page positions (see http://www.w3.org/TR/xsl/#page-position). You will need a page master with page-position="only" without the page number, and a page master with page numbers when there is more than one page (i.e. when page-position="only" doe

Re: page number, but only if more than one page exists

2015-03-22 Thread Roberto Nunnari
On 22. 03. 15 22:41, Rob Sargent wrote: if you're using xsl transformation... have you tried Thank you Rob, but it's not using xsl transformation.. Robi - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apac

Re: page number, but only if more than one page exists

2015-03-22 Thread Rob Sargent
if you're using xsl transformation... have you tried On 03/22/2015 10:30 AM, Roberto Nunnari wrote: Hi. I need to change a servlet that generates a FO document and then transforms it into a pdf document. Unfortunately I know almost nothing about Formatting Objects. :-( At present t

Re: page number, but only if more than one page exists

2015-03-22 Thread Roberto Nunnari
On 22. 03. 15 17:30, Roberto Nunnari wrote: Hi. I need to change a servlet that generates a FO document and then transforms it into a pdf document. Unfortunately I know almost nothing about Formatting Objects. :-( At present the FO adds the page number on every page. I need to change it so tha

page number, but only if more than one page exists

2015-03-22 Thread Roberto Nunnari
Hi. I need to change a servlet that generates a FO document and then transforms it into a pdf document. Unfortunately I know almost nothing about Formatting Objects. :-( At present the FO adds the page number on every page. I need to change it so that it adds the page number, but only if the