/**
* @see PdfWriter#breakTableIfDoesntFit(PdfTable)
* (contributed by [email protected])
* @param table Table to add
* @return true if the table will be broken
* @throws DocumentException
*/
internal bool BreakTableIfDoesntFit(PdfTable table)
{
table.UpdateRowAdditions();
// Do we have any full page available?
if (!table.HasToFitPageTable() && table.Bottom <= indentBottom) {
// Then output that page
Add(table, true);
return true;
}
return false;
}