Table cell with long text -> breaking over pages problem

Stimulsoft Reports.NET discussion
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Table cell with long text -> breaking over pages problem

Post by John »

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:
Screenshot.jpg
Screenshot.jpg (52.32 KiB) Viewed 4317 times
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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Table cell with long text -> breaking over pages problem

Post by HighAley »

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.
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Re: Table cell with long text -> breaking over pages problem

Post by John »

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
Attachments
RealReport.pdf
Example report
(250.12 KiB) Downloaded 548 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Table cell with long text -> breaking over pages problem

Post by Alex K. »

Hello,

We need some additional time for check the issue.

Thank you.
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Re: Table cell with long text -> breaking over pages problem

Post by John »

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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Table cell with long text -> breaking over pages problem

Post by Alex K. »

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.
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Re: Table cell with long text -> breaking over pages problem

Post by John »

Hallo,

thanks for the quick reply. Looking forward to the fix.

Best regards,

John K.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Table cell with long text -> breaking over pages problem

Post by Alex K. »

Hello,

Ok. We will let you know about the result.
User avatar
John
Posts: 132
Joined: Tue Feb 01, 2011 3:56 am
Location: England

Re: Table cell with long text -> breaking over pages problem

Post by John »

Hallo Aleksey,

any news on a fix for this issue?

Regards

John Kitching
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Table cell with long text -> breaking over pages problem

Post by Alex K. »

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.
Post Reply