]> source.dussan.org Git - redmine.git/commitdiff
PDF: add new "RDMwriteHTMLCell" method for textilized PDF (#69).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 1 Jul 2011 07:49:07 +0000 (07:49 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 1 Jul 2011 07:49:07 +0000 (07:49 +0000)
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

index da1084fd6fe800a9a96eb48f254885644cd53469..b0b543c4d083f5fb90f45d3c9e174df0e82f928d 100644 (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)