I downloaded the 3.x and tried the demo program.
The 3.0 has the same problem.
Please help me to solve the problem.
Tnank you very much.
I downloaded the 3.x and tried the demo program.
The 3.0 has the same problem.
Please help me to solve the problem.
Tnank you very much.
Dear Sir:
Thank you!
I had set the charset to CHINESEBIG5_CHARSET.
The most of chinese text can be convert successfully.
But the chinese text that created by eudcedit.exe will be disappear.
Fang
Version: wPDF2.75
Report Tool: QuickReport 3.5
Problem: Text created by eudcedit.exe will be disappear when exporting from *.QRP to *.PDF
OS version: Win7 ,Vista, XP traditional chinese version
procedure ConvertToPDF(pQuickRep: TCustomQuickRep; const sFileName: String);
var
aMeta: TMetaFile;
PageNum: Integer;
pQRPrinter: TQRPrinter;
begin
if(pQuickRep = nil) or (pQuickRep.QRPrinter = nil) then
Exit;
pQRPrinter := pQuickRep.QRPrinter;
WPPDFPrinter1.FileName := sFileName;
try
WPDF_Start);
WPPDFPrinter1.CanvasReference := wprefScreen;
WPPDFPrinter1.BeginDoc;
for PageNum := 1 to pQRPrinter.PageCount do
begin
WPPDFPrinter1.StartPage(pQRPrinter.PaperWidthValue,
pQRPrinter.PaperLengthValue,254,254, 0);
aMeta := pQRPrinter.GetPage(PageNum);
try
WPPDFPrinter1.DrawMetafileEx(0,0,0,0,aMeta.Handle,
Screen.PixelsPerInch, Screen.PixelsPerInch );
finally
aMeta.Free;
WPPDFPrinter1.EndPage;
end;
end;
WPPDFPrinter1.EndDoc;
finally
end;
Alles anzeigen