xCursorProps.setPropertyValue ( "CharWeight", new Float (
com.sun.star.awt.FontWeight.BOLD ) );
// replace the '.' at the end of the sentence with a new string
xSentenceCursor.gotoEndOfSentence( false );
xWordCursor.gotoPreviousWord( true );
mxDocText.insertString ( xWordCursor,
", which has been changed with text cursors!", true);
}
catch ( Exception e )
{