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

Why this was never implemented?

edited June 2013 in Devices
I'm wondering if it would be too difficult to implement a way to let
people change (at last some of) the Export settings for some of the
supported devices (specially PDF and XLS) in the default Print dialog of
ReportBuilder.

At a first glance, it doesnt sounds too complicated to me, but if so,
why DM never did this?

Any tips or advices to help me create such feature by myself in the
correct way?

Carlos

Comments

  • edited June 2013
    Hi Carlos,

    Thanks for the feedback. We base most of our features and enhancements
    on customer feedback and I will add your request to our possible
    enhancements list.

    Which settings would you like available from the Print dialog?

    It is currently possible to replace the print dialog with your own
    custom dialog using the replaceable dialogs architecture. This does not
    necessarily you need to start from scratch however. You could copy the
    existing one and simply add on to it. See the following article.

    http://www.digital-metaphors.com:8080/Plugins/Dialogs/How_To...Create_a_Custom_Print_Dialog

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2013
    Nico,

    For the PDFs:
    CompressionLevel
    EmbedFontOptions
    ExportRTFAsBitmap
    ImageCompressionLevel
    OpenPDFFile
    OptimizeImageExport
    ScaleImages

    For both XLS devices:
    ExportComponents
    ExportRTFAsBitmap
    MergeAdjacentCells
    OpenXLSFile
    ScaleToPageWidth

    I'll take a look in the howto link, thanks!

    Carlos


    Em 04/06/2013 12:12, Nico Cizik (Digital Metaphors) escreveu:
  • edited June 2013
    On 04/06/2013 20:00, Carlos H. Cantu wrote:

    +1
  • edited June 2013
    I forgot to add the new properties available in RB 15 to the list, so:

    + XLSReport.IgnorePageHeight
    + XLSData, IncludeSingleHeader/Footer booleans

    Carlos

    Em 04/06/2013 16:47, Paul Toms escreveu:
  • edited July 2013
    Nico, I took a look at the provided article, but the example is a bit
    useless, since it doesnt show actually how to "add" features in a custom
    form preview.

    For example, if I want to add CheckBox so user can check it if he wants
    that RTF to be exported as Bitmap in PDFs, what would be the ideal place
    to put the code that actually would set the
    PDFSettings.ExportRTFAsBitmap to true ?

    PS: any chance of getting the proposed enhancements in some of the next
    subreleases of RB 15? Or if this will be done, it will be in RB 16?

    Carlos

    Em 04/06/2013 12:12, Nico Cizik (Digital Metaphors) escreveu:
  • edited July 2013
    Hi Carlos,

    The example simply shows how you the developer would replace the printer
    dialog (or any RB dialog) with your own completely custom dialog. Once
    you register your own printer dialog, you then have complete control
    over how it behaves, looks, and interacts with the rest of the
    application. A good starting point is to simply copy the existing
    printer dialog code and rename the class. Then make the changes needed
    to meet your specific requirements (i.e. add a checkbox to the form and
    add code to the btnOKClick event or new checkbox click event to update
    the PDFSettings before exporting).

    Minor releases are mainly for bug fixes and minimal enhancements to
    existing features. A feature such as this one would be added for a
    major release.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.