Project

General

Custom queries



Profile

Actions

Patch #5629

closed

Wrap text fields properly in PDF

Added by Hugo Ferreira almost 15 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Toshi MARUYAMA
Category:
PDF export
Target version:
Start date:
2010-06-01
Due date:
% Done:

100%

Estimated time:

Description

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

The main fixes were:

Single Issue:
  • wrap subject in both the page title and in the table cell
  • the description was not being printed
  • wrap journal details indicating what changed
Issues List:
  • wrap text in all cells of the table, regardless of type
  • give custom "text" and "long text" fields the same width weight as the subject

Files

wrap_text_fields_in_pdf_r3764.patch (7.38 KB) wrap_text_fields_in_pdf_r3764.patch Patch for wrap text fields in PDF Hugo Ferreira, 2010-06-01 13:47
sandbox-1.pdf (3.15 KB) sandbox-1.pdf Example PDF export of a "Single Issue" Hugo Ferreira, 2010-06-01 13:47
export.pdf (4.42 KB) export.pdf Example PDF export of an "Issues List" Hugo Ferreira, 2010-06-01 13:47
issue5629_wrap_text_fields_in_pdf_r4213.patch (7.17 KB) issue5629_wrap_text_fields_in_pdf_r4213.patch Patch updated for Redmine 1.0.2 Hugo Ferreira, 2010-09-29 02:08
issue5629_wrap_text_fields_in_pdf_r4784.patch (7.46 KB) issue5629_wrap_text_fields_in_pdf_r4784.patch Patch updated for Redmine v1.1.1 (r4784) Hugo Ferreira, 2011-02-01 14:53
chinese.rb.patch (364 Bytes) chinese.rb.patch Jun NAITOH, 2011-04-30 07:39
before_chinese.rb.patch.png (53.5 KB) before_chinese.rb.patch.png Jun NAITOH, 2011-04-30 07:39
after_chinese.rb.patch.png (53.1 KB) after_chinese.rb.patch.png Jun NAITOH, 2011-04-30 07:39

Related issues

Related to Redmine - Defect #61: Broken character encoding in pdf exportClosedToshi MARUYAMA

Actions
Related to Redmine - Defect #7386: NoMethodError on pdf exportClosed2011-01-20

Actions
Has duplicate Redmine - Defect #4686: When exporting to PDF, text should wrap and honor newlines, instead of being constrained to one lineClosed2010-01-28

Actions
#2

Updated by Hugo Ferreira over 14 years ago

#4

Updated by Eric Davis over 14 years ago

  • Assignee deleted (Eric Davis)
#6

Updated by Michael P about 14 years ago

  • Assignee set to Hugo Ferreira
#7

Updated by Hugo Ferreira about 14 years ago

#9

Updated by Etienne Massip about 14 years ago

  • Category set to PDF export
#10

Updated by Toshi MARUYAMA almost 14 years ago

  • % Done changed from 100 to 50
#11

Updated by Toshi MARUYAMA almost 14 years ago

  • Status changed from Resolved to New
  • Assignee changed from Hugo Ferreira to Toshi MARUYAMA
#12

Updated by Toshi MARUYAMA almost 14 years ago

  • Status changed from New to Closed
  • Target version set to 1.2.0
  • % Done changed from 50 to 100
#13

Updated by Jun NAITOH almost 14 years ago

#14

Updated by Toshi MARUYAMA almost 14 years ago

  • Status changed from Reopened to Closed
Actions

Also available in: Atom PDF