Fernand Vanrie wrote:

Stupid me :-)

I was looking at the "style" itself but we must remove a style a a ellement in a styleFamily
like ostyleFamily.removeByName(The style)

Sorry for this stupid question


Fernand
I can handle without any problem all CustomStyles in a writterDoc using Basic and the API

BUT : i find no Method to  "remove"  a style

I can check if the style in no longer in use ( whats neceraly to been removed) oStyle.IsInUse = false

but even then there is no method to remove this unused style, is this a forgotten API thing or is there a other way to remove styles ?

Thanks for any hint

Fernand

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


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

Reply via email to