XRelativeTextContentInsert xRelativeTextContentInsert = (XRelativeTextContentInsert) UnoRuntime
.queryInterface(XRelativeTextContentInsert.class, xText);
if (newTextContent instanceof ITextTable) {
IParagraph paragraph = constructNewParagraph();
XTextContent oldXTextContent = textContent.getXTextContent();
xRelativeTextContentInsert.insertTextContentAfter(paragraph
.getXTextContent(), oldXTextContent);
xText.insertTextContent(
paragraph.getXTextContent().getAnchor(), newTextContent
.getXTextContent(), false);
xText.removeTextContent(paragraph.getXTextContent());