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())
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: