Automating FormatColumns
Posted: Thu Sep 10, 2015 12:33 am
I wanted to record a macro to format selected text as 2 columns (with a .20 gutter). When I recorded the macro, the result had the function call as a comment (rem dispatcher.executeDispatch(document, ".uno:FormatColumns", "", 0, Array())), and it had not recorded the arguments.
When I uncommented the line, running the macro opened the dialog box. I looked around and could not find documentation for the FormatColumns function call.
1) Is it possible to send FormatColumns arguments and have it execute without opening the dialog box?
2) Is there any documentation for what the arguments are? (I tried using the labels in the dialog box and it just opened the dialog box also.)
When I uncommented the line, running the macro opened the dialog box. I looked around and could not find documentation for the FormatColumns function call.
1) Is it possible to send FormatColumns arguments and have it execute without opening the dialog box?
2) Is there any documentation for what the arguments are? (I tried using the labels in the dialog box and it just opened the dialog box also.)