XDispatchProvider xDPP = (XDispatchProvider) UnoRuntime.queryInterface(XDispatchProvider.class, xFrame);
log.println( "opening the basic dialog editor" );
try {
Object o = xMSF.createInstance("com.sun.star.frame.DispatchHelper");
XDispatchHelper xDPH = (XDispatchHelper) UnoRuntime.queryInterface(XDispatchHelper.class, o);
PropertyValue[] aArgs = new PropertyValue[4];
aArgs[0] = new PropertyValue();
aArgs[0].Name = "Document";
aArgs[0].Value = aURL;
aArgs[1] = new PropertyValue();
aArgs[1].Name = "LibName";
aArgs[1].Value = "basctl";
aArgs[2] = new PropertyValue();
aArgs[2].Name = "Name";
aArgs[2].Value = "Dialog1";
aArgs[3] = new PropertyValue();
aArgs[3].Name = "Type";
aArgs[3].Value = "Dialog";
xDPH.executeDispatch(xDPP, ".uno:BasicIDEAppear", "", 0, aArgs);
} catch (Exception e) {
throw new StatusException("Couldn't open Basic Dialog",e);
}
utils.shortWait(3000);