Member Avatar for iamthwee

Hey guys,

I need some advice. Basically I want to know what is the easiest way to do this. I have a bunch of pdfs which are actually generated from excel as A4 documents and I want to be able open the pdf in a web browser, have the user click on a text field as get the x,y coordinate to then be able to write using fpdf.

How is this possible. At the moment I thought, convert the pdf to jpg using imagemagick, load into a html page, use jquery to get the x,y coordinate on mouse click, save to database, then use this to write back into the pdf.

But I'm oen to other ideas. Any help is much appreciated.

Member Avatar for diafol

Do you want cells to be editable? Why not just create a form?

Perhaps have a template pdf and use FDF to populate it with your data. I'm not very familiar with this, so perhaps it's not the way to go.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.