On Fri, 18 Aug 2006 19:35:37 +0100
"Harold Fuchs" <[EMAIL PROTECTED]> wrote:

> 
> ----- Original Message ----- 
> From: "Dan Lewis" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, August 18, 2006 4:28 PM
> Subject: Re: [users] Re: Macro to Change Language Doesn't Work
> 
> 
> <snip> 
> >     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
> > 
> <snip>
> Not sure if styles will do it - too ignorant :-(
> 
> If I wanted, say a French "style", wouldn't I need a separate OO
> writer style for each combination of font, font size, bold, italic
> etc. etc. etc?
> 
> I ask this because these attributes are defined within the character
> styles.
> 
> For example, the character style named "Source Text" is defined, "out
> of the box" on my system, as Courier New, Regular, 12pt., Normal
> Position (as opposed to Superscript or Subscript), English (UK) and
> so on.


1. You may specify only the language in a character style. I tried it,
and it works (2.0.3-2 on Debian). Do _exactly_ the following:
a) right click on 'Default' character style;
b) click on 'New' in the context menu;
c) in the 'Organizer' tab, write some name (but may as well leave
'Untitled#');
d) click the 'Font' tab and:
 - delete the font in the font entry box;
 - set the language you want;
e) click organizer tab: you will see that the style contains only the
language you have selected, no fonts, font effects, etc.
f) Click OK.

Test it - it changes only the language and preserves all other
formating - font, font size, bold, italics, sub/superscripts, etc.

However, works not as good as I would like.
For example, if I ever click 'background' tab but do nothing there, I
get '+White, transparent' in addition to the language. When I open the
newly created style (right click +'Modify'), '+White, transparent' is
listed twice...
If I select any font, it appears in addition to a language, too, even
if I delete it from the box after clicking.
And I don't know any way to clear these parameters once they appeared
in 'Contains' section (except deleting the style and creating new one).
Maybe a bug in this Debian version, cannot test other builds now.

HTH,

Andrius



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

Reply via email to