BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to set main language of a word document ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
Imran Khan
Guest





PostPosted: Tue Sep 13, 2005 4:21 am    Post subject: how to set main language of a word document ? Reply with quote



Hi,

I want to set THAI as the main language of my word document file.
Can any one tell me how to do it? And how to check what is the main language
of a word document file.

regards


Back to top
Oliver Townshend
Guest





PostPosted: Tue Sep 13, 2005 5:10 am    Post subject: Re: how to set main language of a word document ? Reply with quote



Quote:
I want to set THAI as the main language of my word document file.
Can any one tell me how to do it? And how to check what is the main
language
of a word document file.

From the Tools menu, you can click on Language, Set Language. This will
alter the language OF THE SELECTED TEXT. If you click on the Default
button, this will set the default language for all word documents created
from the Normal Template in the future.

The same command will tell you what language you have.

Oliver TOwnshend



Back to top
Imran Khan
Guest





PostPosted: Tue Sep 20, 2005 5:11 am    Post subject: Re: how to set main language of a word document ? Reply with quote



Thanks Oliver !

I did that but when i create a document with default language thai and try
to read the document programatically using TMSWordDocument component
([url]www.scalabium.com)[/url], the default language always comes out to be english.

Have you ever tried this component ?


"Oliver Townshend" <oliveratzipdotcomdotau> wrote

Quote:
I want to set THAI as the main language of my word document file.
Can any one tell me how to do it? And how to check what is the main
language
of a word document file.

From the Tools menu, you can click on Language, Set Language. This will
alter the language OF THE SELECTED TEXT. If you click on the Default
button, this will set the default language for all word documents created
from the Normal Template in the future.

The same command will tell you what language you have.

Oliver TOwnshend




Back to top
Oliver Townshend
Guest





PostPosted: Tue Sep 20, 2005 7:24 am    Post subject: Re: how to set main language of a word document ? Reply with quote

Quote:
I did that but when i create a document with default language thai and try
to read the document programatically using TMSWordDocument component
([url]www.scalabium.com)[/url], the default language always comes out to be english.

No I just use type libraries. Mike Shkolnik (who lurks in this group) wrote
it, so maybe you should post a question directly to him, eg with the subject
"Problem using TMSWordDocument Language".

Oliver



Back to top
Mike Shkolnik
Guest





PostPosted: Tue Sep 20, 2005 8:18 am    Post subject: Re: how to set main language of a word document ? Reply with quote

The default language for any office document can't defined in
Start->Programs->MS Office Tools->Language settings

The language that sent from Tools menu (as suggested below) is for current
(or selected) paragraph only, not for document
--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com

"Imran Khan" <imran.khan (AT) summitindia (DOT) com> wrote

Quote:
Thanks Oliver !

I did that but when i create a document with default language thai and try
to read the document programatically using TMSWordDocument component
([url]www.scalabium.com)[/url], the default language always comes out to be english.

Have you ever tried this component ?


"Oliver Townshend" <oliveratzipdotcomdotau> wrote in message
news:43265f0d (AT) newsgroups (DOT) borland.com...
I want to set THAI as the main language of my word document file.
Can any one tell me how to do it? And how to check what is the main
language
of a word document file.

From the Tools menu, you can click on Language, Set Language. This will
alter the language OF THE SELECTED TEXT. If you click on the Default
button, this will set the default language for all word documents
created
from the Normal Template in the future.

The same command will tell you what language you have.

Oliver TOwnshend






Back to top
Imran Khan
Guest





PostPosted: Tue Sep 20, 2005 11:02 am    Post subject: Re: how to set main language of a word document ? Reply with quote

Hi Mike,

I set the document's default language from MS-Word's toolbar
(Tools-->Language-->Set Language).
I think Oliver meant the same too.

regards,


"Mike Shkolnik" <mshkolnik2002 (AT) ukr (DOT) net> wrote

Quote:
The default language for any office document can't defined in
Start->Programs->MS Office Tools->Language settings

The language that sent from Tools menu (as suggested below) is for current
(or selected) paragraph only, not for document
--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com

"Imran Khan" <imran.khan (AT) summitindia (DOT) com> wrote in message
news:432f9958 (AT) newsgroups (DOT) borland.com...
Thanks Oliver !

I did that but when i create a document with default language thai and
try
to read the document programatically using TMSWordDocument component
([url]www.scalabium.com)[/url], the default language always comes out to be english.

Have you ever tried this component ?


"Oliver Townshend" <oliveratzipdotcomdotau> wrote in message
news:43265f0d (AT) newsgroups (DOT) borland.com...
I want to set THAI as the main language of my word document file.
Can any one tell me how to do it? And how to check what is the main
language
of a word document file.

From the Tools menu, you can click on Language, Set Language. This
will
alter the language OF THE SELECTED TEXT. If you click on the Default
button, this will set the default language for all word documents
created
from the Normal Template in the future.

The same command will tell you what language you have.

Oliver TOwnshend








Back to top
Mike Shkolnik
Guest





PostPosted: Tue Sep 20, 2005 11:56 am    Post subject: Re: how to set main language of a word document ? Reply with quote

Hi,

Quote:
I set the document's default language from MS-Word's toolbar
(Tools-->Language-->Set Language).
I think Oliver meant the same too.
And I answered that this is not a primary language for document. This is a

language for current paragraph.

How to set the main language for new documents, I described too

--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com



Back to top
Imran Khan
Guest





PostPosted: Tue Sep 20, 2005 1:12 pm    Post subject: Re: how to set main language of a word document ? Reply with quote

you wrote -
The default language for any office document (can't) defined in
Quote:
Start->Programs->MS Office Tools->Language settings
and i got confused.


thanks for the reply i'll try setting this way.

regards,


"Mike Shkolnik" <mshkolnik2002 (AT) ukr (DOT) net> wrote

Quote:
Hi,

I set the document's default language from MS-Word's toolbar
(Tools-->Language-->Set Language).
I think Oliver meant the same too.
And I answered that this is not a primary language for document. This is a
language for current paragraph.

How to set the main language for new documents, I described too

--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com





Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.