summaryrefslogtreecommitdiffstats
path: root/lib/redmine/export/pdf.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix RuboCop offense Style/SuperArguments (#39887).Go MAEDA2024-05-231-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22842 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* WebP images support in PDF output (#38368).Go MAEDA2023-03-221-1/+1
| | | | | | | Patch by Jun NAITOH. git-svn-id: https://svn.redmine.org/redmine/trunk@22141 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use start_with? or end_with? to check the first or last character of a ↵Go MAEDA2022-08-241-1/+1
| | | | | | | | | string (#37591). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21774 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable Lint/DuplicateBranch in lib/redmine/export/pdf.rb#107 (#35683).Marius Balteanu2021-09-111-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21219 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Interpret thumbnail macro in description, notes and formatted custom fields ↵Marius Balteanu2021-09-061-0/+4
| | | | | | | | in issues list PDF export (35683). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21213 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Retrieve filenames of thumbnails when rendering a PDF (#35683).Marius Balteanu2021-09-061-0/+4
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21212 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* tmp/pdf directory is no longer necessary (#32924).Go MAEDA2020-02-291-2/+0
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19547 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Right-aligned TOC tag is displayed in exported PDF if the text formatting ↵Go MAEDA2020-01-301-1/+1
| | | | | | | | | setting is Markdown (#32477). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19480 e93f8b46-1217-0410-a6f0-8f06a7374b81
* FrozenError when exporting gantt to PDF in some languages (#32832).Go MAEDA2020-01-181-0/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@19435 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Style/MethodCallWithoutArgsParentheses in ↵Toshi MARUYAMA2019-11-241-1/+1
| | | | | | lib/redmine/export/pdf.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19254 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/SpaceBeforeComma in lib/redmine/export/pdf.rbToshi MARUYAMA2019-10-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18839 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Regexp#match? to reduce allocations of MatchData object (#28940).Go MAEDA2019-03-271-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@18011 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #b shortcut instead of #force_encoding (#31059).Go MAEDA2019-03-201-3/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17992 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary encoding magic comment (#31034).Go MAEDA2019-03-161-1/+0
| | | | | | | | | The default script encoding is UTF-8 in Ruby 2.0 or later. Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RDMwriteFormattedCell destroying an argument (#26561).Go MAEDA2019-03-161-2/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: use all lower cases for DejaVuSansMono (#19017)Toshi MARUYAMA2015-12-061-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: remove italic from DejaVuSansMono (#19017)Toshi MARUYAMA2015-12-061-0/+2
| | | | | | | | DejaVuSansMono Italic Arabic font has problem. Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@14960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: use "family" parameter instead of l(:general_pdf_fontname) at SetFont ↵Toshi MARUYAMA2015-12-061-2/+2
| | | | | | | | method (#19017) Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@14959 e93f8b46-1217-0410-a6f0-8f06a7374b81
* revert r14950 (#19017)Toshi MARUYAMA2015-12-061-2/+2
| | | | | | r14907 breaks Arabic italic pdf rendering. git-svn-id: http://svn.redmine.org/redmine/trunk@14951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: use "family" parameter instead of l(:general_pdf_fontname) at SetFont ↵Toshi MARUYAMA2015-12-061-2/+2
| | | | | | | | method (#19017) Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@14950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* revert r14907 (#19017)Toshi MARUYAMA2015-12-041-2/+2
| | | | | | r14907 breaks Arabic italic pdf rendering. git-svn-id: http://svn.redmine.org/redmine/trunk@14911 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: use l(:general_pdf_monospaced_fontname) (#19017)Toshi MARUYAMA2015-12-041-1/+2
| | | | | | Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@14910 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: use "family" parameter instead of l(:general_pdf_fontname) at SetFont ↵Toshi MARUYAMA2015-12-041-2/+2
| | | | | | | | method (#19017) Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@14907 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: fix Vietnamese Italic is not shown (#21328)Toshi MARUYAMA2015-11-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change default display mode for PDF Export to OneColumn (#19546).Jean-Philippe Lang2015-06-061-0/+1
| | | | | | Patch by Marcel Müller. git-svn-id: http://svn.redmine.org/redmine/trunk@14299 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: remove styles by fontname instated of Arabic/Persian/Thai locale ↵Toshi MARUYAMA2015-02-081-2/+4
| | | | | | (#10681, #18586) git-svn-id: http://svn.redmine.org/redmine/trunk@13977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: remove styles of Arabic/Persian Italic and Thai Bold (#10681, #18586)Toshi MARUYAMA2015-02-081-2/+7
| | | | | | Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@13976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for macro and Redmine links in PDF export (#13051).Jean-Philippe Lang2015-01-251-563/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13944 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use IssueRelation#to_s in PDF export.Jean-Philippe Lang2014-11-051-10/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13564 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-3/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: define "general_pdf_fontname" at i18n yaml for multilingual environment ↵Toshi MARUYAMA2014-10-201-23/+2
| | | | | | | | (#13781) Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@13458 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove general_pdf_encoding from lib/redmine/export/pdf.rb (#17570)Toshi MARUYAMA2014-08-281-15/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13359 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use rbpdf gem instead of bundled rfpdf (#17570)Toshi MARUYAMA2014-08-281-293/+210
| | | | | | Contributed by Jun NAITOH. git-svn-id: http://svn.redmine.org/redmine/trunk@13358 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove unneeded trailing ';' from lib/redmine/export/pdf.rbToshi MARUYAMA2014-05-071-10/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13132 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate ↵Toshi MARUYAMA2014-02-061-5/+3
| | | | | | at lib/redmine/export/pdf.rb git-svn-id: http://svn.redmine.org/redmine/trunk@12832 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged custom fields format refactoring.Jean-Philippe Lang2013-12-141-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12400 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Role-based issue custom field visibility (#5037).Jean-Philippe Lang2013-07-131-4/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12012 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: replace "id_width" parameter name to original "col_id_width" (#14178)Toshi MARUYAMA2013-06-041-2/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11921 e93f8b46-1217-0410-a6f0-8f06a7374b81
* pdf: restore "id_width" parameter of issues_to_pdf_draw_borders (#14178)Toshi MARUYAMA2013-06-041-3/+5
| | | | | | Contributed by Massimo Rossello. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11920 e93f8b46-1217-0410-a6f0-8f06a7374b81