To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=78609 Issue #|78609 Summary|Macro recording generates double entries for inserting | graphics Component|scripting Version|OOo 2.2.1 RC3 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|os Reported by|fma
------- Additional comments from [EMAIL PROTECTED] Mon Jun 18 14:05:55 +0000 2007 ------- While recording a macro and inserting one 'Picture from file' the recorder put in the related command twice. E.g. Importing the birthday-cake-image of OOo on C:/ooo_bcake_6th.gif, the recorder created two entries in the macro-code: <pre> ..... rem ---------------------------------------------------------------------- dim args3(3) as new com.sun.star.beans.PropertyValue args3(0).Name = "FileName" args3(0).Value = "file:///C:/ooo_bcake_6th.gif" args3(1).Name = "FilterName" args3(1).Value = "<All formats>" args3(2).Name = "AsLink" args3(2).Value = false args3(3).Name = "Style" args3(3).Value = "Graphics" dispatcher.executeDispatch(document, ".uno:InsertGraphic", "", 0, args3()) rem ---------------------------------------------------------------------- dim args4(3) as new com.sun.star.beans.PropertyValue args4(0).Name = "FileName" args4(0).Value = "file:///C:/ooo_bcake_6th.gif" args4(1).Name = "FilterName" args4(1).Value = "<All formats>" args4(2).Name = "AsLink" args4(2).Value = false args4(3).Name = "Style" args4(3).Value = "Graphics" dispatcher.executeDispatch(document, ".uno:InsertGraphic", "", 0, args4()) .... </pre> --------------------------------------------------------------------- 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]