Creator property added for generated pdf files

git-svn-id: http://redmine.rubyforge.org/svn/trunk@224 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-02-03 14:00:22 +00:00
parent 8316e78667
commit a3c2c4a48a
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ module IfpdfHelper
class IFPDF < FPDF class IFPDF < FPDF
attr_accessor :footer_date attr_accessor :footer_date
def initialize
super
SetCreator("redMine #{Redmine::VERSION}")
end
def Cell(w,h=0,txt='',border=0,ln=0,align='',fill=0,link='') def Cell(w,h=0,txt='',border=0,ln=0,align='',fill=0,link='')
@ic ||= Iconv.new('ISO-8859-1', 'UTF-8') @ic ||= Iconv.new('ISO-8859-1', 'UTF-8')