Loading...
 
Skip to main content

Display row and col borders by default when tiki spreadsheets are printed in simple mode with mpdf

Status
Open
Subject
Display row and col borders by default when tiki spreadsheets are printed in simple mode with mpdf
Version
20.x
Category
  • Usability
  • Feature request
Feature
PDF
Print
Spreadsheet
Resolution status
New
Submitted by
Xavier de Pedro
Keep informed
amna.bilal, Marc Laporte
Lastmod by
Xavier de Pedro
Rating
(0)
Description

I printed in 20.x a tiki spreadsheet to pdf through mpdf (installed through the packages control panel), with the spreadsheet param simple=y

The printed sheet in the pdf page didn't display borders of rows and cols by default, which makes it difficult to distinguish rows or cols in some cases.
When choosing the print version of the wiki page, the cell borders where shown, and when printed locally through a locally installed pdf printer in the desktop computer, the borders where included in the pdf.

Is it difficult to add by default when making the pdf from mpdf directly? Or document somehow how to hack the code to add some custom css in the pdf files generated through mpdf?

Reproduced here:
http://xavi-9794-7140.show2.tikiwiki.org/tiki-index.php?page=Spreadsheet-demo-instructions
u: admin
p: 12345

See pdf generated here:
http://xavi-9794-7140.show2.tikiwiki.org/tiki-download_file.php?fileId=1

First sheet has simple=y, and borders are not shown.
Second sheet in the same page has simple=n, and borders are shown

Importance
3
Easy to solve?
9
Priority
27
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7140
Created
Tuesday 23 July, 2019 10:39:03 UTC
by Xavier de Pedro
LastModif
Tuesday 23 July, 2019 11:02:38 UTC


Show PHP error messages