Home Devices

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!!!!!

Comments

  • Sorry i did not proof
    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;

  • Hi Jim,

    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.)


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • We use ppWWRichEd

    Our RB version is:
    19.01 Build 133
  • ppWWRichEd is the Infopower plugin for ReportBuilder.

    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.


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • This has been resolved, By updating to RB20.03
Sign In or Register to comment.