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

RB 10.04: Export as PDF file

edited January 2007 in General
Hi,

we are trying to use RB's integrated PDF export. During our tests we
found out that the quality of RichText objects is poor in the generated
PDF files.

Is there a way to increase the quality of richtext objects in PDF files?

Carsten

--

Comments

  • edited January 2007
    Hi Carsten,

    Currently the RB built-in PDF export device converts a richtext component to
    a bitmap before it is exported to the PDF file. In most cases this reduces
    the quality of the richtext component. One option would be to only use
    TppMemos when exporting to PDF. Another would be to check out Gnostice. I
    believe Gnostice supports direct drawing of RichText components to a PDF
    file which would keep the original quality. http://www.gnostice.com

    It is currently on our to-do list to some day enhance this feature so that
    advance components such as the RichText and Barcode show up with higher
    quality in a PDF file.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2007
    Nico Cizik (Digital Metaphors) wrote:


    The main problem is not the fact that RB exports as graphic. This is
    fine so far. The problem is that the quality is not good.

    I have taken a look into the source code and can see that it's not that
    difficult to make the neccessary changes. But I cannot recompile RB
    because you do not provide the RAP source code.... :(

    Carsten

    --
  • edited January 2007
    Hi Carsten,

    Are you able to increase the quality of the image output at runtime? The
    PDF device converts the RichText drawcommand to a bitmap before exporting
    it, is this the code you have altered? If you would like to send the
    changes you have made to support@digital-metaphors.com, I will take a look
    at them and possibly add them to the next maintanence release.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2007
    Nico Cizik (Digital Metaphors) wrote:


    Nico,

    I will have to do some more work on this because it's not nice now, but
    I will send you the changes in the next days.

    Carsten
  • edited January 2007
    Nico Cizik (Digital Metaphors) wrote:


    Hi again,

    I cannot make it work correctly because I cannot recompile now.
    Sorry.

    Carsten

    --
  • edited January 2007
    TExtraDevices from www.waler.com also produces text PDF files as well as a
    number of other output formats that we have been using successfully.

    --
    Richard Harding
    Windella Computer Knowhow
    28 Freeman Drive
    Lochinvar NSW 2321
    Phone: 61 2 4930 7336
    Mobile: 0419 016 032
    email: rharding@wck.com.au





    --- posted by geoForum on http://delphi.newswhat.com
  • edited January 2007
    richardh wrote:


    Yes, but TExtraDevices also creates lots of exceptions when you are
    using images in your reports (like "graphic size invalid" or
    EResourceErrors). We are using ExtraDevices now and are looking for
    alternatives.

    Carsten

    --
This discussion has been closed.