Writer Scrolling to New Page Automatically

Hi I searched for an answer but couldn’t find one.

I use View > Whitespace to remove the gap between pages. When I’m inputting data, it doesn’t create a new page and add buffer below it. Instead it just creates a single new line, even when it crosses into a new page. I can create buffer by going from single page view to multiple page view, and then switching back to single page view.

Is there a way to have it do what I want without switching between modes? I’ve included a screenshot, and I can upload my template file too, but this is more of a generic question with default settings.

No. The below, with my bolding, is quoted from Show Whitespace

  • Displays the document with the top and bottom margins, header and footer and a gap between pages. Uncheck to collapse all the elements cited and display the document in a contiguous page stream. Hiding whitespace is only possible in Single-page view.

you can Save & Reload to force an update of the view

you can also emulate the menu item by macro :


sub forceWS
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "ShowWhitespace"
args1(0).Value = true
dispatcher.executeDispatch(document, ".uno:ShowWhitespace", "", 0, args1())

args1(0).Value = false
dispatcher.executeDispatch(document, ".uno:ShowWhitespace", "", 0, args1())
end sub