diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-10-18 11:10:40 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2012-10-18 11:10:40 +0100 |
commit | 800e4dd37fad3fced7bf56661cc75dd17ed1f48b (patch) | |
tree | bc518fe16b77d97d52c01666163388ede5a70ea9 /src | |
parent | 8708faa58508f3e1daa1f4e749844f8c2640a2c0 (diff) | |
download | fpGUI-800e4dd37fad3fced7bf56661cc75dd17ed1f48b.tar.xz |
pdf report "Producer" property now shows fpGUI name and version number.
Diffstat (limited to 'src')
-rw-r--r-- | src/reportengine/u_pdf.pas | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |