On Friday 18 August 2006 09:30 am, Harold Fuchs wrote:
> ----- Original Message -----
> From: "Andreas Saeger" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, August 18, 2006 1:08 PM
> Subject: [users] Re: Macro to Change Language Doesn't Work
>
>
> <snip>
>
> > There are 3 lang-settings at Tools>Options>LangSettings>Languages
> > Which one do you want to change and most important: why?
> > The first one ("User interface") influences menues, help files,
> > tool-tips and alike.
> > The second one ("Locale") influences the how your input is
> > interpreted (12/30/2000 vs 30/12/2000).
> > The third one ("Default for documents") influences the appearance
> > (output) of data. Basically it sets the language of the default
> > styles. This can be set up for each new document, an individual
> > document, per paragraph (writer:paragraph styles) or even for a
> > text-portion (writer:character styles). Same with cell styles in
> > Calc.
> >
> > This way you can stick with your local input method while the
> > document (or parts of it) shows regional typographic and numeric
> > distictions.
>
> <snip>
>
> There has been discussion in this mail list about having OO's
> document language (mainly your third setting) "follow" the user's
> keyboard settings. Some users change their keyboard layouts when
> they want to write in different languages and their wish was that
> OO somehow notice that the keyboard has changed and adjust itself
> accordingly.
>
> Turns out this isn't possible. So I was thinking of a kludge where
> the user has a macro for each language setting with each macro
> assigned to a different ("memorable") shortcut key. After changing
> keyboards the user would simply invoke the relevant macro and OO
> would be adjusted appropriately. Of course it doesn't fully meet
> the requirement; I make no bones about it, it's a kludge but it
> might be good enough for most people with this problem.
>
> Anyway, after hunting around I found some very good documentation
> of the macro language (OOo BASIC) together with examples of
> actually changing the locale (your number two) and document
> language.
>
> It's just that, as somebody else pointed out, the macro recorder
> isn't up to the job so one has actually to write or, hopefully,
> just copy/paste code.
>
> Harold Fuchs
> London, England

     What is wrong with using styles? What will a macro do that can 
not be done with styles?
     In Writer, you can set a character style for each language you 
use. In this style, you can include the particular language and the 
font it needs as well as other formating. When you change the 
keyboard setting for a new language, you can then also double click 
the appropriate style.
     Perhaps I find this fairly easy because I keep the Styles and 
Formating window docked at the left side of OOo for easy access.

Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to