Why cursor jumps to next page even if space is present

In this doc, at the end of first page, the cursor jumps to next page even if space is present below the 1st page. I can’t see anything by switching on the formatting marks too.

Thank you for helping.

Build ID: dcf040e67528d9187c66b2379df5ea4407429775
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Calc: threaded

You have a series of Heading 1 paragraphs without others in between.

The Heading n styles have property Keep with next paragraph so that a heading is never separated from its content by a page break.

In your case, the first Heading 1 is constrained to be kept with the second which is constrained with the third which is constrained with the fourth … Consequently the whole group causes the page break to occur before the first.

Things will settle by themselves as soon as you add a Text Body paragraph after your headings.

Tip: never indent paragraphs with spaces. Spaces have varying width depending on justification (because of the width of words). Learn to use paragraph styles. Each paragraph style describes the meaning of the paragraph (a heading, a list item, common text, …). A paragraph style describes the “geometric” and typographical attributes: indents, spacing, first line, alignment, font face, size and width, text flow, …

With cleverly designed styles, you no longer need to press toolbar buttons and your typing speed increases drastically.

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

superb explanation, thank you. Regarding tip: thanks again but I knew that, that’s just a rough doc.