Difference between BIRT Designer & Runtime using Excel emitter [message #1794000] |
Wed, 22 August 2018 07:41  |
Eclipse User |
|
|
|
Hello,
BIRT version : 4.4.2 but I can't make it work with 4.8 neither.
I'm facing a "weird" issue where the rendering I have when creating a simple report in BIRT designer is different from the result when I generate the same report using the BIRT Runtime.
The report :
* A grid with 3 lines
* Each line has a "page break always"
> When I generate it to XLSX in the BIRT Designer, I have one tab per page break ( Preview -> XLSX) --> That's the result I want
> When I generate it to XLSX using the BIRT Runtime (same version) all the lines are on the same tab ... (options.setOutputFormat("xlsx"); )
Does someone have any idea or a different behavior ?
Thanks in advance
[Updated on: Wed, 22 August 2018 10:54] by Moderator Report message to a moderator
|
|
|
Re: Difference between BIRT Designer & Runtime using Excel emitter [message #1794631 is a reply to message #1794000] |
Tue, 04 September 2018 08:40   |
Eclipse User |
|
|
|
Hello,
I investigate a bit and it seems that the problem could come from the runRender mode vs Run THEN render. If you use the genReport.sh script with "run then render mode", you don't obtain the same thing than when you use the "runrender" mode.
Maybe I miss something but maybe it can also help understanding this issue.
I also found that bug that may be linked to my problem .
If you guys have any idea, this would be much appreciated.
|
|
|
Re: Difference between BIRT Designer & Runtime using Excel emitter [message #1842033 is a reply to message #1794631] |
Mon, 07 June 2021 23:21  |
Eclipse User |
|
|
|
Hi! I have the same observation and problem when using createRenderTask(document) vs createRunAndRenderTask(design). I use BIRT 4.8 with uk.co.spudsoft.birt.emitters.excel.XlsxEmitter and cannot get pages into tabs unless I use RunAndRenderTask. Interestingly, if you isolate a page using task.setPageNumber() then you get the single page, but you get an incomplete XLSX file that Excel must repair.
Hopefully someone will provide some feedback...
Cheers.
|
|
|
Powered by
FUDForum. Page generated in 0.03831 seconds