diff --git a/views_pdf_template.php b/views_pdf_template.php index 98ff23b..ee4304a 100644 --- a/views_pdf_template.php +++ b/views_pdf_template.php @@ -372,10 +372,11 @@ class PdfTemplate extends FPDI { } - $this->SetX($x); - $this->SetY($y); - - $this->renderRow($x, $y, $row, $options, $view, $key, $printLabels); + if ($view->field[$key]->theme($row)) { + $this->SetX($x); + $this->SetY($y); + $this->renderRow($x, $y, $row, $options, $view, $key, $printLabels); + } } protected function renderRow($x, $y, $row, $options, &$view = NULL, $key = NULL, $printLabels = TRUE) {