mgufrone / pdf-to-html

PDF to HTML PHP Class using Poppler-Utils
MIT License
175 stars 88 forks source link

Treatment of HTML generated file #44

Open clown78 opened 6 years ago

clown78 commented 6 years ago

Hi,

I need to output the result instead of HTML file, I want to fill it in an array based on line and column.

<!! p style="position:absolute;top:515px;left:73px;white-space:nowrap" class="ft01">Item No.<!!/p> <!! p style="position:absolute;top:515px;left:217px;white-space:nowrap" class="ft01">Description of Goods<!!/p> <!! p style="position:absolute;top:515px;left:481px;white-space:nowrap" class="ft01">Units Qty<!!/p>

it should output: $data[0][0] = Item No. $data[0][1] = Description of Goods $data[0][2] = Units Qty

Is there a way to do so?

Thank you