Hello,
PDF is a format unsuitable for text replacement, as contents are typically broken into arbitrary chunks placed at absolute coordinates (no linear flow!).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello! I was wondering whether it's possibile to replace some text inside a PDF…
Just like I have some tags like
<tag1> text between tags<tag2>
Replace '<tag1>' by 'This is a' and '<tag2> by '.' so it looks like 'This is a text between tags.'
Thanks in advance.
Hello,
PDF is a format unsuitable for text replacement, as contents are typically broken into arbitrary chunks placed at absolute coordinates (no linear flow!).
I see… In last hours I've been reading about the format and how the contents are stored (as a stream).
Thank you for such a great project! :D