thanks, I had a look at that, the problem is that you
still cal getText for every cell. The type of style is
arbitrary, ie either paragraph or character. I just
want do try and do it as efficiently as possible.

--- Andrew Douglas Pitonyak <[EMAIL PROTECTED]>
wrote:

> Kent Gibson wrote:
> 
> >Is there any way to apply a style to a range of
> cells
> >in the writer? As far as I can see you have to
> extract
> >the XText from every cell, create a cursor and then
> >apply the style. no?
> >  
> >
> Kent, you never mentioned what type of style that
> you want to set.
> In my free macro document, I demonstrate setting the
> paragraph style for 
> every cell in a row in a text table...
> 
> Find the section titled  "Formatting a simple text
> table"
> 
> -- 
> Andrew Pitonyak
> My Macro Document:
> http://www.pitonyak.org/AndrewMacro.odt
> My Book:
> http://www.hentzenwerke.com/catalog/oome.htm
> Info:  http://www.pitonyak.org/oo.php
> See Also:
>
http://documentation.openoffice.org/HOW_TO/index.html
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to