vikrambalye / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Add support for widows and orphans control via CSS #274

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What would you like dompdf to do:

-I would like dompdf to have the ability to force a page break if, for example, 
a piece of header text is going to be the last thing displayed on a page.

Do you have an example:

-See attached PDF where Header Text (3. INFORMATION ON THE LEVEL OF THE 
QUALIFICATION) is the last thing on Page 1 yet the content for that header 
begins at the top of Page 2; it would be better if the Header Text was pushed 
to Page 2 in this situation. You might ask, "why don't you always force a page 
break at that point?". Unfortunately the content for this document is dynamic 
and thus a page break at that point might not always be required.

Original issue reported on code.google.com by u01jmg3 on 4 May 2011 at 11:35

Attachments:

GoogleCodeExporter commented 9 years ago
I think this might be best handled through widow/orphan control.
http://www.w3.org/TR/CSS21/page.html#break-inside

Original comment by eclecticgeek on 11 May 2011 at 5:18

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00