https://bugs.documentfoundation.org/show_bug.cgi?id=162897
Michael <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |UNCONFIRMED Ever confirmed|1 |0 --- Comment #11 from Michael <[email protected]> --- I tried to record a macro to change the Background Macro, but the recording gave me nothing other than this: sub Main rem ---------------------------------------------------------------------- rem define variables dim document as object dim dispatcher as object rem ---------------------------------------------------------------------- rem get access to the document document = ThisComponent.CurrentController.Frame dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") rem ---------------------------------------------------------------------- rem dispatcher.executeDispatch(document, ".uno:OptionsTreeDialog", "", 0, Array()) end sub I also hunted around with Google and I looked in Andrew Pitonyak's books. All with no success. For now, we just switch back and forth setting the option as required. It's not a huge deal. It just occurred to me: the easiest solution for us would be if there was an icon on the Formatting Toolbar, like the Font and Cell Background Icons that would change the Document Background colour. If that were possible, it would be best, and it wouldn't necessitate adding another variable to the Application Colors. -- You are receiving this mail because: You are the assignee for the bug.
