Home |
Search |
Today's Posts |
#1
|
|||
|
|||
dynamically add header / footer to a word doc generated by asp
How to add a header ( text and an image) and footer with page numbers to a
word doc that is generated by an asp page( word doc is generated by using mime type= application/msword NOT by word automation.) Many thanks, JG |
#2
|
|||
|
|||
Hi ?B?SmF5?=,
How to add a header ( text and an image) and footer with page numbers to a word doc that is generated by an asp page( word doc is generated by using mime type= application/msword NOT by word automation.) If you're not using Word automation then I don't think there's any way you can add a header footer. Note that I don't know what options are available when using the "mime type". If that will allow you to use command line switches to open a new document based on a specific template, and then drops the text into that, then you could put the header/footer into that template. But that's the only possibility I can imagine. Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
#3
|
|||
|
|||
Well,
What I tried is: I manually attached the header and footer to the generated word doc and saved it as a web page.It created a directory and an xml file and header html file. I copied the stylesheet from these files to my asp file. But this is not consistent ; some times the headr & footer are displayed and some times not?? Any thoughts?? "Cindy M -WordMVP-" wrote: Hi ?B?SmF5?=, How to add a header ( text and an image) and footer with page numbers to a word doc that is generated by an asp page( word doc is generated by using mime type= application/msword NOT by word automation.) If you're not using Word automation then I don't think there's any way you can add a header footer. Note that I don't know what options are available when using the "mime type". If that will allow you to use command line switches to open a new document based on a specific template, and then drops the text into that, then you could put the header/footer into that template. But that's the only possibility I can imagine. Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
#4
|
|||
|
|||
Hi ?B?SmF5?=,
Well, What I tried is: I manually attached the header and footer to the generated word doc and saved it as a web page.It created a directory and an xml file and header html file. I copied the stylesheet from these files to my asp file. But this is not consistent ; some times the headr & footer are displayed and some times not?? Any thoughts?? Not really, no. HTML-format is not my specialty, nor one of Word's strengths. There's a word.webauthoring group where you might find people who know more about how it works. All I can say is that the document would have to be able to find the header html file, so that perhaps there's a problem with it finding that link. Have you tried opening the Word document and searching for the link to the external header file? Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
WordPerfect keyboard macro>Word equivalent? | New Users | |||
copying files from Wordperfect to Microsoft Word | New Users | |||
In typing dates in Word, i.e. "January 12" how do you keep the "1. | Microsoft Word Help | |||
Word 2003 header and footer | New Users | |||
How do I convert a cd in word perfect to microsoft word | Microsoft Word Help |