如何在主文档 libreoffice writer 中的文件文档之间添加分页符?

How to add page break between file documents in master document libreoffice writer?

我在 libreoffice 中创建了主文档并添加了一些子文档 (odt),我需要在它们之间放置分页符。每个新文档都需要从新页面开始。我在论坛上找到了一些答案,但不是很清楚。提前致谢!

  1. 在此之前我使用了不同的页面样式,所以我使用手动中断来为文档的其余部分使用不同的页面样式。我需要删除这个回车标签,如果我删除它,它会删除一个手动分页符。
  2. 我需要添加分页符。

我在 ask.libreoffice.org 得到了这个答案,我认为它值得分享。

If your sub-documents represent chapters in your book, you have a much more elegant solution than adding manually page breaks in the master.

I assume that your files are all styled (which is a necessity when working with master + subs otherwise formatting becomes a nightmare) and you assigned Heading 1 to the chapter headings.

Then customize Heading 1 in the master to add a page break (before) in the Text Flow tab properties.

An even better approach is to share all styles between master and subs with a personal template. Master and subs should be based on this template. A template brings in the possibility to automatically update formatting of all documents: change the style definition in the template; next time you open a document, you’re asked if you accept the update.