To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=47043
Issue #:|47043
Summary:|Can't record macro to simply change a font.
Component:|Word processor
Version:|OOo 2.0 Beta
Platform:|PC
URL:|
OS/Version:|Windows XP
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P1
Subcomponent:|editing
Assigned to:|mru
Reported by:|erics
------- Additional comments from [EMAIL PROTECTED] Fri Apr 8 08:48:46 -0700
2005 -------
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
[EMAIL PROTECTED]
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
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]