- Messages : 1
- Remerciements reçus 0
PDF Export Layout
- StevenGo
-
Auteur du sujet
- Hors Ligne
- Fresh Lemon
-
I would like to modify the pdf-layout of the exported results. But I have no idea where to do so. It looks like it can't be done in the templates. And I can't find the php-file where it's config is stored.
So any help would greatly appreciated!

Thanx in advance!
Connexion ou Créer un compte pour participer à la conversation.
- Nana111
-
- Hors Ligne
- Fresh Lemon
-
- Messages : 3
- Remerciements reçus 0
For me ,i used to modify the pdf layout using a PDF document editor SDK .It offers a robust feature set to support all your PDF document level processing needs.In the process of document page modification and manipulation,there are two programming classes that will be used. One is PDFPage and the other is PDFDocument.You can also have a try.
Connexion ou Créer un compte pour participer à la conversation.
- tammo
-
- Hors Ligne
- Platinum Lime
-
- Messages : 531
- Karma: 17
- Remerciements reçus 100
since the PDF output from LimeSurvey is a bit hard to alter, we use MPDF implemented in the backend. This works great, but you have to do some styling yourself.
www.mpdf1.com/mpdf/index.php
Tammo ter Hark at Tools for Research
Proud developers of the TFR Responsive Limesurvey template
toolsforresearch.com/limesurvey-responsive-template
Connexion ou Créer un compte pour participer à la conversation.
- jerryd
-
- Hors Ligne
- Senior Lime
-
- Messages : 46
- Karma: 1
- Remerciements reçus 0
\
Thanks!
Thanks alot
jerryd
Connexion ou Créer un compte pour participer à la conversation.
- tammo
-
- Hors Ligne
- Platinum Lime
-
- Messages : 531
- Karma: 17
- Remerciements reçus 100
Tammo ter Hark at Tools for Research
Proud developers of the TFR Responsive Limesurvey template
toolsforresearch.com/limesurvey-responsive-template
Connexion ou Créer un compte pour participer à la conversation.
- jerryd
-
- Hors Ligne
- Senior Lime
-
- Messages : 46
- Karma: 1
- Remerciements reçus 0
Thanks,
Thanks alot
jerryd
Connexion ou Créer un compte pour participer à la conversation.
- DenisChenu
-
- Hors Ligne
- LimeSurvey Community Team
-
- Messages : 8875
- Karma: 400
- Remerciements reçus 1466
Hi tammo, in one of my plugin, i use tcpdf BUT with $pdf->writeHTML : i take the HTML from a question text, and add some basic css. (example from tcpdf website : www.tcpdf.org/examples/example_054.pdf )tammo écrit: Probably your problem has been solved, but just as a reminder for people that landed on this page through a search engine:
since the PDF output from LimeSurvey is a bit hard to alter, we use MPDF implemented in the backend. This works great, but you have to do some styling yourself.
www.mpdf1.com/mpdf/index.php
I don't have a good css margin/padding/position system but it work good.
css padding and margin are used with mpdf ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Connexion ou Créer un compte pour participer à la conversation.
- JanE01
-
- Hors Ligne
- Fresh Lemon
-
- Messages : 9
- Karma: 1
- Remerciements reçus 3
On behalf of Tammo: margins, padding and positioning are an oldie in mPDF. They practice what they preach: mpdf1.com/examples/new_features_4_0.pdf (page 3).DenisChenu écrit: I don't have a good css margin/padding/position system but it work good.
css padding and margin are used with mpdf ?
Or a little bit more recent: mpdf1.com/examples/mpdf54Demo.pdf
Open the examples on http://www.mpdf1.com/mpdf/index.php?page=Examples and try to find something that they do not support...
Connexion ou Créer un compte pour participer à la conversation.
- DenisChenu
-
- Hors Ligne
- LimeSurvey Community Team
-
- Messages : 8875
- Karma: 400
- Remerciements reçus 1466
Hi,JanE écrit: On behalf of Tammo: margins, padding and positioning are an oldie in mPDF. They practice what they preach: mpdf1.com/examples/new_features_4_0.pdf (page 3).
Or a little bit more recent: mpdf1.com/examples/mpdf54Demo.pdf
Yes but it's "code generated" system. Here , i use only HTML done by "admin user" with HTML editor. Adding a simple css
div{margin:0 auto; width: 50%} for example don't really work .
I ask for publication of the plugin and send the git link here. This can be tested with mpdf : HTML+CSS only

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
Connexion ou Créer un compte pour participer à la conversation.
- first
-
- Hors Ligne
- Platinum Lime
-
- Messages : 353
- Karma: 15
- Remerciements reçus 38

Survey Designer and Programmer
Connexion ou Créer un compte pour participer à la conversation.