From 800e4dd37fad3fced7bf56661cc75dd17ed1f48b Mon Sep 17 00:00:00 2001 From: Graeme Geldenhuys Date: Thu, 18 Oct 2012 11:10:40 +0100 Subject: pdf report "Producer" property now shows fpGUI name and version number. --- src/reportengine/u_pdf.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/reportengine/u_pdf.pas b/src/reportengine/u_pdf.pas index 12e3527c..8b3508e2 100644 --- a/src/reportengine/u_pdf.pas +++ b/src/reportengine/u_pdf.pas @@ -1178,7 +1178,7 @@ begin Nom := TPdfString.CreateString(ApplicationName); Info.FObjet.AddElement('Creator', Nom); // add producer element to info dictionary - Nom := TPdfString.CreateString('fpGUI/FPC'); + Nom := TPdfString.CreateString(fpGUIName + ' ' + FPGUI_VERSION); Info.FObjet.AddElement('Producer', Nom); // add creationdate element to info dictionary Nom := TPdfString.CreateString(DateToPdfDate(Now)); -- cgit v1.2.3-70-g09d2