To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=71108
------- Additional comments from [EMAIL PROTECTED] Fri Jul 13 13:49:14 +0000 2007 ------- Prerequisite: Text document that already contains a graphic (linked or unlinked) The macro below takes the graphic of the first graphic object in the document and creates a new graphic object using this graphic. Sub Main xgraphic = thiscomponent.getgraphicobjects.getbyIndex(0).Graphic xnewgraphicobject = thiscomponent.createinstance("com.sun.star.text.TextGraphicObject") xnewgraphicobject.graphic = xgraphic xnewgraphicobject.attach(thiscomponent.gettext.getstart) 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]