You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2012/02/14 18:13:38 UTC

DO NOT REPLY [Bug 51604] replace text fails for doc ( poi 3.8 beta release from download site )

https://issues.apache.org/bugzilla/show_bug.cgi?id=51604

--- Comment #15 from applanc <pa...@yahoo.fr> 2012-02-14 17:13:38 UTC ---
Hi, I have tested poi-bin-3.8-beta5-20111217.tar.gz with a MS office 2003
(input file) using "charRun.replaceText("XYZ", "ABC");"
and the output file is corrupted. 
without replacement the output is ok, so I guess that problem come from
replacement logic.

Also it worked out with poi-bin-3.8-beta4 if length of  pValue was equal to the
length of PlaceHolder.. otherwise the output file was also corrupted ! 
Any idea !
Thanks

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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