Moonsoft Software Solutions

Show Columns in pdf export

Started 1 Jun 2012 · 1 reply

  1. moon_504
    Dear support,

    How can I get the column lines to be displayed in the PDF export.

    This is useful for us to show the separation of data in the different columns

    Thanks

    Anselm
  2. Moonsoft support
    Hello,

    (only for joomla 1.5, LM v0.0.3)

    the pdf export uses fpdf library. In order to style your output you can edit this file:

    joomla\components\com_listmanager\views\listmanager\tmpl\pdf.php


    Search for this line, and change the border parameter from:

    $posYfincell=$this->MultiCell($widthcol,6,utf8_decode($texto),0,'J',$fill,$posYini);

    to

    $posYfincell=$this->MultiCell($widthcol,6,utf8_decode($texto),1,'J',$fill,$posYini);


    This should add all cells border to exported file. Here you have all information about the other parameters you can set:


    http://www.fpdf.org/en/doc/multicell.htm

    Regards

Still stuck?

Customers with an active license can open a support ticket.

Log in to open a ticket