Jump to content

fpdf and cell structure


terrid25

Recommended Posts

Hi

 

I am using the

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.