TextContentAnchorType.AS_CHARACTER);
oText = xTextDoc.getText();
oCursor = oText.createTextCursor();
log.println( "inserting Frame1" );
XTextContent the_content = (XTextContent)
UnoRuntime.queryInterface(XTextContent.class, oFrame1);
oText.insertTextContent(oCursor, the_content, true);
} catch (Exception e) {
e.printStackTrace(log);
throw new StatusException("Couldn't insert TextFrame", e);