[api-dev] Re: Resetting to default character style

2007-07-12 Thread Zbigniew Banach
Have you thought of using the DispatchHelper api ? Something like (in basic): dim args(1) as new com.sun.star.beans.PropertyValue args(0).Name = Template args(0).Value = Default args(1).Name = Family args(1).Value = 2 dispatcher.executeDispatch(document, .uno:StyleApply, , 0, args())

[api-dev] Re: Resetting to default character style

2007-07-12 Thread Zbigniew Banach
Fernand Vanrie napisaƂ(a): you can also use *setAllPropertiesToDefault*(); as a direct change to the selctect text Thanks for the hint -- that set me in the right direction. I just want the character style set to default, so the actual call I need is: