ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Wrap long text fields properly in PDF exports (Bug #357)


Added by Hugo Ferreira at 2011-04-29 03:03 pm. Updated at 2011-05-20 06:55 pm.


Status:Closed Start date:2011-04-29
Priority:Normal Due date:
Assignee:Eric Davis % Done:

0%

Category:-
Target version:1.4.0
Remote issue URL:http://www.redmine.org/issues/5629 Affected version:1.1.0

Description

Quoting Redmine issue #5629:

This patch fixes wrapping problems with text fields (subject and custom text and long text fields) when generating a PDF.

Created it almost 1 year ago, it still hasn't seen the light of day… I'll rebuild it again in ChiliProject to see if it gets a better change over here. :)

PS: I regularly use the PDF export to send status update reports to clients.


export-before.pdf - Issue list before patch: subject is too long (2.4 kB) Hugo Ferreira, 2011-04-29 03:30 pm

export-after.pdf - Issue list after patch: wrapped subject (3.8 kB) Hugo Ferreira, 2011-04-29 03:30 pm

sandbox-94-before.pdf - Issue details before patch: lines too long (2.3 kB) Hugo Ferreira, 2011-04-29 03:30 pm

sandbox-94-after.pdf - Issue details after patch: wrapped lines (2.3 kB) Hugo Ferreira, 2011-04-29 03:30 pm


Associated revisions

Revision 4662b817
Added by Hugo Ferreira at 2011-04-29 05:20 pm

[#357] Wrap long text fields properly in PDF exports

History

Updated by Hugo Ferreira at 2011-04-29 03:30 pm

Sent in the pull request from GitHub: https://github.com/chiliproject/chiliproject/pull/43

  • File export-before.pdf added
  • File export-after.pdf added
  • File sandbox-94-before.pdf added
  • Assignee deleted (Hugo Ferreira)
  • File sandbox-94-after.pdf added

Updated by Hugo Ferreira at 2011-04-29 03:31 pm

  • Status changed from Open to Ready for review

Updated by Muntek Singh at 2011-05-07 10:47 pm

  • Assignee set to Eric Davis

Updated by Eric Davis at 2011-05-20 06:43 pm

This looks good to me, going to merge it in a minute. The only downside is the issues list PDF export is done to an A4 paper size.

Updated by Eric Davis at 2011-05-20 06:55 pm

Merged into master (a74517b). Thanks for the patch, PDF exports are a lot more useful now.

  • Target version set to 1.4.0
  • (deleted custom field) set to 1.1.0
  • Status changed from Ready for review to Closed

Also available in: Atom PDF