--- On Thu, 5/30/13, Vieri <rentorbuy@yahoo.com> wrote:
Hi,
I'm attaching a calc document with macros I took from
oooforum.org. My goal is to have a macro intercept certain
events such as "underline" or "save".
I'm supposing I need to somehow run the Basic macro
"register" within the document.
Could anyone please tell me why I'm getting the following
whenever I run this macro:
BASIC runtime error.
An exception occurred
Type:
com.sun.star.script.provider.ScriptFrameworkErrorException
Message: Macro Library ComponentFactory not found.
The offending line is:
glob_oDispatchInterceptor =
oSP.getScript("vnd.sun.star.script:ComponentFactory.DispatchInterceptor.bsh?language=BeanShell&location=document").invoke(Array(),
Array(), Array())
I've seen this before when trying to call java macros from
Basic.
Why can't it find "ComponentFactory"?
Did I create it where I should have?
Is the path wrong?
Thanks,
Vieri
Can't send attachments to the list so here's a link:
http://ubuntuone.com/261aethvmtxIoDGbbCTsiI
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
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
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.