Project

General

Profile

Actions

Patch #10869

open

Add Full PDF output to issue summary list

Added by Carl Nygard over 12 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
PDF export
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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.


Files

FullPDF.pdf (327 KB) FullPDF.pdf Sample PDF output Carl Nygard, 2012-05-10 04:45
FullPDF.PNG (8.49 KB) FullPDF.PNG Issues view screen shot Carl Nygard, 2012-05-10 04:45
redmine-1.4.1-fullpdf.patch (5.42 KB) redmine-1.4.1-fullpdf.patch patch file Carl Nygard, 2012-05-10 04:45
footerError.png (19.7 KB) footerError.png footer_error Peter sørensen, 2012-06-27 13:18
footer.png (31.8 KB) footer.png footer Peter sørensen, 2012-06-27 13:18
redmine_context_pdf.zip (10.5 KB) redmine_context_pdf.zip pdf context menu plugin Peter sørensen, 2012-06-29 12:56
pdf-patch-fix.rb (28 KB) pdf-patch-fix.rb added fix to fullpdf patch Peter sørensen, 2012-07-09 13:27

Related issues

Related to Redmine - Feature #6280: Multi-issue PDF exportNew2010-09-03

Actions
Actions #1

Updated by Cj Cagape over 12 years ago

snipped by moderator

Actions #2

Updated by Cj Cagape over 12 years ago

snipped by moderator

Actions #3

Updated by Terence Mill over 12 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

Actions #4

Updated by Carl Nygard over 12 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.

Actions #5

Updated by Guido Heymann over 12 years ago

+1

Actions #6

Updated by Peter sørensen over 12 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.

footer_error

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

footer

Actions #7

Updated by Peter sørensen over 12 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?.

Actions #8

Updated by Peter sørensen over 12 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

Actions #9

Updated by Joe Ersinghaus over 12 years ago

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

Actions #10

Updated by Peter sørensen about 12 years ago

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

https://github.com/zelder1231/redmine_context_menu_pdf

Actions #11

Updated by ysbranddoug andeson about 12 years ago

  • Assignee set to Anonymous
Actions #12

Updated by Etienne Massip about 12 years ago

  • Assignee deleted (Anonymous)
Actions #13

Updated by theylory aifseng about 12 years ago

  • Assignee set to Jonas De Meulenaere
Actions #79

Updated by Fred B about 10 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.

Actions #80

Updated by Toshi MARUYAMA about 10 years ago

  • Assignee deleted (Jonas De Meulenaere)
Actions #81

Updated by Marcel Müller about 9 years ago

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

Actions #82

Updated by Andreas Planegger almost 9 years ago

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

Actions

Also available in: Atom PDF