Jump to content
Sign in to follow this  
nleon307

iText to add annotations into PDF from FMP?

Recommended Posts

Is it possible to use Scriptmaster with iText to add highlight or comment annotations into a PDF from Filemaker?

Share this post


Link to post
Share on other sites

Adding comments is possible but adding 'highlighting' is a significantly more difficult task, which has to do with the way that content is stored inside the PDF.

A 'word' as you see it on screen may be stored as separate glyphs with position information, and after getting the content from the streams, you then need to re-assemble the position information to be able to have any chance of getting where you want. And if it is a document where the text was converted to outlines before creation then you pretty much have no chance.

Searching a reading the iText questions archives will give you an idea of the scale of the job. And you are likely to reach a 'not for the fainthearted' conclusion.

Getting the book is the best way to learn what you need, chapter 7 particularly.

It is the most amazing library but requires some willingness to really work hard at getting to grips with it.

Share this post


Link to post
Share on other sites

thanks a lot for the advice

when I was looking at the FDF file, I saw the coordinates and was afraid I would need to pull them somehow to do this.

I will take a look at the book.

Thank you

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.