Hello All,
In MS word we can define a template with bookmarks. When the word document is opened, I can just search for the bookmark and assign some text against the bookmark.
This makes generating documents pretty easy as I don’t have to write pixel based insertion of text and images. I can just locate the bookmark and assign a value to it.
Was just wondering can this be done in PDF and iText, create a PDF template with these place holders, then just open the pdf document using itext search for these bookmarks and assign them values and then save the document.
Currently I am writing text in pixel mode, but its very complex because I have to adjust the starting postion based on the length of the string and size of the font.
Regards,
Abhishek.
