View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05886Bug reportspublic2026-11-19 23:15
ReporterMazi Assigned To 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Summary05886: Overwork PDF export(s) so they make use of XHTML + CSS and look nicer
Description

According to example #61 at http://www.tcpdf.org/examples.php the TCPDF library is able to use XHTML+CSS for layout and styling. This might be a good approach to "connect" the browser output and the PDF code so all overviews that can be exported as PDF will look the same.
would also make it easy to customize some print screens like printanswers, which could then even match a certain template's look and feel.

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)000
I will donate to the project if issue is resolvedNo
BrowserFirefox 9
Database type & versionMySQL 5
Server OS (if known)Win 7
Webserver software & version (if known)Apache 2.2
PHP Version5.3.1
Git branch / Pull Request URL

Users monitoring this issue

mfaber

Activities

Mazi

Mazi

2012-03-07 16:41

updater   ~17773

What do you think, Carsten. Would that be a good start once we start overworking the PDF exports?

c_schmitz

c_schmitz

2012-03-07 16:43

administrator   ~17774

Imho TCPDF only support pretty basic HTML, so I am not sure if that works.
Anyway, this is not a bug so please move it to the development section.

sammousa

sammousa

2013-04-18 17:46

reporter   ~24989

TCPDF definitely does not support most of the HTML spec.. We should create custom pdf-templates (which use html / css) as their base, but exporting existing html to pdf will be ugly.

c_schmitz

c_schmitz

2026-11-19 23:15

administrator   ~87776

Since LimeSurvey 3 the printable answers PDF is built from the survey theme, so its look can be changed in the theme. Closing this. If the other PDF exports should look better, please open a new feature request.

Issue History

Date Modified Username Field Change
2012-03-07 16:39 Mazi New Issue
2012-03-07 16:39 Mazi Status new => assigned
2012-03-07 16:39 Mazi Assigned To => c_schmitz
2012-03-07 16:41 Mazi Note Added: 17773
2012-03-07 16:43 c_schmitz Note Added: 17774
2012-03-07 16:56 Mazi Project Bug reports => @10@
2013-02-04 19:52 mfaber Issue Monitored: mfaber
2013-03-18 00:03 c_schmitz Assigned To c_schmitz =>
2013-03-18 00:03 c_schmitz Status assigned => acknowledged
2013-03-18 00:03 c_schmitz Product Version 1.92+ =>
2013-04-18 17:46 sammousa Note Added: 24989
2019-09-23 12:20 c_schmitz Status acknowledged => confirmed
2026-11-19 23:15 c_schmitz Note Added: 87776
2026-11-19 23:15 c_schmitz Status confirmed => closed
2026-11-19 23:15 c_schmitz Resolution open => fixed
2026-11-20 10:33 c_schmitz Category Print View => (No Category)