I'm having problems is in the interpretation of the json. In the attached example (which were generated by an Adobe community user) I can see page 108 from the document correctly visaulised, but in my case it looks like this:
I'm using php for the html code:
Can anyone guide me a bit about the coordinates and if I should create any other element apart from the "div"?
I have no idea what you are trying to do. Can you please rephrase? Are you trying to convert HTML to PDF? Something else?
Apologies for any confusion. We are converting PDF to JSON fine, but in generating JSON to HTML, we are facing some difficulties
I've attached the PDF which we are using to convert to JSON, as it is quite complex, with multiple images/ tables types.
Our problem is on page 108. When we parse from JSON to html we get the below
we're using php for the html code
Can you guide me a bit about the coordinates and if I should create any other element apart from the "div"?
Ah, so to be clear, you are using the PDF Extract API, right? There isn't necessarily a "path" you can take to generate HTML from that, and that's not really the intent of the API. The API is meant to give you information about what's in the document. I can't help you with this, sorry. It's not to say it's impossible, but PDF layout is not the same as HTML.