+ // Break the page if either we're going off the bottom, or this paragraph specifies
+ // an explicit page break
+
+ if (((lineY + line->GetSize().y) > rect.GetBottom()) ||
+ ((node2 == child->GetLines().GetFirst()) && child->GetAttributes().HasPageBreak()))