Hi experts.
I have a table section pagination issue. In my case the table section combines 3 header rows.
Down bellow the series of screenshots I hope they describe my example well (click on screenshots to enlarge).
1) The data context
![https://lh6.googleusercontent.com/-WhnejPs3blw/TfhaxxxaV2I/AAAAAAAAAUk/RF1te6cpZgo/data_context.png](https://lh6.googleusercontent.com/-WhnejPs3blw/TfhaxxxaV2I/AAAAAAAAAUk/RF1te6cpZgo/data_context.png)
2) Layout elements
![https://lh5.googleusercontent.com/-2afUwBCVCf8/TfhaxngKWtI/AAAAAAAAAUo/ZsMLqM9rpRg/s912/config_part1.png](https://lh5.googleusercontent.com/-2afUwBCVCf8/TfhaxngKWtI/AAAAAAAAAUo/ZsMLqM9rpRg/s912/config_part1.png)
![https://lh6.googleusercontent.com/-isoEoSE5bzA/TfhaxNMJJ9I/AAAAAAAAAUc/fiwvp3taZl0/s1024/config_part2.png](https://lh6.googleusercontent.com/-isoEoSE5bzA/TfhaxNMJJ9I/AAAAAAAAAUc/fiwvp3taZl0/s1024/config_part2.png)
![https://lh5.googleusercontent.com/-thS3rkWp7Lg/TfhaxcWDERI/AAAAAAAAAUg/dm06_MuEulU/config_part3.png](https://lh5.googleusercontent.com/-thS3rkWp7Lg/TfhaxcWDERI/AAAAAAAAAUg/dm06_MuEulU/config_part3.png)
Here is my issue (table header output at the end of the page but there is no data row):
![https://lh6.googleusercontent.com/-YUUqDTendPU/Tfhay74CJmI/AAAAAAAAAUs/eU1iO3Dg5ag/s1440/header_at_the%252520end_of_the_page_with_no_data_rows.png](https://lh6.googleusercontent.com/-YUUqDTendPU/Tfhay74CJmI/AAAAAAAAAUs/eU1iO3Dg5ag/s1440/header_at_the%252520end_of_the_page_with_no_data_rows.png)
As you can see on the first page there is no more place for a data row but the header still exists.
if I set keep with next flag on the pagination tab for all header rows the result will be:
![https://lh4.googleusercontent.com/-mdP-jHEW8qg/TfhpmDwfKxI/AAAAAAAAAU0/lyhTB-JzDBw/s1152/keep_with_next_is_set_for_all_header_rows.png](https://lh4.googleusercontent.com/-mdP-jHEW8qg/TfhpmDwfKxI/AAAAAAAAAU0/lyhTB-JzDBw/s1152/keep_with_next_is_set_for_all_header_rows.png)
Is it possible somehow to fix it?
I would like to have the header row output on the page only if a data row exists bellow the header, the footer should only output if a data row exists above.
Here is PDF output:
https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B4wQz1XhRuysMzhiN2EyYzMtMDdjZS00Y...
https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B4wQz1XhRuysNmYxNGFlOTktZGQ2MS00M...