+ Start a Discussion
sandeep@Salesforcesandeep@Salesforce 

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

I am using below link's code
http://salesforce.stackexchange.com/questions/14138/how-to-add-header-footer-in-vf-page-whose-content-type-is-word

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.
Peter_sfdcPeter_sfdc
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?