Use the Range.Text property to retrieve plain, unformatted text of the range.
Example
Shows how to get plain, unformatted text of a range.
[Java]
Document doc = new Document(getMyDir() + "Document.doc");
String text = doc.getRange().getText();