]> source.dussan.org Git - redmine.git/commitdiff
PDF: add 'ln' parameter for drawing lines at RDMMultiCell() (#69).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 30 Jun 2011 11:47:55 +0000 (11:47 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 30 Jun 2011 11:47:55 +0000 (11:47 +0000)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6135 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/export/pdf.rb

index 7b50853b2d6e94687485eb46d6f74f23ab8054e2..a59a70157b5d7c70bfe9331287c148ffcb72995d 100644 (file)
@@ -111,8 +111,8 @@ module Redmine
           Cell(w,h,fix_text_encoding(txt),border,ln,align,fill,link)
         end
 
-        def RDMMultiCell(w,h=0,txt='',border=0,align='',fill=0)
-          MultiCell(w,h,fix_text_encoding(txt),border,align,fill)
+        def RDMMultiCell(w, h=0, txt='', border=0, align='', fill=0, ln=1)
+          MultiCell(w, h, fix_text_encoding(txt), border, align, fill, ln)
         end
 
         def Footer