Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Changing the output file name of the report(How to change the output file name of the report template based on the parameter choosen)
Changing the output file name of the report [message #1710315] Tue, 06 October 2015 04:28 Go to next message
Suvarnni M V is currently offline Suvarnni M VFriend
Messages: 12
Registered: July 2015
Junior Member
Dear All,

I want to know what is the process of changing the report output name in BIRT 4.5 Version.

I'm new to BIRT So, kindly help me to solve this.

Awaiting for the positive response.

Suvarnni
Re: Changing the output file name of the report [message #1710697 is a reply to message #1710315] Thu, 08 October 2015 13:17 Go to previous messageGo to next message
dome G. is currently offline dome G.Friend
Messages: 4
Registered: May 2014
Junior Member
Here are the important lines of code:

PDFRenderOption options = new PDFRenderOption();
String outputfile = "yourName";

//this is the important line:
options.setOutputFileName(outputfile);

options.setOutputFormat("pdf");
task.setRenderOption(options);
task.run();

Re: Changing the output file name of the report [message #1732432 is a reply to message #1710697] Tue, 17 May 2016 09:57 Go to previous messageGo to next message
Suvarnni M V is currently offline Suvarnni M VFriend
Messages: 12
Registered: July 2015
Junior Member
Where I want to enter the code?
I mean which method

Thanks In Advance

Suvarnni
Re: Changing the output file name of the report [message #1792739 is a reply to message #1710697] Mon, 23 July 2018 11:07 Go to previous message
marcel delorme is currently offline marcel delormeFriend
Messages: 2
Registered: July 2018
Junior Member
Is is possible to use a name from a database when settings the output file name?
Previous Topic:Unable to Export BIRT report to PDF format. ERROR :- + org.eclipse.birt.report.service.api.ReportSe
Next Topic:PatternImage
Goto Forum:
  


Current Time: Wed Apr 24 22:59:24 GMT 2024

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

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

Back to the top