To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=40349


User toconnor changed the following:

                  What    |Old value                 |New value
================================================================================
               Assigned to|toconnor                  |kso
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Tue Jan 25 10:36:23 -0800 
2005 -------
The problem is to be that the Scripting Framework is not able to find
a vnd.sun.star.tdoc URL for the embedded form, so it does not display it
in the selector dialog. This URL is needed by the framework to be able to
browse the embedded document for scripts.

Reassigning to KSO to find out why the following code does not return a
vnd.sun.star.tdoc URL for the embedded document:

// obtain XMultiComponentFactory object xFac

css::uno::Reference < com::sun::star::ucb::XSimpleFileAccess > xSFA( 
    xFac->createInstanceWithContext( 
OUSTR("com.sun.star.ucb.SimpleFileAccess"),    
        xCtx ), css::uno::UNO_QUERY );

if ( xSFA.is() )
{
    result = xSFA->getFolderContents( OUSTR("vnd.sun.star.tdoc:/"), true );
}

Note the embedded form is also not available by using the getComponents method
of the "com.sun.star.frame.Desktop" service

---------------------------------------------------------------------
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