To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69552
                 Issue #|69552
                 Summary|Java - Access StarBasic Scripts in hidden document - n
                        |o access
               Component|api
                 Version|OOo 2.0.3
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|ooandreas





------- Additional comments from [EMAIL PROTECTED] Fri Sep 15 01:16:22 -0700 
2006 -------
Star Basic Scripts can not be accessed with the UNO API if the document is
loaded in hidden mode.

A code snippet:

XScriptProviderSupplier scriptProviderSupplier =
(XScriptProviderSupplier)UnoRuntime.queryInterface(XScriptProviderSupplier.class,
xComponent);
XScriptProvider xScriptProvider = scriptProviderSupplier.getScriptProvider();
XScript xScript =
xScriptProvider.getScript("vnd.sun.star.script:Library1.Module1.Main?language=Basic&location=document");

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to