Free Support Forum - aspose.com

ReplaceText in java

Hi,

i'm evaluating the Aspose.Pdf.Kit for java.

i tried the following code:

public static void main(String args[]) throws Exception {
try {
PdfContentEditor editor = new PdfContentEditor();
editor.bindPdf(path + "documento2.pdf");
editor.replaceText("Bruno", "xxxxxxxxxxx");
editor.save(path + "replace.pdf");
}
catch (java.io.IOException ioe) {
System.out.println(ioe.getMessage() + ioe.getStackTrace());
}
}

in the new file generated the string "Bruno" has not been changed and all the apostrophes has been changed in question mark. Can you tell me how to fix this problem?

thanks a lot,

Bruno Cervesi

Hi,

Thank you for considering Aspose.

I am unable to reproduce the error. Please make sure that you are using the latest version of Aspose.Pdf.Kit for Java. If you still get the same problem, then please send your sample Pdf document that is creating a problem. We will then investigate the issue.

Thanks.

Adeel Ahmad
Support Developer
Aspose Changsha Team
http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/ContactChangsha.html

Hi,

I have reproduced the error with your documents. We will check this in detail and let you know as soon as solution is found.

Thanks.

Adeel Ahmad
Support Developer
Aspose Changsha Team
http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/ContactChangsha.html

Hi,Bruno

We have found the reason to cause the problem. we are working hard to fix it now. We hope it could be solved in a week.

Best Regards.

Hi,

I’m reget to say that we have meet some technology problems which can not be solved in short time. If our product can’t fulfil your requirement, you can use other product freely.

Best Regards.

The issues you have found earlier (filed as 3073) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.