Issue 28952 - macro using insert object formula
Summary: macro using insert object formula
Status: CLOSED WONT_FIX
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 1.1.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: joerg.skottke
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks: 20046
  Show dependency tree
 
Reported: 2004-05-08 22:53 UTC by cfischer5
Modified: 2004-10-26 13:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description cfischer5 2004-05-08 22:53:03 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
Comment 1 michael.ruess 2004-05-10 12:04:43 UTC
MRU->JSK: Macro recording. please have a look.
Comment 2 joerg.skottke 2004-06-16 09:57:15 UTC
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
Comment 3 joerg.skottke 2004-06-17 11:09:48 UTC
retry.
Comment 4 joerg.skottke 2004-10-26 13:08:38 UTC
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.



Comment 5 joerg.skottke 2004-10-26 13:09:34 UTC
closing, this task will still show up in issue 20046