Hi Bernard, On Thu, Mar 18, 2010 at 12:32 PM, Bernard Marcelly < [email protected]> wrote:
> Message de Madhur Kashyap date 2010-03-18 05:35 : > > Hi, >> >> I have built an application on top of openoffice calc using the Macro >> programming techniques. Now, some part of my application is in a compiled >> executable in a separate file which I invoke through a shell command. >> >> I want to distribute a single OO calc doc as the application, kind of self >> contained. In order to do that I need a mechanism to keep this executable >> embedded / kept inside the calc document itself. Also, a way to extract it >> out when needed during the use of application. >> >> Please guide me on how to do that. My users are on Windows as well as >> Linux. >> > > I think a simpler solution would be to create and distribute an extension. > An extension may include any number of documents of any kind. You can > easily find the path of the installed extension folder and then the address > of the document. > < > http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/Location_of_Installed_Extensions > > > I read about the extensions and how they are managed. This mechanism would not serve the typical use model for this application. It is like a spreadsheet type calculator in which the updated results would be exchanged with the calculator among people. Extensions method would require it to be installed for every user in order to transfer the spreadsheet. I can't seem to find a way to embed arbitrary file(s) into calc spreadsheet. If needed I am ok with zipping it up if it helps OO in understanding. Do you know a way to do this? Regards Madhur
