Issue 8145 - Macro recorder does not work for Numbering/Bullets dialog box
Summary: Macro recorder does not work for Numbering/Bullets dialog box
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 643
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: joerg.skottke
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-08 09:45 UTC by leigh
Modified: 2017-05-20 10:03 UTC (History)
2 users (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 leigh 2002-10-08 09:45:58 UTC
Recording a macro to perform the following actions does not create the expected
code:

 1. Create a bulleted list
 2. Select the bulleted list
 3. Select "Tools->Macros->Record Macro" to start recording
 4. Select "Format->Numbering/Bullets..."
 5. Select the "Options" tab
 6. Click on the "..." button (adjacent to "Character" label)
 7. Select the desired font/character from the "Special Characters" dialog
 8. Click "OK" to dismiss the "Special Characters" dialog
 9. Click "OK" to dismiss the "Numbering/Bullets" dialog
10. Click on the floating "Stop Recording" button

Highlighting another bulleted list and running the generated code does not
repeat the recorded action.  The generated code is shown below:

---cut here---
sub Issue
rem ----------------------------------------------------------------------
rem define variables
dim document   as object
dim dispatcher as object
dim parser     as object
dim url        as new com.sun.star.util.URL
rem ----------------------------------------------------------------------
rem get access to the document
document = ThisComponent.CurrentController.Frame
parser   = createUnoService("com.sun.star.util.URLTransformer")

rem ----------------------------------------------------------------------
rem dispatch
url.Complete = ".uno:BulletsAndNumberingDialog"
parser.parseStrict(url)
disp = document.queryDispatch(url,"",0)
disp.dispatch(url,noargs())


end sub
---cut here---
Comment 1 chris 2002-10-08 10:17:56 UTC
Confirming this behaviour on my build, too.  Recording macros that
involve other dialog boxes produces code that repeats the changes made
in the dialogs, but not in the Bullets/Numbering dialog.  

Build from SRX643_OO on Debian x86 Linux.
Comment 2 thorsten.martens 2002-11-11 12:04:05 UTC
TM->JSK: Please have a look, thanks !
Comment 3 joerg.skottke 2002-11-12 12:38:05 UTC
This is a known issue. It will be fixed for the 650 build - eventually.