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
This commit is contained in:
Toshi MARUYAMA 2011-07-01 07:49:07 +00:00
parent 130c20c69d
commit 3a79ab7401
1 changed files with 4 additions and 0 deletions

View File

@ -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)