as far as I see the “increase font” and “decrease font” buttons work in steps of 2…
I mean, if you select a line which has a 12 height and click those two buttons you get “14, 16, 18 etc.” with “increase font” and “10, 8, 6 etc.” with the “decrease font”
now I’m working on a macro trying to have a fine tuning with “increase font” and “decrease font” working with 0.5 steps…
I mean “12, 12.5, 13 etc.” or “11.5, 11, 10.5 etc.”
so I recorded the current “increase font” button action with the macro recorder and obtained this code:
sub test
dim document as object
dim dispatcher as object
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService(“com.sun.star.frame.DispatchHelper”)
rem ----------------------------------------------------------------------
dispatcher.executeDispatch(document, “.uno:Grow”, “”, 0, Array())
end sub
is there any way I can tweak the code in order to have an “.uno:Grow” increase in steps of 0.5 instead of the current steps of 2?