poi-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Valentin Jacquemin <jacquem...@gmail.com>
Subject HWPF replace text, file corrupted
Date Thu, 25 Aug 2011 09:31:45 GMT
Hi all,

I planned to use POI to deal with some templating system on word
documents but it seems that basic replacements are not working:

worddoc.getRange().replaceText("MyName", "Dusse");

After this replacement and saving to a file, word is not anymore able
to open it. Such a pity, I think using an Apache solution on this kind
of issues is hopeless for the moment.

If I'm wrong thanks to enlight me



To unsubscribe, e-mail: general-unsubscribe@poi.apache.org
For additional commands, e-mail: general-help@poi.apache.org

View raw message