Dear Sir,

I found an interesting issue regarding the use of HWPF
(org.apache.poi.hwpf.usermodel). I checked the documentation (
https://poi.apache.org/apidocs/org/apache/poi/hwpf/usermodel/Range.html#replaceText(java.lang.String,%20java.lang.String)),
there I found three implementations to replace text.

The case "public void replaceText(java.lang.String newText, boolean
addAfter)" works fine, but another case "public void
replaceText(java.lang.String pPlaceHolder, java.lang.String pValue)" starts
to work but then somewhere starts infinite loop or something: the method
does not provide any results since it starts to work.

Does somebody get the same problem?


:-),

Darius Miliauskas

Reply via email to