incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steele, Raymond" <>
Subject RE: Connecting to open spreadsheet instance via extension
Date Fri, 27 Jul 2012 20:56:52 GMT
Okay, I figured this out. I don't need the bootstrap() because I am not connecting remotely.
I obtained the XComponentContext from my Addon contructor which was provided by the WeakBase.


From: Steele, Raymond
Sent: Friday, July 27, 2012 12:35 PM
To: ''
Subject: Connecting to open spreadsheet instance via extension


I am using OpenOffice SDK 3.1 on Solaris 10 x86 with StarOffice 9 ( I cannot upgrade at this
time). I am having issues and was hoping that someone could shed some light on it.  I've created
an extension to the spreadsheet application. I would like for the extension to perform some
tasks on the sheets that are opened. The user will use the new menu items to interact with
the sheet. For instance, the new menu item will implement the XStoreable interface to save
the document. (I want the 'Save' to execute other code that will generate some XML files,
which will be stored in a specified location).  In this example, do I have to use the Bootstrap()
method to get the context of an document that is already opened? If so, I am having issues
with this. I am using the BootstrapSocketConnector::bootstrap(String program) method, but
the program (Java) just hangs there. Hopefully, someone can point me in the right direction.

Raymond Steele

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message