[discuss] Re: Multiple character styles (was: Re: Mixed language text spellchecking question)

2005-10-28 Thread Andrew Brown
Giuseppe Bilotta <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: >> Depends upon what is meant by "can't have multiple character styles in >> the same text". > > I mean "you cannot apply multiple 'soft' character style to the > same text section". > > You can, but you need a macro. See m

[discuss] Re: Multiple character styles (was: Re: Mixed language text spellchecking question)

2005-10-28 Thread Andrew Brown
Nicolas Mailhot <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > What is meant is select whole sentence and apply italic+variable > character style, then select greek word in sentence and set greek > language (without loosing the italic+variable styling) > > but you can! Sub SetSwedish

[discuss] Re: Multiple character styles (was: Re: Mixed language text spellchecking question)

2005-10-28 Thread Andrew Brown
Nicolas Mailhot <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > The problem is this kind of linking is strictly hierarchical, you have > to think beforehand how your styles will be combined, and if you change > your mind later (or inherit the document of someone else) the whole > style hie

Re: [discuss] Re: Multiple character styles (was: Re: Mixed language text spellchecking question)

2005-10-28 Thread Giuseppe Bilotta
Friday, October 28, 2005 Andrew Brown wrote: > Giuseppe Bilotta <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: >>> Depends upon what is meant by "can't have multiple character styles in >>> the same text". >> >> I mean "you cannot apply multiple 'soft' character style to the >> same tex

Re: [discuss] Re: Multiple character styles (was: Re: Mixed language text spellchecking question)

2005-10-28 Thread Giuseppe Bilotta
Friday, October 28, 2005 Andrew Brown wrote: > but you can! > Sub SetSwedish > dim aLocale as new com.sun.star.lang.Locale > aLocale.Language="sv" > aLocale.Country="SE" > oDoc=thiscomponent > otext=oDoc.getCurrentController.getViewCursor().getText > oTC=oText.createTextCursorByRange(otext) > ' X

Re: [discuss] Re: Multiple character styles (was: Re: Mixed language text spellchecking question)

2005-10-29 Thread Nicolas Mailhot
Le samedi 29 octobre 2005 à 03:55 +, Andrew Brown a écrit : > Nicolas Mailhot <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: > > > The problem is this kind of linking is strictly hierarchical, you have > > to think beforehand how your styles will be combined, and if you change > > you

Re: [discuss] Re: Multiple character styles (was: Re: Mixed language text spellchecking question)

2005-10-29 Thread Giuseppe Bilotta
Saturday, October 29, 2005 Andrew Brown wrote: > Nicolas Mailhot <[EMAIL PROTECTED]> wrote in > news:[EMAIL PROTECTED]: >> The problem is this kind of linking is strictly hierarchical, you have >> to think beforehand how your styles will be combined, and if you change >> your mind later (or inhe