Bug: Broken http-URL in PDF with UserPassword
Hello,
it seems that I found a bug in the frxPDFExport component.
In this case I am using the lastest release (4.12) of Fast Report Professional with Delphi 2006.
If frxPDFExport.UserPassword is defined, http:// - style URLs of text objects are broken in the PDF (starting with file:///).
If frxPDFExport.UserPassword is empty, everything is ok.
My sample code:
frxReport1.LoadFromFile(ExtractFilePath(ParamStr(0))+'test.fr3');
frxReport1.PrepareReport(true);
frxPDFExport1.FileName:=ExtractFilePath(ParamStr(0))+'test.pdf';
frxPDFExport1.ShowDialog:=false;
frxPDFExport1.ShowProgress:=false;
frxPDFExport1.UserPassword:='test';
frxReport1.Export(frxPDFExport1);
frxReport1.PrepareReport(false);
Best regards
Gregor Bramhoff
it seems that I found a bug in the frxPDFExport component.
In this case I am using the lastest release (4.12) of Fast Report Professional with Delphi 2006.
If frxPDFExport.UserPassword is defined, http:// - style URLs of text objects are broken in the PDF (starting with file:///).
If frxPDFExport.UserPassword is empty, everything is ok.
My sample code:
frxReport1.LoadFromFile(ExtractFilePath(ParamStr(0))+'test.fr3');
frxReport1.PrepareReport(true);
frxPDFExport1.FileName:=ExtractFilePath(ParamStr(0))+'test.pdf';
frxPDFExport1.ShowDialog:=false;
frxPDFExport1.ShowProgress:=false;
frxPDFExport1.UserPassword:='test';
frxReport1.Export(frxPDFExport1);
frxReport1.PrepareReport(false);
Best regards
Gregor Bramhoff