Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
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
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
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
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
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
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
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
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
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
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
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
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
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 | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Style names in Word 03 template change when attached to existing d | Microsoft Word Help | |||
Style Names | New Users | |||
Printing style names next to text | Microsoft Word Help | |||
Word 2003: Can one disable table styles? | Tables | |||
Font properties of table styles versus paragraph styles | Tables |