Hi,
I have trouble with Page Break action. When I apply it, text lines are wrapped on each next page(s), see screenshot.
Strange, but there is no effect when I checked "Keep lines together" and "Keep with next".
I'm using Style Templates in SRichViewEdit.
Please help)
Text lines are wrapped on separate pages (Page Break Action)
Text lines are wrapped on separate pages (Page Break Action)
- Attachments
-
- 2022-05-14_181449.png (66.1 KiB) Viewed 7737 times
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Text lines are wrapped on separate pages (Page Break Action)
Do you mean that if you apply this action one time, it adds many page breaks?
Re: Text lines are wrapped on separate pages (Page Break Action)
Yes. I typed a long paragraph of text in a few lines. Then I set cursor to the start position and press the button with TrvActionInsertPageBreak. I do not perform any other (special) formatting actions (
Re: Text lines are wrapped on separate pages (Page Break Action)
Any updates on the issue?
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Text lines are wrapped on separate pages (Page Break Action)
I confirm the bug.
It will be fixed in the next update.
Quick fix: open SclRView.pas, find
change to:
It will be fixed in the next update.
Quick fix: open SclRView.pas, find
Code: Select all
ElementNotFit :=
RichViewEdit.PageBreaksBeforeItems[srvCurItem.ItemNo] or
Code: Select all
ElementNotFit :=
((CurDrawItem.Offs <= RichViewEdit.GetOffsBeforeItem(srvCurItem.ItemNo)) and
RichViewEdit.PageBreaksBeforeItems[srvCurItem.ItemNo]) or
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Text lines are wrapped on separate pages (Page Break Action)
Fixed in the todays update (ScaleRichView 11.3)