Bug 335150

Summary: Add dedicated command for exporting report to PDF files
Product: [Applications] KEXI Reporter: Ian Balchin <inksi>
Component: Reports and PrintoutsAssignee: Wojciech Kosowicz <pcellix>
Status: CLOSED FIXED    
Severity: wishlist CC: staniek
Priority: NOR Keywords: junior-jobs
Version: 2.9 Alpha   
Target Milestone: 2.9   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In: 2.9.0
Sentry Crash Report:

Description Ian Balchin 2014-05-21 17:12:27 UTC
Export of data generated in a report is available for export only in text, calligra spreadsheet, and web page format.

This should be available in pdf format

Reproducible: Always




pdf is the correct and preferred format for document information interchange across the internet and different platforms today. It is the one true totally cross-platform format available for a formatted document

text format loses all the carefully designed formatting of the report
the calligra spreadsheet format is essentially proprietary in that few people use it (i have no idea if M$ will import it) and is not an easily readable format due to the similarity of the spreadsheet display to a database table
html format is for specific purposes

the pdf format is readable by everyone. If recipients of pdf files do not have adobe's free reader, all browsers open native pdf files by default today it would seem.

For easy output of report information that can be delivered to third parties to read and digest with no conversions or intermediate steps required, pdf is the only valid option.

For my newly created report I either have to put the printout into an envelope and post it off, or scan it and send a large file off to the client. A pdf can instantly be attached to an email.
Comment 1 Adam Pigg 2014-05-21 17:24:04 UTC
How about just printing the report to PDF?  That has been a feature of KDE for some time.
Comment 2 Jarosław Staniek 2014-05-21 18:15:18 UTC
@Adam this is proper workaround. However other Calligra apps have File -> Export to PDF command so we it would be good to have in Kexi as well. 

Printing to PDF in KDE has never been a good example of usability... if even power users have trouble with finding it.
Comment 3 Jarosław Staniek 2014-05-21 18:15:51 UTC
Marking as Junior jobs...
Comment 4 Ian Balchin 2014-05-24 09:56:46 UTC
I am printing with the cups pdf printer. I note that the report I printed came out as 'report.pdf' and the next one with the same name over wrote it. So I assume that the name comes from kexi.

We need to both differentiate the name of the resulting pdf file, and also add in sequential numbering. 

(Or we need to be asked the name of a file to print to, but maybe that is more on the cups-pdf printer side of things)

Thus 'report-hash_range_01.pdf'

Ian
Comment 5 Jarosław Staniek 2014-05-24 22:25:08 UTC
Good extra point Ian, explicit Export to PDF command can provide default name that fits the report's name.
Comment 6 Wojciech Kosowicz 2014-07-12 11:13:03 UTC
Git commit 565a64f0ffbff67d86622a6b56b8a722ea5c3d5e by Wojciech Kosowicz.
Committed on 12/07/2014 at 11:09.
Pushed by wkosowicz into branch 'master'.

Added feature of exporting Kexi reports to pdf
REVIEW: 119075

M  +65   -6    kexi/plugins/reports/kexireportview.cpp
M  +3    -1    kexi/plugins/reports/kexireportview.h

http://commits.kde.org/calligra/565a64f0ffbff67d86622a6b56b8a722ea5c3d5e