Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 31st, 2007, 10:58 AM
Friend of Wrox
Points: 2,876, Level: 22
Points: 2,876, Level: 22 Points: 2,876, Level: 22 Points: 2,876, Level: 22
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Denver, CO, USA.
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default Output Word WITH Template or Header Graphic

I have an ASP.NET application that is producing Word output using:

<html xmlns:w='urn:schemas-microsoft-com:office:word'>

I would like to either reference a Template where I can specify the Header/Footer or change the Header/Footer of the resulting Word Document. Using a template would be the preferred solution.

The page is writing straight HTML and this process is automatically changing it to a Word document. I'll happily consider changing whatever mechanism is used to produce the Word document so long as it does not require the ASP page to output anything other than the HTML it is already producing. I cannot rewrite the entire process to use some other solution - it must accept HTML. It should also open automatically in Word if at all possible.
 
Old October 31st, 2007, 03:18 PM
Friend of Wrox
Points: 2,876, Level: 22
Points: 2,876, Level: 22 Points: 2,876, Level: 22 Points: 2,876, Level: 22
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Denver, CO, USA.
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default

I found a solution for writing Word Headers and Footers at:

http://www.pbdr.com/ostips/wordfoot.htm

That works for now, but if anybody has a suggestion using Templates, I'd still like to hear about it.




Similar Threads
Thread Thread Starter Forum Replies Last Post
how to finding the Graphic objects in word doc madhan_needs_help Word VBA 2 August 8th, 2007 10:38 AM
Strip the XML file header data from output thomasjacob XSLT 7 April 12th, 2006 09:47 AM
BLOB graphic files /.wmf into a Word doc mckly Pro VB Databases 1 July 2nd, 2004 02:18 AM
Add BLOB graphic files into a Word Document mckly Pro VB Databases 0 June 30th, 2004 08:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.