Project

General

Profile

Actions

Feature #20896

open

Enabling PDF export setting

Added by ikuru k about 9 years ago. Updated over 8 years ago.

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

0%

Estimated time:
Resolution:

Description

My use case is exporting a wiki page into a pdf file.

With this particualr use,
I only want the rendered textile content and nothing else.
I do not want certain fields to appear in the pdf, such as

  • list of attachments - awkward in the printable context.
  • project name - Sometimes I want it to be stand alone
  • foot notes - Sometimes I do not want it.

The default behavior prpbably satisfies more than 99% of the needs,
Is there a way to accomplish this without changing the default?

Any suggestions in order to proceed is appreciated.


Files

wiki_pdf_helper.rb (3.47 KB) wiki_pdf_helper.rb ikuru k, 2016-03-07 17:48

Related issues

Has duplicate Redmine - Feature #21130: Customize PDF ExportClosed

Actions
Actions #1

Updated by Toshi MARUYAMA about 9 years ago

Actions #2

Updated by ikuru k over 8 years ago

Here is a tweaked version that "turns off" everything except the wiki content itself.

Does adding an export setting per user sound like a good idea?

Actions

Also available in: Atom PDF