<table><tr><td style="">boemann added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15428">View Revision</a></tr></table><br /><div><div><p>The idea is that if we are at the beginning of a new page we don't get in here (virginpage is true)<br />
so we only reset if we are somewhere down on a page meaning we wil have more space to try on next time around<br />
But we should reset if the only thing we fitted was the table header as a table headerrow should never be the only thing on a page</p>

<p>One reason why this might fail is if virginpage becomes false when we add the table headerrow (if we can fix this and that doesn't have other ill effect then I would prefer such a solution).<br />
So find out where we set virginpage to false, and make sure it doesn't go from true to false when adding the header row</p>

<p>I hope this makes sense</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R8 Calligra</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15428">https://phabricator.kde.org/D15428</a></div></div><br /><div><strong>To: </strong>anthonyfieroni, Calligra: 3.0, danders, boemann<br /><strong>Cc: </strong>Calligra-Devel-list, dcaliste, cochise, vandenoever<br /></div>