Hi
Is this issue solved ? I am currently evaluating aspose pdf for java and facing similar issue. If the replace text is big, then the word wrap doesn’t happen. I am using the facade api’s for this purpose. The sample code looks like this.
PdfContentEditor editor = new PdfContentEditor();
editor.bindPdf(“orig.pdf”);
editor.getReplaceTextStrategy().setReplaceScope(ReplaceTextStrategy.Scope.REPLACE_ALL);
editor.getTextReplaceOptions();
boolean replaced = editor.replaceText(“small”,“big big big replacement text”);
FileOutputStream pdfOutpustStream = new FileOutputStream(“modified.pdf”);
editor.save(pdfOutpustStream);
Is there any option to specify wrap ?
Thanks
Suren