Issue 47043 - Can't record macro to simply change a font.
Summary: Can't record macro to simply change a font.
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Writer
Classification: Application
Component: programming (show other issues)
Version: OOo 2.0 Beta
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: joerg.skottke
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks: 20046
  Show dependency tree
 
Reported: 2005-04-08 16:48 UTC by erics
Modified: 2013-08-07 14:38 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 erics 2005-04-08 16:48:46 UTC
I record a macro to simply change a font on a selection and then deselect the
text and the macro comes up without the font change.  The font change is not
recorded.  After recording it, I went in to edit it and the macro below is all I
get.  I've also tried recording 4 steps on selected URL text (Italics, No
Underline, AutoFontColor, and No Hyperlink in Format|Character|URL).  It won't
record that either.  If you want me to send you that macro, email me at
erics@novell.com.

sub SansBold2
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 ----------------------------------------------------------------------
dim args1(1) as new com.sun.star.beans.PropertyValue
args1(0).Name = "Count"
args1(0).Value = 1
args1(1).Name = "Select"
args1(1).Value = false

dispatcher.executeDispatch(document, ".uno:GoRight", "", 0, args1())
end sub
Comment 1 eric.savary 2005-04-08 16:59:15 UTC
Not a P1
Wrong Subcomponent:
Comment 2 erics 2005-04-08 17:09:39 UTC
Sorry.  You're right.  Not a P1 and the subcomponent is Programming.  I didn't
change the template before I started typing.  I set it as a bookmark button on
my Firefox toolbar to just pull up that screen and template and let me start
typing.  Sorry.  Will be more careful. 
Comment 3 joerg.skottke 2005-04-11 10:12:35 UTC
Hi Erics,

we are aware of quite some problems related to macro recording. I've created a
catch-all issue #20046 for anything related to macros. However, macro recording
is not a priority for the upcoming release, so we're not fixing anything here
for 2.0.

Comment 4 joerg.skottke 2005-04-15 08:38:14 UTC
I'm closing this task, via the catch all we will be able to find it again as
soon as we start fixing these issues.
Comment 5 joerg.skottke 2005-04-15 08:38:40 UTC
close