XText xDocText = m_xDoc.getText();
XTextCursor xDocTextCursor = xDocText.createTextCursor();
xDocTextCursor.goRight((short)1, false);
xDocTextCursor.goRight((short)3, true);
XTextField xMetaField = inserter.makeMetaField();
xDocText.insertTextContent(xDocTextCursor, xMetaField, true);
XPropertySet xPropertySet = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, xMetaField);