You need to sign in to do that
Don't have an account?
Page Number in PDF
Can we able to count page Number based on <apex:repeat> tag.
Say example, visual force generates PDF from list button where 2 records are selected and click a custom button then as a result PDF generated with totally 5 pages. With help of apex repeat tag, for the first record generates 3 pages and second record generates next 2 pages in a single file.
We need to count a page number in a PDF doc as Page 1 of 3, 2 of 3, 3 of 3 and then again 1 of 2 and 2 of 2.
Is it possible? Any suggestions are highly appreciated. I am using below code to display page number, it is counting from 1 to 5.
<HEAD> <style type="text/css"> @page { @bottom-center{ content: "Page " counter(page) " of " counter(pages); } } } </style> </HEAD>
See:
http://community.salesforce.com/sforce/board/message?board.id=Visualforce&thread.id=22258
Hi Nazzy / Stephan,
I also have a similar requirement,
If you had figured out the Solution ... Could you let me know ?