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

What Language to use?

Post new topic   Reply to topic Forum Index -> Macros and API
View previous topic :: View next topic  
Author Message

PostPosted: Wed Dec 31, 2003 11:44 pm    Post subject: What Language to use? Reply with quote

Hi i'm a newbie and I have been learning C++. I want to develop a presentation type app for gnome that uses openoffice impress as the main engine.

Does it make sense to use
(A) C/C++ becuase gnome libs are in that or would it be better to learn or
(B) Java because its simpler to interface with openoffice?
(C) some other language/ way of doing it
Back to top

Joined: 02 Apr 2003
Posts: 3991
Location: Lawrence, Kansas, USA

PostPosted: Thu Jan 01, 2004 10:29 am    Post subject: Reply with quote

From the gist of your question, I would say that (A) is the only approach.

If you seriously consider (B) or (C), then perhaps I misunderstand your question.

I interpret your question as one of taking source code from OOo and using it to build your own completely new application. In this case, (A) is called for. Actually, I'll generalize that. You would want to use whatever languages that OOo parts are written in. Today this is mostly C++. But some OOo parts are already written in Java. Components can be written in Python or Java today and seemlessly integrated into the office. So in the future, even (A) will be less clear of an answer.

If you mean to simply use OOo as a compiled program and drive it from some other program, then (B) or (C) are probably much easier. Learn to program OOo's API in OOo Basic. Lots of examples are already on this forum along with pointers to documentation. Sorry it isn't organized in a nice accessible way.

Once you learn the OOo API your knowledge is directly applicable to any other programming language that works with OOo.
Want to make OOo Drawings like the colored flower design to the left?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Forum Index -> 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