Hi Johnny,
Johnny Rosenberg schrieb:
At https://wiki.openoffice.org/wiki/Extensions_development_basic#Xray_tool:
”Xray tool
[..]
Here's what I did:
1. Download XrayTool by clicking the ”[odt installer(en)]” link at
https://wiki.openoffice.org/wiki/Extensions_development_basic#Xray_tool.
2. Open the downloaded file and click the Install button within the
document.
3. Verify the installation. It's there and it works if I first open it in
the BASIC IDE window.
4. Download the SDK from http://openoffice.apache.org/downloads.html.
5. Extract the downloaded file, enter its directory and Install the SDK:
dpkg -i * (there is only one file in that directory)
6. Open OpenOffice and create a new document. Add the macro above.
If the macro is inside the document, the statement
BasicLibraries.loadLibrary(...)
searches for the library inside the document. In your case XrayTool
would need to be inside the document.
For to get the Library from the application use
GlobalScope.BasicLibraries.loadLibrary
Documentation is OK, it is in
https://wiki.openoffice.org/wiki/Documentation/DevGuide/Basic/Accessing_Libraries_from_Basic
Kind regards
Regina
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]