Does reportContext.getOutputFormat just work with runAndRenderTask? [message #671670] |
Wed, 18 May 2011 12:15  |
Eclipse User |
|
|
|
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 12:23  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03478 seconds