From: Toshi MARUYAMA Date: Sat, 2 Jul 2011 04:47:27 +0000 (+0000) Subject: Merge(backport) r6135 from trunk (#8737). X-Git-Tag: 1.2.1~27 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=656e651c3387ddf75ab37b5463aebfa5757bea82;p=redmine.git Merge(backport) r6135 from trunk (#8737). PDF: add 'ln' parameter for drawing lines at RDMMultiCell(). Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6144 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index 94c75c55f..68cc19c67 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -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