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

XML Export

edited June 2006 in Devices
Has anyone done an XML Export TppFileDevice?

MB34

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

Comments

  • edited June 2006
    >Has anyone done an XML Export TppFileDevice?

    If not, would anyone be interested in one? I am contemplating
    writing one for use in our project and if someone else would
    like it, I may try selling it.

    MB34

    --- posted by geoForum on http://delphi.newswhat.com
  • edited June 2006
    Hi,

    For future reference, we prefer you use your real name when posting to these
    newsgroups.

    There is currently no native XML export device included with ReportBuilder
    however there are a few third party devices available that do.

    Waler: http://www.waler.com

    Gnostice: http://www.gnostice.com

    Pragnaan: http://www.rarefind.com/


    --
    Regards,

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

    Best Regards,

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

    There is a post titled 'Req: ReportBuilder XML Export' in the Borland Third
    Party Tools newsgroup dated June 5, 2006 by Eddie Shipman. Perhaps you are
    working with him or perhaps you are the same person? If the answer is no,
    then I would try posting a reply to that thread.

    If you decide to pursue this, post any questions you have about the
    ReportBuilder export architecture/implementation here and we can help.

    As a starting point...

    - see ppFilDev.pas for the ancestor classes.

    - descend from TextFileDevice and override the SavePageToFile method. That
    method receives a Page object and process the Page.DrawCommands[] array.

    - implement the class functions such as DeviceName, DefaultExt, etc. (these
    are simple one line constants).

    - for an example of registering a custom device class, see the
    Initialize/Finalization section of ppFilDev.pas






    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.