Solved

Populate Word Document on Server and return PDF to client

Posted on 2009-05-15
3
285 Views
Last Modified: 2013-11-07
Hi all,
I have a long standing VSTO solution that populates a form that is a word document and this opens on a client machine. This solution however needs upgrading and I am sure there is a more efficient way to do this.

I have in mind a dot net page that can manuipulate the XML from an empty form (n.b. empty, not blank - the word document is a lot of formatting and contains bookmarks for the data). This then saves the word xml on the server somewhere and then a pdf convertor (not sure which one as yet), converts the word file giving the client  a 'save as' dialogue to save the document.

Please can you offer any advice on the more appropriate tools or components to perform this with? My main concern is to preserve the formatting of the original word document in the xml ' template'

regards,
rich

0
Comment
Question by:crich
3 Comments
 
LVL 5

Expert Comment

by:prashantagarw10
ID: 24395336
Consider using PDF forms that can be filled by users. They also come in 2 varities where in users may save the filled data or they may not. If you want the user to email you the filled forms or if the form is big enough to be not filled in one sitting then probably you are looking for PDF forms that can be saved.
You will need to create the form file once for all and then users can download the file to their PC, fill it and email back to you. You dont need any application or program butjust one PDF file placed on your webserver.
0
 
LVL 9

Accepted Solution

by:
cdaly33 earned 250 total points
ID: 24395351
ABCPDF is a great tool for converting Word documents in to PDF's on the fly.  They have a full featured trial you can download to see if it works for you.

On a second note though, is it required that your template stay as a Word document on the server?  I use PDF form templates all the time and I haven't found a feature yet that Word could do that a PDF form template couldn't.  This way you'd just be stamping your values in the PDF template and saving off the finished PDF.

http://abcpdf.com/

0
 

Author Closing Comment

by:crich
ID: 31581900
Yes I think the best solution here would be to not even have the word doc on the server. Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now