//Relation for XControlAccess
tEnv.addObjRelation("DOCUMENT", UnoRuntime.queryInterface(XComponent.class,xSpreadsheetDoc));
tEnv.addObjRelation("XControlAccess.isSheet", Boolean.TRUE);
XViewPane VP = (XViewPane)
UnoRuntime.queryInterface(XViewPane.class, oObj);
CellRangeAddress dataArea = VP.getVisibleRange();
tEnv.addObjRelation("DATAAREA", dataArea);
// XForm for com.sun.star.view.XFormLayerAccess
log.println("adding relation for com.sun.star.view.XFormLayerAccess: XForm");