I need to extract all the text from a document, do some processing, and be able to select text in the document based on offsets in the extracted text.
For example, I'd like to do something like call RVGetText.GetAllText, call RVLinear.RVSetSelection using offsets from the text, and apply font styles to the selected text. Text offsets don't match up when I try this.
Processing individual text items may work better, but my text processing needs to see the entire document. Is there a way to do it?
Thanks
Jim
selecting text in document by text offsets
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: