View Single Post
  #17   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default StyleRef Formatting Frustrations

STYLEREF field supports formatting switches but, as far as I know, form
fields do not.

More importantly, however, in recent versions of Word, form fields and font
formatting may be difficult for the reason explained in the following KB
article: http://support.microsoft.com/kb/828501/en-us ("Incorrect font is
applied after a style is applied to a form field in Word 2007 or in Word
2003").

--
Stefan Blom
Microsoft Word MVP



"Suzanne S. Barnhill" wrote in message
...
Can you add a CharFormat switch to the form field and/or StyleRef field?
Though that might actually do just the opposite of what you want. sigh

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Dax Arroway" wrote in message
...
Oh so totally close! So, thinking that I'd just scrap the whole thing
and
start from scratch I decided to practice on a blank doc first. Open New
Insert Text Form Field Create New Character Style Apply Character Style
to
Form Field yep, changes to MS Mincho on this machine (home--Word03)
apply
Form Reset (that works) insert StyleRef into Header Lock the Form
Test,
and then... What happens is the first word, whether it's one character
or
20, is formatted with the MS Mincho font and the following words, after
the
first space, is formatted with my Normal Paragraph Font. *sigh*

I don't think other languages are installed and I'm not sure where to go
to
check. I tried uninstalling both MS Mincho and MS Gothic and my PC says
it
can't uninstall them cause another program is using it (not sure which).
I'll reboot in safe mode and see if I can get rid of them and try this
again.

--
I would give my left hand to be ambidextrous!


"Lene Fredborg" wrote:

In the past, similar issues have been associated with form fields
converting
to MS Mincho

I don't have any Asian language enabled, either. In Word 2003, when I
use
Ctrl+Spacebar (which runs the ResetChar command as does Ctrl+Shift+Z),
the
font of the form fields here change to MS Mincho. I have created a lot
of
forms and the problem is rather annoying. However, resetting the form
fields
(e.g. using Reset Form Fields in the Forms toolbar) corrects the problem
here
and reverts the form fields to the correct formatting.

MS Mincho is also erroneously applied if I apply a character style to a
form
field. Resetting the form fields also cures that problem here. Maybe it
will
work for you too, Dax.

I have just checked in Word 2007 and the problem seems to be gone there.
I
am inclined to use Word 2003 whenever possible but maybe I will use Word
2007
for forms from now on.

By the way, I am ambidextrous ;-)

--
Regards
Lene Fredborg - Microsoft MVP (Word)
DocTools - Denmark
www.thedoctools.com
Document automation - add-ins, macros and templates for Microsoft Word


"Suzanne S. Barnhill" wrote:

I think Peter has identified some of the key issues involved. In the
past,
similar issues have been associated with form fields converting to MS
Mincho
(a Japanese font), which is equally infuriating, and I have had this
happen
even outside of fields when using Ctrl+Spacebar on some characters
that
I
believe are (covertly) drawn from Arial Unicode MS (en and em spaces).
I
don't have any Asian language enabled, either, so it is puzzling why
this
happens. I know that MS (or at least some people at MS) are aware of
issues
of this type because I've submitted problem documents where this sort
of
thing was happening.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Dax Arroway" wrote in message
...
Ms. Barnhill herself! WOW! Thanks for coming to my rescue. I'm
honored.

I'm using a character style. Funny thing is when I simply insert a
form
field its Normal Style (Arial) but if I apply the Normal Style to
the
form
field, it switches to MS Gothic. If I insert the field and clear
the
formatting (CTRL+Spacebar) it switches to MS Gothic. This leads me
to
believe that there's an underlying Font field imbeded within the
document
somewhere or somehow. I even changed the Default Font by using the
Font
dialog box and selecting the Default button but this doesn't fix it.

PS: I don't even have MS Gothic on this machine. MS Gothic, or
whatever
it's defaulting to... is ugly!
--
I would give my left hand to be ambidextrous!


"Suzanne S. Barnhill" wrote:

Are you using a paragraph or character style? If the latter, you
should
base
it on Default Paragraph Font, and you shouldn't see this issue. If
it's a
paragraph style, what style is it based on?

FWIW, I've never even heard of MS Gothic.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Dax Arroway" wrote in
message
...
OK, this is driving me friggen nuts! I'm hoping someone can
please
help.

I have a form (Word 03) that I'm trying to use sbarnhill's
SytleRef
trick
with. The Useful StyleRef tricks page is:
http://sbarnhill.mvps.org/WordFAQs/S....htm#FormField
because I want to insert a Name field (client entered) and Date
field
(client entered) into the footer. So far so good. I did all of
the
instructions and everything works --except-- the formatting of
the
form
fields turn from my Normal Style Font (Arial 10pt.) to MS Gothic
and I
can't
figure out why or how to fix it.

I've tried switching the Style Type to Paragraph and it still
changes
to
MS
Gothic when the style is applied to the form field. I tried
deleting
it
and
reformatting it by entering Arial into the Formatting field ofthe
New
Style
dialog--still MS Gothic. And it gets weirder! If I insert a
form
field,
just a normal one, and apply the Normal Style to it, it changes
to
MS
Gothic
Font even though it was all ready Normal Style in the first
place!
AAHHHH!!
Am I going crazy or what? Does anyone have any clue as to what
the
heck
is
happening with this form? Where is the MS Gothic Font coming
from?
It's
not
in any of my Styles or Normal.dot. Grrrrr.

Would someone kindly tell me where this might be coming from?
'Cause
I'm
about to through my monitor out the window! I know that won't
fix
my
problem
but it sure would feel good! I'm sure some of you know what I'm
talking
about! Anyway, if any Gurus out there could please come to my
rescue,
I
sure
would appreciate it. Much much thanks in advance!
Best,
Dax
--
I would give my left hand to be ambidextrous!