M
Markus
I have set up a document management app and plan to use Word as an HTML
editor for my users. A user can click on a button to open the displayed .htm
file in Word and make minor edits if needed. I also include delimited field
names in the html document to allow a merging of data.
My problem is that, if they have automatic spell or grammar checking on, or
automatically suggest new spelling on, Word places characters around each
misspelled word. When the file is printed from my app, a merge process runs
replacing field names with that field value. But my merge process is
confused by these characters. Mostly, this confusion is caused by the
characters separating a line, or separating a field name across lines, making
it impossible to recognize the field name in order to replace it.
I have tried locating and removing the spell check characters before running
the merge, but this has not worked effectively.
To restate the problem, a user may open a .htm, make some changes, and save
it. Of course, the field names generate a spell or grammar check, which end
up also saved with the .htm. Then when they print the .htm, the merge
process cannot locate the merge fields because of these control characters
automatically entered by Word spell/grammar check.
Does anyone have any ideas on what I might do to overcome this problem.
Many, many thanks for any and all ideas on this,
Mark
editor for my users. A user can click on a button to open the displayed .htm
file in Word and make minor edits if needed. I also include delimited field
names in the html document to allow a merging of data.
My problem is that, if they have automatic spell or grammar checking on, or
automatically suggest new spelling on, Word places characters around each
misspelled word. When the file is printed from my app, a merge process runs
replacing field names with that field value. But my merge process is
confused by these characters. Mostly, this confusion is caused by the
characters separating a line, or separating a field name across lines, making
it impossible to recognize the field name in order to replace it.
I have tried locating and removing the spell check characters before running
the merge, but this has not worked effectively.
To restate the problem, a user may open a .htm, make some changes, and save
it. Of course, the field names generate a spell or grammar check, which end
up also saved with the .htm. Then when they print the .htm, the merge
process cannot locate the merge fields because of these control characters
automatically entered by Word spell/grammar check.
Does anyone have any ideas on what I might do to overcome this problem.
Many, many thanks for any and all ideas on this,
Mark