wPDF/RichView/ReportBuilder

  • Was ist zu tun daß man beim Exportieren eines Reports im Reportbuilder, welcher RichView Elemente enthält, diese RichView Elemente auch im PDF Dokument erscheinen (zur Zeit sind sie leer)

    What is to for exporting a report in RB which contains RichView Elements that these RichView Elements are in the PDF Document (at this time they are empty)

    wPDF 3
    RichView 1.9
    ReportBuilder 10

    Best wishes
    Bernhard

    • Offizieller Beitrag

    Hello,

    Thanks for finding the solution and sending it to me as e-mail:

    In case you use a RichView object you need to make this modifications in ppRichView.pas to make the PDF export work

    1. Add wppdfRBDev to the uses clause

    2. In tppDrawRichView.DoDraw ad a new condition:

    ...
    else if (aDevice is tppwpdfdevice) then begin
    lCanvas := tppwpdfdevice(aDevice).Canvas;
    ADrawRect := DrawRect;
    end
    ...
    3. Ad a new condition in line 1200:
    ...
    Or (aDevice is tppwpdfdevice) ...

    Regards,

    Julian