|
|
Re: react on pagebreak inside table via js [message #923029 is a reply to message #735316] |
Tue, 25 September 2012 14:45   |
hage Mising name Messages: 67 Registered: September 2011 |
Member |
|
|
Hi,
i'm still into this one. The events jason mentioned before didn't help me at all. Problem is, a table gets populated, by oda driver, with lets say 100 entries. PageBreakIntervall on table is set to default, 40. The table starts in the middle of page, so there is content before that. So the 40 rows did not suit on one page, so next page is used. That is exactly the point, which disturbes me. If i decrement the PageBreakIntervall to that number, which suites on the page which has content before the table, everything works fine, but that leads to many whitespace on the following pages. Obviously the engine does not recognize, the beginning of a new page here. Context of this is, i'm still trying to generate a TOC the latex way which should appear after the titlepage, before the data content. Passing the report 3 times in a row to the engine via RunAndRenderTask, triggering a static java class within the oda driver, from the onRender-Scripts of the elements that should be part of my TOC. First iteration gathers all entries, second iteration inserts entries into TOC-Table, third iteration adds the pageNumbers to that toc, considering number of pages of the TOC. Same way i generate a List of Figures / Tables at the end of the report. This works well, because it's placed at the end. As written before, a adjusted pagebreakintervall for all of my tables (there are a few of them) seems to be a workaround, but that will break, if a user inserts a very long string into one of the cells, which leads to a very high row, which will break that pagebreakintervall-thing described before. Also this is a waste of space and (main point to most of the users) does not look very "smart". Is there any idea or way out of this mess?
(if there is no "easy" way out of this, is it possible to get somehow professional (paid) support on this one? we really need this fixed.)
any help very much appreciated
thx in advance
hage
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02080 seconds