} catch (Exception Ex ) {
Ex.printStackTrace(log);
throw new StatusException("Couldn't insert text table ", Ex);
}
XSearchable oSearch = (XSearchable)UnoRuntime.queryInterface
(XSearchable.class, xTextDoc);
XSearchDescriptor xSDesc = oSearch.createSearchDescriptor();
xSDesc.setSearchString("SwXTextRanges");
XIndexAccess textRanges1 = oSearch.findAll(xSDesc);
xSDesc.setSearchString("bla");
XIndexAccess textRanges2 = oSearch.findAll(xSDesc);
tEnv.addObjRelation("Selections", new Object[] {
oFrame1, oFrame2, textRanges1, textRanges2});
tEnv.addObjRelation("Comparer", new Comparator() {
public int compare(Object o1, Object o2) {