Apache OpenOffice (AOO) Bugzilla – Issue 28952
macro using insert object formula
Last modified: 2004-10-26 13:09:34 UTC
Creating a macro to change "2 over 7" to fraction form by calling the formula object: Select characters to convert run record macro click insert - object - formula The page immediately updates 2 over 7 to fraction form Then run configure to assign macro to a key sequence (ctrl f) Retype 2 over 7, select, and press ctrl f - nothing happens Edit the macro - the last line needs to be uncommented - then it works fine: rem before editing to correct the problem sub formula 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:InsertObjectStarMath", "", 0, Array()) end sub
MRU->JSK: Macro recording. please have a look.
according to OOo PCD i set this task to OOo later, it will be added to the general catchaall for macro recorder bugs issue #20046
retry.
Recording macros is only intended to work in Writer and Calc for now - with many limitations. This will not be fixed in the near future unless the Macro concept within the office is radically changed.
closing, this task will still show up in issue 20046