ppPDFDevice text after Image are not showing maybe white fonts
delphi 10.3
I am using ppPDFDevice to convert my files to PDF. problem is when there is an embedded image in my "ppRiTFBody: TppRichText" I pull this from an RTF file, the generated PDf does not show any text after the image. The text is there the format is telling it to show white fonts?
When i do a print preview I see the text after the image.
Fonts Show:
ppRichText1.LoadFromRTFStream(sStream);
FPDFDevice.PDFSettings.OpenPDFFile := false;
ppReportBodyPiercerRTF.AllowPrintToFile := True;
FPDFDevice.Publisher := ppReportBodyPiercerRTF.Publisher;
FPDFDevice.FileName := strFullPath;
ppReportBodyPiercerRTF.DeviceType := PDF_EXT;
ppReportBodyPiercerRTF.ShowPrintDialog := False;
ppReportBodyPiercerRTF.Print;
Fonts do not show after image
ppRichText1.LoadFromRTFStream(sStream);
ppReportBodyPiercerRTF.AllowPrintToFile := True;
FPDFDevice.Publisher := ppReportBodyPiercerRTF.Publisher;
FPDFDevice.FileName := strFullPath;
ppReportBodyPiercerRTF.DeviceType := PDF_EXT;
ppReportBodyPiercerRTF.ShowPrintDialog := False;
ppReportBodyPiercerRTF.Print;
HELP!!!!!
I am using ppPDFDevice to convert my files to PDF. problem is when there is an embedded image in my "ppRiTFBody: TppRichText" I pull this from an RTF file, the generated PDf does not show any text after the image. The text is there the format is telling it to show white fonts?
When i do a print preview I see the text after the image.
Fonts Show:
ppRichText1.LoadFromRTFStream(sStream);
FPDFDevice.PDFSettings.OpenPDFFile := false;
ppReportBodyPiercerRTF.AllowPrintToFile := True;
FPDFDevice.Publisher := ppReportBodyPiercerRTF.Publisher;
FPDFDevice.FileName := strFullPath;
ppReportBodyPiercerRTF.DeviceType := PDF_EXT;
ppReportBodyPiercerRTF.ShowPrintDialog := False;
ppReportBodyPiercerRTF.Print;
Fonts do not show after image
ppRichText1.LoadFromRTFStream(sStream);
ppReportBodyPiercerRTF.AllowPrintToFile := True;
FPDFDevice.Publisher := ppReportBodyPiercerRTF.Publisher;
FPDFDevice.FileName := strFullPath;
ppReportBodyPiercerRTF.DeviceType := PDF_EXT;
ppReportBodyPiercerRTF.ShowPrintDialog := False;
ppReportBodyPiercerRTF.Print;
HELP!!!!!
Comments
Fonts Show:
ppRichText1.LoadFromRTFStream(sStream);
ppReportBodyPiercerRTF.Print;
Fonts do not show after image
ppRichText1.LoadFromRTFStream(sStream);
ppReportBodyPiercerRTF.AllowPrintToFile := True;
FPDFDevice.Publisher := ppReportBodyPiercerRTF.Publisher;
FPDFDevice.FileName := strFullPath;
ppReportBodyPiercerRTF.DeviceType := PDF_EXT;
ppReportBodyPiercerRTF.ShowPrintDialog := False;
ppReportBodyPiercerRTF.Print;
Which version of ReportBuilder are you using?
Also, the ReportBuilder RichText does not support images by default. Which third-party RichText component are you using with ReportBuilder? (ex. Infopower, WPTools, etc.)
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Our RB version is:
19.01 Build 133
Support for images in Infopower RichTexts in PDF was added for RB 20. Please consider upgrading your version of ReportBuilder to obtain this as well as numerous other features and bug fixes since RB 19.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com