View Single Post
  #23   Report Post  
Posted to microsoft.public.word.docmanagement
Beth Melton Beth Melton is offline
external usenet poster
 
Posts: 298
Default StyleRef Formatting Frustrations

I've encountered this issue numerous times and never had any international
languages enabled either. I forget why this occurs and I can't seem to find
an email I once had that provided the reason for it. I do know it wasnt the
same as the KB article Stefan cited. But I do know the workaround provided
in the article does work and that is to apply the style before you insert
the form field. I noted your document uses direct formatting instead of
styles and I don't recall this occurring with direct formatting. As a matter
of fact that is one of the workarounds. Perhaps it's because the Normal
style has been modified? In any event, if you're not familiar with how to
create a style follow these steps:

- Place your insertion point in the location in one of your text form fields
(this will enable the style to pick up your existing formats)
- From the Format menu, click Styles and Formatting
- On the Styles and Formatting task pane, click New Style
- Provide a name for your style, such as Form Fields
- Verify the formats
- Click OK

Note that it's been awhile since I've used Word 2003 so the above steps and
command names may be slightly different - I'm going on memory. :-)

Then once your Style is created, delete each text form field, apply the
style, and then insert the text form field again. I used this method a lot
when creating forms in Word 2003 so it should work for you. Thankfully you
only have a few text form fields. When I first encountered the issue it was
on three forms, each with over 100 form fields most of which had various
Property changes, macros assigned, every form field was named, etc. Needless
to say I was not a happy camper!

~Beth Melton
Microsoft Office MVP

"Dax Arroway" wrote in message
news
I read the article and tried making internation languages and language
unavailable but the issue still remains. This wouldn't change anything,
I'm
thinking, because if it were open by another on the server (form is a .dot
available to the company) then what was installed and turned on on the
user's
machine would dictate.

What's the CharFormat switch for the StyleRef?
--
I would give my left hand to be ambidextrous!


"Stefan Blom" wrote:

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!