Before I commit myself further - I have an idea that may work and will use the API - can I ask a couple of questions please?
1. Firstly, are you talking about pairs of single words? So search for the word 'test' for example and do something to the single word either to it's immediate left or right in the text. 2. How simple/complex are the word documents? Are you dealing with paragraphs of text to which lots of different treatments have been applied? By this, I mean has the user emboldened some words, underlined other, etc. 3. If they have, do you need to preserve the formatting? If, as an example, we find the word 'test' and need to change the word to it's left does the change we make need to preserve the formatting the user applied to that word? 4. When do you need an answer to this? It wil take me a day to put some code together to test the idea I have in mind, assuming nothing else crops up. Yours Mark B -- View this message in context: http://apache-poi.1045710.n5.nabble.com/Questions-about-manipulating-text-or-words-in-a-docx-file-tp3413957p3414208.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
