Hi Chris,

the extension should just dispatch a uno command URL. Here is the relevant part 
of code that. But this code is never run - I cannot even remote debug it:
-----%<-----
public void dispatch(URL aURL, PropertyValue[] lArgs) {
        if (aURL.Path.startsWith("Saveto")) {
                // Setting the SaveTo property
                PropertyValue[] saveProperties = new PropertyValue[1];
                saveProperties[0] = new PropertyValue();
                saveProperties[0].Name = "SaveTo";
                saveProperties[0].Value = new Boolean(true);

                // Dispatching the CommandURL
                OOUtils.dispatchCommandURL(xComponentContext, xFrame,
                                ".uno:SaveAs", saveProperties);
        }
        else ....
}
-----%<-----
Hope this will help you. Tell you if you need a sample extension. I'll send it 
via PM.

-- 
[ooo-build] openoffice.org API offers not the functionality of official OOo
https://bugs.launchpad.net/bugs/181700
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to