[Solved] SDK unavailable for XRay extension
-
mike phillips
- Posts: 117
- Joined: Wed Feb 15, 2012 9:35 pm
[Solved] SDK unavailable for XRay extension
SDK Search has no hits, so this is a blind stab at a forum and please relocate thread as appropriate.
'Xray tool description' (taken from the Sourceforge site) invites me, having installed Xray, (WinXP) to download and install the SDK but that it is '38Mb'. My download is around 7.2Mb and does not appear to function with Xray. Any Ideas?
'Xray tool description' (taken from the Sourceforge site) invites me, having installed Xray, (WinXP) to download and install the SDK but that it is '38Mb'. My download is around 7.2Mb and does not appear to function with Xray. Any Ideas?
Last edited by Hagar Delest on Mon Feb 20, 2012 11:02 pm, edited 1 time in total.
Reason: tagged solved.
Reason: tagged solved.
OpenOffice 4 on Windows 7
- Hagar Delest
- Moderator
- Posts: 33614
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: SDK
Forum software doesn't index 3 letters and less words (to optimize performances).
Have a look at that one perhaps: Reference manual for OOo Basic.
Where have you downloaded the SDK?
Have a look at that one perhaps: Reference manual for OOo Basic.
Where have you downloaded the SDK?
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
-
mike phillips
- Posts: 117
- Joined: Wed Feb 15, 2012 9:35 pm
Re: SDK
xray can show the reference page for a selected object but only if the page is on the local computer. Therefore you have to download and extract the SDK. For compiled programming languages you have to install the SDK.
The MRI tool offers much more convenience and functionality and it can use the reference pages on the internet.
The MRI tool offers much more convenience and functionality and it can use the reference pages on the internet.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
mike phillips
- Posts: 117
- Joined: Wed Feb 15, 2012 9:35 pm
Re: SDK
see Post #1Therefore you have to download and extract the SDK. For compiled programming languages you have to install the SDK.
OpenOffice 4 on Windows 7
Re: SDK
xray has a configuration dialog.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
mike phillips
- Posts: 117
- Joined: Wed Feb 15, 2012 9:35 pm
Re:MRI
- downloaded, installed and it does not appear anywhere in the libraries - Xray does. So where is it?The MRI tool offers much more convenience and functionality and it can use the reference pages on the internet.
- I guess if I could use it, yes.convenience and functionality
This really is like trying to play Scrabble in a lunatic asylum!
OpenOffice 4 on Windows 7
Re: SDK
Online documentation at
http://hermione.s41.xrea.com/pukiwiki/i ... umentation
http://hermione.s41.xrea.com/pukiwiki/i ... umentation
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
-
mike phillips
- Posts: 117
- Joined: Wed Feb 15, 2012 9:35 pm
Re: SDK
Been there, Rory,
MRI.oxt package includes MRILib library of OOo Basic. And Mri subroutine placed in the MRILib library helps you to call MRI from OOo Basic easily. Pass an object to the Mri like written below (in this case, ThisComponent is passed as a target).
Mri ThisComponent
An argument of Mri subroutine is optional. When Mri called without an argument, Mri subroutine passes StarDesktop to MRI as a target using OOo Basic runtime function.
Mri ' StarDesktop is passed to MRI by Mri subroutine
Before you call Mri first time, need MRILib loaded.
Globalscope.BasicLibraries.LoadLibrary( "MRILib" )
Then you can call MRI like written below from OOo Basic without the Mri helper subroutine.
oMRI = CreateUnoService( "mytools.Mri" )
oMRI.inspect( MriTargetObject )
The control of the program is returned after Mri subroutine passes to service of MRI. Therefore you need to breakpoints of Basic IDE debugger if you want to inspect a object temporary created or you want to inspect the target well.
If you passed to a target to Mri that is part of a document opened on the StarDesktop and it lives after your Basic code finished, you can travel in it (passed value is a copy of the target but references are the same them of the original target).
RED bit gave me 'Nosuchelement exception'
MRI.oxt package includes MRILib library of OOo Basic. And Mri subroutine placed in the MRILib library helps you to call MRI from OOo Basic easily. Pass an object to the Mri like written below (in this case, ThisComponent is passed as a target).
Mri ThisComponent
An argument of Mri subroutine is optional. When Mri called without an argument, Mri subroutine passes StarDesktop to MRI as a target using OOo Basic runtime function.
Mri ' StarDesktop is passed to MRI by Mri subroutine
Before you call Mri first time, need MRILib loaded.
Globalscope.BasicLibraries.LoadLibrary( "MRILib" )
Then you can call MRI like written below from OOo Basic without the Mri helper subroutine.
oMRI = CreateUnoService( "mytools.Mri" )
oMRI.inspect( MriTargetObject )
The control of the program is returned after Mri subroutine passes to service of MRI. Therefore you need to breakpoints of Basic IDE debugger if you want to inspect a object temporary created or you want to inspect the target well.
If you passed to a target to Mri that is part of a document opened on the StarDesktop and it lives after your Basic code finished, you can travel in it (passed value is a copy of the target but references are the same them of the original target).
RED bit gave me 'Nosuchelement exception'
OpenOffice 4 on Windows 7
Re: SDK
If you can not see MRILib in the list of user's basic libraries, installation of the extension is broken. Reinstall it.RED bit gave me 'Nosuchelement exception'
Please, edit this thread's initial post and add "[Solved]" to the subject line if your problem has been solved.
Apache OpenOffice 4-dev on Xubuntu 14.04
Apache OpenOffice 4-dev on Xubuntu 14.04
-
mike phillips
- Posts: 117
- Joined: Wed Feb 15, 2012 9:35 pm
- Hagar Delest
- Moderator
- Posts: 33614
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: SDK
Try to reset your OOo user profile. But during the welcome process (if you had 2.x before), don't transfer your personal data, former configuration files might corrupt the new profile.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
-
mike phillips
- Posts: 117
- Joined: Wed Feb 15, 2012 9:35 pm
- Hagar Delest
- Moderator
- Posts: 33614
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: SDK
Well, upgrade can have weird impacts on the profile, especially for extensions. That's why resetting the profile is a general cure when no special root cause can be identified at first...
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
- kingfisher
- Volunteer
- Posts: 2127
- Joined: Tue Nov 20, 2007 10:53 am
Re: SDK
It looks as though your download is incomplete.mike phillips wrote:Bingo! Thanks Hagar.
Any ideas on the SDK file issue?
Apache OpenOffice 4.1.12 on Linux
- kingfisher
- Volunteer
- Posts: 2127
- Joined: Tue Nov 20, 2007 10:53 am
Re: [Solved] SDK unavailable for XRay extension
Your download is the installer, not the SDK. My SDK is 25Mb and the installer is 8.5Mb.
Apache OpenOffice 4.1.12 on Linux