diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-07-01 07:49:07 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-07-01 07:49:07 +0000 |
commit | 3a79ab74010fc6bbddf75fef9cc3706f31d9cc37 (patch) | |
tree | 0a8f0d3b74817d09a2c65fd8e5eafc85fcac1ce1 /lib | |
parent | 130c20c69df43d68251d4e31f6277aebbfe70193 (diff) | |
download | redmine-3a79ab74010fc6bbddf75fef9cc3706f31d9cc37.tar.gz redmine-3a79ab74010fc6bbddf75fef9cc3706f31d9cc37.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/export/pdf.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index da1084fd6..b0b543c4d 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -115,6 +115,10 @@ module Redmine MultiCell(w, h, fix_text_encoding(txt), border, align, fill, ln) end + def RDMwriteHTMLCell(w, h, x, y, html='', border=0, ln=1, fill=0) + writeHTMLCell(w, h, x, y, fix_text_encoding(html), border, ln, fill) + end + def Footer SetFont(@font_for_footer, 'I', 8) SetY(-15) |