pdf and xml questions (OpenInsight 32-Bit)
At 14 APR 2006 12:48:03AM William Ng wrote:
I know that OI can create a pdf file from a report as well as xml.Right? What i mean is OI have funtionalities to support both the PDF and XML format.So what are the functions or subroutines for pdf and xml? Where can we get the documentation for them? Are they open for developers like us to use? Or maybe its already in the help and i missed it?I hope u guys will understand what i am trying to ask here.For others they will use some sort of pdf or xml libraries in order to be able to add these funtionalities to their system.So does oi have these so call "libraries" that we can use since its already built into OI? I know OI dont uses libraries like other language but it should have at least some equates as well as functions or subroutines.Right?
Like in run_report, what subroutines or functions did it call to get the report to be a pdf file? Are they available for us to use as well?
Sorry if i sound weird to u guys.Please bear with me.Thanks
At 14 APR 2006 01:21AM dbakke@srpcs.com's Don Bakke wrote:
William,
To create a PDF document within OpenInsight you need to use the OIPI. The INIT message has a parameter to enable this. Go to your Programmer's Reference Manual -] Chapter 10: Programming Techniques -] Using OIPI to Export to Files -] Exporting Your Report to a RTF, PDF, or HTML File. This will provide you code samples to do what you want. Run_Report is basically a nice shell that ultimately uses the OIPI to produce its output. You can also do a Search or Index lookup for "PDF" in the PRM to give you even more information.
Similarly, the XML functions with OpenInsight can be discovered by typing "XML" in the Search or Index lookup. You might be particularly interested in Inet_OI_XML.
dbakke@srpcs.com
At 14 APR 2006 12:09PM Richard Hunt wrote:
William,
For PDF you can go to www.adobe.com
They have a section for developers. Not that I am any near an expert in this.
At 17 APR 2006 04:48AM William Ng wrote:
Thanks for the pointers. :)
At 17 APR 2006 04:49AM William Ng wrote:
Thanks for the pointers. :)