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]