Hi.
Seems it was not that easy to solve. The reinstallation of eLAIX worked the 
first time, but now I'm getting the same problem again. Besides the error 
message, LibO opens the Basic editor and outputs the macro, marking the line 
that is causing the problem. I copy the pertinent part of the output, and 
underline the specific line, which is actually 'DialogLibraries.LoadLibrary( 
"eLAIX" )' from the "Document related functions" section:


[...]

'******************************************************************************************
' Document related functions: Doc Open | Doc Metadata | Doc Check | Doc Export
'******************************************************************************************


function DocImport()
  ImportFromILIAS
end
 function


sub DocCheck()
dim oGraphic as object
dim oControl as object
dim sPath as string
dim sImgPath as string
dim oStructure as object
dim oSyncOutlines as object
dim oEmptyHeadings as object
dim oDoubleSpaces as object
dim oStatus as object
dim vState as integer

    
    'initialize dialog and elements
    DialogLibraries.LoadLibrary( "eLAIX" )
    goDlgCheck = CreateUnoDialog( DialogLibraries.eLAIX.DlgCheck )        
    sPath = GetPackageDirURL("vnd.harryboldt.elaix")  
    sImgPath = sPath & "/icons/dialog/check.png"
    oControl = goDlgCheck.getControl("imgLogo")
   
 oControl.getModel().ImageURL = ConvertToURL( sImgPath )

    'setting the dialog elements
    oStructure = goDlgCheck.getControl("chkStructure")
    oSyncOutlines = goDlgCheck.getControl("chkSyncOutlines")
    oEmptyHeadings = goDlgCheck.getControl("chkEmptyHeadings")
    oDoubleSpaces = goDlgCheck.getControl("chkDoubleSpaces")
    oStatus = goDlgCheck.getControl("txtStatus")
    oStatus.Text = "Please select check-options and then start the document 
check and optimizing."
    
    'get check-setting from document
    oStructure.State = GetInternalDocString("eLAIXCheckStructure")
    oSyncOutlines.State = GetInternalDocString("eLAIXCheckSyncOutlines")
    oEmptyHeadings.State =
 GetInternalDocString("eLAIXCheckEmptyHeadings")
    oDoubleSpaces.State = GetInternalDocString("eLAIXCheckDoubleSpaces")

    goDlgCheck.execute    
end sub

[...]


________________________________

Hi :)  

Congrats on fixing it!  Sometimes it is worth pinpointing exactly what caused 
the problem but other times it is better to shrug it off and put it down to bad 
luck which you have now beaten (inshalla).  Maybe if it happens again it might 
be worth
 finding the cause?  

Regards from 
Tom :)  






>________________________________

> 
>
>Thanks, Niklas and Fernand.
>
>I just reinstalled once more eLAIX 4.0.3 and now it runs perfectly. Anyway, 
>before reinstalling it, I check the BASIC macros and LibO had eLAIX there 
>(under "My macros"), but, apparently, some of the paths were wrong. Maybe 
>because I first installed eLAIX on LibO 4.1 and then downgrade to 4.0? No 
>idea, but still it works now, so thanks everybody!
>
>
>Joaquín
>
>
>________________________________
>
>Hi Joaquín
>
>It sounds like the macro code is not located where the toolbar thinks 
>it's located or is missing.
>
>If you press Alt+F11
>Under My macros (Mina makron in Swedish) do you find a eLAIX?
>if not do you see eLAIX under LibreOffice Macros
 (LibreOffice-makron)?
>
>I did personally not have any issues installing and using the extension 
>on LibreOffice 4.0.4 on Windows 7 64-bit so it should be compatible with 
>that version.
>
>Just to make sure, you have reinstalled the extension, in any case do it 
>again and see if you get any different result. Something might have gone 
>wrong when you upgraded that might be fixed by uninstalling and 
>reinstalling the extension.
>
>Med vänlig hälsning
>Niklas Johansson
>
>Joaquín Lameiro skrev 2013-08-08 14:26:
>> Hello.
>>
>> I have installed the eLAIX extension for Libre Office and it won't work. No 
>> matter what action I try to perform, I get a message of this kind:
>> "BASIC runtime error.
>> An exception of
>> Type: com.sun.star.container.NoSuchElementException
>> Message:
 occurred."
>>
>> (the message occurs in Swedish, this is a quick translation).
>>
>> I used eLAIX for Libre Office in other computers and systems, and it worked 
>> perfectly, so I have no idea what the problem might be.
>> This time, I am running Libre Office 4.0.4.2 on Windows Vista 32 bits SP 2 
>> and I've tried eLAIX versions 4.0.3 (current stable version) and 4.0.1 
>> (first version supporting LibO 4.0). I had previously tried eLAIX 4.0.3 on 
>> LibO 4.1.0, and I thought the problem was due to eLAIX not supporting LibO 
>> 4.1, so I uninstalled LibO 4.1 and returned to 4.0. Anyway, the problem 
>> still the same: no matter what version of LibO or eLAIX I use, I get the 
>> above error message or something similar.
>>
>> Could you give me a hand on this? Thanks for your kindness.
>>
>> Best regards,
>> Joaquín
>>
>
>
>-- 
>To unsubscribe e-mail to:
 [email protected]
>Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
>Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
>List archive: http://listarchives.libreoffice.org/global/users/
>All messages sent to this list will be publicly archived and cannot be deleted
>-- 
>To unsubscribe e-mail to: [email protected]
>Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
>Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
>List archive: http://listarchives.libreoffice.org/global/users/
>All messages sent to this list will be publicly archived and cannot be deleted
>
>
>
-- 
To unsubscribe e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting
 guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
-- 
To unsubscribe e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to