Re: [api-dev] How Remove a cCstomStyle with the API

2008-04-18 Thread Fernand Vanrie
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 a

Re: [api-dev] How Remove a cCstomStyle with the API

2008-04-17 Thread Ariel Constenla-Haile
Hi Fernand, Fernand Vanrie escribió: 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 the

[api-dev] How Remove a cCstomStyle with the API

2008-04-17 Thread Fernand Vanrie
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 unu