I was wondering if there is a programming library available that allows for the inline editing of text within a PDF document. Drawing text unto the document isn't what I'm after this time and I am already aware of a number facilities and libraries that allow this to be done; I am looking for something that will allow me to make a change like this (where NEW isn't drawn in but edited in, for instance, a string):
"This is my document" become "This is my NEW document".
... The formatting should be preserved (especially where editing isn't being done within a specific area on the page). Word wrapping support would be great too!
So is there anything like this out there or am I barking up the wrong tree? I've looked at a range facilities such as FPDF, PdfBox, and even GNOME without much luck (tbh, I am sure GNOME may allow it but getting my head around it is too time consuming at the moment- so pointers on this will be also be great).
Thanks and sorry if this has been already asked.
In terms of programming languages: I willing to utilise what is suggested in C, C++, Java, PHP, Python, and Perl.