View Issue Details

IDProjectCategoryView StatusLast Update
14353Bug reports[All Projects] Print Viewpublic2019-07-15 11:41
ReporterDenisChenuAssigned Tocdorin 
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version3.15.x 
Target VersionFixed in Version 
Summary14353: Print answers as PDF make to wide part
Description

When printing asnwers as PDF : we have really big white space …

Steps To Reproduce

Import included survey, print, export as pdf

Additional Information

usage of float in tcPDF : didn't work
even display:inline seems not work

Then each element are shown in block …

To show it better : you can test with some included style : see template uploaded

About fixing it by own template : yes, can be done … but really : want core offer a really broken pdf ? And a lot of twig file to update (that are not accessible via GUI)

TagsNo tags attached.
Complete LimeSurvey version number (& build)3.15.5 github
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database & DB-Versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Relationships

related to 14297 assignedcdorin Feature requests Missing setting to turn off showing answer/question codes at print answers overview 
related to 14430 assignedcdorin Bug reports Usage of obsolete HTML 
related to 14520 assignedcdorin Bug reports Lots of styles for "print answers" view are hardcoded within Twig files which makes adjusting the page design pretty difficult 

Activities

DenisChenu

DenisChenu

2018-12-17 12:28

developer  

limesurvey_survey_pdfIssues.lss (19,912 bytes)
pdfIssues_vanilla.zip (112,878 bytes)
simple-print-answres-361286-5.pdf (86,891 bytes)
DenisChenu

DenisChenu

2019-02-12 14:58

developer   ~50521

Alternative : move to mpdf : https://gitlab.com/SondagesPro/coreAndTools/limeMpdf/blob/master/views/subviews/mpdf/style-bootstrap.twig

DenisChenu

DenisChenu

2019-02-12 15:04

developer   ~50522

My point of view:

  1. Maybe it's better to use boostrap class ?
  2. if we don't move to mpdf : Must remove usage of col-sm-X : since tcpdf is not compatible with float : https://bugs.limesurvey.org/view.php?id=14353
  3. Review all question to see if we have all information needed (see other for list with comment)
Mazi

Mazi

2019-03-11 16:14

partner   ~50905

From my point of view we should keep the current PDF library but need to adjust the design so things get styled properly. Tis should be fixed at version 3.x.

DenisChenu

DenisChenu

2019-03-11 16:46

developer   ~50909

Then : need to move to table/tr/td since tcpdf dodn't know float :)

Issue History

Date Modified Username Field Change
2018-12-17 12:28 DenisChenu New Issue
2018-12-17 12:28 DenisChenu File Added: limesurvey_survey_pdfIssues.lss
2018-12-17 12:28 DenisChenu File Added: pdfIssues_vanilla.zip
2018-12-17 12:28 DenisChenu File Added: simple-print-answres-361286-5.pdf
2018-12-18 15:23 DenisChenu Relationship added related to 14297
2019-01-10 16:01 LouisGac Assigned To => dominikvitt
2019-01-10 16:01 LouisGac Status new => assigned
2019-01-16 15:27 DenisChenu Relationship added related to 14430
2019-02-08 09:25 DenisChenu Relationship added related to 14498
2019-02-12 14:58 DenisChenu Note Added: 50521
2019-02-12 15:03 DenisChenu Relationship deleted related to 14498
2019-02-12 15:04 DenisChenu Note Added: 50522
2019-02-12 15:04 DenisChenu Relationship added related to 14520
2019-03-11 16:14 Mazi Note Added: 50905
2019-03-11 16:46 DenisChenu Note Added: 50909
2019-07-15 11:41 dominikvitt Assigned To dominikvitt => cdorin