Robuta

https://api.onlyoffice.com/docs/office-api/usage-api/text-document-api/ApiParaPr/Methods/SetWidowControl/ SetWidowControl | ONLYOFFICE Specifies whether a single line of the current paragraph will be displayed on a separate page from the remaining content at display time by moving the line... onlyoffice