tEnv.addObjRelation("IMAP",imap);
tEnv.addObjRelation("ImapObject",imap);
// adding relation for XText interface
DefaultDsc tDsc = new DefaultDsc("com.sun.star.text.XTextContent",
"com.sun.star.text.TextField.URL");
log.println( " adding InstCreator object" );
tEnv.addObjRelation( "XTEXTINFO", new InstCreator( xDrawDoc, tDsc ) );
tEnv.addObjRelation("NoShear",new Boolean(true));