I want to create simple PDF from array.
Array has title, date, and body data.
The script should create the table of contents page first, and then data page for each data. Some of body of each data might have long text so it doesnft fit in one page. So, the script should extend the page and also reflects page number in table of contents.
Table of Contents must have title, page number for each title, and page number of ToC.
Data page must have title, date, body, and page number.
Data in array might have IMG tag in body, and the script should open the address and saves the image in temp directory, and displays it in PDF as well.
I am thinking of using PDFlib PPS to make it templatable.