Re: About String Replacement

2015-05-11 Thread John Hewson
What version of PDFbox are you using? We removed that functionality in 2.0 because it was fundamentally broken. The code you link to is still available in PDFBox 1.8.x, but it doesn’t work properly - if you’re lucky it will work on simple PDF files. — John > On 11 May 2015, at 10:43, David Lee

Re: About String Replacement

2015-05-11 Thread Tilman Hausherr
Am 11.05.2015 um 19:43 schrieb David Lee: Hi, I am very eager to implement the following code, but Tj or TJ returning nothing, so the rest of the code is not working. I am using it with a very simple pdf (attached). https://svn.apache.org/repos/asf/pdfbox/tags/1.5.0/pdfbox/src/main/java/org/

About String Replacement

2015-05-11 Thread David Lee
Hi, I am very eager to implement the following code, but Tj or TJ returning nothing, so the rest of the code is not working. I am using it with a very simple pdf (attached). https://svn.apache.org/repos/asf/pdfbox/tags/1.5.0/pdfbox/src/main/java/org/apache/pdfbox/examples/pdmodel/ReplaceString.ja