To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=47079
------- Additional comments from [EMAIL PROTECTED] Wed Dec 20 00:50:03 -0800 2006 ------- Hi, i noticed that is seems to be possible to avoid the above mentioned problem by using the following code snippet. Can someone please verify/confirm this ? Is this maybe a solution for all kind of possible autotexts ? How does the gui drag & drop handle this case (cause moving via drag & drop always works ...) I will create a new attachment ... Oliver OPTION EXPLICIT Sub CopyAutotext() Dim oATContainer as Object Dim oSrcGroup as Object ' contains autotext with a text table Dim oDestGroup as Object ' empty container ... Dim oText as Object Dim oCursor as Object Dim i as Integer oATContainer = CreateUnoService( "com.sun.star.text.AutoTextContainer") oSrcGroup = oATContainer.getByName("src") oDestGroup = oATContainer.getByName("dst") For i = 0 To oSrcGroup.getCount()-1 oText = oSrcGroup.getByIndex(i).getText() oCursor = oText.createTextCursor() oCursor.gotoStart(False) oCursor.gotoEnd(True) oDestGroup.insertNewByName(CStr(i), "Copy " & CStr(i), oCursor) Next i 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]