Commit Graph

81 Commits

Author SHA1 Message Date
Jean-Philippe Lang be9f1c592e Removed border around wiki pages in PDF.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 23:11:26 +00:00
Jean-Philippe Lang 7abaa570c6 Fix for ruby1.9.3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 22:53:53 +00:00
Jean-Philippe Lang 7409963c9a Fix for ruby1.9.3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 20:11:08 +00:00
Jean-Philippe Lang 3d27bf5318 Adds export of all wiki pages to a PDF file (#3463).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:42:14 +00:00
Jean-Philippe Lang a749e788ab Adds bookmarks to PDF when exporting a grouped issue list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8732 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:01:47 +00:00
Jean-Philippe Lang 79b12c73d9 Display of multi custom fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 22:01:40 +00:00
Jean-Philippe Lang cd6db6a3cb Adds support for multiselect custom fields (#1189).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 20:51:48 +00:00
Toshi MARUYAMA 62fb6e0f4b pdf: move note number to the head of line for single issue's PDF (#9720)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-06 03:44:25 +00:00
Toshi MARUYAMA 3f79a914d9 pdf: add note number for single issue's PDF (#9720)
Contributed by Akiko T.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-05 07:34:52 +00:00
Toshi MARUYAMA 9dfaa562fc pdf: expand relational issues status column width of issue pdf (#5634)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 05:58:32 +00:00
Toshi MARUYAMA b200fcfdae pdf: add the new feature to include attachment images (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:12:00 +00:00
Toshi MARUYAMA 81bbb8f9b8 pdf: lib: prepare to use rfpdf plug-in rmagick feature (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:11:36 +00:00
Toshi MARUYAMA 1b4fc4aee8 pdf: lib: add "attachments" parameter at RDMwriteHTMLCell method (#3261)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 11:11:01 +00:00
Toshi MARUYAMA f936b7b5a4 pdf: lib: add the method to return attachment from filename and encoding (#3261)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 09:43:01 +00:00
Toshi MARUYAMA 1a576be384 pdf: lib: remove unused "include Redmine::I18n" from RDMPdfEncoding class
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 16:38:27 +00:00
Jean-Philippe Lang 886310055b Omit subtasks/related issues sections when empty on PDF export (#5634).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 13:36:30 +00:00
Toshi MARUYAMA c8bbcfbe47 pdf: lib: set image scale at issue_to_pdf method (#3261)
wiki_to_pdf method has already done.

Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 14:57:20 +00:00
Toshi MARUYAMA 8433bbab69 move iconv from utf8 logic from pdf to lib/redmine/codeset_util.rb for common use (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 05:07:16 +00:00
Toshi MARUYAMA b58d029294 code layout clean up lib/redmine/export/pdf.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 03:58:02 +00:00
Toshi MARUYAMA 19fc985daa pdf: add subtasks and related issues at issue pdf (#5634)
Contributed by Bernhard Furtmueller and Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:18:02 +00:00
Toshi MARUYAMA c57a0842d6 pdf: add ancestor issues at head of issue pdf (#5634)
Contributed by Bernhard Furtmueller and Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:17:35 +00:00
Toshi MARUYAMA c4d9c29de9 pdf: remove unused "require 'rfpdf/fpdf'" (#8312)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 11:16:26 +00:00
Toshi MARUYAMA 9334d29520 pdf: indent subject of subtask ticket in exported issues PDF (#8617)
Contributed by Hayato Ito.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 10:10:24 +00:00
Toshi MARUYAMA 1713432ab0 pdf: lib: add a method to export wiki (#401)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:48:28 +00:00
Toshi MARUYAMA aede35d226 PDF: support textilized changeset comments (revision log) on issue (#69).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 13:54:27 +00:00
Toshi MARUYAMA ebdd9c6326 PDF: add revision number/id of associated revisions on issue PDF (#8738).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-02 07:37:19 +00:00
Toshi MARUYAMA 47ec67532b PDF: support textilized journal notes on issue (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 11:54:08 +00:00
Toshi MARUYAMA 139d401dc5 PDF: support textilized issue description on issue (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 11:53:36 +00:00
Toshi MARUYAMA aa973f0af6 PDF: code clean up lib/redmine/export/pdf.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6138 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 07:49:37 +00:00
Toshi MARUYAMA 3a79ab7401 PDF: add new "RDMwriteHTMLCell" method for textilized PDF (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6137 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 07:49:07 +00:00
Toshi MARUYAMA 130c20c69d PDF: use RDMMultiCell for drawing lines of issue description (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-01 04:44:15 +00:00
Toshi MARUYAMA 2d011453aa PDF: add 'ln' parameter for drawing lines at RDMMultiCell() (#69).
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-30 11:47:55 +00:00
Toshi MARUYAMA a6f1ae1f96 PDF: use DejaVuSans fonts in Vietnamese (#8566).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-10 00:31:35 +00:00
Toshi MARUYAMA b85092c702 PDF: replace all non ASCII characters to '?' if Iconv error raise in JRuby (#8569, #61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-09 03:41:26 +00:00
Toshi MARUYAMA 6f6956e68c PDF: change Shift_JIS to SHIFT_JIS in lib/redmine/export/pdf.rb for Japanese ja.yml general_pdf_encoding (#8565, #61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 14:39:56 +00:00
Toshi MARUYAMA 521461f5b8 PDF: add *SJIS* and *Shift_JIS* in lib/redmine/export/pdf.rb for Japanese ja.yml general_pdf_encoding (#8565, #61).
JRuby 1.6.2 (ruby-1.8.7-p330) does not support CP932.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-08 13:44:06 +00:00
Toshi MARUYAMA 0418774f50 PDF: more strict Redmine TCPDF class initialize() (#8312).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-10 01:03:28 +00:00
Toshi MARUYAMA b97087bad5 PDF: remove unused Redmine FPDF class (#8312).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 11:12:48 +00:00
Toshi MARUYAMA 29f6dd2a9e PDF: import CJK patches and all languages use TCPDF (#8312).
Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 11:12:27 +00:00
Toshi MARUYAMA 3b50809423 PDF: code clean up lib/redmine/export/pdf.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 10:52:08 +00:00
Toshi MARUYAMA 5742f78bd1 PDF: switch encoding and font whether CJK and Thainland non UTF-8 or not in TCPDF Redmine class (#8312).
Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 10:41:02 +00:00
Toshi MARUYAMA 48a6fb45a7 PDF: replace invalid UTF-8 sequences in TCPDF (#61, #8312).
There is no guarantees that database strings are valid UTF-8 in Ruby 1.8 MySQL and SQLite3.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:46:21 +00:00
Toshi MARUYAMA e25dd95389 PDF: replace invalid sequence in converting if encoding destination is UTF-8 (#61, #8312).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:45:40 +00:00
Toshi MARUYAMA 32a52a6540 PDF: move fix_text_encoding() logic to new method for common use in FPDF and TCPDF (#61, #8312).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-09 06:44:23 +00:00
Toshi MARUYAMA 479d9380a7 remove trailing white-spaces lib/redmine/export/pdf.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-06 10:40:12 +00:00
Toshi MARUYAMA 919bf61cae PDF: wrap title fields properly (#8295).
Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-05 05:34:16 +00:00
Toshi MARUYAMA 880e8e575a Wrap long text fields properly in PDF exports (#5629).
Contributed by Hugo Ferreira.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-30 00:29:22 +00:00
Toshi MARUYAMA c47144a14f PDF: use explicit return value in Redmine::Export::PDF.fix_text_encoding() (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 11:53:24 +00:00
Toshi MARUYAMA f62605c636 PDF: fix 0x5c(backslash) escape processing in FPDF (#61).
Japanese CP932(Shift_JIS) and Traditional Chinese Big5 have 0x5c(backslash) problem.

Contributed Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 05:35:26 +00:00
Toshi MARUYAMA 3be326f0a4 PDF: switch FPDF ANSI or TCPDF UTF-8 with general_pdf_encoding value instead of language value such as 'ja' (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-10 08:34:52 +00:00