Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Sven
 
Posts: n/a
Default Style names in different languages

I'm having problem working with a document on Words of different languages
(English and Estonian). If I, for example, use STYLEREF field: { STYLEREF
"Heading 1" }, it wont work on Estonian Word because built-in styles have
different names.

I cannot check this right now, but if I remove "Heading 1" style and
re-create it with same name, would it perhaps make Word believe it is custom
style and it would not touch it? Anybody tried?

Or.. something else?
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Cindy M -WordMVP-
 
Posts: n/a
Default Style names in different languages

Hi ?B?U3Zlbg==?=,

I'm having problem working with a document on Words of different languages
(English and Estonian). If I, for example, use STYLEREF field: { STYLEREF
"Heading 1" }, it wont work on Estonian Word because built-in styles have
different names.

I cannot check this right now, but if I remove "Heading 1" style and
re-create it with same name, would it perhaps make Word believe it is custom
style and it would not touch it? Anybody tried?

Or.. something else?

you cannot define your on style named Heading 1, Word won't allow it. Whether
you need to use Heading 1, or whether you can do without, depends on whether
you're using the headings anywhere else, such as part of the page or figure
numbering. If you're not using them in this manner, then you can substitute
your own style(s) for Word's built-in ones.

Beyond that, you'd need a programmed (macro) solution to check the current
environment language and make adjustments in the document. One possibility,
just as an example, would be to store the style names in CustomDocument
properties and put a DocProperty field into the StyleRef field. The macro can
then change the contents of the custom document properties.

The "long way" would be to use Find/Replace on the fields in the document range
to make the change directly in the fields.

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 :-)

  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill
 
Posts: n/a
Default Style names in different languages

For the built-in heading styles only, I believe you can use just "1," "2,"
etc., in StyleRef fields, or perhaps it is "H1." You might experiment with
these.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Sven" wrote in message
...
I'm having problem working with a document on Words of different languages
(English and Estonian). If I, for example, use STYLEREF field: { STYLEREF
"Heading 1" }, it wont work on Estonian Word because built-in styles have
different names.

I cannot check this right now, but if I remove "Heading 1" style and
re-create it with same name, would it perhaps make Word believe it is

custom
style and it would not touch it? Anybody tried?

Or.. something else?


  #4   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom
 
Posts: n/a
Default Style names in different languages

It is { STYLEREF 1 } (2, 3, etc).

--
Stefan Blom
Microsoft Word MVP


"Suzanne S. Barnhill" wrote in message
...
For the built-in heading styles only, I believe you can use just

"1," "2,"
etc., in StyleRef fields, or perhaps it is "H1." You might

experiment with
these.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Sven" wrote in message
...
I'm having problem working with a document on Words of different

languages
(English and Estonian). If I, for example, use STYLEREF field: {

STYLEREF
"Heading 1" }, it wont work on Estonian Word because built-in

styles have
different names.

I cannot check this right now, but if I remove "Heading 1" style

and
re-create it with same name, would it perhaps make Word believe it

is
custom
style and it would not touch it? Anybody tried?

Or.. something else?





  #5   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom
 
Posts: n/a
Default Style names in different languages

Creating aliases for the built-in styles, and using these
aliases in the STYLEREF fields, should work. Of course,
this won't be necessary for the built-in headings, since
you can refer to those by number: { STYLEREF 1 } (for
Heading 1).

--
Stefan Blom
Microsoft Word MVP


"Cindy M -WordMVP-" wrote in message
news:VA.0000bee6.00a99295@speedy...
Hi ?B?U3Zlbg==?=,

I'm having problem working with a document on Words of different

languages
(English and Estonian). If I, for example, use STYLEREF field: {

STYLEREF
"Heading 1" }, it wont work on Estonian Word because built-in

styles have
different names.

I cannot check this right now, but if I remove "Heading 1" style

and
re-create it with same name, would it perhaps make Word believe it

is custom
style and it would not touch it? Anybody tried?

Or.. something else?

you cannot define your on style named Heading 1, Word won't allow

it. Whether
you need to use Heading 1, or whether you can do without, depends on

whether
you're using the headings anywhere else, such as part of the page or

figure
numbering. If you're not using them in this manner, then you can

substitute
your own style(s) for Word's built-in ones.

Beyond that, you'd need a programmed (macro) solution to check the

current
environment language and make adjustments in the document. One

possibility,
just as an example, would be to store the style names in

CustomDocument
properties and put a DocProperty field into the StyleRef field. The

macro can
then change the contents of the custom document properties.

The "long way" would be to use Find/Replace on the fields in the

document range
to make the change directly in the fields.

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 :-)









  #6   Report Post  
Posted to microsoft.public.word.pagelayout
Klaus Linke
 
Posts: n/a
Default Style names in different languages

Would have been nice if Microsoft had allowed to refer to all built-in
styles by their wdStyle constant (say, for wdStyleTitle=-63 fot the "Title"
style).
I'll post a suggestion for it (again... I mailed MSWish about that, maybe
even more than once).

Regards,
Klaus




"Stefan Blom" schrieb im Newsbeitrag
...
It is { STYLEREF 1 } (2, 3, etc).

--
Stefan Blom
Microsoft Word MVP


"Suzanne S. Barnhill" wrote in message
...
For the built-in heading styles only, I believe you can use just

"1," "2,"
etc., in StyleRef fields, or perhaps it is "H1." You might

experiment with
these.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Sven" wrote in message
...
I'm having problem working with a document on Words of different

languages
(English and Estonian). If I, for example, use STYLEREF field: {

STYLEREF
"Heading 1" }, it wont work on Estonian Word because built-in

styles have
different names.

I cannot check this right now, but if I remove "Heading 1" style

and
re-create it with same name, would it perhaps make Word believe it

is
custom
style and it would not touch it? Anybody tried?

Or.. something else?







  #7   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom
 
Posts: n/a
Default Style names in different languages

Good idea.

--
Stefan Blom
Microsoft Word MVP


"Klaus Linke" wrote in message
...
Would have been nice if Microsoft had allowed to refer to all

built-in
styles by their wdStyle constant (say, for wdStyleTitle=-63 fot the

"Title"
style).
I'll post a suggestion for it (again... I mailed MSWish about that,

maybe
even more than once).

Regards,
Klaus




"Stefan Blom" schrieb im Newsbeitrag
...
It is { STYLEREF 1 } (2, 3, etc).

--
Stefan Blom
Microsoft Word MVP


"Suzanne S. Barnhill" wrote in message
...
For the built-in heading styles only, I believe you can use just

"1," "2,"
etc., in StyleRef fields, or perhaps it is "H1." You might

experiment with
these.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the

newsgroup so
all may benefit.

"Sven" wrote in message
...
I'm having problem working with a document on Words of

different
languages
(English and Estonian). If I, for example, use STYLEREF field:

{
STYLEREF
"Heading 1" }, it wont work on Estonian Word because built-in

styles have
different names.

I cannot check this right now, but if I remove "Heading 1"

style
and
re-create it with same name, would it perhaps make Word believe

it
is
custom
style and it would not touch it? Anybody tried?

Or.. something else?









Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Style names in Word 03 template change when attached to existing d Caroline O. Microsoft Word Help 3 January 2nd 07 05:46 PM
Style Names Ridge Kennedy New Users 8 April 7th 06 07:37 PM
Printing style names next to text Susieb Microsoft Word Help 2 January 28th 06 10:02 PM
Word 2003: Can one disable table styles? [email protected] Tables 5 April 10th 05 10:02 AM
Font properties of table styles versus paragraph styles Bob S Tables 3 February 8th 05 01:13 PM


All times are GMT +1. The time now is 06:49 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"