mittwald / typo3-web2pdf

A TYPO3 extension for rendering content as PDF
GNU General Public License v2.0
18 stars 20 forks source link

Margin change does not work #51

Closed Gloumi closed 6 years ago

Gloumi commented 8 years ago

Hi, I tried to change pdf margins to 0 but this doesn't work :

$topMargin = ($this->options->getPdfTopMargin()) ? $this->options->getPdfTopMargin() : '15';

Another question : Why there is no pdfBottomMargin property ?

meierz commented 7 years ago

Same here. Even changing these lines does not have any effect:

$leftMargin = ($this->options->getPdfLeftMargin()) ? $this->options->getPdfLeftMargin() : '40';
$rightMargin = ($this->options->getPdfRightMargin()) ? $this->options->getPdfRightMargin() : '40';
$topMargin = ($this->options->getPdfTopMargin()) ? $this->options->getPdfTopMargin() : '40';