von turtle47 » So, 16.09.2012 15:39
Hallo Martin,
Wie mach ich das am besten?
Code: Alles auswählen
Sub Write_at_Cursor_Position
oDoc=thisComponent
oViewCursor=odoc.GetCurrentController.ViewCursor
oText=oDoc.text
oText.insertString(oViewCursor, "Hallo!",false)
End Sub
Jürgen
Hallo Martin,
[quote]Wie mach ich das am besten?[/quote]
[code]Sub Write_at_Cursor_Position
oDoc=thisComponent
oViewCursor=odoc.GetCurrentController.ViewCursor
oText=oDoc.text
oText.insertString(oViewCursor, "Hallo!",false)
End Sub[/code]
Jürgen