COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => SDK => Topic started by: cremersstijn on 09 Oct 2008 02:53:15 AM

Title: Export to pdf example
Post by: cremersstijn on 09 Oct 2008 02:53:15 AM
Hi!

I'm looking for a simple example of how to export a report to pdf with the Java SDK.
I'm have googled a lot, but i can't find something useful.

Greetz
Title: Re: Export to pdf example
Post by: cremersstijn on 09 Oct 2008 04:45:36 AM
I found the solution, i needed to decode the response.
I used this class to do the job: http://www.1t3xt.info/api/com/lowagie/text/pdf/codec/Base64.html.