Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
rendering report programmatically
amrutha
Hello Friends,
I am using birt 2.5.2 and eclipse 3.5.1 I am writing a plugin where i should render my report...i ve taken the code for this from eclipse help...
package org.eclipse.birt.report.engine.api;
ReportEngine engine = new ReportEngine(null);
IReportRunnable design = engine.openReportDesign("C:/temp/test.rptdesign");
IRunAndRenderTask task = engine.createRunAndRenderTask(design);
RenderOption setting = new RenderOption();
setting.setOutputFileName("C:/temp/test.html");
task.setOutputSetting(setting);
task.run();
The problem is whenever i am instantiating RenderOption, iam not able to use its method setOutputfilename which comes automatically in eclipse after we give dot....its telling that syntax error on this token variable declarator id is expected where iam already mentioning the parameter as String...is the problem with eclipse or my code plz help me
thank you...
Find more posts tagged with
Comments
mwilliams
Hi amrutha,
Sorry for the delay, I didn't catch this post. Can you post the error stack you're getting?