summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-30 11:47:55 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-06-30 11:47:55 +0000
commit2d011453aad0c1bae965cf50cff471e469146c0f (patch)
tree97a3190190ac8eaec294fc2f8c4f1d39294cc0d4 /lib
parent79c9fdfa610b99c3befe825250c24a857590fef3 (diff)
downloadredmine-2d011453aad0c1bae965cf50cff471e469146c0f.tar.gz
redmine-2d011453aad0c1bae965cf50cff471e469146c0f.zip
PDF: add 'ln' parameter for drawing lines at RDMMultiCell() (#69).
Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6135 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/export/pdf.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb
index 7b50853b2..a59a70157 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