Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Printing Images in an RTF document.

edited November 2008 in General
I am using Delphi 2007 with Report Builder 10.09.

I am using ppRichText components and assigning the value of the RichText
property at run-time.

If an image is in the RTF file then it is not printed. What do I need to
do to print the images in an RTF file?

Thank you . . . .

Richard Harding



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited November 2008
    Hi Richard,

    Take a look at the following rbWiki article on how to enhance the RichText
    features in ReportBuilder.

    http://www.digital-metaphors.com/rbWiki/RCL/RichText/RB_RichText

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2008
    Thanks Nico,

    I installed the package and now have the "Report Builder wwRichEdit
    Support" package installed.

    I can see the image in the database field using Info Power's wwwRichEdit
    component but cannot see the image when the report is produced. I have
    tried using TppRichText and TppDBRichText controls in ReportBuilder with
    the same results.

    The version of RichEd20.dll is version 5.50.30.2002.

    Do I need to do anything else apart from install the Report Builder
    wwRichEdit Support" package to use the controls TppRichText and
    TppDBRichText to print images?

    Richard Harding






    --- posted by geoForum on http://delphi.newswhat.com
  • edited November 2008


    For run-time support, add ppWWRichEd to the 'uses' clause.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited November 2008
    Nard Moseley (Digital Metaphors) wrote:

    Nard,

    I added ppWWRichEd to the uses clause and received the following error.

    ppwwriched was compiled with a different version of wwriched.TwwDBRichEdit

    I emailed Woll2Woll and was told that I should not recompile their
    packages. The version of Infopower is IPStudioWin 5.0.3.4

    The version of RichEd20.dll is version 5.50.30.2002 with Delphi 2007 and
    Report Builder 10.09



    Richard Harding
  • edited November 2008
    Correct. You should /not/ need to rebuild IP or RB packages.

    You should be compiling ppWWRichEd.pas against the IP version installed on
    your machine.

    The compile error indicates that you multiple versions of
    wwriched.TwwDBRichEdit on your machine. Check your Delphi library path and
    search your machine. Search for wwRichEd.* and also search for IP*.dcp.

    To compile the rbIPxxx packages, you will need to modify the Requires clause
    of the package to use the appropriate IP package. Typically the package name
    will vary by version.





    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited November 2008
    Thank you Nard & Nico.

    There were 2 different versions of ppWWRichEd.dcu. Images are now
    appearing in the reports.

    Richard Harding.



    --- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.