Thanks for the response Cindy.
As this is going to be a controlled application, I can recommed the version
of Word required in order to use this solution.
You are suggesting that I store the content in XML at server end and when I
transfer this XML Internet Explorer will invoke MS-Word to handle the
content? But how can I instruct Word about the mail merge fields? And how do
I get the data back when user finishes editing and Saves it? One of the
requirement is that the editing feature should be available from browser and
user should have a button to save document at server side.
Also, can I use the WordProcessingML for generating mail merged output? Any
link/pointer to help related to this language?
Thanks a lot.
Samir
Hi =?Utf-8?B?Uy5TYW5naGFuaQ==?=,
> As this is going to be a controlled application, I can recommed the version
> of Word required in order to use this solution.
[quoted text clipped - 9 lines]
> link/pointer to help related to this language?
>
I think the first question that needs to be answered is whether the user is going
to be able to use the Word interface at all? A browser knows to open a
WordProcessingML file in Word due to the PI Word writes into it. But if you're
expecting everything to happen in a browser environment, I'm not really sure
what's going to happen. You'll need to do some testing.
You also need to see if mail merge will even work in the scenario you're
postulating. Mail merge won't link to a HTTP-URL, it requires a traditional file
path, either to a local drive or a LAN location. You mention you found an article
that will allow mail merge to work with a data source in a remote location. Do
you have a link to that article?
If you mean the user is to create his template in the browser, but afterwards
will use it in Word outside the browser, things should work. You can extract the
content of the document as WordProcessingML, which will include the merge fields.
The only thing that will be lacking is the Page Setup information. automation
should be able to pick that up and write the missing information into the XML.
I think you need to do two things
1. Determine whether the functionality you need is available when a word document
is opened in the browser environment
2. Save a Word 2003 document as XML then open it in something like Notepad or an
XML editor and get a feel for the WordProcessingML file format. There's a Word
2003 SDK on msdn that goes into this in some detail. You'll also find the schemas
up there with documentation. Basically, you can create a Word document on the
server without Word being present. A user can open it in Word and use it, just as
with any Word document.
> > What you can do depends on the version of Word available to you. If it's Word
> > 2003, you can save and modify the file as WordProcessingML, Word's XML
[quoted text clipped - 24 lines]
> > > already done this, when I proposed this functionality) without any result so
> > > far.
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 :-)