Hi Ignacio,
> I'm modifying a script for creating a configuration report in Word. I tried
> first in a computer running the english version of Word for Office XP and it
> ran very well. Then I tried in a computer running the spanish version of
> Word 2003 and it was a mess. My questions are:
> 1. Has the object model changed from Word XP to Word 2003?
Not significantly; really, only the new things that were added to it...
> 2. Are there any special names when calling objects in different language
> version of Word?
Only if you're doing something with literal strings (such as building StyleRef
fields with built-in styles).
Can you be more specific about the kinds of difficulties you're experiencing?
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 :-)
Ignacio Hernandez - 18 Sep 2004 00:23 GMT
Hi Cindy,
Advised by a posting in another newsgroup, I found that I needed to use
enumerators (like wdStyleBodyText) instead of calling "Body Text" which
change from language to language. What I'm trying to do now is to set a
font like Trebuchet MS, that is properly installed, but is not being
recognized programatically by my Spanish version of Word. Any hint will be
appreciated.
Regards,
Ignacio
"Cindy M -WordMVP-" <C.Meister-C@hispeed.ch> escribi? en el mensaje
news:VA.00009eef.024f71ba@speedy...
> Hi Ignacio,
>
[quoted text clipped - 21 lines]
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
Cindy M -WordMVP- - 20 Sep 2004 20:34 GMT
Hi Ignacio,
> Advised by a posting in another newsgroup, I found that I needed to use
> enumerators (like wdStyleBodyText) instead of calling "Body Text" which
> change from language to language. What I'm trying to do now is to set a
> font like Trebuchet MS, that is properly installed, but is not being
> recognized programatically by my Spanish version of Word. Any hint will be
> appreciated.
What about trying to record a macro, then comparing the recorded code with
the your code?
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 :-)