PDFsharp & MigraDoc Foundation https://forum.pdfsharp.net/ |
|
Splitting tables across pages https://forum.pdfsharp.net/viewtopic.php?f=2&t=1550 |
Page 1 of 1 |
Author: | AKhilnani [ Fri Feb 18, 2011 11:39 am ] |
Post subject: | Splitting tables across pages |
Hi, I am using Migradoc to create a print preview of my reports. My data looks like Section Header 1 Data 1 Data 2 Data 3 Section Header 2 Data 1 Data 2 Data 3 Question 1: If majority of my section data does not fit on the current page (however it is possible for a section to be split over 2 pages), I would like the whole section to be moved to the next page. For this I need to find out how many lines remain on a page that can be used to display data. Is there a way to do this? Question 2: If I use a table to display this data, it is possible that a few entries in a section may appear on the next page. Is there a way to figure when this happens so for the data on the next page I can display the section header again? Thanks AK |
Author: | Thomas Hoevel [ Mon Feb 21, 2011 8:54 am ] |
Post subject: | Re: Splitting tables across pages |
Hi! Re question 2: The header rows of a table will be repeated on every new page. So if you start a new table with every section, this will do the trick. Re question 1: I cannot see a simple solution. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |