xProps.setPropertyValue("HoriOrient", Short.valueOf(textInfo.getHorizontalAlignment()));
xProps.setPropertyValue("VertOrient", Short.valueOf(textInfo.getVerticalAlignment()));
xProps.setPropertyValue("BackColor", new Integer(0xffffffff));
xProps.setPropertyValue("BackColorTransparency", new Short(( short ) 100));
ITextDocumentTextShape textDocumentTextShape = new TextDocumentTextShape(
textDocument, xTextShape, textInfo);
////////
XText xShapeText = ( XText ) UnoRuntime.queryInterface(XText.class, textShape);
textDocumentTextShape.setXText(xShapeText);
////////
if (textShapeToTextShapeIds == null)
textShapeToTextShapeIds = new HashMap<ITextDocumentTextShape, String>();
textShapeToTextShapeIds.put(textDocumentTextShape, tempId);