I need to find the area occupied by certain strings in a document.

These strings are a sequence of characters with a predefined text style (font, font size and color).

I've been looking at the PrintTextLocations example. With the document i'm testing this processes text from the document character by character.

My initial plan is modify this to recognize words based on font, fontsize and color.

Is this the best strategy or would you recommend another? Is there any way to process words rather than characters?

On a side note, for documentation i'm using the javadoc and classes in the examples package. If you could point me towards any more explanatory information i would be grateful.

Thanks

Max


Reply via email to