2014-07-20 11:51 GMT+02:00 Regina Henschel <[email protected]>:
> 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 > > Thanks. Exactly what I was asking for. Very good! The documentation you are referring to looks right. The one I was talking about gives me the impression that if I follow the instructions it will work, which it does not since Xray is installed globally and not locally (that is at least what happens in my system when I hit the installation button in the Xray odf file), right? Kind regards Johnny Rosenberg ジョニー・ローゼンバーグ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
