https://bugs.freedesktop.org/show_bug.cgi?id=62234
Priority: medium
Bug ID: 62234
Assignee: [email protected]
Summary: First slide in black
Severity: normal
Classification: Unclassified
OS: Mac OS X (All)
Reporter: [email protected]
Hardware: Other
Status: NEW
Version: 4.0.1.2 release
Component: sdk
Product: LibreOffice
When I run the following code on a Macbook with Leopard, the first slide shown
in black and pauses until you press a click to show the presentation
//-----------
XComponentContext xLocalContext = BootOpenOffice.start();
XMultiComponentFactory xMCF = xLocalContext.getServiceManager();
Object oRawDesktop = xMCF.createInstanceWithContext(
"com.sun.star.frame.Desktop", xLocalContext );
XDesktop oDesktop = (XDesktop)
UnoRuntime.queryInterface(XDesktop.class,oRawDesktop);
XComponentLoader xCompLoader = (XComponentLoader)
UnoRuntime.queryInterface(com.sun.star.frame.XComponentLoader.class, oDesktop);
String sUrl = "file:///Users/jctovilla/PresentaOO2.odp";
PropertyValue[] loadProps = new PropertyValue[1];
XComponent xComp = xCompLoader.loadComponentFromURL(sUrl, "_blank", 0,
loadProps);
XPresentationSupplier xPresSupplier =
(XPresentationSupplier)UnoRuntime.queryInterface(
XPresentationSupplier.class, xComp);
XPresentation xPresentation = xPresSupplier.getPresentation();
XPropertySet xPresPropSet = (XPropertySet)UnoRuntime.queryInterface(
XPropertySet.class, xPresentation);
xPresentation.start();
//--------------
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs