Hi,
reading an area can be done with PDFTextStripperByArea, see in the
source code or in stackoverflow for examples. If you know where it is.
If you don't know where it is (e.g. invoice processing), then you'll
have to guess by the context.
Writing at a placeholder is more difficult. Better don't create the
placeholder at all, just find out the coordinates and draw your text.
https://pdfbox.apache.org/cookbook/documentcreation.html
Tilman
Am 04.10.2014 um 03:28 schrieb andrew lee:
Hi;
I have a pdf report as per attached file. It contains the following text.
Account Number: 0123456789
[First Name]
[Last Name]
[Address]
Using PDFBOX, can I read the Account Number value "0123456789" so that
i can cross check with my oracle database, select out the First Name,
Last Name and Address and finally fill it into the marker [First
Name], [Last Name] & [Address] in the PDF file. Btw i was told that i
will be given an editable pdf report. also
Kindly advice. tq