trichview.com

trichview.support




Re: Apply new style to entire document


Return to index


Author

Message

David Novo

Posted: 11/23/2004 18:16:12


Hi Gerry,


What are the side effects of select all. We use that all the time to

great effect.There are several ways that we use in different cases.


Select all, then applyStyleConversion

Select All, then execute a richViewAction


In addition, although I have never used this way, on the NG here Sergey

listed a callback method he has implemented to loop though all the

items in the richview. I think it even recurses through the tables. You

could change the styleNo of each item there (for textStyles only of

course) and then call deleteUnusedStyles on the rvStyle.


-Dave


Jerry Weaver wrote:


> Hi,

>

> Sorry. I accidentally hit send before I was finished.

>

> I need to programmatically change the text style of an entire

> document. I can do this with select all with the obvious side

> effects, but I'm looking for a better way.

>

> Thanks,

> Gerry

>

>

>

>

> Gerry Weaver wrote:

> > Hi,

> >

> > Is there a way to apply a particular text style to an entire

> > document? I need to have some predefined / canned formats for

> > documents.

> >

> > Thanks,

> > Gerry





Powered by ABC Amber Outlook Express Converter