Patch #10869

Add Full PDF output to issue summary list

Added by Carl Nygard over 9 years ago. Updated over 5 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:PDF export
Target version:-


The PDF output is very useful for providing information to outside stakeholders without requiring access to Redmine itself. This is very useful for progress reports and meetings. However, there is no way to output a set of issues with full details. Currently you only get the summary list, which just shows the Subject etc., or an individual PDF for an individual issue's full comment history.

This patch provides an additional 'Full PDF' option to the main issues summary page, which will output the issue summaries, followed by the detail for each of the issues selected.

This will obey current filters and only show what has been selected.

In order to implement this, some of the PDF export code was reorganized a bit to allow better re-use of the individual issue output functionality. Also, a new function was added to dispatch to the actual pdf generation function, depending on whether a normal summary or a full output was selected.

FullPDF.pdf - Sample PDF output (327 KB) Carl Nygard, 2012-05-10 04:45

FullPDF.PNG - Issues view screen shot (8.49 KB) Carl Nygard, 2012-05-10 04:45

redmine-1.4.1-fullpdf.patch Magnifier - patch file (5.42 KB) Carl Nygard, 2012-05-10 04:45

footerError.png - footer_error (19.7 KB) Peter sørensen, 2012-06-27 13:18

footer.png - footer (31.8 KB) Peter sørensen, 2012-06-27 13:18 - pdf context menu plugin (10.5 KB) Peter sørensen, 2012-06-29 12:56

pdf-patch-fix.rb Magnifier - added fix to fullpdf patch (28 KB) Peter sørensen, 2012-07-09 13:27

Related issues

Related to Redmine - Feature #6280: Multi-issue PDF export New 2010-09-03


#1 Updated by Cj Cagape over 9 years ago

snipped by moderator

#2 Updated by Cj Cagape over 9 years ago

snipped by moderator

#3 Updated by Terence Mill over 9 years ago

THis is a nice ehancement adding desription field to pdf oouput table, but it is far not a complete ouput of all issue details.

A complete ouput is disussed here also: #6280

#4 Updated by Carl Nygard over 9 years ago

What exactly is missing in issue details? Perhaps you should file a separate bug. This patch only reorganizes the existing code that generates the summary view and the individual issue view so that each can be called in turn for a collection of issues. This patch is not meant to change the information displayed in the PDF view, just to be able to output multiple individual issues into one PDF.

As well, I believe this patch would allow plugins to modify the individual output routines to provide different information, while maintaining the basic functionality for collecting and outputting a collection of issues.

#5 Updated by Guido Heymann over 9 years ago


#6 Updated by Peter sørensen over 9 years ago

when using this patch, to export many issues to 1 pdf, it seems the content of the issues dont get cut of when reaching the footer area of the page, but instead overlay the content and the footer, Note this ofcouse only happens when there is enough info under a issue to require more than one page.


this does not happen when using the pdf export for a single issue


#7 Updated by Peter sørensen over 9 years ago

using Vitaly Klimov's Context menu watchers plugin, as inspiration I made a small plugin for 1.4, that uses this patch to add a pdf export option to the context menu, so that you can select individual issue out from the filter result and get a report made out from only those issue that is of interests.

if only 1 issue is select it calls the same exporter as is used on the Issue page, meaning that the summary is not included

Btw anyone have any idea to fix the bug I reported about this patch a few days ago?.

#8 Updated by Peter sørensen over 9 years ago

found a fix for the margin problem by inserting

+    breakMargin = pdf.GetBreakMargin
issues_to_pdf_header(pdf, title, issues, project, query)
issues_to_pdf_content(pdf, title, issues, project, query)
+ pdf.SetAutoPageBreak(true, breakMargin)

as the problem was caused, by deactivating the autopagebreak when the index pages are being written, which at the same time at the margin for autobreak to zero

#9 Updated by Joe Ersinghaus over 9 years ago

Will this patch/fix work for > 1.4.1?
How about the 2.x line?

#10 Updated by Peter sørensen about 9 years ago

uploaded this to github, along with the font i use when exporting pdf's

#11 Updated by ysbranddoug andeson about 9 years ago

  • Assignee set to Anonymous

#12 Updated by Etienne Massip about 9 years ago

  • Assignee deleted (Anonymous)

#13 Updated by theylory aifseng about 9 years ago

  • Assignee set to Jonas De Meulenaere

#79 Updated by Fred B almost 7 years ago

Exactly what I need. This should be available in Redmine by default.

Can someone explain me how to install this on Redmine 2.4.3.

#80 Updated by Toshi MARUYAMA almost 7 years ago

  • Assignee deleted (Jonas De Meulenaere)

#81 Updated by Marcel Müller about 6 years ago

Any chance this will be added to the redmine codebase? Looks like this is a really good option to have!

#82 Updated by Andreas Planegger over 5 years ago

With every new version I hope that this feature is implemented.
It would be worth a noteable donation.

Also available in: Atom PDF