Hi there, I'm dynamicly inserting commandbuttons into a writerdocument,
this is all working fine, but I have a huge problem controlling where
they are located. from what I can see I can set the x and y position of
the button, but I want to insert the button depending on text that I
have inserted using the same macro with the anchor "as character"

my pseudocode should do the following

1: get a textcursor
2: goto bookmark
3: insert new section
4: fill section with text
5: at the end of the text in the section insert an button that calls a
macro when pressing it.

sofar 1-4 is working great, but I have a huge problem with 5.
I can insert the button, but I have no knowledge on how to move it to
the "end of the section"

do anyone in here have any knowledge on how to do this?

or is there some kind of workaround to this I can use?

-- 
Christian Andersson - [EMAIL PROTECTED]

Configuration and Collaboration for OpenOffice.org
Open Framework Systems AS http://www.ofs.no

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to