On Thu, Dec 20, 2012 at 2:13 AM, Shukla, Mangesh <[email protected] > wrote:
> Hi Alexandro, > Thanks for the quick response. Actually I would prefer the solution to > be in C++, as I am not comfortable with Python. I will check the Add-on > samples for the socket implementation. But since I am starter, I would like > to discuss the design of how it should be implemented. > This is pretty old, but still a good read to learn how the API is structured using C++ http://www.openoffice.org/udk/cpp/man/tutorial/unointro.html Just take it as a low priority read about the environment. > > Thanks > Mangesh > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Alexandro Colorado > Sent: Thursday, December 20, 2012 12:43 PM > To: [email protected] > Subject: Re: Need help in getting the design right with Openoffice.org > > You can do an add-on that open a socket and read the data from your > application. There are some tutorials on doing this on the development > guide. > > Although not very secure, this tutorial tells you the basic of a listener > or deamon that would receive commands from external applications > http://wiki.openoffice.org/wiki/Deamon_in_Python > > Although old this is a tutorial on how it works: > > http://www.linuxjournal.com/content/starting-stopping-and-connecting-openoffice-python > > On Thu, Dec 20, 2012 at 12:33 AM, Shukla, Mangesh < > [email protected]> wrote: > > > Hi , > > I am new to OpenOffice development and need some ideas on the > > following implementation. I am working on an C++ application which > needs > > to interact with OpenOffice.org. The interaction will comprise of > > populating data in the spreadsheet application. The Calc application > > is intended to be used as UI for displaying values to the user, and > > allowing him to make changes. This interaction between the C++ > > application is required on Windows, Linux and Mac as well. > > > > I have the following questions: > > 1] I think I need to implement a UNO component which will implement a > > service to handle the interactions with the OpenOffice Calc application. > > This UNO component will be compiled as a shared library. My question > > is how does a C++ application interact with the shared library of the > component. > > > > 2] I also need inputs on how I can pass function pointers (in the C++ > > application) during the Add-On menu creation, so that they get called > > when the user clicks on the Add-on menu items. > > > > Please let me know if you need more inputs. > > > > Thanks, > > Mangesh. > > > > > > > -- > Alexandro Colorado > Apache OpenOffice Contributor > http://es.openoffice.org > -- Alexandro Colorado Apache OpenOffice Contributor http://es.openoffice.org
