JODF > Tutorial > Find text

The example shows you how to find text in an OpenDocument text document. Find returns a FindResult object for every occurrence, which tells you the matched text, its position, the paragraph or the heading it belongs to, the spans it covers and the part of the document it was found in.

Need help? Ask our developers: