Hello Stephan,
The problem is that I want to insert text in the document the user is
actually editing, and not in the Frame the programm opened.
Imagine the user opens an already existent file. This would open a new
frame. Then inserting text from my java application, the text will
appear in the Frame he opened first, and not in the frame he is
actually editing - which is not the expected behaviour.
So, I wanted to now how to get the current frame ...
thanks,
Daniel
Hi Daniel,
I can now insert text, image, diagrams and links inside openoffice,
all that from my external java-programm. Thats really nice:)
The strange thing is that it does that only on the Writer-frame that
I opened first.
I would like to also be able to insert things in a new opened
docuemnt. And I would like to allow the user to edit several document
with OpenOffice.org, and only operate (i.e. : insert Tex, images,
diagramms or links) on the the frame, that is currently on top.
so... What I am doing wrong ? Why can I only use the first opened
frame ? (i.e.: How to get the frame that is currently "in use"?)
mmm ... not sure what you try to achieve ... your code opens a text
document and then inserts a text in this just opened document.
Looks to me like the expected behaviour.
Regards
Stephan
---------------------------------------------------------------------
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]