Just to add here, when the replaceText() method strings are same, it is going in an infinite loop ?
-Kalyan On Sun, Jul 31, 2011 at 6:44 PM, gipsy <[email protected]> wrote: > I use poi-3.8.beta4-20110725 > > Yes, there are bookmarks inside the document and I want to replace them. It > would be great if the replacement of bookmarks would work for every > document > a user creates (bookmarks in tables etc). > > Is this possible? Or is it possible to say > > "doc.change_bookmark(Bookmark bookmark, String replacementText)" like > "doc.getBookmarks()" which is possible in poi-3.8.beta4? > > best regards, > Thomas > > -- > View this message in context: > http://apache-poi.1045710.n5.nabble.com/open-doc-replaceText-save-doc-ERROR-Word-was-unable-to-read-this-document-It-may-be-corrupt-tp4649703p4651948.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] > >
