Table cell with long text -> breaking over pages problem
Table cell with long text -> breaking over pages problem
Hallo Support,
I have an issue where I have a table in a report in which long texts are to be displayed. There are two problems:
1. There are blank pages before the table starts
2. The contents of the cells with long texts are not displayed completely and the table just stops, as shown here:
Unfortunately, it is not as simple as setting CanBreak=true for everything (which I have tried). The reason is as follows:
The report is generated from scratch in c# code and is not a static template. For one, until runtime it is not known how many columns must be displayed, and secondly, the contents of 1 column are normally mixed. By this I mean 1 cell might have an icon in it and the cell below it in the same column has a checkbox or just text. The only way I could find to achieve this was by building the table, cell by cell in code and setting the contents using events. This has worked fine for over 2 years now.
I have included a zip file with an mrt which reproduces the issue. Data in the form of xml and xsd is also included. It seems to me that the table becomes disoriented - seeing as it overlaps the page footer. I've tried everything I can think of to get it work but nothing made a difference. Maybe it's necessary to add a post-rendering event to reposition the table or cells in some way..
Many thanks in advance.
John Kitching
I have an issue where I have a table in a report in which long texts are to be displayed. There are two problems:
1. There are blank pages before the table starts
2. The contents of the cells with long texts are not displayed completely and the table just stops, as shown here:
Unfortunately, it is not as simple as setting CanBreak=true for everything (which I have tried). The reason is as follows:
The report is generated from scratch in c# code and is not a static template. For one, until runtime it is not known how many columns must be displayed, and secondly, the contents of 1 column are normally mixed. By this I mean 1 cell might have an icon in it and the cell below it in the same column has a checkbox or just text. The only way I could find to achieve this was by building the table, cell by cell in code and setting the contents using events. This has worked fine for over 2 years now.
I have included a zip file with an mrt which reproduces the issue. Data in the form of xml and xsd is also included. It seems to me that the table becomes disoriented - seeing as it overlaps the page footer. I've tried everything I can think of to get it work but nothing made a difference. Maybe it's necessary to add a post-rendering event to reposition the table or cells in some way..
Many thanks in advance.
John Kitching
- Attachments
-
- Issue_12_11_2013.zip
- (12.52 KiB) Downloaded 265 times
Re: Table cell with long text -> breaking over pages problem
Hello.
Could you write us what behaviour of the report you are waiting for?
Should the image brake on different pages?
Or should the image stay on the one page and text break to another?
Thank you.
Could you write us what behaviour of the report you are waiting for?
Should the image brake on different pages?
Or should the image stay on the one page and text break to another?
Thank you.
Re: Table cell with long text -> breaking over pages problem
Hallo Aleksey,
I've attached a "real" pdf which comes from our system. Ignoring the first two pages, on page 3 you can see where the main table begins. The first two rows are displayed correctly but the third row, rather than starting directly below the second, starts several pages later and the cell contents are also cut off.
Each page in the pdf on which the table is displayed has a header with an icon and panel. A footer area is also displayed on each page, with a separator line and some info texts.
So my problem is as follows:
- how to get the table to continue without leaving empty pages
- how to get the cell containing long text to display the whole contents of the text.
Best regards,
John Kitching
I've attached a "real" pdf which comes from our system. Ignoring the first two pages, on page 3 you can see where the main table begins. The first two rows are displayed correctly but the third row, rather than starting directly below the second, starts several pages later and the cell contents are also cut off.
Each page in the pdf on which the table is displayed has a header with an icon and panel. A footer area is also displayed on each page, with a separator line and some info texts.
So my problem is as follows:
- how to get the table to continue without leaving empty pages
- how to get the cell containing long text to display the whole contents of the text.
Best regards,
John Kitching
- Attachments
-
- RealReport.pdf
- Example report
- (250.12 KiB) Downloaded 548 times
Re: Table cell with long text -> breaking over pages problem
Hello,
We need some additional time for check the issue.
Thank you.
We need some additional time for check the issue.
Thank you.
Re: Table cell with long text -> breaking over pages problem
Hallo Aleksey,
do you have any new information on this issue? It is rather important for us to find a solution.
Thanks and regards,
John Kitching
do you have any new information on this issue? It is rather important for us to find a solution.
Thanks and regards,
John Kitching
Re: Table cell with long text -> breaking over pages problem
Hello,
We reproduce the issue. This behaviour occurs due to placed a cells with RichText property on table. We need some time for fix the issue.
Thank you.
We reproduce the issue. This behaviour occurs due to placed a cells with RichText property on table. We need some time for fix the issue.
Thank you.
Re: Table cell with long text -> breaking over pages problem
Hallo,
thanks for the quick reply. Looking forward to the fix.
Best regards,
John K.
thanks for the quick reply. Looking forward to the fix.
Best regards,
John K.
Re: Table cell with long text -> breaking over pages problem
Hello,
Ok. We will let you know about the result.
Ok. We will let you know about the result.
Re: Table cell with long text -> breaking over pages problem
Hallo Aleksey,
any news on a fix for this issue?
Regards
John Kitching
any news on a fix for this issue?
Regards
John Kitching
Re: Table cell with long text -> breaking over pages problem
Hello,
We work hard on this problem and do our best to do it as fast as possible. We will let you know when the solution is available.
We work hard on this problem and do our best to do it as fast as possible. We will let you know when the solution is available.