Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Birt Designer Export in xsl format
Migrateduser
Hello,
I try to export my BIRT Report in xls format but i encounter this error :
"org.eclipse.birt.report.engine.emitter.excel.layout.Page needOutputInMasterPage
ATTENTION: Excel page header and footer don't support html text."
Do someone can help me please ?
Here, this is my code source :
String repertoireCourant = System.getProperty("user.dir");
String BIRT_HOME = repertoireCourant + "/runtime/ReportEngine";
EngineConfig engineConfig = new EngineConfig();
engineConfig.setEngineHome(BIRT_HOME);
ReportEngine engine = new ReportEngine(engineConfig);
IReportRunnable design = null;
design = engine.openReportDesign("C:/Users/Lucile/workspace/A/reports/1.rptdesign");
IRunAndRenderTask task = engine.createRunAndRenderTask(design);
EXCELRenderOption options = new EXCELRenderOption();
options.setOutputFileName("C:/Users/Lucile/workspace/A/reports/1.xls");
options.setOutputFormat("xls");
task.setRenderOption(options);
task.run();
task.close();
Cordialy.
Find more posts tagged with
Comments
There are no comments yet