Support of merging cells in PhpRtf Lite

PhpRtf Lite 0.3.0 released. The main feature added is support of merging cells in table. This feature is implemented in Table->mergeCells() method. Library can be downloaded from Download page.

Usage of cells merging can be found in Sample scripts.

11 Responses to “Support of merging cells in PhpRtf Lite”

  1. Roman Gaag Says:

    Guys, thank you a lot!!!
    You library is very helpful.

    By the way, is it possible to make an image text wrapping “behind text”?

  2. Denis Says:

    No, current version has no such possibility. Maybe, future versions will have.

  3. Mox Says:

    How can one help with developing?

  4. Denis Says:

    I have plans to move project to www.sourceforge.net. I will inform here when it hapens.

  5. peho Says:

    Whay not suport Cyrillic?

  6. Denis Says:

    I get a lot of e-mails with question, how to insert variuos non english characters. When the resource is not utf-8, you have to use iconv function to convert your text to utf-8 encoding.

  7. Mox Says:

    Any chance of moving the files over to PHP5 - Once again I’m more than willing to help.

    Let me know.

  8. Denis Says:

    It happened. I moved project to sourceforge. So it’s possible to create subproject for moving PhpRtf over to PHP 5, but also there are more other jobs that could be done, etc: implementing styles, possibility to use templates and others.

  9. pooja Says:

    Hi All ,

    I am using this phprtf for my project . It works fine .
    But its not printing in landscape . I have to create a page to print in landscape .How to do that ??
    any help ?? I donno if there is a forum to discuaa all these .so posting it here
    Please help me out

    Thanks

  10. Denis Says:

    You have to use Rtf::setPaperHeigh() and Rtf::setPaperWidht() methods. Using Rtf::setLandscape() is not enough, because it says to printer that page is landscaped.

  11. Lloydie T Says:

    phprft really helped me out of a spot. I made one little change to the sendRtf function so that I could use file names with spaces.
    From:
    header(’Content-Disposition: attachment; filename=’.$fileName.’.rtf’);

    To:
    header(’Content-Disposition: atachment; filename=”‘.$fileName.’.rtf”‘);

    Usage:
    $rtf->sendRtf(”Quotation for $cust_name”);

    Silly addition, but some users wanted it.

Leave a Reply