OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

How to insert a userfield at to cursorposition

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
Egbert
Newbie
Newbie


Joined: 30 Sep 2007
Posts: 3
Location: Amersfoort

PostPosted: Mon Dec 07, 2009 1:01 pm    Post subject: How to insert a userfield at to cursorposition Reply with quote

I am writing a extention that can pick up a field from a list, and insert that field in the current document.
I want to insert that field exactly at the cursorposition. But my application insert the field
at the beginning of the line where my cursor is.
Has someone an example (in java) how to insert a text or userfield at the cursor?

Thanks Egbert
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group