Page 2 of 2

Re: Clerk Resources - Attendance Rolls - Repeat Header Row

Posted: Thu Jan 17, 2013 6:07 pm
by russellhltn
jkitterman wrote:So, we'll need to come up with a workaround.


Such as breaking the table into page-sized tables? As in run x number of lines, then start a new table?

Re: Clerk Resources - Attendance Rolls - Repeat Header Row

Posted: Thu Jan 17, 2013 6:28 pm
by genman
jkitterman wrote:One drawback with WebKit is that it doesn't support repeating the table header

I see what you mean in the Webkit bug report.
jkitterman wrote:So, we'll need to come up with a workaround.

The workaround is going to be time consuming and brittle probably. Webkit is open source software. It seems like it may be more efficient for someone to just volunteer to fix this for Webkit. It is a huge flaw. I don't know why anyone hasn't fixed it already in Webkit. Looks like the last user comment in the bug report from just a couple weeks ago was someone considering doing just that. Anybody on these LDS Tech boards want to take a crack at it? If you do, this link has instructions on how you go about signing up to contribute code.

Re: Clerk Resources - Attendance Rolls - Repeat Header Row

Posted: Thu Jan 17, 2013 6:48 pm
by jkitterman
russellhltn wrote:
jkitterman wrote:So, we'll need to come up with a workaround.


Such as breaking the table into page-sized tables? As in run x number of lines, then start a new table?


Yes, something like that. We need to deal with different paper sizes too, so maybe even some javascript to calculate the paper size (letter, a4), and the printable region, and automatically close and open a new table. I just need to find the time to do it. A lot of our printed reports need that feature, not just the rolls.

Re: Clerk Resources - Attendance Rolls - Repeat Header Row

Posted: Thu Jan 17, 2013 6:58 pm
by jkitterman
genman wrote:It seems like it may be more efficient for someone to just volunteer to fix this for Webkit.


I've considered that too. Starring this issue in Chromium ( http://code.google.com/p/chromium/issue ... l?id=24826 ) might even help.

We could also look for a different PDF generator. They all have pros and cons, though.