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

Java remote-control app

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


Joined: 05 Oct 2006
Posts: 2

PostPosted: Thu Oct 05, 2006 2:31 am    Post subject: Java remote-control app Reply with quote

Hi there,

I need to write an application, that interacts with OpenOffice.org Writer. No need to make a OOo-Component of it, just a small java-application.

The theory:
- The app is reading data from a MySQL-DB.
- The data is then input into a circular letter in Writer.
- Then, the user is allowed to customize the content of the letter, as he pleases.
- When he is finished, the document should be saved (best in pdf-format) in a certain dir with a given filename.

The question:
Is this doable using Java/UNO?

I have made the best learning experiences, when looking at example code. Are there any examples for Java using UNO to open writer-documents or anything like that?

Most tutorials I found focused on extending OOo using UNO, but I'd rather like to control OOo with another Java-App.


tia

Korgano
Back to top
View user's profile Send private message
SergeM
Super User
Super User


Joined: 09 Sep 2003
Posts: 3211
Location: Troyes France

PostPosted: Thu Oct 05, 2006 4:45 am    Post subject: Reply with quote

Yes it is possible.
Examples can be found in SDK :
<OpenOffice.org1.1_SDK>/examples/java/Text
_________________
Linux & Windows OOo3.0
UNO & C++ : WIKI
http://wiki.services.openoffice.org/wiki/Using_Cpp_with_the_OOo_SDK
In French
http://wiki.services.openoffice.org/wiki/Documentation/FR/Cpp_Guide
Back to top
View user's profile Send private message Visit poster's website
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