From 3a79ab74010fc6bbddf75fef9cc3706f31d9cc37 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 1 Jul 2011 07:49:07 +0000 Subject: [PATCH] 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 --- lib/redmine/export/pdf.rb | 4 ++++ 1 file changed, 4 insertions(+) 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)