bithost-gmbh / pdfviewhelpers

TYPO3 CMS extension that provides various Fluid ViewHelpers to generate PDF documents.
GNU General Public License v3.0
44 stars 19 forks source link

Add listIndentWidth argument to HtmlViewHelper. #239

Closed marcharding closed 8 months ago

marcharding commented 8 months ago

Introduces a listIndentWidth argument which is passed to TCPDF::setListIndentWidth. This is needed because the indentation of lists cannot be overwritten with pure CSS.

maechler commented 8 months ago

@marcharding Thank you very much for your contribution! It would be great if you could also add it to the TypoScript settings, similar to styleSheet. If you don't have time, I will do it as soon as I find the time.

https://github.com/bithost-gmbh/pdfviewhelpers/blob/3acf17e5ec9434082783aa0ab89909267de1d1a5/Configuration/TypoScript/setup.typoscript#L187-L196

https://github.com/bithost-gmbh/pdfviewhelpers/blob/3acf17e5ec9434082783aa0ab89909267de1d1a5/Classes/ViewHelpers/HtmlViewHelper.php#L50

https://github.com/bithost-gmbh/pdfviewhelpers/blob/3acf17e5ec9434082783aa0ab89909267de1d1a5/Documentation/ConfigurationReference/TypoScriptReference/Index.rst?plain=1#L135-L137

marcharding commented 8 months ago

Sure, just added it, overlook that before...

Thanks for the Extension (super helpful!) and have a nice holiday season.