PropertyValue[] noArgs = new PropertyValue[0];
getting.dispatch(the_url, noArgs);
shortWait();
XFrame the_frame1 = the_Desk.getCurrentFrame();
if (the_frame1 == null) {
log.println("Current frame was not found !!!");
}
XFrame the_frame2 = the_frame1.findFrame("_beamer", 4);
the_frame2.setName("DatasourceBrowser");
XInterface oObj = null;
final XInitialization xInit = (XInitialization)
UnoRuntime.queryInterface(
XInitialization.class, the_frame2.getController());
PropertyValue[] params = new PropertyValue[3];
PropertyValue param1 = new PropertyValue();
param1.Name = "DataSourceName";
param1.Value = "Bibliography";
params[0] = param1;
PropertyValue param2 = new PropertyValue();
param2.Name = "CommandType";
param2.Value = new Integer(com.sun.star.sdb.CommandType.TABLE);
params[1] = param2;
PropertyValue param3 = new PropertyValue();
param3.Name = "Command";
param3.Value = "biblio";
params[2] = param3;
XController xCont = the_frame2.getController();
XSelectionSupplier xSelect = (XSelectionSupplier) UnoRuntime.queryInterface(
XSelectionSupplier.class, xCont);
try {