Re: [dev] basic macro to uno package
Hi, the best way is to define your Basic macro in a new Basic library. Once you have Basic library you can simple put these library in a UNO package and the last thing is to define the package descriptor. descriptor should look like name: META-INF\manifest.xml ?xml version=1.0 encoding=UTF-8? !DOCTYPE manifest:manifest PUBLIC -//OpenOffice.org//DTD Manifest 1.0//EN Manifest.dtd manifest:manifest xmlns:manifest=http://openoffice.org/2001/manifest; manifest:file-entry manifest:media-type=application/vnd.sun.star.basic-library manifest:full-path=ToolkitControls/ /manifest:manifest where ToolkitControls is the name of your Basic library. package structure example: name: mypackage.uno.pkg root\META-INF\manifest.xml \ToolkitControls\dialog.xlb \ToolkitControls\script.xlb \ToolkitControls\MultiPage.xba \ToolkitControls\MultiPageDlg.xdl \ToolkitControls\ In the future it will be possible to create such a package directly from the Basic IDE. - Juergen Ales Kahanek wrote: Hi, can anybody give me a hint how to create an uno package? I have small basic macro attached to document close event and I want to create uno package with this macro. The purpose of doing this is that our Delphi application is cooperating with OOo and when our app is installed on a system, we need to install this package to existing OOo installation (it means force OOo to use this macro and beeing it attached to the close document event). Thak you in advance. Ales - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] basic macro to uno package
Hi, can anybody give me a hint how to create an uno package? I have small basic macro attached to document close event and I want to create uno package with this macro. The purpose of doing this is that our Delphi application is cooperating with OOo and when our app is installed on a system, we need to install this package to existing OOo installation (it means force OOo to use this macro and beeing it attached to the close document event). Thak you in advance. Ales - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] basic macro to uno package
Hello Ales, I've never made an uno package, but I know of a brief tutorial for making one using *Python*: http://ext.openoffice.org.nz/doku.php?id=cookbook:python_uno_component It's not quite what you want because yours is in StarBasic. But perhaps it'll take you one step forward. Also consider asking your question at dev@api.openoffice.org and/or [EMAIL PROTECTED] You'll likely get a better response there. Cheers, Daniel. Ales Kahanek wrote: Hi, can anybody give me a hint how to create an uno package? I have small basic macro attached to document close event and I want to create uno package with this macro. The purpose of doing this is that our Delphi application is cooperating with OOo and when our app is installed on a system, we need to install this package to existing OOo installation (it means force OOo to use this macro and beeing it attached to the close document event). Thak you in advance. Ales - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]