XCellRange oCRange = (XCellRange)
UnoRuntime.queryInterface(XCellRange.class, oSheet);
XCell oCell = oCRange.getCellByPosition(cellPos.Column, cellPos.Row);
XSheetAnnotationAnchor oAnnoA = (XSheetAnnotationAnchor)
UnoRuntime.queryInterface(XSheetAnnotationAnchor.class, oCell);
XSheetAnnotation oAnno = oAnnoA.getAnnotation();
XSimpleText aText = (XSimpleText)
UnoRuntime.queryInterface(XSimpleText.class,oAnno);
aText.setString("A nice little Test");
oObj = aText.createTextCursor();