L
Lene Fredborg
I understand your sigh!
When testing the form fields before posting last time, I actually forgot
about your original description of the StyleRef problem (my mistake, sorry).
I have now tested more here. What I see here is a bit different from what you
describe (and while I was testing etc., Stefan’s and Suzanne’s most recent
posts appeared…):
I have tried to repeat the exact steps you describe - and I did it more than
once.
My StyleRef field show MS Mincho before I type text in the protected form,
but as soon as I start typing, the font in the StyleRef field is
automatically corrected (i.e. no more MS Mincho here).
I also tried doing things in a different order and with different fonts used
in the underlying paragraph styles in the main body and the header, but the
result was the same: the StyleRef field corrects itself to the correct font
when I start typing in the text form field in the protected form.
So for some unknown reason, I seem be luckier with the final result of the
StyleRef field than you. Unfortunately, I don’t have any good ideas of how to
cure your StyleRef font problem if your font removal does not make any
difference.
-------------------------
Now, a bit later - after having read the KB article (link from Stefan’s
post: http://support.microsoft.com/kb/828501/en-us):
I tried to follow the instructions in the article: First applied the style
(in this case the character style), then created the text form field. If I
placed the cursor at one of the ends of the form field in the unprotected
form, the â€Style†field in the Formatting toolbar shows that the character
style was applied. However, when I selected the entire form field, the
“Style†field was empty, indicating that different styles were in use in the
selection. But the text form field looked OK (correct font). I inserted a
StyleRef field in the header with the correct name of the character style.
Even if formatting marks were shown, the StyleRef field did not reflect the
empty text form field.
I now protected the document and typed text in the form field. BUT the
StyleRef field remained blank (and did not show any error either). First when
I unprotected the document, selected the form field with its text and
reapplied the character style, the text appeared in the StyleRef field. I
could reproduce this behavior (tried a number of times). So the method
described in the KB article may seem to solve the problem but something wrong
is going on under the surface…
I have tested in both Word 2003 and 2007. I have only seen the above
problems in Word 2003 whereas Word 2007 has shown the correct font and style.
--
Regards
Lene Fredborg - Microsoft MVP (Word)
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word
When testing the form fields before posting last time, I actually forgot
about your original description of the StyleRef problem (my mistake, sorry).
I have now tested more here. What I see here is a bit different from what you
describe (and while I was testing etc., Stefan’s and Suzanne’s most recent
posts appeared…):
I have tried to repeat the exact steps you describe - and I did it more than
once.
My StyleRef field show MS Mincho before I type text in the protected form,
but as soon as I start typing, the font in the StyleRef field is
automatically corrected (i.e. no more MS Mincho here).
I also tried doing things in a different order and with different fonts used
in the underlying paragraph styles in the main body and the header, but the
result was the same: the StyleRef field corrects itself to the correct font
when I start typing in the text form field in the protected form.
So for some unknown reason, I seem be luckier with the final result of the
StyleRef field than you. Unfortunately, I don’t have any good ideas of how to
cure your StyleRef font problem if your font removal does not make any
difference.
-------------------------
Now, a bit later - after having read the KB article (link from Stefan’s
post: http://support.microsoft.com/kb/828501/en-us):
I tried to follow the instructions in the article: First applied the style
(in this case the character style), then created the text form field. If I
placed the cursor at one of the ends of the form field in the unprotected
form, the â€Style†field in the Formatting toolbar shows that the character
style was applied. However, when I selected the entire form field, the
“Style†field was empty, indicating that different styles were in use in the
selection. But the text form field looked OK (correct font). I inserted a
StyleRef field in the header with the correct name of the character style.
Even if formatting marks were shown, the StyleRef field did not reflect the
empty text form field.
I now protected the document and typed text in the form field. BUT the
StyleRef field remained blank (and did not show any error either). First when
I unprotected the document, selected the form field with its text and
reapplied the character style, the text appeared in the StyleRef field. I
could reproduce this behavior (tried a number of times). So the method
described in the KB article may seem to solve the problem but something wrong
is going on under the surface…
I have tested in both Word 2003 and 2007. I have only seen the above
problems in Word 2003 whereas Word 2007 has shown the correct font and style.
--
Regards
Lene Fredborg - Microsoft MVP (Word)
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word