poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kalyan Dev <kalyan.opensou...@gmail.com>
Subject Re: open doc -> replaceText -> save doc -> ERROR: “Word was unable to read this document. It may be corrupt."
Date Sun, 31 Jul 2011 13:52:09 GMT
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 <spam.gipsy@gmail.com> 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: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message