Re: No Page Numbering in PDF
Thanx for that. That did work for me. And with that I was able to find out where the page numbers are put on the pdf. I changed the code to put custom page numbers on the generated pdf. Thanx for ur help. Andreas Delmelle-2 wrote: > > > On 17 Nov 2008, at 07:59, AshuSuri wrote: > > Hi > > Sorry, I posted a reply on fop-users@ (since fop-dev@ is not the > appropriate place for questions like these), but forgot to CC you and > [EMAIL PROTECTED] > >> >> I am using FOP 0.95 to generate PDF and my input is xhtml file.FOP >> uses xalan >> to create XSL-FO in the memory. There must be some class/method in >> FOP which >> writes the page number at the footer of the PDF. I want to comment >> that code >> so that PDF does not contain page number. But I dont know which >> method puts >> page number on the PDF. >> Any clue on this? > > You will have to study the stylesheet, and find out which xsl:template > is responsible for adding the fo:page-number element(s) to the output. > If you find out, then simply comment them out or delete them, and the > output will no longer contain page numbers. > > HTH! > > Cheers > > Andreas > > -- View this message in context: http://www.nabble.com/No-Page-Numbering-in-PDF-tp20498358p20574553.html Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: No Page Numbering in PDF
On 17 Nov 2008, at 07:59, AshuSuri wrote: Hi Sorry, I posted a reply on fop-users@ (since fop-dev@ is not the appropriate place for questions like these), but forgot to CC you and [EMAIL PROTECTED] I am using FOP 0.95 to generate PDF and my input is xhtml file.FOP uses xalan to create XSL-FO in the memory. There must be some class/method in FOP which writes the page number at the footer of the PDF. I want to comment that code so that PDF does not contain page number. But I dont know which method puts page number on the PDF. Any clue on this? You will have to study the stylesheet, and find out which xsl:template is responsible for adding the fo:page-number element(s) to the output. If you find out, then simply comment them out or delete them, and the output will no longer contain page numbers. HTH! Cheers Andreas
Re: No Page Numbering in PDF
I am using FOP 0.95 to generate PDF and my input is xhtml file.FOP uses xalan to create XSL-FO in the memory. There must be some class/method in FOP which writes the page number at the footer of the PDF. I want to comment that code so that PDF does not contain page number. But I dont know which method puts page number on the PDF. Any clue on this? AshuSuri wrote: > > I am converting xhtml to PDF and PDF has page numbers inserted in it. But > I dont want page numbers in the PDF. Does anybody know how to remove the > page numbers or where in PDF does FOP embed Page Numbers. > > -- View this message in context: http://www.nabble.com/No-Page-Numbering-in-PDF-tp20498358p20534596.html Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: No Page Numbering in PDF
because it has nothing to do with fop? Write a script or xslt transform to modify your xhtml before processing with fop. AshuSuri <[EMAIL PROTECTED]> 17/11/2008 04:27 PM Please respond to fop-dev@xmlgraphics.apache.org To fop-dev@xmlgraphics.apache.org cc Subject Re: No Page Numbering in PDF aanybody has any idea... plz reply.. AshuSuri wrote: > > I am converting xhtml to PDF and PDF has page numbers inserted in it. But > I dont want page numbers in the PDF. Does anybody know how to remove the > page numbers or where in PDF does FOP embed Page Numbers. > > -- View this message in context: http://www.nabble.com/No-Page-Numbering-in-PDF-tp20498358p20533999.html Sent from the FOP - Dev mailing list archive at Nabble.com.
Re: No Page Numbering in PDF
aanybody has any idea... plz reply.. AshuSuri wrote: > > I am converting xhtml to PDF and PDF has page numbers inserted in it. But > I dont want page numbers in the PDF. Does anybody know how to remove the > page numbers or where in PDF does FOP embed Page Numbers. > > -- View this message in context: http://www.nabble.com/No-Page-Numbering-in-PDF-tp20498358p20533999.html Sent from the FOP - Dev mailing list archive at Nabble.com.
No Page Numbering in PDF
I am converting xhtml to PDF and PDF has page numbers inserted in it. But I dont want page numbers in the PDF. Does anybody know how to remove the page numbers or where in PDF does FOP embed Page Numbers. -- View this message in context: http://www.nabble.com/No-Page-Numbering-in-PDF-tp20498358p20498358.html Sent from the FOP - Dev mailing list archive at Nabble.com.