Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Saving BIRT on the server as PDF
Saving BIRT on the server as PDF [message #1182218] Tue, 12 November 2013 03:57 Go to next message
Oscar Remedios is currently offline Oscar RemediosFriend
Messages: 1
Registered: November 2013
Junior Member
When the user runs a report, I want to save a copy of the ran report on the server automatically as a PDF

do you think this code does the trick ?

var re = reportContext.getReportRunnable().getReportEngine();
var des = re.openReportDesign("C:/Testing/ABC.rptdesign");
var ntask = re.createRunAndRenderTask(des);
var options = new pdfRenderOption();
var outputfile = "c:/temp/test1.pdf";
Re: Saving BIRT on the server as PDF [message #1197191 is a reply to message #1182218] Tue, 19 November 2013 20:04 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

It looks close, at least. Have you tried it? Does it work?


Developer Evangelist, Silanis
Previous Topic:Invoke Client Side Java Script from a Table Cell
Next Topic:The database can't query
Goto Forum:

Current Time: Fri Jun 02 16:28:04 GMT 2023

Powered by FUDForum. Page generated in 0.01866 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top