Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Does reportContext.getOutputFormat just work with runAndRenderTask?
Does reportContext.getOutputFormat just work with runAndRenderTask? [message #671670] Wed, 18 May 2011 16:15 Go to next message
wug  is currently offline wug Friend
Messages: 1
Registered: May 2011
Junior Member
Does reportContext.getOutputFormat just work with runAndRenderTask?

I have a report with a table and i just want to change masterpage, when export format is excel. But with reportContext.getOutputFormat, i get always "pdf" back. I can not understand, why? i use separate run, renderTask.

Thanks!

wug
(no subject) [message #671675 is a reply to message #671670] Wed, 18 May 2011 16:23 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

You can try:
reportContext.getRenderOption().getOptions().get("format");

But it will most likely be to late to change the master page unless you
re-run the report.

Jason

On 5/18/2011 12:15 PM, wug wrote:
> Does reportContext.getOutputFormat just work with runAndRenderTask?
>
> I have a report with a table and i just want to change masterpage, when
> export format is excel. But with reportContext.getOutputFormat, i get
> always "pdf" back. I can not understand, why? i use separate run,
> renderTask.
>
> Thanks!
>
> wug
Previous Topic:Add Subtotal to the BIRT report before page break
Next Topic:Inserting a chart in between report elements
Goto Forum:
  


Current Time: Wed Apr 24 20:52:17 GMT 2024

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

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

Back to the top