terrid25 Posted May 6, 2011 Share Posted May 6, 2011 Hi I am using the Quote fpdf library to generate a PDF. What I'm looking to do, is to possibly 'nest' cells inside another cell. ============================ | Main Cell | | ============= =========== | | Cell 2 | | Cell 3 | | ============= =========== | | ============================ So you can see I have one, main cell, and inside this I have Cell 2 and Cell 3, which I'd like inside/nested the main cell. Is this possible using the fpdf library? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/235677-fpdf-and-cell-structure/ Share on other sites More sharing options...
rbrown Posted May 6, 2011 Share Posted May 6, 2011 I just started playing with pdf's and after looking at a bunch of them the one that looked easy to get what I want without doing a ton of reading on the PDF formatting is... (And it has an ecryptor class with it.) http://www.rustyparts.com/pdf.php HTML_ToPDF is a PHP class that makes it easy to convert HTML documents to PDF files on the fly. HTML_ToPDF grew out of the need to convert HTML files (which are easy to create) to PDF files (which are not so easy to create) fast and easily. It has the following features: * The ability to convert images in the webpage to images embedded in the PDF. The script tries to convert relative image paths in to absolute ones as well. * The ability to use the CSS in the HTML file in the creation of the PDF. This includes remote CSS files as well. * The ability to convert remote files * The ability to convert links into embedded clickable links in the PDF file. * The ability to scale the HTML page. * Easy setting of any of these options through the methods of the class. * Tries to fix quirks in html pages which break html2ps. * Works on both Unix/Linux and Windows. Quote Link to comment https://forums.phpfreaks.com/topic/235677-fpdf-and-cell-structure/#findComment-1211369 Share on other sites More sharing options...
terrid25 Posted May 6, 2011 Author Share Posted May 6, 2011 Thanks I'll take a look! Quote Link to comment https://forums.phpfreaks.com/topic/235677-fpdf-and-cell-structure/#findComment-1211397 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.