function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Header/Footer problem while Converting Vf page in to word document

I am using below link's code

Header and footer are getting displayed on each page of document as desired but my concern is that 
on converted word document Header's content displayed on first page and similarly footer's content displayed on last page why? and how to avoid it.
I took a look and tried out the solution suggested in that StackExchange answer. I too was having troubles getting proper pagination. Given that this is a solution on SE, you might try going directly to the person who answered that question there. I'd suggest posting a comment against the answer and let Mast0r know the behavior you are experiencing. 

Have you tried downloading the Office HTML/XML reference as suggested and looking to see if there is some formatting you can add to achieve what you're after?