Forum

PDF Export

More
2 years 4 months ago #53 by Thomas Obermaier
PDF Export was created by Thomas Obermaier
First of all, thank you for your successful component.
One question: Is there a way to influence the font size in the PDF export?
Kind regards
Tom

 

This browser does not support PDFs. Please download the PDF to view it: Download PDF

Attachments:

Please Log in or Create an account to join the conversation.

More
2 years 4 months ago - 2 years 4 months ago #54 by JoomCode Admin
Replied by JoomCode Admin on topic PDF Export
Hi Thomas,

JCTables uses the excellent javascript tables component called Tabulator, so many of the tabulator configuration settings can be overidden in JCTables.

For example, the PDF export plugin youc an override some settings .....
mywikidocs.com/api/wiki/wiki.php?aid=113&sk=7829006dhs9783#

And the format of the setting can be found here
tabulator.info/docs/4.9/download#pdf

So you could change it using this....

{"title":"My PDF title",
"orientation":"portrait",
"autoTable": {
                "styles": { "fontSize": 6, "cellPadding": 1 },
                "margin": 20
             }
}


regards
Paul
JoomCode Support
 
Last edit: 2 years 4 months ago by JoomCode Admin.
The following user(s) said Thank You: Thomas Obermaier

Please Log in or Create an account to join the conversation.

Time to create page: 0.248 seconds