+ Start a Discussion
Flight PlanFlight Plan 

Header and footer information in WORD document

Hi All,

 

Actually I am generating the WORD document from VF page by setting contentType="application/msword".

As I am able to generate the word document.

 

Now I want to add header n footer  in the generate word document .

How to do that  using VF page?

Any help would be appreciated.

 

Thanks in advance.

MandyKoolMandyKool

Hi,

 

I have also generated WordDocs with headers and footers using VF page.

Here's the link which i used as a reference.

 

http://theviewfromouthere.wordpress.com/2009/10/08/turning-a-visualforce-page-into-a-word-document/

 

It does have an issue ie. The header/footer for last page is redundant; but the issue is genuine. But other things do work perfectly.

 

Robert ZentgrafRobert Zentgraf
Hi,
does someone have a good solution for this, so that there is no issue with the last page?

Regards
Robert