Monday, February 20, 2012

Problem with page breaks and large amount of text

What have folks here done with large amounts of text in a table with regard to page breaks? I've found that in a PDF the page break happens before the large block of text starts regardless of where it starts on the page. Even if there is 3/4 of the page empty it will always page break.

This also happens in preview mode in VS2003 as well. The weird thing is that the second page is very long, almost twice as long as the regular page. The third page is ok. This should be a 2 page report but because of the page break it's a 3 page report. I can post samples if required.

Any help is appreciated.

Thanks

Richard.

Here's an example. To illustrate, I'm just pulling back the Article Title and the Article Details. I made the table background dark just so to distinguish it from the rest of the page.

http://www.1uvaknd.com/pagebreaktest.pdf

This is in VS2003 preview mode. Take a look at page 2. The page size is huge in comparison with the other pages.

http://www.1uvaknd.com/pagebreaktest_page1.jpg
http://www.1uvaknd.com/pagebreaktest_page2.jpg
http://www.1uvaknd.com/pagebreaktest_page3.jpg

Anyone else run into this?

Thanks

Richard.

|||

If you ever resolved this I would be interested in your resolution as I am having a very simular issue.

Thank You

Ed

|||

EdneyHolder:

I have come up with a solution/workaround. Put all the tables into a List object. Then take the large text column out of the table and place it in the list object itself. As long as the large text column is NOT in a table but in a List object - it seems to work much better.

Richard.

No comments:

Post a Comment