Hello,
I have basic requirements to style the elements h1, h2, h3 and img in a pdf. From what I read this is not possible to use an external stylesheet but it could be possible to use inline css.
My question is thus: how is it possible to add inline css before rendering the pdf? I read a couple of php files but I wasn't able to find where I could inject it.
Regards,
Davy
Adding inline css
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Adding inline css
Hi, you should add it directly to article html code or if you will edit the code, you should edit the plugin code:
plugins\phocapdf\content\content.php
see the variable $documentOutput.
Jan
plugins\phocapdf\content\content.php
see the variable $documentOutput.
Jan
If you find Phoca extensions useful, please support the project