Ask Your Question

Tommy27's profile - activity

2020-10-18 17:41:28 +0200 marked best answer how to "increase/decrease font size" with smaller steps?

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?

2017-11-02 15:14:32 +0200 received badge  Famous Question (source)
2017-10-23 07:08:11 +0200 commented answer how to "increase/decrease font size" with smaller steps?

thank for your message but this is not what I needed. sometimes I write text that goes beyond a single page and the decr

2017-10-23 07:04:22 +0200 commented answer how to "increase/decrease font size" with smaller steps?

just stumbled upon a text with a frame and the macro fails :-(

2017-10-22 17:23:24 +0200 edited answer how to "increase/decrease font size" with smaller steps?

great. thanks for working on that code. now the macro is fully functional on text selection with mixed font sizes. her

2017-10-22 17:22:49 +0200 received badge  Editor (source)
2017-10-22 17:22:49 +0200 edited answer how to "increase/decrease font size" with smaller steps?

great. thanks for working on that code. now the macro is fully functional on text selection with mixed font sizes. her

2017-10-22 17:21:42 +0200 answered a question how to "increase/decrease font size" with smaller steps?

great. thanks for working on that code. now the macro is fully functional on text selection with mixed font sizes. her

2017-10-22 13:15:21 +0200 received badge  Notable Question (source)
2017-10-22 08:39:58 +0200 commented answer how to "increase/decrease font size" with smaller steps?

thank, the issue happen when you deal with different font size lines. I think the CharHeight doesn't know which value to

2017-10-22 06:51:17 +0200 received badge  Popular Question (source)
2017-10-21 19:22:58 +0200 edited question how to "increase/decrease font size" with smaller steps?

how to "increase/descrease font size" with smaller steps? as far as I see the "increase font" and "decrease font" button

2017-10-21 19:22:04 +0200 asked a question how to "increase/decrease font size" with smaller steps?

how to "increase/descrease font size" with smaller steps? as far as I see the "increase font" and "decrease font" work i