node.jscommand-line-interfacequickreports

How to convert a QuickReport .QRP files into XML, HTML or Text?


I need to create a service to convert a series of QuickReport _(.QRP)_ files into something more parsable such as Text or HTML.

What is the best way of doing that?


Solution

  • qrp files are definition files for the Delphi/Quick Reports engine. It is not immediately clear from the question whether you want to completely do away with the delphi/quickreports engine or just get the results in a browser. If it is the former, then you may have a complete rewrite on your hands. But if it is the latter then you probably need to adapt a delphi app to export pdf files, say.

    The Delphi app approach is likely only viable if you have full control of the security of your web-server.

    Re-reading the question, you specifically want to parse the reports (presumably for data extraction).

    As quick reports uses a relational db as a source, the only reason I can think of doing this is because you don't have access to the Delphi source or the database. This may imply a one-off data migration away from an ex-supplier. So maybe just print to a pdf-print driver, then convert the pdfs to text and parse away.

    I hope this helps.