I have invoice PDF's that are generated from my accounting software. I need to be able to insert data into these PDF's in the same row as existing text at a given offset.
Attached to this listing is a zip file with two example PDF's. Example 1 shows items that span multiple pages. Example 2 is a much simpler example which has one item. The actual invoices could have have anywhere from 1 to ~150 items in it, and can span several pages.
Within the zip file is also Example.png. In yellow on this image shows the text that must be found, and in red on the same row flags the area where the new text must be written. You will notice that for every line item, the item id is surrounded in yellow, and I must add corresponding text in the red box on the same row. There are also a few other areas of the document where I must insert text (Total Funded Amount, subtotal).
I imagine this being implemented in a Java class, with three methods:
1) getItemIds() - Cycles through the document and gets...