Page 1 of 1

widows and orphans

Posted: Fri Feb 27, 2015 6:41 pm
by Jim Knopf
Hi Sergey,

it is a delicate problem: widows and orphans - the single text lines at the beginning or end of a page.
Because I am not only programming but also write novels an have a tiny publishing house I have a lot to do with large texts up from 200 pages to 500, 600 or more that I have to send well-formatted to the print office. Becaue I work with soft hyphens I am editing text in TRichVieEdit, transfer the whole text to a TSRichViewEdit insert during tranfserring the hyphens an make the finish of the pages in TSRichViewEdit. If I detect a litte mistake I have to go back and the whole procedure restarts from zero.

The problem is not realy the classic widows-and-orphans-problem from one paragraph to the next but mor if there ar empty one-line-paragraphs between (as in the pic below)

Image

Most of the work (99%) always is to correct the widows and orphans. And I can't imagine how to do from my side.

Do you have an idea how to solve the problem? Or is a possibility on your site in TSRichViewEdit (would make me happy ;-) )?

Martin

Posted: Sat Feb 28, 2015 8:44 am
by Sergey Tkachenko
Try including rvpaoWidowOrphanControl in the Options property of paragraph style.
This function is undocumented, it worked at some point in TSRichViewEdit, probably it still works )

Posted: Sat Feb 28, 2015 11:27 am
by Jim Knopf
Unfortunately it seems not to work. See image below. Is there something additional to follow? Would be really very helpful ...

Image

Posted: Sat Feb 28, 2015 4:16 pm
by Sergey Tkachenko
The programmer said that in the current version of ScaleRichView this option only prevents breaking after single first lines of paragraphs, not before the last line of paragraphs.
It will be fixed in the next update.