Issue 78609 - Macro recording generates double entries for inserting graphics
Summary: Macro recording generates double entries for inserting graphics
Status: ACCEPTED
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 81537
  Show dependency tree
 
Reported: 2007-06-18 15:05 UTC by hans_werner67
Modified: 2017-05-20 11:29 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 hans_werner67 2007-06-18 15:05:55 UTC
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>
Comment 1 Oliver Specht 2007-06-18 15:27:11 UTC
.
Comment 2 Marcus 2017-05-20 11:29:36 UTC
Reset assigne to the default "issues@openoffice.apache.org".